/* MyWalk site pages (Support, Privacy, Terms, Delete Account): the home page's tokens,
   nav, footer, grain and cursor, plus the page header, cards and long-form documents. */
:root {
  --ground: #13110F;          /* MyWalkColor.charcoal */
  --ink: #0B0907;
  --card: #2B2622;            /* MyWalkSurface.level1 */
  --cream: #FAF7F2;
  --cream-2: rgba(250,247,242,.76);
  --cream-3: rgba(250,247,242,.48);
  --gold: #D4A843;
  --sgold: #E8D5A3;
  --coral: #D4836B;           /* warmCoral */
  --rule: rgba(250,247,242,.14);
  --display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --expo: cubic-bezier(.19,1,.22,1);
  --quart: cubic-bezier(.165,.84,.44,1);
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--cream);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 12px; }
.ms {
  font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal;
  font-size: 23px; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0;
}

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; gap: 28px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gr) 14px var(--gl);
  transition: background .5s;
}
.nav.is-solid { background: rgba(19,17,15,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; font-family: var(--display); font-size: 32px; line-height: 1; }
.brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 6px 24px rgba(212,168,67,.28), 0 0 0 1px rgba(250,247,242,.14); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--cream-2); }
.nav-links a { transition: color .3s; }
.nav-links a:hover { color: var(--cream); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-cta { padding: 10px 18px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 600; }

/* ── Page header: a faint painting behind a large title ── */
.page-head { position: relative; overflow: hidden; padding-block: calc(150px + env(safe-area-inset-top, 0px)) 72px; }
.page-head-bg { position: absolute; inset: 0; background: var(--art) center 55% / cover no-repeat; opacity: .42; }
.page-head-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,17,15,.9) 0%, rgba(19,17,15,.4) 60%, rgba(19,17,15,.2) 100%),
              linear-gradient(180deg, rgba(19,17,15,.5) 0%, rgba(19,17,15,0) 40%, var(--ground) 100%);
}
.wrap { position: relative; max-width: 1280px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.page-title { margin: 16px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(52px, 8vw, 120px); line-height: .98; letter-spacing: -.012em; text-wrap: balance; }
.page-meta { margin: 18px 0 0; font-size: 17px; color: var(--cream-2); }
.ln { display: block; overflow: hidden; padding-block: .1em .26em; margin-block: -.1em -.26em; }
.ln > span { display: block; animation: rise 1.3s var(--expo) both; animation-delay: calc(var(--d, 0) * 90ms + .1s); }
@keyframes rise { from { transform: translateY(135%); } }

/* ── Cards and buttons ───────────────────────────── */
.card {
  display: grid; gap: 14px; align-content: start; padding: 30px 30px 28px; border-radius: 22px;
  background: var(--card); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.35);
  animation: card-in 1s var(--quart) both; animation-delay: calc(var(--d, 0) * 90ms + .35s);
}
@keyframes card-in { from { opacity: .35; transform: translateY(18px); } }
.card h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.card p, .card li { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--cream-2); }
.card strong { color: var(--cream); font-weight: 600; }
.icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,168,67,.14); color: var(--gold); }
.icon .ms { font-size: 22px; font-variation-settings: 'FILL' 1; }
.dots { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dots li { position: relative; padding-left: 18px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.card a, .doc a { color: var(--sgold); text-decoration: underline; text-decoration-color: rgba(232,213,163,.4); text-underline-offset: 3px; transition: color .3s; }
.card a:hover, .doc a:hover { color: var(--cream); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none !important; transition: transform .4s var(--quart);
}
.btn:hover { transform: translateY(-2px); }
.btn .ms { font-size: 19px; }
.btn-gold { background: var(--gold); color: var(--ink) !important; }
.btn-coral { background: var(--coral); color: var(--ink) !important; }
.btn-ghost { border: 1px solid rgba(250,247,242,.28); color: var(--cream) !important; }

/* ── Long-form documents (Privacy, Terms) ────────── */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 6vw; align-items: start; padding-block: 16px 16vh; }
.toc { position: sticky; top: 104px; display: grid; gap: 2px; }
.toc-title { margin: 0 0 10px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 13.5px; line-height: 1.35; color: var(--cream-3); text-decoration: none; transition: color .3s, background .3s; }
.toc a .n { min-width: 1.4em; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--cream); }
.toc a.is-on { color: var(--cream); background: rgba(250,247,242,.06); }
.toc a.is-on .n { color: var(--gold); }
.doc-body { max-width: 720px; min-width: 0; }
.doc-intro { margin: 0 0 32px; font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; text-wrap: pretty; }
.doc-sec { padding-block: 36px; border-top: 1px solid rgba(250,247,242,.1); scroll-margin-top: 100px; }
.doc-sec:first-child { border-top: 0; padding-top: 8px; }
.doc-sec h2 { margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.doc-sec h2 .num { min-width: 1.5em; font-size: .72em; color: var(--gold); font-variant-numeric: tabular-nums; }
.doc-sec p, .doc-sec li { margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--cream-2); }
.doc-sec p + p, .doc-sec ul + p, .doc-sec p + ul, .callout + p { margin-top: 14px; }
.doc-sec strong { color: var(--cream); font-weight: 600; }
.callout {
  display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 18px 20px; border-radius: 16px;
  background: rgba(212,168,67,.08); border: 1px solid rgba(212,168,67,.45); font-size: 16.5px; line-height: 1.7; color: var(--cream);
}
.callout .ms { flex: none; margin-top: 2px; color: var(--gold); font-variation-settings: 'FILL' 1; }

/* ── Footer ──────────────────────────────────────── */
.foot { background: var(--ink); border-top: 1px solid rgba(250,247,242,.08); padding-block: 40px 28px; padding-left: var(--gl); padding-right: var(--gr); }
.foot-in { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot .brand { font-size: 24px; gap: 11px; }
.foot .brand img { width: 36px; height: 36px; border-radius: 9px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--cream-2); }
.foot-links a { transition: color .3s; }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--cream); }
.foot-mail { margin: 0; font-size: 14px; color: var(--cream-2); user-select: all; }
.foot-base { max-width: 1280px; margin: 24px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--cream-3); }

/* ── Grain and cursor ────────────────────────────── */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.cursor { position: fixed; left: 0; top: 0; z-index: 100; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor { display: block; }
.has-cursor .cursor.is-on { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor-in { position: absolute; inset: 0; transition: transform .5s var(--quart); }
.cursor.is-hover .cursor-in { transform: scale(1.7); }
.cursor svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.c-track { fill: none; stroke: rgba(250,247,242,.3); stroke-width: 1.5; }
.c-arc { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 119.38; stroke-dashoffset: 119.38; }
.c-dot { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--gold); transition: transform .4s var(--quart); }
.cursor.is-hover .c-dot { transform: scale(0); }

@media (min-width: 900px) { .wrap { padding-left: max(var(--gl), 6vw); padding-right: max(var(--gr), 6vw); } }
@media (max-width: 899px) {
  .nav-links { display: none; }
  .brand { font-size: 26px; gap: 11px; }
  .brand img { width: 40px; height: 40px; border-radius: 10px; }
  .page-head { padding-block: calc(120px + env(safe-area-inset-top, 0px)) 48px; }
  .card { padding: 24px 22px; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .ln > span, .card { animation: none; }
}
