/* GetKraken — the deep, at night. Same colours and type as the app (Cinzel headings, sea-dark blue, teal and amber). */
:root {
  --bg: #030509;
  --deep: #061420;
  --ink: #e8f4ff;
  --dim: rgba(232, 244, 255, 0.66);
  --faint: rgba(232, 244, 255, 0.42);
  --teal: #5fe0cf;
  --cyan: #4fd8ff;
  --amber: #ffb340;
  --line: rgba(120, 200, 255, 0.14);
  --card: rgba(10, 24, 38, 0.72);
  --display: 'Cinzel', 'Times New Roman', serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }

/* top bar: the way home (matrix26.com), the app, help */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; position: relative; z-index: 3; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 18px rgba(79, 216, 255, .25); }
.toplinks { display: flex; align-items: center; gap: 8px; }
.toplinks a { font-size: .86rem; color: var(--dim); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(3, 5, 9, .45); backdrop-filter: blur(6px); white-space: nowrap; }
.toplinks a:hover { color: var(--ink); border-color: rgba(95, 224, 207, .5); text-decoration: none; }
.toplinks .home::before { content: '← '; }

/* hero: sunlit water fading into the dark */
.sea { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(3,5,9,.15) 0%, rgba(3,5,9,.35) 45%, var(--bg) 100%), url('/getkraken/img/sea-sunlight.jpg') center 30% / cover no-repeat; }
.sea::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(100deg, transparent 0 70px, rgba(180, 235, 255, .05) 70px 90px, transparent 90px 170px); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); pointer-events: none; }
.bubbles span { position: absolute; bottom: -20px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(200, 240, 255, .45); background: rgba(200, 240, 255, .08); animation: rise 14s linear infinite; pointer-events: none; }
.bubbles span:nth-child(1) { left: 8%; animation-delay: -2s; }
.bubbles span:nth-child(2) { left: 22%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: -9s; }
.bubbles span:nth-child(3) { left: 47%; width: 11px; height: 11px; animation-duration: 16s; animation-delay: -5s; }
.bubbles span:nth-child(4) { left: 71%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: -1s; }
.bubbles span:nth-child(5) { left: 88%; animation-duration: 20s; animation-delay: -12s; }
@keyframes rise { from { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } to { transform: translateY(-110vh) translateX(18px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bubbles { display: none; } }

.hero { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 30px 0 70px; }
.hero .logo { width: min(420px, 90%); margin: 0 0 6px -8px; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .55)); }
.eyebrow { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: .02em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: 12px; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
h1 em { font-style: normal; color: var(--amber); }
.lead { font-size: 1.12rem; color: rgba(232, 244, 255, .86); max-width: 34em; margin: 18px 0 26px; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.button { display: inline-block; background: var(--teal); color: #02110f; font-weight: 700; padding: 14px 26px; border-radius: 16px; box-shadow: 0 0 28px rgba(95, 224, 207, .35); }
.coming { display: block; margin-top: 12px; font-size: .92rem; color: var(--dim); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.pills li { font-size: .82rem; padding: 6px 13px; border-radius: 999px; background: rgba(3, 5, 9, .5); border: 1px solid var(--line); color: var(--ink); }
.phone { width: min(330px, 100%); margin: 0 auto; border-radius: 38px; border: 2px solid rgba(160, 220, 255, .22); box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(79, 216, 255, .15); }

/* sections */
main section { padding: 64px 0 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-top: 10px; }
.sub { color: var(--dim); max-width: 46em; margin: 12px 0 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; }
.step .no { font-family: var(--display); color: var(--amber); font-size: .95rem; letter-spacing: .1em; }
.step h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.step p { margin: 0; color: var(--dim); font-size: .95rem; }

.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.zone { position: relative; min-height: 150px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--deep) center / cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; }
.zone::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,5,9,.05) 20%, rgba(3,5,9,.85) 100%); }
.zone > * { position: relative; }
.zone b { font-family: var(--display); font-size: 1rem; letter-spacing: .03em; }
.zone small { color: var(--teal); font-size: .76rem; letter-spacing: .08em; }
.zone span { color: var(--dim); font-size: .84rem; line-height: 1.35; margin-top: 2px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.card .art { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; background: radial-gradient(circle at 50% 55%, rgba(79, 216, 255, .12), transparent 65%); }
.card .art img { max-height: 120px; width: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); }
.card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.card p { margin: 0; color: var(--dim); font-size: .95rem; }

.chests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; text-align: center; }
.chests figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 12px 16px; }
.chests img { width: 78%; margin: 0 auto; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .6)); }
.chests figcaption { margin-top: 8px; font-family: var(--display); font-size: .95rem; }
.chests figcaption small { display: block; font-family: var(--body); color: var(--dim); font-size: .8rem; letter-spacing: 0; margin-top: 2px; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 28px 2px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots figure { flex: 0 0 auto; width: 220px; margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; border-radius: 26px; border: 1px solid rgba(160, 220, 255, .18); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
.shots figcaption { margin-top: 10px; font-size: .88rem; color: var(--dim); text-align: center; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.why h3 { font-size: 1.1rem; color: var(--amber); margin-bottom: 6px; }
.why p { margin: 0; color: var(--dim); }

.feature { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center; background: radial-gradient(circle at 18% 50%, rgba(255, 179, 64, .12), transparent 55%), var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px 34px; }
.feature img { width: 100%; filter: drop-shadow(0 0 30px rgba(255, 190, 110, .25)); }
.feature.night { grid-template-columns: 1fr 300px; background: radial-gradient(circle at 82% 50%, rgba(140, 110, 255, .16), transparent 55%), var(--card); }
.feature.night img { filter: drop-shadow(0 0 30px rgba(150, 120, 255, .3)); }
.feature p { color: var(--dim); margin: 12px 0 0; }
.feature.calm { grid-template-columns: 1fr 250px; background: radial-gradient(circle at 80% 50%, rgba(79, 216, 255, .12), transparent 55%), var(--card); }
.feature .shot { width: 100%; border-radius: 26px; border: 1px solid rgba(160, 220, 255, .18); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); filter: none; }
.feature h2 .inline-icon { display: inline-block; width: 1.25em; height: auto; vertical-align: -0.28em; margin-right: .3em; filter: drop-shadow(0 0 10px rgba(90, 220, 255, .55)); }
.feature q { display: block; margin-top: 14px; font-style: italic; color: var(--ink); quotes: '“' '”'; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-of-type { margin-top: 18px; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--dim); margin: 10px 0 0; }
.note { color: var(--faint); font-size: .88rem; margin: 46px 0 0; }

footer { margin-top: 70px; border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--faint); font-size: .88rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
footer nav a { color: var(--dim); }

/* privacy, support, terms */
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 34px 36px 38px; margin-top: 10px; }
.doc h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-top: 0; text-shadow: none; }
.doc h2 { font-size: 1.2rem; margin-top: 30px; color: var(--ink); }
.doc .updated { color: var(--teal); font-size: .86rem; letter-spacing: .06em; margin: 6px 0 0; }
.doc .short { background: rgba(95, 224, 207, .07); border: 1px solid rgba(95, 224, 207, .25); border-radius: 16px; padding: 14px 18px; margin: 22px 0 0; }
.doc p, .doc li { color: rgba(232, 244, 255, .82); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc strong { color: var(--ink); }
.docsea { background: linear-gradient(180deg, rgba(3,5,9,.35), var(--bg) 340px), url('/getkraken/img/sea-midnight.jpg') center top / 100% auto no-repeat; min-height: 100vh; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-bottom: 50px; }
  .steps, .zones { grid-template-columns: repeat(2, 1fr); }
  .grid, .why { grid-template-columns: 1fr 1fr; }
  .chests { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.night { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; }
  .feature img { width: 220px; margin: 0 auto; }
  .feature.night img { order: -1; }
  .feature.calm { grid-template-columns: 1fr; }
  .feature.calm .shot { width: 220px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .grid, .why { grid-template-columns: 1fr; }
  .toplinks .help { display: none; }
  .doc { padding: 24px 20px 28px; border-radius: 20px; }
  .shots figure { width: 190px; }
}
