/* Layout: one centered column (max 1080px) of open sections on a pale ground,
   with the app's pastel washes behind the hero and a phone showing the lock screen. */
:root {
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --raised: #F1F2F5;
  --line: #E4E6EB;
  --text: #12141A;
  --muted: #5D6470;
  --subtle: #79808C;
  --accent: #4B3BD1;
  --accent-fill: #5B4BEA;
  --accent-soft: #EBE9FF;
  --accent-ink: #4A4380;
  --focus: #0B7C6C;
  --focus-soft: #E3F6F1;
  --calm: #1D5FD6;
  --calm-soft: #E5EEFD;
  --amber: #B4500A;
  --amber-soft: #FEF1DC;
  --rose: #C8143C;
  --rose-soft: #FDE7EC;
  --primary: #12141A;
  --on-primary: #FFFFFF;
  --wash-a: #D9D2FF;
  --wash-b: #FFE0CC;
  --wash-c: #C9F2E6;
  --shadow: 0 12px 32px rgba(18, 20, 26, 0.08);

  --font-display: "Sora", "SF Pro Rounded", ui-rounded, system-ui, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: clamp(2.5rem, 6vw, 4rem);
  --radius: 22px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0B0E; --surface: #14161B; --raised: #1E2128; --line: #262A33;
    --text: #F3F1EC; --muted: #9AA0AB; --subtle: #7D838E;
    --accent: #A99BFF; --accent-fill: #8F86FF; --accent-soft: #25204D; --accent-ink: #C9C2FF;
    --focus: #6EE7C8; --focus-soft: #113A33; --calm: #8DB4FF; --calm-soft: #172A4D;
    --amber: #FCD34D; --amber-soft: #45300F; --rose: #FF8FA6; --rose-soft: #45182A;
    --primary: #F3F1EC; --on-primary: #12141A;
    --wash-a: #2A2160; --wash-b: #3A2318; --wash-c: #0F3A33;
    --shadow: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0B0E; --surface: #14161B; --raised: #1E2128; --line: #262A33;
  --text: #F3F1EC; --muted: #9AA0AB; --subtle: #7D838E;
  --accent: #A99BFF; --accent-fill: #8F86FF; --accent-soft: #25204D; --accent-ink: #C9C2FF;
  --focus: #6EE7C8; --focus-soft: #113A33; --calm: #8DB4FF; --calm-soft: #172A4D;
  --amber: #FCD34D; --amber-soft: #45300F; --rose: #FF8FA6; --rose-soft: #45182A;
  --primary: #F3F1EC; --on-primary: #12141A;
  --wash-a: #2A2160; --wash-b: #3A2318; --wash-c: #0F3A33;
  --shadow: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 20px; font-size: var(--step--1); font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--step-0);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary svg { width: 18px; height: 18px; fill: currentColor; }
.btn-quiet { background: var(--surface); color: var(--text); border: 1px solid var(--line); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 96px; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-block: 28px 40px;
  font-size: var(--step--1);
  color: var(--subtle);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
