/* Public website: home, sign up, sign in. Builds on style.css tokens. Logical properties so Arabic (RTL) mirrors. */
:root { --nav-h: 72px; --gut: 40px;
  /* the brand: white page, black ink and buttons (the home page uses the same) */
  --bg: #ffffff; --surface: #f4f4f2; --paper: #ffffff; --ink: #0a0a0a; --muted: #5c5c59;
  --line: rgba(10, 10, 10, .11); --line-strong: rgba(10, 10, 10, .22); --action: #0a0a0a; --action-ink: #fff; --ok-bg: #f4f4f2;
  --font: "Host Grotesk", system-ui, sans-serif; }
@media (max-width: 640px) { :root { --nav-h: 60px; --gut: 16px; } }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
html[lang="ar"] body, html[lang="ar"] .btn, html[lang="ar"] input, html[lang="ar"] button {
  font-family: "IBM Plex Sans Arabic", "Reddit Sans", system-ui, sans-serif;
}
html[lang="ar"] h1, html[lang="ar"] h2 { letter-spacing: 0; line-height: 1.3; }
body { overflow-x: hidden; }

.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { top: 8px; }

/* ---------- Nav ---------- */
.snav { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.snav .wrap { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.snav__links { display: flex; gap: 4px; margin-inline-start: var(--s-4); }
.snav__links a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.snav__links a:hover { color: var(--ink); background: var(--surface); }
.snav__end { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.lang-btn { min-height: 44px; padding: 0 12px; border: 0; background: none; font: 500 15px var(--font); color: var(--ink); cursor: pointer; border-radius: 8px; }
html[lang="en"] .lang-btn { font-family: "IBM Plex Sans Arabic", var(--font); }
.lang-btn:hover { background: var(--surface); }
a.lang-btn { display: inline-flex; align-items: center; text-decoration: none; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .snav__links, .snav__end .signin { display: none; }
  .menu-btn { display: inline-flex; }
  .snav.is-open .snav__links { display: flex; position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; background: var(--bg);
    padding: var(--s-4) var(--gut) var(--s-5); border-bottom: 1px solid var(--line); margin: 0; gap: 0; }
  .snav.is-open .snav__links a { min-height: 52px; display: flex; align-items: center; font-size: 18px; color: var(--ink); }
}
@media (max-width: 520px) { .snav__end .btn--primary { display: none; } }

/* ---------- Sections: one idea per screen ---------- */
main > section { padding: calc(var(--nav-h) + 48px) 0 72px; }
@media (max-width: 640px) { main > section { padding: calc(var(--nav-h) + 24px) 0 48px; } }
.section-head { max-width: 760px; margin-bottom: var(--s-7); }
.section-head h2 { font-size: clamp(30px, 2.6vw + 14px, 48px); letter-spacing: -0.03em; }
.section-head p { font-size: 18px; color: var(--ink); margin-top: 12px; max-width: 60ch; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-7); align-items: center; }
@media (max-width: 960px) { .hero { min-height: auto; } .hero .wrap { grid-template-columns: 1fr; gap: var(--s-6); } }
.hero h1 { font-size: clamp(36px, 3.6vw + 16px, 68px); letter-spacing: -0.04em; line-height: 1.04; max-width: 14ch; }
html[lang="ar"] .hero h1 { max-width: 16ch; line-height: 1.25; }
.hero__lead { font-size: clamp(17px, .4vw + 15px, 20px); color: var(--ink); margin-top: var(--s-5); max-width: 52ch; line-height: 1.6; }
.hero__fact { display: inline-flex; margin-top: var(--s-5); font-weight: 500; font-size: 15px; color: var(--ink); background: var(--ok-bg); padding: 8px 14px; border-radius: 99px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--s-6); }
.btn--lg { --btn-h: 54px; padding: 0 26px; font-size: 17px; border-radius: 12px; }
@media (max-width: 520px) { .hero__ctas .btn { width: 100%; } }

/* Product scene: a phone with the live wallet card, plus the barista confirmation. */
.scene { position: relative; display: grid; place-items: center; min-height: 560px; }
@media (max-width: 960px) { .scene { min-height: 0; padding: var(--s-4) 0; } }
.phone-frame { width: min(340px, 86vw); border-radius: 44px; background: #1b1816; padding: 12px; box-shadow: 0 40px 80px -40px rgba(43, 38, 34, .55); position: relative; }
.phone-frame__screen { border-radius: 34px; background: #f3f0ee; padding: 44px 14px 18px; display: grid; gap: 12px; }
.phone-frame__notch { position: absolute; top: 22px; left: 50%; width: 90px; height: 22px; border-radius: 99px; background: #1b1816; transform: translateX(-50%); }
.phone-frame__bar { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: #3a3330; padding: 0 10px; }
.scene .wallet { max-width: none; }
.scene__toast { position: absolute; inset-inline-end: 6%; bottom: 56px; max-width: 88%; background: var(--ink); color: var(--bg); border-radius: 16px; padding: 12px 16px;
  display: flex; gap: 10px; align-items: center; font-weight: 500; box-shadow: 0 20px 40px -18px rgba(23, 20, 18, .6); }
.scene__toast svg.ui { color: #4fd18b; }
@media (max-width: 520px) { .scene__toast { inset-inline-end: 4px; bottom: 24px; font-size: 14px; } }

/* Hero entrance: once, on load. */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 700ms cubic-bezier(.22, 1, .36, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: 80ms; } .hero__copy > :nth-child(3) { animation-delay: 160ms; }
  .hero__copy > :nth-child(4) { animation-delay: 240ms; }
  .scene .phone-frame { animation: rise 900ms 200ms cubic-bezier(.22, 1, .36, 1) both; }
  .scene__toast { animation: pop-in 500ms 1100ms cubic-bezier(.22, 1, .36, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- How it works ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .steps3 { grid-template-columns: 1fr; } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.step__visual { background: var(--surface); height: 240px; display: grid; place-items: center; padding: var(--s-5); }
.step__body { padding: var(--s-5); display: grid; gap: 8px; }
.step__body h3 { font-size: 20px; display: flex; gap: 10px; align-items: baseline; }
.step__n { font-size: 14px; font-weight: 600; color: var(--action); }
.step__body p { color: var(--ink); }
.mini-poster { background: #fff; border-radius: 16px; padding: 16px; display: grid; justify-items: center; gap: 10px; width: 180px; box-shadow: 0 10px 24px -14px rgba(43,38,34,.4); text-align: center; font-size: 13px; font-weight: 500; }
.mini-poster img { width: 120px; height: 120px; }
.mini-act { width: 100%; max-width: 280px; display: grid; gap: 10px; }
.mini-act .act-btn { background: var(--action); color: #fff; border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.mini-act .act-btn i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.mini-act .act-btn b { display: block; font-size: 17px; }
.mini-act .act-btn small { opacity: 1; }
.mini-stamps { display: flex; gap: 8px; justify-content: center; }
.mini-stamps span { width: 34px; height: 34px; border-radius: 50%; border: 2px dashed var(--line-strong); }
.mini-stamps span.on { background: #6f4e37; border: 0; }
.mini-notif { width: 100%; max-width: 290px; background: #fff; border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 36px 1fr; gap: 10px; box-shadow: 0 10px 24px -14px rgba(43,38,34,.45); }
.mini-notif i { width: 36px; height: 36px; border-radius: 10px; background: #6f4e37; display: grid; place-items: center; color: #fff8ee; }
.mini-notif small { font-size: 12px; color: var(--muted); display: block; }
.mini-notif b { font-size: 15px; display: block; }
.mini-notif p { font-size: 14px; line-height: 1.35; }

/* ---------- Owners ---------- */
.owners { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-7); align-items: start; }
@media (max-width: 960px) { .owners { grid-template-columns: minmax(0, 1fr); } }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6); }
@media (max-width: 560px) { .feat { grid-template-columns: minmax(0, 1fr); } }
.feat h3 { font-size: 18px; margin-top: 10px; }
.feat__row { display: flex; align-items: center; gap: 10px; }
.feat p { color: var(--ink); margin-top: 6px; }
.feat__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ok-bg); color: var(--action); display: grid; place-items: center; }
.feat__icon svg.ui { width: 22px; height: 22px; }
.pro { font-size: 12px; font-weight: 600; color: #8a5a00; background: #fbedc8; border-radius: 99px; padding: 2px 9px; }
.dash-peek { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-4); box-shadow: 0 30px 60px -40px rgba(43,38,34,.45); }
.dash-peek__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-peek__kpis div { background: var(--bg); border-radius: var(--r-md); padding: 12px 14px; min-width: 0; }
.dash-peek__kpis span { overflow-wrap: anywhere; }
@media (max-width: 400px) { .dash-peek { padding: var(--s-4); } .dash-peek__kpis { gap: 6px; } .dash-peek__kpis div { padding: 10px; } }
.dash-peek__kpis b { display: block; font-size: clamp(20px, 2vw + 12px, 28px); font-weight: 500; letter-spacing: -0.02em; }
.dash-peek__kpis span { font-size: 13px; color: var(--muted); }
.peek-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.peek-bars i { flex: 1; background: var(--action); border-radius: 4px 4px 0 0; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: var(--s-5); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-4); align-content: start; position: relative; }
.plan--pro { border: 2px solid var(--action); }
.plan__tag { position: absolute; top: -13px; inset-inline-start: var(--s-6); background: var(--action); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-size: 20px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: clamp(30px, 2.4vw + 18px, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.plan__price span { color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg.ui { color: var(--action); margin-top: 3px; }
.price-note { margin-top: var(--s-5); color: var(--ink); max-width: 70ch; }

/* ---------- FAQ (always open) ---------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-7); }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
.faq h3 { font-size: 19px; }
.faq p { color: var(--ink); margin-top: 8px; line-height: 1.65; }

/* ---------- Close + footer ---------- */
.close { background: var(--ink); color: var(--bg); border-radius: 28px; padding: clamp(32px, 5vw, 72px); display: grid; gap: var(--s-5); justify-items: start; }
.close h2 { font-size: clamp(32px, 3vw + 14px, 56px); letter-spacing: -0.03em; }
.close p { font-size: 18px; opacity: .8; }
footer.sfoot { padding: var(--s-6) 0 var(--s-7); color: var(--muted); font-size: 14px; }
footer.sfoot .wrap { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; align-items: center; }
footer.sfoot nav { display: flex; gap: var(--s-4); flex-wrap: wrap; }
footer.sfoot a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Auth pages: sign up, sign in ---------- */
/* Background: a dot grid drawn by dots.js; small lights run across it and single dots glow now and then. */
.auth-page { background: var(--bg); }
.auth-page .snav { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.dotfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.dotfield canvas { position: absolute; inset: 0; display: block;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 80%); mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 80%); }
.auth { position: relative; z-index: 1; min-height: 100svh; display: grid; place-items: center;
  padding: calc(var(--nav-h) + 32px) var(--gut) calc(56px + env(safe-area-inset-bottom)); }
.auth__box { width: min(480px, 100%); }
.auth__eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--line); font-size: 14px; font-weight: 500; margin-bottom: var(--s-4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.auth__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1fae5b; box-shadow: 0 0 0 4px rgba(31, 174, 91, .16); }
.auth__box h1 { font-size: clamp(30px, 2.4vw + 18px, 42px); letter-spacing: -0.035em; line-height: 1.08; }
html[lang="ar"] .auth__box h1 { letter-spacing: 0; line-height: 1.3; }
.auth__lead { color: var(--muted); margin: 12px 0 var(--s-5); font-size: 17px; line-height: 1.55; max-width: 44ch; }
.auth form, .auth .auth-card { position: relative; display: grid; gap: 18px; padding: 28px; border-radius: 24px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 70px -38px rgba(10, 10, 10, .35), 0 8px 20px -14px rgba(10, 10, 10, .18); }
@media (max-width: 520px) { .auth form, .auth .auth-card { padding: 20px; border-radius: 20px; gap: 16px; } }
.auth__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .auth__row { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* Inputs with an icon at the start and, for passwords, a show/hide button at the end. */
.auth .field > label { font-size: 14px; font-weight: 500; }
.ifield { position: relative; }
.ifield > svg { position: absolute; inset-inline-start: 15px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--muted);
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: color 160ms var(--ease); }
.auth .input { height: 52px; border-radius: 14px; padding-inline: 44px 14px; background: rgba(244, 244, 242, .75); border-color: transparent;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 200ms var(--ease); }
.auth .input:hover { background: #efefec; }
.auth .input:focus { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 10, .08); }
.auth .input[aria-invalid="true"] { background: #fff; border-color: var(--danger); box-shadow: 0 0 0 4px rgba(163, 58, 36, .1); }
.ifield:focus-within > svg { color: var(--ink); }
.ifield--pw .input { padding-inline-end: 52px; }
.pw-toggle { position: absolute; inset-inline-end: 4px; top: 4px; width: 44px; height: 44px; border: 0; border-radius: 11px; background: none; color: var(--muted);
  display: grid; place-items: center; cursor: pointer; }
.pw-toggle:hover { color: var(--ink); background: rgba(10, 10, 10, .05); }
.pw-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pw-toggle .eye-off, .pw-toggle[aria-pressed="true"] .eye { display: none; }
.pw-toggle[aria-pressed="true"] .eye-off { display: block; }
/* Password strength: four short bars under the field. */
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--line); transition: background-color 240ms var(--ease); }
.pw-meter[data-level="1"] i:nth-child(-n+1), .pw-meter[data-level="2"] i:nth-child(-n+2) { background: #c9a227; }
.pw-meter[data-level="3"] i:nth-child(-n+3), .pw-meter[data-level="4"] i { background: #1fae5b; }
.auth .field__error { display: flex; gap: 6px; align-items: center; }

/* Submit: arrow that nudges forward, a spinner while sending. */
.auth .btn--primary { --btn-h: 56px; border-radius: 14px; font-size: 17px; font-weight: 600; gap: 10px; margin-top: 4px;
  box-shadow: 0 12px 24px -14px rgba(10, 10, 10, .7); }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
html[dir="rtl"] .btn__arrow { scale: -1 1; }
@media (hover: hover) { .auth .btn--primary:hover:not(:disabled) .btn__arrow { transform: translateX(4px); } html[dir="rtl"] .auth .btn--primary:hover:not(:disabled) .btn__arrow { transform: translateX(-4px); } }
.btn__spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin 700ms linear infinite; }
.btn.is-loading .btn__spin { display: block; } .btn.is-loading .btn__arrow { display: none; }
.btn.is-loading:disabled { opacity: .85; }
@keyframes spin { to { rotate: 360deg; } }
.auth__wallets { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 13px; margin-top: -2px; }
.auth__wallets span { display: inline-flex; gap: 6px; }
.auth__terms { color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; margin-top: -6px; }
.auth__wallets img { width: 16px; height: 16px; }
.auth .alt { text-align: center; color: var(--muted); margin-top: var(--s-5); }
.auth .msg.err { border-radius: 12px; }

/* Code step: six boxes, filled ones turn black like stamps on a card. */
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 380px) { .otp { gap: 6px; } }
.otp__box { width: 100%; min-width: 0; height: 64px; border-radius: 14px; border: 1px solid transparent; background: rgba(244, 244, 242, .85);
  text-align: center; font: 600 26px var(--mono); color: var(--ink); caret-color: var(--ink); padding: 0;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 200ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease); }
.otp__box:hover { background: #efefec; }
.otp__box:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 10, .08); }
.otp__box.is-filled { background: var(--ink); color: #fff; border-color: var(--ink); }
.otp__box.is-filled:focus { box-shadow: 0 0 0 4px rgba(10, 10, 10, .14); }
.otp.is-wrong .otp__box { border-color: var(--danger); background: #fff; }
.auth__eyebrow--mail::before { background: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 10, .1); }
.auth__resend { text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.linkbtn:hover:not(:disabled) { text-decoration-color: currentColor; }
.linkbtn:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.auth .alt .linkbtn { min-height: 44px; }
.auth .msg.ok { background: #eaf6ef; color: #17733f; }
#codeLead b { color: var(--ink); font-weight: 600; unicode-bidi: isolate; }

/* Done: a stamp that lands, then the PIN. */
.auth-card--done { text-align: center; justify-items: center; }
.done-stamp { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.done-stamp svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.auth-card--done .btn { width: 100%; }
.pin-box { font-family: var(--mono); font-size: 40px; letter-spacing: .24em; background: rgba(244, 244, 242, .9); border: 1px dashed var(--line-strong);
  border-radius: 16px; padding: 16px 20px; text-align: center; direction: ltr; width: 100%; }

@media (prefers-reduced-motion: no-preference) {
    .auth__box > * { animation: rise 700ms cubic-bezier(.22, 1, .36, 1) both; }
  .auth__box > :nth-child(2) { animation-delay: 60ms; } .auth__box > :nth-child(3) { animation-delay: 120ms; }
  .auth__box > :nth-child(4) { animation-delay: 180ms; } .auth__box > :nth-child(5) { animation-delay: 260ms; }
  .auth form > * { animation: rise 600ms cubic-bezier(.22, 1, .36, 1) both; }
  .auth form > :nth-child(1) { animation-delay: 220ms; } .auth form > :nth-child(2) { animation-delay: 270ms; }
  .auth form > :nth-child(3) { animation-delay: 320ms; } .auth form > :nth-child(4) { animation-delay: 370ms; }
  .auth form > :nth-child(5) { animation-delay: 420ms; } .auth form > :nth-child(n+6) { animation-delay: 470ms; }
  .auth .field__error:not(.hidden) { animation: shake 360ms ease both; }
  .otp__box.is-filled { animation: box-stamp 260ms cubic-bezier(.34, 1.56, .64, 1); }
  .otp.is-wrong { animation: shake 360ms ease both; }
  .done-stamp { animation: stamp-land 650ms cubic-bezier(.34, 1.56, .64, 1) both; }
  .done-stamp svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 420ms 380ms ease-out forwards; }
}
@keyframes shake { 0%, 100% { translate: 0; } 25% { translate: -4px; } 50% { translate: 3px; } 75% { translate: -2px; } }
@keyframes box-stamp { 40% { transform: scale(1.08); } }
@keyframes stamp-land { from { scale: 1.6; opacity: 0; rotate: -12deg; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-next { color: var(--muted); font-size: 15px; line-height: 1.5; margin-top: 4px; }
.auth-card--done .linkbtn { color: var(--muted); font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
