/* AccuBud website – Day (light) theme, matches the app's light mode (Rumba Red accent). */
:root {
  color-scheme: light;
  --bg: #F4EEE6;
  --bg-2: #EFE6DB;
  --surface: #FBF7F1;
  --surface-2: #FFFDFA;
  --ink: #1C1A17;
  --ink-muted: #5E5850;
  --ink-faint: #8E8A83;
  --line: rgba(28, 26, 23, .10);
  --line-strong: rgba(28, 26, 23, .18);
  --accent: #7C2439;
  --accent-text: #6E1F33;
  --accent-soft: rgba(124, 36, 57, .08);
  --on-accent: #FBF5EE;
  --gold: #E8A93B;
  --danger: #C2410C;
  --night: #121214;
  --night-ink: #F3EEE4;
  --radius: 28px;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 20px 50px -24px rgba(60, 30, 20, .35);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --script: "Luxurious Script", cursive;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Film grain carried over from the app */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .4 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------- type ---------- */
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-muted);
}
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: .95; margin: 0;
}
.narrator { font-family: var(--serif); font-style: italic; color: var(--ink-muted); }
h2.display { font-size: clamp(44px, 7vw, 84px); }
h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 0 0 8px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-muted); max-width: 34em; }
.script { font-family: var(--script); font-weight: 400; padding: 0 .3em 0 .12em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.95); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 28px -10px rgba(124,36,57,.65); }
.btn-primary:hover { background: #6C1F32; }
.btn-ghost { background: rgba(255,255,255,.55); color: var(--ink); border: 1px solid var(--line-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { background: rgba(255,255,255,.85); }
.btn:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(244, 238, 230, .72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }
.brand span { font-family: var(--script); font-size: 34px; line-height: 1; padding: 6px .3em 0 .1em; }
.nav-links { display: none; gap: 28px; font-size: 15px; color: var(--ink-muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { height: 42px; padding: 0 18px; font-size: 15px; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 48px 0 72px; overflow: hidden; }
.hero-tex {
  position: absolute; inset: -10% -20% auto auto; width: 75%; height: 120%;
  background: url(assets/img/tex-rose.jpg) center/cover;
  opacity: .55; filter: saturate(.9);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; } .hero { padding: 72px 0 110px; } }
.hero h1 { font-size: clamp(58px, 10vw, 128px); margin: 18px 0 18px; }
.hero h1 em { font-style: italic; color: var(--accent-text); }
.hero .narrator { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 28px; }

.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.waitlist input {
  flex: 1 1 240px; height: 52px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.7);
  font: 16px var(--sans); color: var(--ink);
}
.waitlist input::placeholder { color: var(--ink-faint); }
.waitlist .btn { flex: 0 0 auto; }
.form-note { font-size: 14px; color: var(--ink-muted); margin-top: 12px; min-height: 1.4em; }
.form-consent { font-size: 13px; color: var(--ink-faint); margin: 2px 0 0; }
.form-consent a { color: var(--ink-muted); }
.final .form-consent { position: relative; }
.form-note.ok { color: var(--accent-text); font-weight: 600; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: 14px; color: var(--ink-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ---------- phone mockup (app light mode) ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 320px; max-width: 86vw; aspect-ratio: 402/874;
  border-radius: 54px; padding: 11px; background: #1b1a19;
  box-shadow: 0 0 0 2px #3a3835, 0 50px 90px -30px rgba(70, 25, 25, .55), 0 30px 40px -30px rgba(0,0,0,.5);
}
.screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden;
  background: #F2EBE2; color: var(--ink); font-size: 11px;
}
.screen::before { /* rose texture under a white veil, like the app */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(246,240,232,.72), rgba(246,240,232,.86)), url(assets/img/tex-rose.jpg) center/cover;
}
.screen > * { position: relative; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 3; }
.sbar { display: flex; justify-content: space-between; padding: 14px 28px 0; font: 600 13px var(--sans); }
.scr-pad { padding: 18px 16px 0; }
.scr-date { font: 9px var(--mono); letter-spacing: .2em; color: var(--ink-muted); }
.scr-title { font: 40px/1 var(--serif); letter-spacing: -.02em; margin: 4px 0 12px; }
.sparks { position: absolute; right: 16px; top: 62px; font: 12px var(--mono); background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }
.sparks b { color: var(--gold); }
.glass {
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8);
  border-radius: 22px; box-shadow: 0 6px 18px -10px rgba(60,30,20,.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.accy-card { display: flex; gap: 8px; align-items: center; padding: 10px 12px; }
.accy-card img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.accy-card .narrator { color: var(--ink); font-size: 15px; line-height: 1.1; }
.accy-card .row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; gap: 6px; }
.mini-label { font: 7.5px var(--mono); letter-spacing: .16em; color: var(--ink-muted); text-transform: uppercase; }
.pill { background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 6px 10px; font-weight: 600; font-size: 10px; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0; }
.tile { padding: 8px 9px; }
.tile .n { font: 28px/1 var(--serif); margin: 4px 0 2px; }
.tile .n small { font-size: 14px; color: var(--ink-muted); }
.ico { width: 13px; height: 13px; color: var(--accent); }
.xp { padding: 9px 11px; margin-bottom: 8px; }
.xp .top { display: flex; justify-content: space-between; font-weight: 600; font-size: 10px; }
.xp .top span:last-child { font: 9px var(--mono); color: var(--ink-muted); }
.bar { height: 6px; border-radius: 6px; background: rgba(28,26,23,.08); margin-top: 7px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 65%; border-radius: 6px; background: linear-gradient(90deg, #9A3550, var(--accent)); animation: fill 2.4s cubic-bezier(.2,.9,.2,1) both .6s; }
@keyframes fill { from { width: 8%; } }
.goal { display: flex; align-items: center; gap: 9px; padding: 7px; margin-bottom: 6px; }
.goal .thumb { width: 42px; height: 42px; border-radius: 13px; background: center/cover; flex: none; }
.goal .t { font: 18px/1 var(--serif); }
.goal .s { font-size: 9px; color: var(--ink-muted); margin-top: 3px; }
.goal .cam { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.goal .cam svg { width: 14px; height: 14px; color: #fff; }
.goal .done { margin-left: auto; font: 9px var(--mono); color: var(--accent-text); letter-spacing: .1em; }
.tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 14px; height: 50px; border-radius: 26px;
  display: flex; justify-content: space-around; align-items: center; font-size: 8px; color: var(--ink-muted);
}
.tabbar div { display: grid; justify-items: center; gap: 2px; }
.tabbar svg { width: 16px; height: 16px; }
.tabbar .on { color: var(--accent); }

.float-card {
  position: absolute; padding: 12px 14px; border-radius: 20px; font-size: 13px; max-width: 220px;
  background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 18px 40px -18px rgba(60,30,20,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-weight: 600; }
.float-card .narrator { font-size: 17px; color: var(--ink); line-height: 1.1; }
.fc-1 { left: -6%; top: 47%; }
.fc-2 { right: -4%; bottom: 12%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
/* Tablets: cards hug the phone instead of the screen edge */
@media (min-width: 521px) and (max-width: 959px) { .fc-1 { left: calc(50% - 300px); } .fc-2 { right: calc(50% - 300px); } }
/* Phones: no room beside the mockup – the cards would cover its content */
@media (max-width: 520px) { .float-card { display: none; } }

/* ---------- sections ---------- */
section { padding: 88px 0; position: relative; }
@media (min-width: 900px) { section { padding: 120px 0; } }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head .label { display: block; margin-bottom: 16px; }
.sec-head .narrator { font-size: 24px; margin-top: 14px; }

.manifesto { text-align: center; padding: 96px 0; }
.manifesto p { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.015em; max-width: 18em; margin: 0 auto; }
.manifesto p em { color: var(--accent-text); }
.manifesto .narrator { font-size: 22px; margin-top: 26px; display: block; }

.steps { display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.step .num { font: 12px var(--mono); letter-spacing: .2em; color: var(--accent-text); }
.step h3 { margin-top: 14px; }
.step p { color: var(--ink-muted); font-size: 16px; margin: 0; }
.step .vis { height: 150px; margin: 20px -6px 0; display: grid; place-items: center; }

/* small UI bits inside step cards */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600; }
.ui-goal { width: 100%; border-radius: 20px; padding: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.ui-goal .t { font: 28px/1 var(--serif); }
.ui-goal .s { font: 11px var(--mono); color: var(--ink-muted); letter-spacing: .08em; margin-top: 6px; }
.avatars { display: flex; align-items: center; }
.av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 22px var(--serif); color: #fff; border: 3px solid var(--surface); }
.av + .av { margin-left: -14px; }
.av.a { background: linear-gradient(135deg, #B85A6E, #7C2439); }
.av.b { background: linear-gradient(135deg, #8a7a66, #4a4038); }
.handshake { font: 13px var(--mono); color: var(--ink-muted); margin-left: 14px; letter-spacing: .06em; }
.proof-ph { width: 120px; height: 150px; border-radius: 18px; background: url(assets/img/tex-rose.jpg) center/cover; position: relative; box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); transform: rotate(-5deg); }
.proof-ph::after { content: "11:58 · 2 h left"; position: absolute; left: 8px; bottom: 8px; font: 10px var(--mono); background: rgba(255,255,255,.85); padding: 3px 7px; border-radius: 999px; }
.yourcall { display: flex; gap: 8px; }
.yourcall span { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.yourcall .y { background: var(--accent); color: var(--on-accent); }
.yourcall .n { background: rgba(28,26,23,.07); }

/* consequences */
.cons-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .cons-grid { grid-template-columns: repeat(6, 1fr); } .c-wide { grid-column: span 3; } .c-third { grid-column: span 2; } }
.roast {
  background: var(--night); color: var(--night-ink); border: 0; text-align: center; min-height: 340px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.roast::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(200,140,90,.35), transparent 60%); }
.roast > * { position: relative; }
.roast img { width: 84px; margin-bottom: 14px; }
.roast .label { color: rgba(243,238,228,.6); }
.roast blockquote { margin: 12px 0; font: italic 28px/1.12 var(--serif); max-width: 15em; }
.roast .narrator { color: rgba(243,238,228,.7); font-size: 20px; }
.icons-row { display: flex; gap: 12px; margin: 18px 0 6px; }
.icons-row img { width: 58px; height: 58px; border-radius: 14px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); }
.cons p { color: var(--ink-muted); font-size: 16px; }
.tag { font: 11px var(--mono); letter-spacing: .14em; color: var(--accent-text); text-transform: uppercase; display: block; margin-bottom: 12px; }
.lock { display: flex; gap: 10px; align-items: center; margin: 16px 0 10px; }
.lock div { width: 46px; height: 46px; border-radius: 12px; background: rgba(28,26,23,.08); display: grid; place-items: center; }
.lock svg { width: 20px; height: 20px; color: var(--ink-muted); }
.clownhat { width: 120px; margin: 4px 0 10px; }

/* Accy */
.accy-sec { background: var(--bg-2); }
.ladder {
  background: var(--night); border-radius: 36px; padding: 36px 20px 24px; color: var(--night-ink);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 6px; align-items: end; overflow: hidden;
}
@media (min-width: 760px) { .ladder { grid-template-columns: repeat(6, 1fr); padding: 48px 32px 30px; } }
.ladder figure { margin: 0; text-align: center; }
.ladder img { width: 100%; max-width: 150px; margin: 0 auto; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.ladder figure:hover img { transform: translateY(-8px) scale(1.04); }
.ladder figcaption { font: 20px var(--serif); margin-top: 6px; }
.ladder figcaption small { display: block; font: 10px var(--mono); letter-spacing: .16em; color: rgba(243,238,228,.55); text-transform: uppercase; }
.accy-split { display: grid; gap: 32px; margin-top: 40px; align-items: center; }
@media (min-width: 900px) { .accy-split { grid-template-columns: 1fr 1fr; } }
.wardrobe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wardrobe div { aspect-ratio: 1; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; padding: 6px; }
.wardrobe img { width: 92%; }
.reward-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.reward-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); font-size: 15px; }
.reward-list b { font: 13px var(--mono); color: var(--accent-text); white-space: nowrap; }

/* proof types */
.proofs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.proof { padding: 22px; }
.proof svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.proof h3 { font-size: 24px; }
.proof p { font-size: 15px; color: var(--ink-muted); margin: 0; }

/* pricing */
.prices { display: grid; gap: 16px; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price { display: flex; flex-direction: column; }
.price .amt { font: 56px/1 var(--serif); margin: 14px 0 2px; letter-spacing: -.02em; }
.price .amt small { font: 15px var(--sans); color: var(--ink-muted); letter-spacing: 0; }
.price .yr { font: 12px var(--mono); color: var(--ink-muted); }
.price ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15px; }
.price li { display: flex; gap: 10px; }
.price li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%237C2439' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.price.pro { background: var(--night); color: var(--night-ink); border: 0; }
.price.pro .amt small, .price.pro .yr { color: rgba(243,238,228,.6); }
.price.pro li::before { background-color: rgba(243,238,228,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23F3EEE4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.price.pro .label { color: rgba(243,238,228,.6); }
.badge-best { position: absolute; top: 22px; right: 22px; font: 11px var(--mono); letter-spacing: .14em; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.price-note { text-align: center; color: var(--ink-muted); font-size: 14px; margin-top: 24px; }

/* safety */
.safety { display: grid; gap: 14px; }
@media (min-width: 900px) { .safety { grid-template-columns: repeat(3, 1fr); } }
.safety .card h3 { font-size: 26px; }
.safety .card p { color: var(--ink-muted); font-size: 15px; margin: 0; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line-strong); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 26px/1.15 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px var(--sans); color: var(--accent); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); margin: 0 0 20px; max-width: 40em; }

/* final cta */
.final { text-align: center; overflow: hidden; }
.final .hero-tex { inset: auto; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 110%; height: 140%; opacity: .45; }
.final h2 { position: relative; font-size: clamp(54px, 9vw, 120px); }
.final .narrator { position: relative; font-size: 26px; margin: 14px 0 32px; }
.final .waitlist { position: relative; margin: 0 auto; justify-content: center; }
.final .form-note { position: relative; }
.final img.accy-wave { position: relative; width: 150px; margin: 0 auto 10px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--ink-muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* legal pages */
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(48px, 8vw, 84px); margin: 14px 0 10px; }
.legal h2 { font: 32px/1.1 var(--serif); margin: 44px 0 12px; }
.legal p, .legal li { color: #3c3832; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.draft-note { background: var(--accent-soft); border: 1px solid rgba(124,36,57,.2); color: var(--accent-text); padding: 14px 18px; border-radius: 16px; font-size: 14px; margin: 18px 0 8px; }
.ph { background: #FBE7A8; color: #5b4300; padding: 0 .3em; border-radius: 4px; font-family: var(--mono); font-size: .88em; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .bar i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Accy guide (accy-guide.js) ---------- */
.accy-guide {
  position: fixed; z-index: 80; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  width: 92px; transform: translateY(160%); transition: transform .7s cubic-bezier(.3,1.5,.5,1), opacity .4s;
  pointer-events: none;
}
.accy-guide[data-side="right"] { right: max(16px, env(safe-area-inset-right, 0px)); }
.accy-guide[data-side="left"]  { left: max(16px, env(safe-area-inset-left, 0px)); }
.accy-guide.in { transform: none; }
.accy-guide.away { transform: translateY(62%); opacity: .75; }
.accy-guide.away .ag-bubble { display: none; }
.ag-body { position: relative; display: block; width: 92px; height: 92px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; transform-origin: 50% 100%; }
.ag-body img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(60,30,20,.25)); animation: ag-breathe 3s ease-in-out infinite; transform-origin: 50% 100%; }
.ag-shadow { position: absolute; left: 22%; right: 22%; bottom: 0; height: 8px; border-radius: 50%; background: rgba(60,30,20,.18); filter: blur(3px); }
@keyframes ag-breathe { 50% { transform: scale(1.03, .97); } }
.ag-bubble {
  position: absolute; bottom: 100px; width: min(270px, calc(100vw - 32px)); padding: 13px 34px 13px 15px;
  border-radius: 20px; background: rgba(255,253,250,.94); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 18px 40px -16px rgba(60,30,20,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .3s, transform .35s cubic-bezier(.3,1.5,.5,1);
  pointer-events: none;
}
.accy-guide[data-side="right"] .ag-bubble { right: 0; transform-origin: 85% 100%; }
.accy-guide[data-side="left"] .ag-bubble  { left: 0; transform-origin: 15% 100%; }
.accy-guide.talking .ag-bubble { opacity: 1; transform: none; pointer-events: auto; }
.ag-label { display: block; font: 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 4px; }
.ag-text { margin: 0; font: italic 19px/1.15 var(--serif); color: var(--ink); }
.ag-close { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-faint); font: 20px/1 var(--sans); cursor: pointer; }
.ag-close:hover { background: rgba(28,26,23,.06); color: var(--ink); }
@media (max-width: 520px) {
  .accy-guide, .ag-body { width: 70px; }
  .ag-body { height: 70px; }
  .ag-bubble { bottom: 78px; }
  .ag-text { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .ag-body img { animation: none; } .accy-guide { transition: opacity .3s; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Small phones (iPhone SE): keep the nav on one line */
@media (max-width: 400px) {
  .nav .btn { height: 38px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .brand span { font-size: 28px; }
  .brand img { width: 30px; height: 30px; }
}
.btn { white-space: nowrap; }
