/* sunaad.com: the app's brand (rebrand 2026-11-10), shared by every public page.
   Layout: neutral page + white cards (as the app); indigo/lavender = identity, plum = links & controls,
   magenta/pink only for brand moments. Light tokens on :root, dark on prefers-color-scheme. */
:root {
  --page: #F5F5F7;
  --card: #FFFFFF;
  --ink: #26282E;
  --muted: #5E5E66;
  --line: #E5E5EA;
  --anchor: #031D59;       /* indigo: wordmark, feature grounds */
  --accent: #BD299F;       /* magenta: brand moments only */
  --link: #5066A3;         /* plum: links and controls (white text 8.4:1) */
  --on-link: #FFFFFF;
  --chip: #EBEBEF;
  --deep: #031D59;         /* always-dark grounds (hero panel, creator band) in both themes */
  --deep-2: #123A5E;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #111113;
    --card: #1A1A1D;
    --ink: #EDEDEF;
    --muted: #A3A3AC;
    --line: #2A2A2F;
    --anchor: #85A9FF;
    --accent: #DE70C6;
    --link: #96A8FA;
    --on-link: #031D59;
    --chip: #232327;
    --deep: #0B1534;
    --deep-2: #18264F;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font); color: var(--ink); background: var(--page);
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { color: var(--link); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.gutter { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ── Header: lockup + one action ─────────────────────────────────────────────── */
.site-head { background: var(--card); border-bottom: 1px solid var(--line); }
.site-head .row { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup .mk { height: 34px; width: auto; display: block; }
.lockup .wm { height: 22px; width: auto; display: block; }
.head-cta { font-weight: 600; font-size: 14px; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--link); color: var(--on-link); white-space: nowrap; }
.head-cta:hover { filter: brightness(1.08); }

/* ── Page title band for document pages (legal) ─────────────────────────────── */
.doc-title { background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.doc-title .row { max-width: 820px; margin: 0 auto; padding-block: 44px 40px; position: relative; z-index: 1; }
.doc-title h1 { margin: 0; font-size: 32px; letter-spacing: -.4px; line-height: 1.2; text-wrap: balance; }
.doc-title p { margin: 8px 0 0; color: rgba(255,255,255,.78); }
.waves::after {
  /* The logo's sound-wave rings: thin concentric lines, fading out. */
  content: ""; position: absolute; right: -260px; bottom: -380px; width: 760px; height: 760px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 58px, rgba(133,169,255,.18) 58px 59.5px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  pointer-events: none;
}

/* Long-form documents */
.doc { max-width: 820px; margin: 0 auto; padding-block: 32px 72px; }
.doc h2 { font-size: 20px; margin-top: 34px; color: var(--anchor); letter-spacing: -.2px; }
.doc h3 { font-size: 16px; margin-top: 20px; }
.doc code { background: var(--chip); padding: 1px 6px; border-radius: 5px; font-size: 13px; }
.doc .muted, .muted { color: var(--muted); font-size: 14px; }
.doc ul { padding-left: 20px; } .doc li { margin: 4px 0; }
.doc .tbl { overflow-x: auto; }
.doc table { border-collapse: collapse; width: 100%; margin-top: 8px; background: var(--card); }
.doc td, .doc th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; font-size: 14px; vertical-align: top; }
.doc th { background: var(--chip); }

/* ── Footer: links, socials, copyright ──────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); background: var(--card); }
.site-foot .row { max-width: 1080px; margin: 0 auto; padding-block: 32px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; font-size: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--link); text-decoration: underline; }
.socials { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--chip); display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.socials a:hover { background: var(--line); }
.socials svg { width: 18px; height: 18px; fill: var(--ink); }
.socials-label { font-size: 13px; color: var(--muted); margin-bottom: -8px; }
.copy { font-size: 13px; color: var(--muted); margin: 0; }

/* Google Play button (store badge style) */
.btn-play {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #000; color: #fff; padding: 10px 20px 10px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); transition: transform .15s ease;
}
.btn-play:hover { transform: translateY(-1px); }
.btn-play .txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-play .txt small { font-size: 10px; letter-spacing: .8px; text-transform: uppercase; opacity: .85; }
.btn-play .txt b { font-size: 18px; font-weight: 600; }

@media (max-width: 560px) {
  .doc-title h1 { font-size: 26px; }
  .lockup .mk { height: 30px; } .lockup .wm { height: 19px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Callout box inside documents (terms, delete-account) */
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 14px; font-size: 14px; }
.doc ol { padding-left: 22px; } .doc ol li { margin: 6px 0; }
