/* FKARNI website. Tokens mirror Fkarni/wwwroot/app.css and Design.txt. */
:root {
  --mint: #73C8A9;
  --mint-dark: #56B18F;
  --mint-soft: #E1F4ED;
  --green-ink: #1E6B54;      /* mint, darkened until it is readable as text */
  --yellow: #FFD166;
  --yellow-soft: #FFE8A8;
  --yellow-ink: #8A6500;
  --ink: #24302B;
  --ink2: #5F6C66;
  --muted: #9AA6A0;
  --line: #E4EAE5;
  --bg: #FAFBF9;
  --card: #FFFFFF;
  --soft: #F3F6F2;
  --red: #E86F61;
  --night: #18211D;          /* the alarm screen, the app's one dark surface */
  --night-2: #222E29;

  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Readex Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-fab: 28px;
  --shadow: 0 1px 2px rgba(36, 48, 43, .05), 0 12px 32px -12px rgba(36, 48, 43, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.8; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green-ink); text-underline-offset: 3px; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; font-weight: 700; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(64px, 9vw, 120px); }
.lede { font-size: 1.15rem; color: var(--ink2); max-width: 56ch; }
.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-md);
}
.skip:focus { top: 12px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--r-lg);
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(184, 134, 11, .55); }
.btn-yellow:hover { background: #FFC94A; }
.btn-soft { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.btn-soft:hover { background: var(--line); }
.btn-small { min-height: 42px; padding: 0 16px; border-radius: var(--r-md); font-size: .92rem; }

/* ── Header ── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 249, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #05483B; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--font); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; }
.brand i { font-style: normal; color: #3FC296; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { color: var(--ink2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.langs { display: flex; gap: 2px; padding: 3px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }
.langs a {
  padding: 4px 11px; border-radius: 999px; text-decoration: none;
  color: var(--ink2); font-size: .85rem; font-weight: 600; line-height: 1.5;
}
.langs a[lang="ar"] { font-family: var(--font-ar); }
.langs a[aria-current="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(36, 48, 43, .12); }
@media (max-width: 900px) {
  .nav { display: none; }
  .langs { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  .top .btn { display: none; }
}

/* ── Hero ── */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 1.4rem + 5.4vw, 5rem); letter-spacing: -0.045em; line-height: 1; }
html[lang="ar"] .hero h1 { line-height: 1.25; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.4rem); }
.hero .lede { margin-top: 24px; font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--ink2); }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } }

/* The scene: a walk to the shop */
.scene { position: relative; }
.scene svg { width: 100%; height: auto; border-radius: 32px; border: 1px solid var(--line); background: var(--soft); }
.scene text { font-family: inherit; font-size: 15px; font-weight: 600; fill: var(--ink2); }
.road { fill: none; stroke: #fff; stroke-width: 24; stroke-linecap: round; stroke-linejoin: round; }
.block { fill: #E9EFE9; }
.park { fill: var(--mint-soft); }
.route-base { fill: none; stroke: var(--muted); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.route-done { fill: none; stroke: var(--mint-dark); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.zone { fill: var(--yellow-soft); fill-opacity: .7; stroke: var(--yellow); stroke-width: 2.5; }
.zone-pulse { fill: none; stroke: var(--yellow); stroke-width: 3; opacity: 0; transform-origin: 400px 250px; }
.me { transform: translate(400px, 250px); }
.me .halo { fill: var(--mint); opacity: .3; }
.me .core { fill: var(--mint-dark); stroke: #fff; stroke-width: 4; }
.notif {
  position: absolute; inset-inline: 7%; top: 7%;
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.notif img { width: 40px; height: 40px; padding: 6px; border-radius: 12px; background: var(--yellow-soft); flex: none; }
.notif-app { display: flex; gap: 8px; font-size: .78rem; color: var(--ink2); font-weight: 600; letter-spacing: .03em; }
.notif-app span + span { font-weight: 400; letter-spacing: 0; }
.notif-title { font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.notif-body { font-size: .92rem; color: var(--ink2); line-height: 1.35; }

@media (prefers-reduced-motion: no-preference) {
  @supports (offset-path: path("M0 0")) {
    .me {
      transform: none; offset-rotate: 0deg;
      offset-path: path("M90 470 L90 380 Q90 360 110 360 L250 360 Q270 360 270 340 L270 270 Q270 250 290 250 L400 250");
      animation: walk 12s linear infinite;
    }
    .route-done { animation: trail 12s linear infinite; }
    .zone { animation: zone 12s linear infinite; }
    .zone-pulse { animation: pulse 12s ease-out infinite; }
    .notif { animation: notif 12s cubic-bezier(.2, .9, .3, 1.2) infinite; }
  }
}
@keyframes walk {
  0%, 8% { offset-distance: 0%; opacity: 1; }
  55%, 92% { offset-distance: 100%; opacity: 1; }
  96% { offset-distance: 100%; opacity: 0; }
  96.1% { offset-distance: 0%; opacity: 0; }
  100% { offset-distance: 0%; opacity: 1; }
}
@keyframes trail {
  0%, 8% { stroke-dashoffset: 100; opacity: 1; }
  55%, 92% { stroke-dashoffset: 0; opacity: 1; }
  96% { stroke-dashoffset: 0; opacity: 0; }
  96.1%, 100% { stroke-dashoffset: 100; opacity: 0; }
}
@keyframes zone {
  0%, 47% { fill: var(--mint-soft); stroke: var(--mint); }
  49%, 92% { fill: var(--yellow-soft); stroke: var(--yellow); }
  97%, 100% { fill: var(--mint-soft); stroke: var(--mint); }
}
@keyframes pulse {
  0%, 48% { transform: scale(1); opacity: 0; }
  49% { transform: scale(1); opacity: .9; }
  62%, 100% { transform: scale(1.55); opacity: 0; }
}
@keyframes notif {
  0%, 48% { opacity: 0; transform: translateY(-14px) scale(.96); }
  53%, 92% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* ── Story: the day you forgot ── */
.story { background: var(--card); border-block: 1px solid var(--line); }
.day { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 72px); }
.moment { position: relative; padding-top: 34px; padding-inline-end: 28px; border-top: 2px dashed var(--line); }
.moment::before {
  content: ""; position: absolute; top: -9px; inset-inline-start: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--mint); border: 3px solid var(--card); box-shadow: 0 0 0 2px var(--mint);
}
.moment:nth-child(2)::before { background: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); }
.moment:nth-child(3)::before { background: var(--card); box-shadow: 0 0 0 2px var(--red); }
.moment time {
  display: block; font-family: var(--font); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4rem); font-variant-numeric: tabular-nums;
}
.moment h3 { margin-top: 14px; color: var(--ink2); font-weight: 600; font-size: 1rem; }
.moment p { margin-top: 6px; font-size: 1.12rem; max-width: 26ch; }
.moral { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: start; }
.moral strong { font-size: clamp(1.5rem, 1rem + 2vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
html[lang="ar"] .moral strong { letter-spacing: 0; line-height: 1.5; }
@media (max-width: 760px) {
  .day { grid-template-columns: 1fr; }
  .moment { border-top: 0; border-inline-start: 2px dashed var(--line); padding: 0 0 36px; padding-inline-start: 28px; }
  .moment::before { top: 4px; inset-inline-start: -9px; }
  .moment:last-child { padding-bottom: 0; }
  .moral { grid-template-columns: 1fr; }
}

/* ── The name ── */
.name { background: var(--mint-soft); }
.name-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.name-word { text-align: center; color: #05483B; }
.name-word b {
  display: block; font-family: var(--font-ar); font-weight: 700; line-height: 1.75;
  font-size: clamp(5rem, 2rem + 13vw, 12rem); margin-top: -.25em;
}
.name-word span { display: block; font-family: var(--font); font-weight: 600; letter-spacing: .32em; font-size: 1rem; color: var(--green-ink); padding-inline-start: .32em; }
.name p { margin-top: 20px; font-size: 1.15rem; max-width: 46ch; }
@media (max-width: 820px) { .name-in { grid-template-columns: 1fr; } .name-word { text-align: start; } }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(36px, 5vw, 64px); counter-reset: step; }
.step { counter-increment: step; }
.step-ui {
  height: 196px; padding: 20px; border-radius: var(--r-xl);
  background: var(--soft); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.step h3 { margin-top: 22px; display: flex; gap: 12px; align-items: baseline; font-size: 1.3rem; }
.step h3::before {
  content: counter(step); flex: none;
  width: 30px; height: 30px; border-radius: 10px; align-self: center;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--font); font-size: .95rem; font-weight: 700; letter-spacing: 0;
}
.step p { margin-top: 10px; color: var(--ink2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* App UI fragments, drawn like the real screens */
.ui-label { font-size: .75rem; font-weight: 600; color: var(--ink2); }
.ui-input {
  display: flex; align-items: center; min-height: 52px; padding: 0 16px;
  background: var(--card); border: 1.5px solid var(--mint); border-radius: var(--r-md);
  font-weight: 600; font-size: 1.05rem;
}
.ui-input::after { content: ""; width: 2px; height: 22px; background: var(--mint-dark); margin-inline-start: 3px; }
@media (prefers-reduced-motion: no-preference) { .ui-input::after { animation: caret 1.1s steps(1) infinite; } }
@keyframes caret { 50% { opacity: 0; } }
.ui-place { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ui-place svg { width: 20px; height: 20px; color: var(--mint-dark); flex: none; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: var(--card); border: 1px solid var(--line); color: var(--ink2);
}
.pill.on { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; gap: 3px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); font-size: .85rem; font-weight: 600; text-align: center; }
.seg span { padding: 6px 4px; border-radius: 9px; color: var(--ink2); }
.seg .on { background: var(--mint-soft); color: var(--green-ink); }
.row {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(36, 48, 43, .04);
}
.tile { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; flex: none; background: var(--mint-soft); color: var(--green-ink); }
.tile svg { width: 20px; height: 20px; }
.tile.yellow { background: var(--yellow-soft); color: var(--yellow-ink); }
.row-body { flex: 1; min-width: 0; }
.row-title { font-weight: 700; line-height: 1.3; }
.row-meta { font-size: .82rem; color: var(--ink2); }
.toggle { width: 44px; height: 26px; border-radius: 999px; background: var(--mint); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; inset-inline-end: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.saved { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-ink); font-size: .92rem; }
.saved svg { width: 18px; height: 18px; }

/* ── The alarm: the one dark screen ── */
.alarm { background: var(--night); color: #F3F6F2; }
.alarm-in { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 7vw, 96px); align-items: center; }
.alarm p { margin-top: 20px; color: #B9C6BF; font-size: 1.12rem; max-width: 48ch; }
.alarm p:first-of-type { color: #F3F6F2; font-size: 1.25rem; }
.phone {
  width: min(320px, 82vw); padding: 12px; border-radius: 44px;
  background: #0E1512; border: 1px solid #33423B;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.lock {
  border-radius: 34px; background: radial-gradient(120% 70% at 50% 0%, #2B3A33 0%, var(--night-2) 55%, #1B2521 100%);
  padding: 44px 22px 22px; text-align: center; min-height: 540px;
  display: flex; flex-direction: column; align-items: center;
}
.bell { position: relative; width: 108px; height: 108px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 209, 102, .14); }
.bell::before, .bell::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow); opacity: 0; }
.bell svg { width: 52px; height: 52px; color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .bell::before { animation: ring 2.4s ease-out infinite; }
  .bell::after { animation: ring 2.4s ease-out 1.2s infinite; }
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.lock-near { margin-top: 30px; font-size: .9rem; color: var(--yellow); font-weight: 600; }
.lock-title { margin-top: 6px; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: #fff; }
html[lang="ar"] .lock-title { letter-spacing: 0; line-height: 1.4; }
.lock-meta { margin-top: 8px; font-size: .88rem; color: #9AA6A0; }
.lock-actions { margin-top: auto; width: 100%; display: grid; gap: 10px; padding-top: 32px; }
.lock-actions span { display: grid; place-items: center; min-height: 50px; border-radius: var(--r-lg); font-weight: 700; font-size: .98rem; }
.lock-actions .a1 { background: var(--yellow); color: var(--ink); }
.lock-actions .a2 { background: rgba(255, 255, 255, .09); color: #fff; }
.lock-actions .a3 { color: #9AA6A0; font-weight: 600; min-height: 40px; font-size: .9rem; }
@media (max-width: 820px) { .alarm-in { grid-template-columns: 1fr; } .phone { margin-inline: auto; } }

/* ── Features ── */
.voice {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--card); border: 1px solid var(--line);
}
.voice h3 { font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.15; }
html[lang="ar"] .voice h3 { letter-spacing: 0; line-height: 1.45; }
.voice p { margin-top: 14px; color: var(--ink2); max-width: 42ch; }
.voice-demo { display: grid; gap: 14px; }
.said { display: flex; gap: 14px; align-items: flex-start; }
.mic { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.mic svg { width: 24px; height: 24px; }
.said q { quotes: none; display: block; padding: 14px 18px; border-radius: 4px 20px 20px 20px; background: var(--soft); font-size: 1.08rem; font-weight: 500; line-height: 1.45; }
html[dir="rtl"] .said q { border-radius: 20px 4px 20px 20px; }
.thinking { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: .88rem; padding-inline-start: 66px; }
.thinking i { width: 2px; height: 18px; background: var(--line); }
.voice-demo .row { margin-inline-start: 66px; }
@media (max-width: 820px) {
  .voice { grid-template-columns: 1fr; }
  .thinking, .voice-demo .row { padding-inline-start: 0; margin-inline-start: 0; }
}
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; margin-top: clamp(40px, 6vw, 72px); }
.feat h3 { margin-top: 16px; }
.feat p { margin-top: 8px; color: var(--ink2); font-size: 1rem; }
@media (max-width: 860px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; gap: 32px; } }

/* ── Privacy ── */
.privacy { background: var(--card); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.split .lede { margin-top: 20px; font-size: 1.05rem; }
.links { margin-top: 24px; display: grid; gap: 8px; font-weight: 600; }
.ledger { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { text-align: start; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger thead th { font-size: .82rem; color: var(--ink2); font-weight: 600; padding-top: 0; }
.ledger tbody th { font-weight: 700; width: 38%; padding-inline-end: 20px; }
.ledger td { color: var(--ink2); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .ledger thead { display: none; }
  .ledger tbody th, .ledger td { display: block; width: 100%; }
  .ledger tbody th { border-bottom: 0; padding-bottom: 2px; }
  .ledger td { padding-top: 0; }
}

/* ── Facts + FAQ ── */
.facts { margin-top: 28px; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.facts dt { color: var(--ink2); }
.facts dd { font-weight: 500; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  font-weight: 700; font-size: 1.1rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-inline-end: 4px;
  border-right: 2.5px solid var(--mint-dark); border-bottom: 2.5px solid var(--mint-dark);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding-bottom: 22px; color: var(--ink2); max-width: 64ch; }
.faq h2 + .facts-h { margin-top: 40px; }
.facts-h { font-size: 1rem; color: var(--ink2); font-weight: 600; margin-top: 40px; }

/* ── Beta ── */
.beta-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start;
  padding: clamp(28px, 5vw, 64px); border-radius: 40px; background: var(--yellow-soft);
}
.beta-panel h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); }
.beta-panel p { margin-top: 20px; max-width: 50ch; font-size: 1.1rem; }
.beta-panel h3 { margin-top: 36px; }
.todo { margin-top: 14px; display: grid; gap: 10px; }
.todo li { display: flex; gap: 12px; align-items: flex-start; }
.todo svg { width: 22px; height: 22px; color: var(--green-ink); flex: none; margin-top: 3px; }
.form { background: var(--card); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input {
  width: 100%; min-height: 52px; padding: 0 16px; font: inherit;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-md); color: var(--ink);
}
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--mint-dark); background: var(--card); box-shadow: 0 0 0 4px var(--mint-soft); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.form .btn { width: 100%; }
.form small { color: var(--ink2); font-size: .86rem; line-height: 1.5; }
.err { color: #B4382B; font-size: .88rem; font-weight: 600; }
.err:empty { display: none; }
@media (max-width: 860px) { .beta-panel { grid-template-columns: 1fr; border-radius: 28px; } }

/* ── Footer ── */
.foot { padding-block: 48px 40px; border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 120px); color: var(--ink2); font-size: .93rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; align-items: flex-start; }
.foot .brand span { font-size: 1.15rem; }
.foot-slogan { margin-top: 10px; color: var(--ink); font-weight: 600; }
.foot ul { display: grid; gap: 8px; }
.foot a { color: var(--ink2); }
.foot a:hover { color: var(--ink); }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; font-size: .85rem; }

/* ── 404 ── */
.nf { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 16px; padding: 40px 20px; }
.nf h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
