/* Shoreline — sound shown as light. Low notes warm, high notes cool, like light's wavelengths. */
:root {
  --bg: #f3f3f7;
  --surface: rgba(255, 255, 255, 0.72);
  --edge: rgba(255, 255, 255, 0.9);
  --line: rgba(20, 20, 40, 0.08);
  --text: #15151c;
  --soft: #5d5d6b;
  --faint: #8c8c99;
  --ink: #15151c;
  --on-ink: #ffffff;
  --tint: #7873f5;
  --amber: #ffb554; --coral: #ff8080; --rose: #f073b8; --violet: #9e85fa; --blue: #619efc; --sky: #5ecdf2;
  --spectrum: linear-gradient(90deg, var(--amber), var(--coral), var(--rose), var(--violet), var(--blue), var(--sky));
  --shadow: 0 30px 80px -30px rgba(40, 30, 90, 0.35), 0 8px 24px -12px rgba(40, 30, 90, 0.18);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d12;
    --surface: rgba(255, 255, 255, 0.05);
    --edge: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f2f2f7;
    --soft: #a7a7b6;
    --faint: #75757f;
    --ink: #f2f2f7;
    --on-ink: #0d0d12;
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* soft light falling across the page */
body::before {
  content: "";
  position: fixed;
  inset: -20vh -20vw;
  z-index: -1;
  background:
    radial-gradient(40vw 40vw at 80% 8%, color-mix(in srgb, var(--violet) 26%, transparent), transparent 70%),
    radial-gradient(36vw 36vw at 8% 70%, color-mix(in srgb, var(--amber) 18%, transparent), transparent 70%),
    radial-gradient(30vw 30vw at 40% 30%, color-mix(in srgb, var(--sky) 14%, transparent), transparent 70%);
  pointer-events: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(1.6) blur(20px);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
nav .links { display: flex; gap: 22px; font-size: 15px; }
nav .links a { color: var(--soft); text-decoration: none; }
nav .links a:hover { color: var(--text); }

/* buttons */
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink);
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.45);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(0.97); }
.button.ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.button svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 40px 0 40px; text-align: center; }
.hero .art { width: min(340px, 62%); margin: 0 auto 8px; filter: drop-shadow(0 20px 40px rgba(120, 100, 255, 0.25)); }
h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 700;
  margin: 0 0 18px;
}
h1 .light { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--soft); max-width: 640px; margin: 0 auto 30px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { margin-top: 14px; font-size: 14px; color: var(--faint); }

.shot {
  margin: 56px auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--edge);
  background: var(--surface);
}
.shot img { width: 100%; height: auto; }

/* sections */
section { padding: 96px 0 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--tint); margin-bottom: 10px; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: 1.25fr 1fr; }
.split.flip .copy { order: 2; }
.copy p { color: var(--soft); margin: 0 0 14px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.card {
  padding: 24px; border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--edge);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.card h3 { margin: 12px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--soft); font-size: 15px; }
.dot { width: 28px; height: 6px; border-radius: 3px; background: var(--spectrum); }
.card:nth-child(2) .dot { background: linear-gradient(90deg, var(--rose), var(--violet)); }
.card:nth-child(3) .dot { background: linear-gradient(90deg, var(--blue), var(--sky)); }
.card:nth-child(4) .dot { background: linear-gradient(90deg, var(--amber), var(--coral)); }
.card:nth-child(5) .dot { background: linear-gradient(90deg, var(--violet), var(--blue)); }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mode { padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--edge); }
.mode h3 { margin: 0 0 4px; font-size: 19px; }
.mode p { margin: 0; color: var(--soft); font-size: 15px; }
.mode .chain { margin-top: 12px; font-size: 13.5px; color: var(--faint); }

.private { text-align: center; }
.private p { color: var(--soft); max-width: 620px; margin: 0 auto; }
.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.badges span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--edge); font-size: 14px; color: var(--soft); }

.closing { text-align: center; padding-bottom: 40px; }

footer { margin-top: 96px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--soft); text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--text); }

/* documents (privacy, support) */
.doc { max-width: 720px; padding: 64px 0 0; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--soft); }
.doc .updated { color: var(--faint); font-size: 15px; }
.doc details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; float: right; color: var(--faint); transition: transform 0.2s; }
.doc details[open] summary::after { transform: rotate(45deg); }
.doc details p { margin: 10px 0 0; }

/* entrance: quiet rise, never for reduced motion */
.js .rise:not(.seen) { opacity: 0; transform: translateY(16px); }
.rise { transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .js .rise:not(.seen), .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 820px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 28px; }
  .split.flip .copy { order: 0; }
  .cards, .modes { grid-template-columns: 1fr; }
  nav .links a.hide-small { display: none; }
  section { padding-top: 72px; }
  footer .wrap { flex-direction: column; }
  footer a { margin: 0 18px 0 0; }
}
