/*
 * Public (server-rendered) pages. Same design tokens as the wallet, so the brand,
 * colours and day/night moods match. Mobile-first; widens to a readable column.
 * Only latin Inter weights actually used are loaded.
 *//* inter-latin-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/build/assets/C38fXH4l.woff2) format('woff2'), url(/build/assets/CyCys3Eg.woff) format('woff');
}
/* inter-latin-600-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/build/assets/LgqL8muc.woff2) format('woff2'), url(/build/assets/CiBQ2DWP.woff) format('woff');
}
/* inter-latin-800-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/build/assets/BYj_oED-.woff2) format('woff2'), url(/build/assets/D1mf63XC.woff) format('woff');
}
/* Design tokens — terracotta/clay "claude" palette, night (default) + day mood.
 *
 * --gm is the glass multiplier. Every translucent surface alpha is written as
 * calc(min(.94, X * var(--gm))): at night gm is 1 and the glass sits at its
 * authored alpha over a dark ground; in day mode gm scales those alphas up so a
 * white glass tint still reads as a surface against parchment, clamped at .94 so
 * nothing goes fully opaque. Day mode also flips --surf to pure white for this.
 */
:root {
  --ink: 250, 249, 245;
  --ink-hi: #faf9f5;
  --ink-display: #faf9f5;
  --surf: 255, 248, 241;
  --shade: 0, 0, 0;
  --gm: 1;
  --aqua: #e39a7d;
  --aqua-2: #edb8a3;
  --aqua-fill: #d97757;
  --on-aqua: #ffffff;
  --iris: #d4a27f;
  --pos: #9cb27c;
  --neg: #e0836f;
  --warn: #dbb25c;
  --shell: #141413;
  --field: #141413;
  --statusbar-ink: #faf9f5;
  --statusbar: rgba(20, 20, 19, .94);
  --statusbar-2: rgba(20, 20, 19, .86);
  --plate: rgba(6, 10, 14, .9);
  --scrim: rgba(4, 7, 11, .55);
  --sheet: linear-gradient(158deg, rgba(var(--surf), calc(min(.94, .15 * var(--gm)))), rgba(var(--surf), calc(min(.94, .06 * var(--gm)))));

  /* Elevation. On the dark ground a lit top edge carries depth, so the cast shadow
     stays tight; day mode overrides this (see below) because a white-on-white
     highlight reads as nothing. */
  --card-lift: 0 4px 12px -8px rgba(var(--shade), .4);
  --card-edge: inset 0 1px 0 rgba(var(--surf), calc(min(.94, .12 * var(--gm))));

  /* Dividers and recessed borders. A lit --surf hairline only reads as a line on
     a dark ground; in day mode white-on-white is invisible, so day flips it to a
     --shade line. Use this instead of writing rgba(var(--surf), …) for anything
     that has to read as a division rather than a highlight. */
  --hairline: rgba(var(--surf), calc(min(.94, .07 * var(--gm))));

  /* Nav glass — the design's own values. The tint stays low because the backdrop
     blur does the work; the hairline ring supplies the edge. Blur is a token only
     so its strength stays easy to tune. */
  --nav-shadow: 0 10px 28px -18px rgba(var(--shade), .55);
  --nav-blur: 30px;
}

[data-mood="day"] {
  /* --ink-hi is the primary-text token: warm off-black, not #141413, because
     near-pure black on parchment reads harsh and cold next to the terracotta.
     --ink is NOT the same knob — it is the base every rgba(var(--ink), α) grey
     is mixed from, so lightening it drags all secondary text toward the page.
     Softening it once put ~58 day-mode items under AA; it stays dark. */
  --ink: 20, 20, 19;
  --ink-hi: #2e2b27;
  --ink-display: #4a4844;
  --surf: 255, 255, 255;
  --shade: 34, 30, 24;
  --gm: 4.6;
  --aqua: #a04d30;
  --aqua-2: #7c3c26;
  --aqua-fill: #d97757;
  --on-aqua: #ffffff;
  --iris: #8a5a33;
  --pos: #5b6e41;
  --neg: #a93f2e;
  --warn: #87681f;
  --shell: #faf9f5;
  --field: #efece3;
  --statusbar-ink: #141413;
  --statusbar: rgba(250, 249, 245, .96);
  --statusbar-2: rgba(250, 249, 245, .88);
  --plate: oklch(.93 .022 46);
  --scrim: rgba(44, 43, 40, .34);
  --sheet: linear-gradient(158deg, rgba(255, 255, 255, .97), rgba(250, 249, 245, .93));

  /* White glass on parchment gets no help from a white top edge, so day mode carries
     depth with a real cast shadow and a warm hairline instead. */
  --card-lift: 0 1px 2px rgba(var(--shade), .06), 0 8px 20px -10px rgba(var(--shade), .16);
  --card-edge: inset 0 0 0 1px rgba(var(--shade), .07);
  --hairline: rgba(var(--shade), .1);
}

* { box-sizing: border-box; }

html, body, #root { height: 100%; }

body {
  margin: 0;
  background: #141413;
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--aqua); text-decoration: none; }
a:hover { color: var(--aqua-2); }
input, textarea, button { font-family: inherit; }
input::placeholder { color: rgba(var(--ink), .5); }
::-webkit-scrollbar { width: 0; height: 0; }

/* Unstyled selection falls back to the UA's grey-blue block, which reads as an
   unfinished implementation artifact on a dark glass surface. */
::selection { background: oklch(from var(--aqua) l c h / .32); color: var(--ink-hi); }

button { -webkit-tap-highlight-color: transparent; }

/* Keyboard focus. Inputs carry their own inset aqua ring (.field__input:focus),
   so this covers everything else, which had no visible focus state at all. */
:where(button, a, [tabindex]):focus-visible {
  outline: 2px solid oklch(from var(--aqua) l c h / .9);
  outline-offset: 2px;
}

@keyframes scrIn {
  from { opacity: 0; transform: translateY(10px) scale(.99); }
  to { opacity: 1; transform: none; }
}
@keyframes sheetIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--shell);
    color: var(--ink-hi);
    font: 400 16px/1.65 Inter, system-ui, sans-serif;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

a { color: var(--aqua); text-underline-offset: 3px; }
a:hover { color: var(--aqua-2); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

img { max-width: 100%; height: auto; }

.skip-link {
    position: absolute; left: 12px; top: -48px; z-index: 50;
    background: var(--aqua-fill); color: var(--on-aqua); padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* ---- header ---- */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(var(--shade), .0);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink-display); text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand img { border-radius: 50%; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a.nav-link { display: none; color: rgba(var(--ink), .82); text-decoration: none; font-size: 14.5px; padding: 10px 10px; border-radius: 10px; }
.site-nav a.nav-link:hover, .site-nav a[aria-current="page"] { color: var(--ink-hi); background: rgba(var(--surf), calc(min(.94, .06 * var(--gm)))); }
@media (min-width: 860px) { .site-nav a.nav-link { display: inline-block; } }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 18px; border-radius: 12px;
    font: 600 15px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; border: 0;
}
.btn-primary { background: var(--aqua-fill); color: var(--on-aqua); box-shadow: 0 10px 24px -14px var(--aqua-fill); }
.btn-primary:hover { color: var(--on-aqua); filter: brightness(1.06); }
.btn-ghost { background: rgba(var(--surf), calc(min(.94, .08 * var(--gm)))); color: var(--ink-hi); box-shadow: inset 0 0 0 1px rgba(var(--surf), calc(min(.94, .14 * var(--gm)))); }
.btn-ghost:hover { color: var(--ink-hi); background: rgba(var(--surf), calc(min(.94, .12 * var(--gm)))); }

/* ---- content ---- */
main { flex: 1; padding: 28px 0 56px; }
.draft-banner {
    background: oklch(from var(--warn) l c h / .16); color: var(--ink-hi);
    border-bottom: 1px solid oklch(from var(--warn) l c h / .4);
    font-size: 13px; text-align: center; padding: 8px 16px;
}

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 13px; color: rgba(var(--ink), .7); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: rgba(var(--ink), .8); }

h1 { font: 800 clamp(30px, 6vw, 48px)/1.1 Inter, sans-serif; letter-spacing: -.03em; color: var(--ink-display); margin: 0 0 14px; }
h2 { font: 800 clamp(22px, 4vw, 28px)/1.2 Inter, sans-serif; letter-spacing: -.02em; color: var(--ink-display); margin: 40px 0 12px; }
h3 { font: 600 18px/1.35 Inter, sans-serif; color: var(--ink-hi); margin: 24px 0 6px; }
p, li { color: rgba(var(--ink), .82); }
.lead { font-size: 18px; color: rgba(var(--ink), .82); max-width: 60ch; }
.muted { color: rgba(var(--ink), .7); font-size: 14px; }

.card {
    background: linear-gradient(158deg, rgba(var(--surf), calc(min(.94, .085 * var(--gm)))), rgba(var(--surf), calc(min(.94, .03 * var(--gm)))));
    border: 1px solid rgba(var(--surf), calc(min(.94, .11 * var(--gm))));
    border-radius: 20px; padding: 20px;
    box-shadow: var(--card-edge), var(--card-lift);
}

/* hero */
.hero { display: grid; gap: 28px; align-items: center; padding: 12px 0 8px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr 1fr; padding: 40px 0 24px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-art {
    position: relative; border-radius: 24px; overflow: hidden; height: 440px;
    background:
        radial-gradient(60% 55% at 55% 45%, rgba(217, 119, 87, .28), transparent 70%),
        radial-gradient(40% 40% at 20% 85%, rgba(156, 178, 124, .14), transparent 70%),
        #12110f;
}
@media (min-width: 860px) { .hero-art { height: 500px; } }

/* ---- animated phone showcase (CSS only; 20s loop, 5 scenes x 4s, no real data) ---- */
.ph-stage { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1100px; }
.ph-glow { position: absolute; width: 240px; height: 50px; bottom: 26px; left: 50%; transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); filter: blur(6px); animation: phShadow 10s ease-in-out infinite; }
.ph {
    position: relative; width: 206px; height: 418px; border-radius: 38px; padding: 9px;
    background: linear-gradient(145deg, #3b3833, #1b1a18 45%, #0c0b0a);
    box-shadow: 1px 1px 0 #2a2825, 2px 2px 0 #24221f, 3px 3px 0 #1f1d1b, 4px 4px 0 #1a1917, 5px 5px 0 #151412, 6px 6px 0 #100f0e,
        inset 0 0 0 1.5px rgba(255,255,255,.08), 30px 40px 60px -20px rgba(0,0,0,.7);
    animation: phSway 10s ease-in-out infinite;
}
@media (min-width: 860px) { .ph { width: 226px; height: 458px; } }
.ph::after {
    content: ''; position: absolute; inset: 9px; border-radius: 30px; pointer-events: none; z-index: 5;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.08) 45%, transparent 55%);
    background-size: 250% 100%; animation: phShine 5s ease-in-out infinite;
}
.ph-notch { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 12px; background: #050505; z-index: 3; }
.ph-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: linear-gradient(170deg, #22201d, #161513 60%); color: #faf9f5; font-size: 12px; line-height: 1.3; }
.ph-top { display: flex; align-items: center; gap: 8px; padding: 40px 16px 8px; }
.ph-top img { border-radius: 50%; }
.ph-dot { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.1); }
.sk { display: block; height: 8px; border-radius: 6px; background: rgba(255,255,255,.14); }
.w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; }
.ph-screen .ph-h { color: #faf9f5; margin: 0 0 12px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.ph-tabs { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 44px; border-radius: 16px; background: rgba(255,255,255,.07);
    display: flex; justify-content: space-around; align-items: center; }
.ph-tabs i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255,255,255,.18); }
.ph-tabs i.on { background: #d97757; }

.scene { position: absolute; left: 16px; right: 16px; top: 76px; opacity: 0; animation: scene 20s ease-in-out infinite backwards; animation-delay: var(--d); }
.scene * { animation-delay: var(--d); }
.s1 { --d: 0s; } .s2 { --d: 4s; } .s3 { --d: 8s; } .s4 { --d: 12s; } .s5 { --d: 16s; }

.ph-btn { margin-top: 12px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; background: #d97757; color: #fff; animation: press 20s infinite; }
.ph-btn.ghost { background: transparent; border: 1px solid rgba(217,119,87,.6); color: #edb8a3; animation: none; }
.pill { margin-left: auto; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.p-ok { background: rgba(156,178,124,.2); color: #b9cc9c; }
.p-wait { background: rgba(219,178,92,.2); color: #e5c47e; }
.mask { letter-spacing: 2px; color: rgba(255,255,255,.55); }

/* scene 1: deposit */
.ph-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.pm { aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.pm img { border-radius: 6px; }
.pm-0 { animation: pick 20s infinite; }
.ph-upload { position: relative; margin-top: 12px; height: 92px; border-radius: 14px; border: 1.5px dashed rgba(255,255,255,.22);
    display: grid; place-items: center; align-content: center; gap: 4px; color: rgba(255,255,255,.6); animation: uploadBox 20s infinite; }
.up-ico { font-size: 20px; }
.up-ok { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: #b9cc9c; opacity: 0; animation: popIn 20s infinite; }
.ph-upload .up-ico, .ph-upload .up-txt { animation: fadeOut 20s infinite; }

/* scene 2: tracking */
.trk { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px; margin-bottom: 8px; border-radius: 12px; background: rgba(255,255,255,.06); animation: slideIn 20s infinite backwards; }
.t2 { animation-name: slideIn2; } .t3 { animation-name: slideIn3; }
.st { width: 22px; height: 22px; border-radius: 8px; flex: 0 0 auto; }
.st-a { background: rgba(219,178,92,.35); } .st-b { background: rgba(156,178,124,.35); }
.ph-progress { margin-top: 14px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.ph-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #d97757, #edb8a3); animation: fill 20s infinite; }

/* scene 3: Betpro ID */
.idcard { position: relative; display: grid; gap: 10px; padding: 16px; border-radius: 16px; overflow: hidden;
    background: linear-gradient(140deg, rgba(217,119,87,.35), rgba(212,162,127,.12)); border: 1px solid rgba(237,184,163,.25); }
.idcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 20s infinite; animation-delay: 8s; }
.idcard .key { font-size: 22px; color: #edb8a3; }
.idcard .pill { margin-left: 0; justify-self: start; }

/* scene 4: withdraw */
.fld { display: grid; gap: 7px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; background: rgba(255,255,255,.06); }
.s4 .ph-btn { animation-name: press2; }
.done { margin-top: 12px; display: flex; align-items: center; gap: 8px; justify-content: center; color: #b9cc9c; font-weight: 600; opacity: 0; animation: popIn2 20s infinite; }
.done span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(156,178,124,.25); }

/* scene 5: support chat */
.bub { max-width: 82%; width: fit-content; padding: 9px 12px; border-radius: 14px; margin-bottom: 8px; line-height: 1.4; }
.bub.me { margin-left: auto; background: #d97757; color: #fff; border-bottom-right-radius: 4px; animation: slideIn 20s infinite backwards; }
.bub.them { background: rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.typing { display: flex; gap: 4px; padding: 12px 14px; animation: typing 20s infinite; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.bub.ans { opacity: 0; margin-top: -38px; animation: popIn2 20s infinite; } /* replaces the typing bubble in place */

/* feature chips that "pop out" of the phone */
.chip {
    position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 14px;
    font: 600 13px/1 Inter, sans-serif; color: #faf9f5; white-space: nowrap;
    background: rgba(40, 37, 33, .8); border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px -12px rgba(0,0,0,.7);
    opacity: 0; animation: chip 20s cubic-bezier(.2,.9,.3,1.2) infinite backwards; animation-delay: var(--d);
}
.chip b { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: #d97757; color: #fff; font-size: 13px; }
.c1 { --d: .4s;  top: 16%; left: 5%; }
.c2 { --d: 4.4s; top: 30%; right: 5%; }
.c3 { --d: 8.4s; bottom: 24%; left: 5%; }
.c4 { --d: 12.4s; top: 20%; right: 5%; }
.c5 { --d: 16.4s; bottom: 20%; right: 5%; }
@media (max-width: 420px) { .chip { font-size: 12px; } .c1, .c3 { left: 3%; } .c2, .c4, .c5 { right: 3%; } }

@keyframes phSway { 0%, 100% { transform: rotateY(-20deg) rotateX(8deg) rotateZ(2deg) translateY(0); } 50% { transform: rotateY(-8deg) rotateX(4deg) rotateZ(0deg) translateY(-10px); } }
@keyframes phShadow { 0%, 100% { opacity: .9; transform: translateX(-50%) scale(1); } 50% { opacity: .6; transform: translateX(-50%) scale(.88); } }
@keyframes phShine { 0%, 60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
@keyframes scene { 0% { opacity: 0; transform: translateY(16px) scale(.97); } 2.5%, 17.5% { opacity: 1; transform: none; } 20%, 100% { opacity: 0; transform: translateY(-12px) scale(.98); } }
@keyframes chip { 0% { opacity: 0; transform: translate3d(0, 20px, 0) scale(.6); } 3%, 15% { opacity: 1; transform: none; } 18%, 100% { opacity: 0; transform: translate3d(0, -14px, 0) scale(.9); } }
@keyframes pick { 0%, 4% { box-shadow: none; background: rgba(255,255,255,.08); } 5.5%, 18% { box-shadow: 0 0 0 2px #d97757; background: rgba(217,119,87,.18); } 20%, 100% { box-shadow: none; background: rgba(255,255,255,.08); } }
@keyframes uploadBox { 0%, 8% { border-color: rgba(255,255,255,.22); background: transparent; } 10%, 18% { border-color: rgba(156,178,124,.7); background: rgba(156,178,124,.08); } 20%, 100% { border-color: rgba(255,255,255,.22); background: transparent; } }
@keyframes fadeOut { 0%, 8% { opacity: 1; } 10%, 100% { opacity: 0; } }
@keyframes popIn { 0%, 8.5% { opacity: 0; transform: scale(.4); } 10.5% { opacity: 1; transform: scale(1.15); } 12%, 18% { opacity: 1; transform: scale(1); } 20%, 100% { opacity: 0; } }
@keyframes press { 0%, 13% { transform: none; filter: none; } 14% { transform: scale(.94); filter: brightness(1.2); } 15.5%, 100% { transform: none; filter: none; } }
@keyframes press2 { 0%, 8% { transform: none; filter: none; } 9% { transform: scale(.94); filter: brightness(1.2); } 10.5%, 100% { transform: none; filter: none; } }
@keyframes popIn2 { 0%, 10% { opacity: 0; transform: translateY(8px) scale(.9); } 12%, 18% { opacity: 1; transform: none; } 20%, 100% { opacity: 0; } }
@keyframes slideIn { 0% { opacity: 0; transform: translateX(-24px); } 3%, 100% { opacity: 1; transform: none; } }
@keyframes slideIn2 { 0%, 2% { opacity: 0; transform: translateX(-24px); } 5%, 100% { opacity: 1; transform: none; } }
@keyframes slideIn3 { 0%, 4% { opacity: 0; transform: translateX(-24px); } 7%, 100% { opacity: 1; transform: none; } }
@keyframes fill { 0%, 3% { width: 0; } 16%, 100% { width: 100%; } }
@keyframes sweep { 0%, 4% { transform: translateX(-100%); } 11%, 100% { transform: translateX(100%); } }
@keyframes typing { 0%, 3% { opacity: 0; } 4%, 9.5% { opacity: 1; } 10%, 100% { opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .ph, .ph::after, .ph-glow, .chip, .scene, .scene *, .idcard::after { animation: none !important; }
    .ph { transform: rotateY(-14deg) rotateX(6deg); }
    .s1, .c1, .c3 { opacity: 1; }
}

.grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card h3 { margin-top: 0; }
.method-logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.method-logos span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(var(--surf), calc(min(.94, .06 * var(--gm)))); font-size: 14px; color: var(--ink-hi); }
.method-logos img { width: 28px; height: 28px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 66px; }
.steps li::before {
    content: counter(s, decimal-leading-zero);
    position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font: 600 12px/1 Inter, sans-serif; color: var(--aqua);
    background: oklch(from var(--aqua) l c h / .14); box-shadow: inset 0 0 0 1px oklch(from var(--aqua) l c h / .3);
}
.steps h2, .steps h3 { margin: 4px 0 6px; font-size: 17px; }
.steps p { margin: 0; }

/* faq */
.faq details { border-bottom: 1px solid var(--hairline); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative; font: 600 16px/1.4 Inter, sans-serif; color: var(--ink-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--aqua); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; }

/* forms */
.form { display: grid; gap: 14px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: rgba(var(--ink), .86); }
.form input, .form textarea {
    width: 100%; font: 400 15px/1.5 Inter, sans-serif; color: var(--ink-hi);
    background: rgba(var(--surf), calc(min(.94, .08 * var(--gm)))); border: 1px solid rgba(var(--surf), calc(min(.94, .14 * var(--gm))));
    border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form-status { font-size: 14px; border-radius: 12px; padding: 10px 12px; }
.form-status[data-tone="ok"] { background: oklch(from var(--pos) l c h / .14); color: var(--pos); }
.form-status[data-tone="err"] { background: oklch(from var(--neg) l c h / .14); color: var(--neg); }
.form-status:empty { display: none; }

.legal h2 { font-size: 21px; margin-top: 32px; }
.legal p, .legal li { font-size: 15.5px; }
.notice-box { border-radius: 14px; padding: 14px 16px; background: oklch(from var(--warn) l c h / .12); box-shadow: inset 0 0 0 1px oklch(from var(--warn) l c h / .35); color: var(--ink-hi); font-size: 14px; margin: 18px 0; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--hairline); padding: 28px 0 36px; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.site-footer nav a { color: rgba(var(--ink), .8); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink-hi); text-decoration: underline; }
.disclaimer { color: rgba(var(--ink), .66); font-size: 13px; max-width: 72ch; }

/* ---- cookie consent ---- */
.consent {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    max-width: 560px; margin: 0 auto; padding: 16px;
    background: var(--shell); border: 1px solid rgba(var(--surf), calc(min(.94, .16 * var(--gm)))); border-radius: 16px;
    box-shadow: 0 18px 40px -16px rgba(var(--shade), .6);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; font-size: 14px; }
.consent .actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Day mode: white-on-white field borders are invisible; use a visible ink border (WCAG 1.4.11). */
[data-mood="day"] .form input,
[data-mood="day"] .form textarea {
    background: #fff;
    border-color: rgba(var(--ink), .28);
}
[data-mood="day"] .card { border-color: rgba(var(--ink), .1); }
[data-mood="day"] .btn-ghost { box-shadow: inset 0 0 0 1px rgba(var(--ink), .2); }

/* ---- Android app download ---- */
.app-dl {
    display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 16px 10px 12px;
    border-radius: 14px; background: #141413; color: #faf9f5; text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
    transition: transform .15s, border-color .15s;
}
.app-dl:hover { color: #faf9f5; transform: translateY(-1px); border-color: rgba(217, 119, 87, .7); }
.app-dl svg { color: #9cb27c; flex: 0 0 auto; }
.app-dl span { display: flex; flex-direction: column; font: 600 16px/1.15 Inter, sans-serif; }
.app-dl small { font: 400 11px/1.2 Inter, sans-serif; opacity: .75; }
.app-dl em { font: 400 12px/1 Inter, sans-serif; font-style: normal; opacity: .6; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .18); }
.app-band {
    display: grid; gap: 18px; align-items: center; margin: 36px 0 8px; padding: 22px;
    border-radius: 20px; background: var(--sheet); border: 1px solid var(--hairline);
}
@media (min-width: 760px) { .app-band { grid-template-columns: 1fr auto; padding: 28px 32px; } }
.app-band h2 { margin-top: 0; }
.app-band p { margin: 0 0 10px; }
.app-steps { margin: 0; padding-left: 20px; color: rgba(var(--ink), .78); font-size: 14.5px; }
.app-band-btn { white-space: nowrap; }
