/* ondno — website styles
   Motif: the diagonal blade from the logo, used once in the hero reveal and once in the closing band. */

/* Readex Pro (SIL Open Font License, see ../fonts/OFL-LICENSE.txt), self-hosted: one family for Arabic and Latin */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url(../fonts/readex-pro-arabic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url(../fonts/readex-pro-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url(../fonts/readex-pro-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-2: #e9ebef;
  --ink: #121318;
  --ink-2: #4b505a;
  --ink-3: #7a808b;
  --line: #d8dbe1;
  --accent: #2f5bff;
  --accent-soft: #e3e9ff;
  --on-accent: #ffffff;
  --good: #1f9d5a;
  --good-soft: #def5e8;
  --shadow: 0 1px 0 rgba(18, 19, 24, .04), 0 18px 40px -24px rgba(18, 19, 24, .28);
  --blade: linear-gradient(90deg, rgba(255,255,255,0), #ffffff 45%, #c9d3ff 55%, rgba(255,255,255,0));
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07080a;
    --surface: #111318;
    --surface-2: #191c23;
    --ink: #eef0f4;
    --ink-2: #a3a9b4;
    --ink-3: #737a86;
    --line: #262a33;
    --accent: #7088ff;
    --accent-soft: #1b2142;
    --on-accent: #07080a;
    --good: #4fd18b;
    --good-soft: #10291c;
    --shadow: 0 1px 0 rgba(255,255,255,.03), 0 24px 50px -28px rgba(0,0,0,.9);
    --blade: linear-gradient(90deg, rgba(255,255,255,0), #ffffff 45%, #9fb0ff 55%, rgba(255,255,255,0));
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07080a;
  --surface: #111318;
  --surface-2: #191c23;
  --ink: #eef0f4;
  --ink-2: #a3a9b4;
  --ink-3: #737a86;
  --line: #262a33;
  --accent: #7088ff;
  --accent-soft: #1b2142;
  --on-accent: #07080a;
  --good: #4fd18b;
  --good-soft: #10291c;
  --shadow: 0 1px 0 rgba(255,255,255,.03), 0 24px 50px -28px rgba(0,0,0,.9);
  --blade: linear-gradient(90deg, rgba(255,255,255,0), #ffffff 45%, #9fb0ff 55%, rgba(255,255,255,0));
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Latin headings get tighter tracking; Arabic must keep normal spacing so letters stay joined */
html[dir="ltr"] h1, html[dir="ltr"] h2 { letter-spacing: -0.025em; }
html[dir="rtl"] body { line-height: 1.75; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 500; font-size: 15.5px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16.5px; }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: var(--on-accent); }
.btn--line { border-color: var(--line); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--surface-2); }
.btn--invert { background: var(--bg); color: var(--ink); }
.btn--invert:hover { background: var(--accent); color: var(--on-accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo { height: 30px; width: auto; }
.brand-name { font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.logo--on-dark { display: none; }
:root[data-theme="dark"] .logo--on-light { display: none; }
:root[data-theme="dark"] .logo--on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo--on-light { display: none; }
  :root:not([data-theme="light"]) .logo--on-dark { display: block; }
}

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.main-nav > a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 15.5px; }
.main-nav > a:hover { color: var(--ink); background: var(--surface-2); }
.nav-account { display: flex; gap: 6px; margin-inline-start: 10px; }
.header-tools { display: flex; align-items: center; gap: 6px; }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  text-decoration: none; font-size: 14.5px;
}
.tool-btn:hover { border-color: var(--ink); }
.tool-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lang-btn[lang="ar"] { font-size: 15.5px; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}
.menu-btn { display: none; }

@media (max-width: 960px) {
  .header-row { gap: 10px; }
  .header-tools { margin-inline-start: auto; }
  .menu-btn { display: inline-flex; }
  .main-nav {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 12px 8px; font-size: 17px; }
  .nav-account { margin: 10px 0 0; }
  .nav-account .btn { flex: 1; }
}
@media (max-width: 400px) { .brand-name { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero-title {
  font-size: clamp(46px, 8.6vw, 112px);
  line-height: .98;
  font-weight: 600;
  max-width: 12ch;
}
html[dir="rtl"] .hero-title { line-height: 1.22; max-width: none; font-size: clamp(40px, 6.2vw, 80px); }
.hero-lede {
  display: grid; gap: 22px;
  max-width: 560px;
  margin-top: 26px;
  margin-inline-start: auto;
}
.hero-lede p { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 961px) {
  .hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 48px; }
  .hero-title { grid-column: 1; }
  .hero-lede { grid-column: 2; align-self: end; margin: 0; }
  .demo { grid-column: 1 / -1; }
}

/* Demo: prompt bar, tabs and output stage */
.demo { margin-top: clamp(36px, 5vw, 60px); }
.prompt-bar {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 10px 10px 10px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow);
}
html[dir="rtl"] .prompt-bar { padding: 10px 18px 10px 10px; }
.prompt-spark { color: var(--accent); display: inline-flex; }
.prompt-text { flex: 1; min-width: 0; font-size: clamp(15px, 1.5vw, 18px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prompt-text.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-inline-start: 2px; vertical-align: -0.18em; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.prompt-go { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; font-size: 15px; }

.demo-tabs { display: flex; gap: 6px; margin: 18px 0 14px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tabs button {
  flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-2); cursor: pointer; font-size: 15px;
}
.demo-tabs button:hover { color: var(--ink); border-color: var(--ink-3); }
.demo-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.stage {
  position: relative; overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
    var(--surface-2);
  display: grid; place-items: center;
  padding: clamp(18px, 4vw, 44px);
}
.panel { width: 100%; display: grid; place-items: center; }
.panel[hidden] { display: none; }
.panel.is-entering { animation: reveal .75s cubic-bezier(.2, .7, .1, 1) both; }
html[dir="rtl"] .panel.is-entering { animation-name: reveal-rtl; }
@keyframes reveal {
  from { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); }
  to { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); }
}
@keyframes reveal-rtl {
  from { clip-path: polygon(100% 0, 100% 0, 130% 100%, 130% 100%); }
  to { clip-path: polygon(100% 0, -30% 0, 0 100%, 130% 100%); }
}
.blade {
  position: absolute; top: -20%; bottom: -20%; width: 10px; pointer-events: none;
  inset-inline-start: -10%; background: var(--blade); opacity: 0;
  transform: skewX(-38deg);
}
html[dir="rtl"] .blade { transform: skewX(38deg); }
.stage.is-cutting .blade { animation: blade .75s cubic-bezier(.2, .7, .1, 1) both; }
html[dir="ltr"] .stage.is-cutting .blade { animation-name: blade; }
html[dir="rtl"] .stage.is-cutting .blade { animation-name: blade-rtl; }
@keyframes blade {
  0% { opacity: 0; transform: translateX(0) skewX(-38deg); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(min(130vw, 1500px)) skewX(-38deg); }
}
@keyframes blade-rtl {
  0% { opacity: 0; transform: translateX(0) skewX(38deg); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(max(-130vw, -1500px)) skewX(38deg); }
}

/* Mock: browser */
.browser {
  width: min(100%, 760px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); direction: ltr; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-inline-start: 10px; font-size: 12.5px; color: var(--ink-3); background: var(--surface-2); padding: 3px 12px; border-radius: 999px; }
.site-mock { padding: 18px 22px 24px; }
.sm-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.sm-nav b { font-weight: 600; margin-inline-end: auto; }
.sm-nav span { width: 46px; height: 7px; border-radius: 4px; background: var(--surface-2); }
.sm-btn { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }

.site-mock--coffee { background: #f6efe6; color: #2b1b12; }
.site-mock--coffee .sm-nav span { background: #e6d8c6; }
.site-mock--coffee .sm-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: center; padding: 20px; border-radius: 14px; background: #2b1b12; color: #f6efe6; }
.site-mock--coffee h3 { font-size: clamp(20px, 2.6vw, 30px); margin-bottom: 14px; }
.site-mock--coffee .sm-btn { background: #25d366; color: #0b2b17; }
.sm-cup { position: relative; justify-self: center; width: 92px; height: 78px; background: #c9895a; border-radius: 0 0 40px 40px; }
.sm-cup::after { content: ""; position: absolute; inset-inline-end: -22px; top: 14px; width: 28px; height: 30px; border: 7px solid #c9895a; border-radius: 0 50% 50% 0; border-inline-start: 0; }
html[dir="rtl"] .sm-cup::after { border-radius: 50% 0 0 50%; }
.sm-cup i { position: absolute; inset-inline: 14px; top: -26px; height: 20px; border-radius: 50%; border-top: 3px solid #f6efe6; opacity: .5; }
.sm-menu { margin-top: 16px; display: grid; gap: 8px; }
.sm-menu li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.sm-menu em { flex: 1; border-bottom: 2px dotted #cdb9a3; }
.sm-menu b { font-weight: 600; }

/* Mock: study */
.study-mock { width: min(100%, 640px); display: grid; gap: 14px; }
.sm-subject { font-size: 13.5px; color: var(--ink-3); }
.sm-explain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; color: var(--ink-2); }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow); }
.quiz-q { font-weight: 500; margin-bottom: 12px; }
.quiz ul { display: grid; gap: 8px; }
.quiz li { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.quiz li.is-right { border-color: var(--good); background: var(--good-soft); color: var(--ink); }
.quiz li.is-right .icon { color: var(--good); }
.quiz-feedback { margin-top: 12px; font-size: 14.5px; color: var(--good); }

/* Mock: document */
.doc-mock { display: grid; gap: 14px; justify-items: center; width: min(100%, 460px); }
.paper { width: 100%; background: #fff; color: #1b1d22; border-radius: 6px; padding: 24px 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.paper-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 2px solid #1b1d22; }
.paper-head b { display: block; font-size: 20px; }
.paper-head span { font-size: 14px; color: #5b616c; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #c9d3ff, #2f5bff); flex: none; }
.paper h4 { font-size: 14px; margin: 14px 0 8px; color: #2f5bff; }
.lines { display: grid; gap: 7px; }
.lines i { display: block; height: 7px; border-radius: 4px; background: #e3e6ec; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips i { width: 64px; height: 20px; border-radius: 999px; background: #eef1f6; }
.file-chip { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.file-ext { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: #2b5797; color: #fff; font-weight: 700; font-size: 14px; }
.file-name { flex: 1; min-width: 0; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-dl { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); }

/* Mock: image and video */
.image-mock { margin: 0; width: min(100%, 620px); aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
.art, .art-img { width: 100%; height: 100%; object-fit: cover; }
.video-mock, .player { position: relative; width: min(100%, 760px); aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); background: #05071a; }
.vm-controls { position: absolute; inset-inline: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; color: #fff; direction: ltr; }
.vm-play { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vm-play .icon { fill: #fff; stroke: none; width: 16px; height: 16px; margin-left: 2px; }
.vm-track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; }
.vm-track i { display: block; height: 100%; width: 35%; background: #fff; border-radius: 4px; }
.panel.is-active .vm-track i, .video-visual .vm-track i { animation: progress 5s linear infinite; }
@keyframes progress { from { width: 0; } to { width: 100%; } }
.vm-time { font-size: 13px; font-variant-numeric: tabular-nums; }

/* ---------- Feature sections ---------- */
.feature { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.feature-row { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: .9fr 1.1fr; }
  .feature--flip .feature-copy { order: 2; }
}
.feature-copy h2, .section-head h2, .how h2, .faq h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 16ch; }
html[dir="rtl"] .feature-copy h2, html[dir="rtl"] .section-head h2 { line-height: 1.3; }
.feature-copy > p, .section-head > p { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--accent); margin-top: .25em; }

.feature-visual { position: relative; }

/* Website builder visual */
.build-visual { display: grid; gap: 14px; }
.chat { display: grid; gap: 8px; max-width: 420px; }
.msg { padding: 11px 15px; border-radius: 18px; font-size: 15px; max-width: 92%; }
.msg--me { justify-self: end; background: var(--ink); color: var(--bg); border-end-end-radius: 6px; }
.msg--ai { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-end-start-radius: 6px; }
.browser--small { justify-self: end; width: min(100%, 520px); margin-top: -6px; }
.site-mock--bakery { background: #fff4f6; color: #3b1d26; }
.site-mock--bakery .sm-nav span { background: #f6d7df; }
.sm-banner { padding: 22px; border-radius: 14px; background: linear-gradient(120deg, #f9c9d4, #fbe3c8); }
.sm-banner h3 { font-size: 22px; }
.sm-banner p { font-size: 14px; margin: 6px 0 12px; opacity: .8; }
.site-mock--bakery .sm-btn { background: #3b1d26; color: #fff4f6; }
.sm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.sm-grid i { aspect-ratio: 1; border-radius: 10px; background: #f6d7df; }
.sm-grid i:nth-child(2) { background: #fbe3c8; }
.sm-grid i:nth-child(3) { background: #e9d2f2; }

/* Study visual: flashcard */
.study-visual { display: grid; gap: 14px; max-width: 520px; justify-self: center; width: 100%; }
.fc-title { font-size: 14px; color: var(--ink-3); }
.flashcard {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: none; cursor: pointer;
  perspective: 1200px;
}
.fc-face {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; text-align: center;
  border-radius: var(--radius-lg); font-size: clamp(20px, 2.4vw, 28px); font-weight: 500;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform .6s cubic-bezier(.2, .7, .1, 1);
}
.fc-front { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.fc-back { background: var(--accent); color: var(--on-accent); transform: rotateY(180deg); }
.flashcard.is-flipped .fc-front { transform: rotateY(-180deg); }
.flashcard.is-flipped .fc-back { transform: rotateY(0); }
.fc-progress { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.fc-progress i { display: block; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.fc-progress b { display: block; height: 100%; background: var(--good); border-radius: 6px; }

/* Documents visual */
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.fmt { padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.fmt::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.fmt--w::before { background: #2b5797; } .fmt--p::before { background: #d93f3f; } .fmt--x::before { background: #1e7a46; } .fmt--s::before { background: #d2632b; }
.docs-visual { display: grid; gap: 22px; justify-items: center; }
.doc-stack { position: relative; width: min(100% - 48px, 420px); aspect-ratio: 1 / 1.1; }
.sheet { position: absolute; inset: 0; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sheet--back { transform: rotate(-7deg) translate(-6%, 2%); background: #eef1f6; }
.sheet--mid { transform: rotate(4deg) translate(5%, 1%); background: #f6f7fa; }
.sheet--front { padding: 28px; color: #1b1d22; display: flex; flex-direction: column; gap: 12px; }
.sheet--front b { font-size: 22px; }
.sheet--front p { color: #5b616c; font-size: 15px; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding: 14px 0; border-bottom: 1px solid #e3e6ec; min-height: 120px; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: #c9d3ff; }
.bars i:last-child { background: #2f5bff; }
.doc-kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.doc-kinds li { padding: 6px 12px; border-radius: 8px; background: var(--surface-2); font-size: 14px; color: var(--ink-2); }

/* ---------- Image gallery ---------- */
.gallery-section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(30px, 4vw, 48px); }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; margin: 0; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.tile figcaption {
  position: absolute; inset-inline: 10px; bottom: 10px;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 999px; max-width: calc(100% - 20px);
  background: rgba(10, 11, 14, .58); color: #fff; font-size: 13px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tile figcaption .icon { width: 14px; height: 14px; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
  .tile { aspect-ratio: auto; }
  .tile--1 { grid-column: span 2; grid-row: span 2; }
  .tile--2 { grid-row: span 2; }
  .tile--5, .tile--6 { grid-column: span 2; }
}

/* ---------- Video ---------- */
.video-visual { padding-bottom: 48px; }
.video-visual .player { width: 86%; }
.player-cap { position: absolute; top: 14px; inset-inline-start: 14px; font-size: 13px; color: #fff; background: rgba(0,0,0,.35); padding: 5px 10px; border-radius: 999px; }
.phone {
  position: absolute; inset-inline-end: 4%; bottom: 0;
  width: clamp(84px, 13vw, 140px); aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden; border: 5px solid var(--ink);
  box-shadow: var(--shadow); background: var(--ink);
}

/* ---------- More tools ---------- */
.more { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.tool-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.tool-list li { display: flex; gap: 16px; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.tool-list h3 { font-size: 19px; font-weight: 500; margin-bottom: 4px; }
.tool-list p { color: var(--ink-2); font-size: 15.5px; }
.tool-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.tool-ic .icon { width: 22px; height: 22px; }
@media (min-width: 700px) {
  .tool-list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (min-width: 1040px) {
  .tool-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- How it works ---------- */
.how { padding: clamp(64px, 9vw, 120px) 0; background: var(--surface); border-block: 1px solid var(--line); }
.steps { counter-reset: step; display: grid; gap: 32px; margin-top: clamp(30px, 4vw, 52px); }
.steps li { position: relative; }
.step-n {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-size: 22px; font-weight: 600; margin-bottom: 18px;
}
.steps h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.steps p { color: var(--ink-2); max-width: 34ch; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 28px; height: 1px; background: var(--line);
    inset-inline-start: 72px; inset-inline-end: 16px;
  }
}

/* ---------- Plans ---------- */
.plans { padding: clamp(64px, 9vw, 120px) 0; }
.plan-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
}
.plan h3 { font-size: 19px; font-weight: 500; }
.plan-price { font-size: 42px; font-weight: 600; line-height: 1.1; margin-top: 6px; }
.plan-credits { font-weight: 500; }
.plan-valid, .plan-desc { color: var(--ink-2); font-size: 15px; }
.plan .btn { margin-top: auto; }
.plan-desc { margin-bottom: 18px; }
.plan-valid { margin-bottom: 18px; }
.plan--featured { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan--featured .plan-valid, .plan--featured .plan-desc { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.plan--featured .btn--solid { background: var(--bg); color: var(--ink); }
.plan--featured .btn--solid:hover { background: var(--accent); color: var(--on-accent); }
.plan-badge { align-self: flex-start; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); margin-bottom: 6px; }
.plans-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.plans-empty p { font-size: 18px; color: var(--ink-2); max-width: 52ch; }
.costs { margin-top: 40px; }
.costs h3 { font-size: 20px; font-weight: 500; margin-bottom: 14px; }
.costs dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--line); column-gap: 32px; }
.costs dl div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.costs dt { color: var(--ink-2); }
.costs dd { margin: 0; font-weight: 500; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.faq-row { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-row { grid-template-columns: .7fr 1.3fr; gap: 60px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 2px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 2px 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Closing band ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--bg); padding: clamp(64px, 10vw, 128px) 0; }
.cta::before, .cta::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; width: 14px;
  background: var(--blade); opacity: .35; transform: skewX(-38deg);
  inset-inline-end: 34%;
}
.cta::after { width: 4px; inset-inline-end: calc(34% + 44px); opacity: .25; }
html[dir="rtl"] .cta::before, html[dir="rtl"] .cta::after { transform: skewX(38deg); }
.cta-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.cta h2 { font-size: clamp(36px, 6vw, 76px); max-width: 14ch; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: 15px; }
.footer-brand .logo { height: 26px; width: auto; }
.footer-copy { color: var(--ink-3); font-size: 14px; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .stage { min-height: 0; padding: 14px; }
  .site-mock { padding: 14px; }
  .site-mock--coffee .sm-hero { grid-template-columns: 1fr; padding: 16px; }
  .sm-cup { display: none; }
  .prompt-bar { border-radius: 18px; align-items: flex-start; flex-wrap: wrap; padding: 14px; }
  html[dir="rtl"] .prompt-bar { padding: 14px; }
  .prompt-text { white-space: normal; flex-basis: calc(100% - 40px); min-height: 3.2em; }
  .prompt-go { margin-inline-start: auto; }
  .hero-actions .btn { flex: 1; }
  .paper { padding: 18px; }
  .video-visual { padding-bottom: 40px; }
  .video-visual .player { width: 82%; }
  .demo-tabs { flex-wrap: wrap; overflow: visible; }
  .tile figcaption { white-space: normal; font-size: 12px; border-radius: 10px; line-height: 1.35; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .blade { display: none; }
}

/* =========================================================
   Stage 2: forms, sign-up / log-in, account area
   ========================================================= */
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.block { display: block; }
.nowrap { white-space: nowrap; }
.inline-form { display: inline; margin: 0; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn--on-dark { border-color: color-mix(in srgb, var(--bg) 40%, transparent); color: var(--bg); background: transparent; }
.btn--on-dark:hover { border-color: var(--bg); }

.notice {
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--ink); font-size: 15.5px; margin-bottom: 18px;
}
.notice a { font-weight: 500; }
.notice--ok { background: var(--good-soft); color: var(--ink); box-shadow: inset 3px 0 0 var(--good); }
html[dir="rtl"] .notice--ok { box-shadow: inset -3px 0 0 var(--good); }
.notice--error { background: color-mix(in srgb, #d93f3f 12%, var(--surface)); box-shadow: inset 3px 0 0 #d93f3f; }
html[dir="rtl"] .notice--error { box-shadow: inset -3px 0 0 #d93f3f; }

/* Forms */
.form { display: grid; gap: 18px; }
.form--wide { max-width: 560px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 500; font-size: 15px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 16px;
}
.field input[readonly] { background: var(--surface-2); color: var(--ink-2); }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #d93f3f; }
.field-hint { font-size: 13.5px; color: var(--ink-3); }
.field-error { font-size: 14px; color: #d93f3f; }
:root[data-theme="dark"] .field-error { color: #ff8080; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-error { color: #ff8080; } }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.optional { border: 0; border-top: 1px solid var(--line); margin: 4px 0 0; padding: 18px 0 0; display: grid; gap: 18px; min-width: 0; }
.optional legend { padding: 0 10px 0 0; font-size: 14px; color: var(--ink-3); }
html[dir="rtl"] .optional legend { padding: 0 0 0 10px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-inline-end: 52px; }
.pw-toggle {
  position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 40px; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; border-radius: 8px;
  display: grid; place-items: center;
}
.pw-toggle:hover { color: var(--ink); }
.pw-toggle[aria-pressed="true"] { color: var(--accent); }
.pw-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.form-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

/* Sign-up / log-in */
.auth { padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 96px); display: grid; justify-items: center; }
.auth-card {
  width: 100%; max-width: 480px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
}
.auth-card h1 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 8px; }
.auth-sub { color: var(--ink-2); margin-bottom: 26px; }
.auth-switch { margin-top: 22px; text-align: center; color: var(--ink-2); font-size: 15.5px; }
.auth-switch a, .form-line a { color: var(--accent); font-weight: 500; text-decoration: none; }
.auth-switch a:hover, .form-line a:hover { text-decoration: underline; }
.auth-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* Account area */
.account { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.account-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 240px 1fr; gap: 48px; } }
.account-nav { display: grid; gap: 14px; }
@media (min-width: 900px) { .account-nav { position: sticky; top: 92px; } }
.account-who { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.avatar-letter { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 600; }
.account-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.account-nav ul::-webkit-scrollbar { display: none; }
.account-nav a:not(.btn) {
  display: block; padding: 9px 14px; border-radius: 10px; text-decoration: none; color: var(--ink-2); white-space: nowrap;
}
.account-nav a:not(.btn):hover { background: var(--surface-2); color: var(--ink); }
.account-nav a[aria-current="page"] { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 900px) { .account-nav ul { flex-direction: column; overflow: visible; } }
@media (max-width: 899px) { .account-ws { display: none; } }
.account-main { min-width: 0; display: grid; gap: 28px; align-content: start; }
.account-main > .notice { margin: 0; }
.account-head h1 { font-size: clamp(28px, 3.6vw, 40px); }
.account-head p { margin-top: 6px; }

.balance-card {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg);
  background: var(--ink); color: var(--bg); position: relative; overflow: hidden;
}
.balance-card::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; width: 10px; inset-inline-end: 26%;
  background: var(--blade); opacity: .28; transform: skewX(-38deg); pointer-events: none;
}
html[dir="rtl"] .balance-card::after { transform: skewX(38deg); }
.balance-card--empty { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.balance-card--empty::after { display: none; }
.balance-label { font-size: 15px; opacity: .75; }
.balance-num { font-size: clamp(44px, 6vw, 64px); font-weight: 600; line-height: 1.1; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.balance-num span { font-size: 18px; font-weight: 400; opacity: .75; }
.balance-exp { font-size: 15px; opacity: .8; }
.balance-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }

.panel-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); }
.panel-block h2 { font-size: 20px; font-weight: 500; margin-bottom: 16px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.block-head a { color: var(--accent); text-decoration: none; font-size: 15px; }
.lots { display: grid; gap: 16px; }
.lot-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.meter { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; margin-bottom: 6px; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 8px; }
.feed li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; padding-top: 0; }
.feed b { display: block; font-weight: 500; }
.feed-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--ink-2); }
.credit-pill { flex: none; font-size: 14px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); font-variant-numeric: tabular-nums; }
.empty { color: var(--ink-2); padding: 8px 0; }
.cost-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 28px; }
.cost-grid div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.cost-grid dt { color: var(--ink-2); }
.cost-grid dd { margin: 0; font-weight: 500; white-space: nowrap; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: start; font-weight: 500; color: var(--ink-2); font-size: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table b { font-weight: 500; }
.table .num { text-align: end; font-variant-numeric: tabular-nums; }
.table a { color: var(--accent); }
.status { display: inline-block; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); }
.status--paid { background: var(--good-soft); color: var(--good); }
.status--failed { background: color-mix(in srgb, #d93f3f 14%, var(--surface)); color: #d93f3f; }
.pager { display: flex; justify-content: space-between; gap: 12px; }

.plan-list--account { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan--chosen { box-shadow: 0 0 0 2px var(--accent); }
.plan form { margin-top: auto; }

.ws-gate { padding: clamp(48px, 10vw, 120px) 0; }
.gate-card { max-width: 620px; margin-inline: auto; text-align: center; display: grid; gap: 16px; justify-items: center; }
.gate-card h1 { font-size: clamp(32px, 4.6vw, 52px); }
.gate-card p { color: var(--ink-2); font-size: 18px; max-width: 48ch; }
.panel-block--danger { border-color: color-mix(in srgb, #d93f3f 40%, var(--line)); }
.panel-block--danger .muted { margin-bottom: 16px; max-width: 60ch; }
.btn--danger { background: #c62d2d; color: #fff; }
.btn--danger:hover { background: #a82222; }
@media (max-width: 899px) {
  .account-nav ul { flex-wrap: wrap; overflow: visible; }
  .account-nav a:not(.btn) { padding: 8px 12px; }
}

/* Stage 3: checkout */
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface-2); justify-self: start; }
.seg a { padding: 7px 16px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.seg a[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.plan form { display: grid; gap: 8px; }
.secure-note { margin-top: -8px; }
.inv-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.result-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--good-soft); color: var(--good); }
.result-mark .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.result-mark--wait { background: transparent; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result .hero-actions { justify-content: center; margin-top: 8px; }
