/* FightTech Money landing pages. Trimmed from the Loan Calc landing base (Warm Pulse); brand tokens are injected per site by landing-src/build.mjs. */

:root {
  --bg: #ffffff;
  --bg-alt: #faf7f4;
  --surface: #ffffff;
  --surface-2: #f7f2ee;
  --line: #ebe3dc;
  --line-2: #d8ccc2;
  --ink: #1c130d;
  --ink-2: #574a40;
  --ink-3: #6b5d52;
  --brand: #0369A1;
  --brand-hover: #04527E;
  --on-brand: #ffffff;
  --brand-tint: #E2F1FC;
  --on-tint: #014268;
  --gold: #ffd166;
  --on-gold: #2b1f00;
  --hl: #ffd166;
  --danger: #b3261e;
  --danger-tint: #fdecea;
  --ok: #15803d;
  --ok-tint: #e3f4ea;
  --panel: #012943;
  --panel-line: transparent;
  --cta-glow: rgba(3,105,161,.55);
  --upsell-grad: linear-gradient(155deg, #012943 0%, #04527E 55%, #0369A1 100%);
  --dot: rgba(28,19,13,.10);
  --focus: #0369A1;
  --shadow-sm: 0 1px 2px rgba(28,19,13,.06), 0 1px 1px rgba(28,19,13,.04);
  --shadow: 0 1px 2px rgba(28,19,13,.05), 0 12px 32px -12px rgba(28,19,13,.16);
  --shadow-lg: 0 2px 4px rgba(28,19,13,.04), 0 32px 64px -24px rgba(28,19,13,.22);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b5d52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --radius: 14px;
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110c09;
    --bg-alt: #16100c;
    --surface: #1b1410;
    --surface-2: #241b15;
    --line: #33271f;
    --line-2: #4a3a2f;
    --ink: #f5ede7;
    --ink-2: #cdbfb4;
    --ink-3: #ab9d92;
    --brand: #64ACE2;
    --brand-hover: #8AC5F3;
    --on-brand: #001B2F;
    --brand-tint: #153145;
    --on-tint: #BCE0FD;
    --hl: rgba(255,209,102,.22);
    --danger: #ff8a80;
    --danger-tint: #3a1614;
    --ok: #6ee7a0;
    --ok-tint: #12301f;
    --panel-line: color-mix(in srgb, var(--brand) 30%, transparent);
    --dot: rgba(236,243,239,.08);
    --focus: #ffd166;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 32px 64px -24px rgba(0,0,0,.7);
    --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ab9d92' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--bg); }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }

.eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand);
}
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent; border-radius: 999px; padding: 10px 18px;
  font-weight: 800; font-size: 0.95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 0.875rem; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

.play-badge { display: inline-block; border-radius: 10px; line-height: 0; }
.play-badge img { height: 70px; width: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--bg); } }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 1.05rem; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand .logo { width: 32px; height: 32px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 0.925rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
@media (min-width: 1100px) { .nav { display: flex; } }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* Language picker: a pill showing the current language over a transparent native <select>. */
.lang {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding-inline: 11px 9px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--ink-2);
  font-size: 0.85rem; font-weight: 800; white-space: nowrap; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.lang:hover { border-color: var(--line-2); background: var(--surface); }
.lang:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.lang > .i { font-size: 1rem; }
.lang .lang-chev { font-size: 0.9rem; stroke-width: 2.5; color: var(--ink-3); }
.lang-cur { color: var(--ink); }
.lang-name { display: none; }
@media (min-width: 720px) { .lang-name { display: inline; } .lang-short { display: none; } }
.lang select {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; border: 0; font-size: 16px;
}
.header-cta { display: none; }
@media (min-width: 420px) { .header-cta { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; text-align: center; isolation: isolate; }
@media (min-width: 760px) { .hero { padding: 96px 0 112px; } }
.hero-dots {
  position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 25%, transparent 78%);
}
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: -10%; width: min(900px, 120vw); aspect-ratio: 1.8;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 16%, transparent), transparent);
  filter: blur(8px);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  box-shadow: var(--shadow-sm); font-size: 0.85rem; font-weight: 700; color: var(--ink-2);
  text-wrap: balance;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.hero h1 {
  margin-top: 22px; max-width: 17ch;
  font-size: clamp(2.3rem, 1.25rem + 4.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.04em;
}
.hl {
  background-image: linear-gradient(transparent 60%, var(--hl) 60%, var(--hl) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 0.06em;
}
.lede { margin-top: 22px; max-width: 60ch; color: var(--ink-2); font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; }
.btn-round {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 800; text-decoration: none;
  min-height: 56px;
}
.btn-round:hover { color: var(--ink); border-color: var(--ink-3); }
.round-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 1.1rem; }
.trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--ink-2); font-size: 0.9rem; font-weight: 700; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .i { color: var(--brand); stroke-width: 3; }

@keyframes bob { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-inner > .rise:nth-child(2) { animation-delay: .05s; }
  .hero-inner > .rise:nth-child(3) { animation-delay: .1s; }
  .hero-inner > .rise:nth-child(4) { animation-delay: .15s; }
  .hero-inner > .rise:nth-child(5) { animation-delay: .2s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 760px) { .section { padding: 104px 0; } }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-top: 10px; font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem); }
.section-sub { margin-top: 16px; color: var(--ink-2); font-size: 1.05rem; }

.facts {
  margin: 0 0 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden;
}
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts > div { display: flex; flex-direction: column-reverse; align-items: center; padding: 20px 12px; text-align: center; border-color: var(--line); border-style: solid; border-width: 0; }
.facts > div:nth-child(odd) { border-right-width: 1px; }
.facts > div:nth-child(-n+2) { border-bottom-width: 1px; }
@media (min-width: 720px) {
  .facts > div { border-width: 0 1px 0 0 !important; }
  .facts > div:last-child { border-right-width: 0 !important; }
}
.facts dd { margin: 0; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; color: var(--brand); line-height: 1.1; }
.facts dt { font-size: 0.85rem; font-weight: 700; color: var(--ink-2); }

.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-wide { grid-column: span 2; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 1023.98px) { .card-globe { grid-column: auto; } }
.card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card-num { position: absolute; top: 14px; right: 22px; font-size: 3.2rem; font-weight: 800; letter-spacing: -0.05em; color: var(--line); line-height: 1; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-tint); color: var(--on-tint); font-size: 1.35rem; }
.card h3 { margin-top: 18px; font-size: 1.2rem; letter-spacing: -0.02em; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 0.95rem; }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.chips-mono li { font-family: var(--mono); font-size: 0.78rem; }

/* ---------- Callout ---------- */
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--brand-tint); color: var(--on-tint); font-size: 0.925rem; font-weight: 600; }
.callout .i { margin-top: 3px; font-size: 1.1rem; stroke-width: 2.5; }
.callout strong { font-weight: 800; }

/* ---------- Gallery ---------- */
.gallery {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 8px max(16px, calc((100% - 1112px) / 2)) 24px;
  scroll-padding-inline: max(16px, calc((100% - 1112px) / 2));
  scrollbar-width: thin;
}
.gallery img {
  flex: none; width: 200px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow); scroll-snap-align: start;
}
@media (min-width: 640px) { .gallery img { width: 240px; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .2s ease; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.section-cta { padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background: var(--panel); color: #ffffff; border: 1px solid var(--panel-line); border-radius: 32px;
  padding: 56px 20px; display: flex; flex-direction: column; align-items: center;
}
@media (min-width: 760px) { .cta-panel { padding: 80px 40px; } }
.cta-dots {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1.2px, transparent 1.6px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 80%);
}
.cta-panel::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -60%; width: 90%; aspect-ratio: 2; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--cta-glow), transparent);
}
.cta-logo { width: 64px; height: 64px; }
.cta-panel h2 { margin-top: 22px; max-width: 18ch; font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); color: #ffffff; }
.gold { color: #ffd166; }
.cta-panel p { margin-top: 16px; max-width: 56ch; color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; }
.cta-panel .play-badge { margin-top: 28px; }
.cta-panel .play-badge:focus-visible { outline-color: #ffd166; }
.trust-dark { margin-top: 20px; color: rgba(255, 255, 255, 0.82); }
.trust-dark .i { color: #ffd166; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 0.925rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 12px; max-width: 36ch; color: var(--ink-2); }
.footer-h { margin-bottom: 10px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.footer-col a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; font-weight: 700; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; color: var(--ink-3); font-size: 0.82rem; font-weight: 600; }

/* ---------- Android smart banner ---------- */
.smart-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) 8px;
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.25);
}
@media (prefers-reduced-motion: no-preference) { .smart-banner { animation: slide-up .35s ease both; } }
@keyframes slide-up { from { transform: translateY(100%); } }
.sb-close { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); font-size: 1.1rem; }
.sb-close:hover { background: var(--surface-2); color: var(--ink); }
.sb-icon { width: 44px; height: 44px; flex: none; }
.sb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sb-text strong { font-size: 0.95rem; font-weight: 800; }
.sb-text span { font-size: 0.8rem; color: var(--ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.has-banner { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem); letter-spacing: -0.035em; }
.legal .meta { margin-top: 14px; color: var(--ink-2); font-size: 0.95rem; }
.legal h2 { margin-top: 36px; font-size: 1.3rem; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal strong { color: var(--ink); }
.legal code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-weight: 800; text-decoration: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.notfound .big { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 800; letter-spacing: -0.06em; color: var(--brand); line-height: 1; }
.notfound h1 { margin-top: 12px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.notfound p { margin-top: 12px; color: var(--ink-2); }
.notfound .btn { margin-top: 24px; }
.notfound .nf-alt { font-size: 0.9rem; }
.notfound .btn + .nf-alt { margin-top: 32px; }

@media print {
  .site-header, .smart-banner, .hero, #how, #features, #plans, #screens, #faq, #data, .section-cta, .site-footer { display: none !important; }
}
.footer-bottom.flat { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Money landing extras (shared by the five sites) ---------- */

/* Split hero: copy on the left, the example card on the right from 960px. */
.hero-split .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-split .hero-copy { display: flex; flex-direction: column; align-items: center; }
@media (min-width: 960px) {
  .hero-split { text-align: left; }
  .hero-split .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 56px; }
  .hero-split .hero-copy { align-items: flex-start; }
  .hero-split .hero-ctas, .hero-split .trust { justify-content: flex-start; }
  .hero-split h1 { max-width: 14ch; }
  .hero-split .hero-glow { left: 30%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .rise:nth-child(2) { animation-delay: .05s; }
  .hero-copy > .rise:nth-child(3) { animation-delay: .1s; }
  .hero-copy > .rise:nth-child(4) { animation-delay: .15s; }
  .hero-copy > .rise:nth-child(5) { animation-delay: .2s; }
  .hero-visual.rise { animation-delay: .15s; }
}
.hero-visual { width: 100%; max-width: 480px; margin: 0 auto; text-align: left; }

/* Example card in the hero: a static picture of the app's main screen, built from text. */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 18px; }
@media (min-width: 400px) { .demo { padding: 20px; } }
.demo-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-title { min-width: 0; font-weight: 800; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-ex {
  flex: none; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.demo-kpi { margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--brand); color: var(--on-brand); }
.demo-kpi small { display: block; font-size: 0.8rem; font-weight: 700; opacity: 0.88; }
.demo-kpi strong {
  display: block; margin-top: 2px; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.demo-kpi span { display: block; margin-top: 6px; font-size: 0.85rem; font-weight: 700; opacity: 0.92; }
.demo-note { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--brand-tint); color: var(--on-tint); font-weight: 700; font-size: 0.86rem; }
.demo-note .i { font-size: 1.05rem; }
.demo-pair { margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.demo-pair > div { min-width: 0; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.demo-pair dt { font-size: 0.75rem; font-weight: 700; color: var(--ink-3); }
.demo-pair dd { margin: 0; font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-grp { margin-top: 14px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.demo-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.drow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 8px;
  padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line);
}
.drow-main { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.drow-name { font-weight: 800; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drow-sub { font-size: 0.78rem; font-weight: 600; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drow-val { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; line-height: 1.3; }
.drow-val small { display: block; font-size: 0.74rem; font-weight: 700; color: var(--ink-3); }
.drow .bar { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.drow .bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.drow.is-over { border-color: var(--danger); }
.drow.is-over .drow-val, .drow.is-over .drow-sub { color: var(--danger); }
.drow.is-over .bar i { background: var(--danger); }
.drow.is-ok .bar i { background: var(--ok); }
.dtag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.02em; vertical-align: 1px; }
.dtag-over { background: var(--danger-tint); color: var(--danger); }
.dtag-ok { background: var(--ok-tint); color: var(--ok); }
.dtag-soft { background: var(--brand-tint); color: var(--on-tint); }
.pos { color: var(--ok); }
.neg { color: var(--danger); }
.weeks-l { margin-top: 14px; font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.weeks { margin-top: 8px; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 4px; }
.weeks i { aspect-ratio: 1; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line); }
.weeks i.on { background: var(--brand); border-color: var(--brand); }
.demo-foot { margin-top: 12px; font-size: 0.78rem; font-weight: 600; color: var(--ink-3); }

/* How it works: three numbered steps. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 800; }
.step h3 { margin-top: 16px; font-size: 1.15rem; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 0.95rem; }

/* Free & Pro. */
.plans { display: grid; gap: 16px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { position: relative; overflow: hidden; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-size: 1.35rem; }
.plan-list { position: relative; list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.plan-list li { position: relative; padding-left: 30px; font-weight: 600; line-height: 1.45; color: var(--ink-2); }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-tint); }
.plan-list li::after { content: ""; position: absolute; left: 7.5px; top: 5px; width: 5px; height: 9px; border: solid var(--on-tint); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-pro { background: var(--upsell-grad); border-color: transparent; color: #ffffff; }
.plan-pro h3 { color: #ffffff; }
.plan-pro .plan-list li { color: #ffffff; }
.plan-pro .plan-list li::before { background: #ffd166; }
.plan-pro .plan-list li::after { border-color: #2b1f00; }
.plan-mark { position: absolute; right: -36px; bottom: -44px; width: 200px; height: 200px; color: #ffd166; opacity: 0.12; stroke-width: 1.4; pointer-events: none; }
.ways-title { margin-top: 44px; text-align: center; font-size: 1.3rem; letter-spacing: -0.02em; }
.ways { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ways li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ways strong { font-weight: 800; }
.ways span { font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.ways-note { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 0.88rem; font-weight: 600; }
.credits { max-width: 760px; margin: 20px auto 0; }

/* Your data. */
.data-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .data-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.data-item { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.data-item h3 { margin-top: 14px; font-size: 1.05rem; letter-spacing: -0.02em; }
.data-item p { margin-top: 6px; color: var(--ink-2); font-size: 0.92rem; }
.data-more { margin-top: 24px; text-align: center; }
.data-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.section-alt + .section-cta { padding-top: 72px; }
@media (min-width: 760px) { .section-alt + .section-cta { padding-top: 104px; } }

/* Header: long app names shrink with an ellipsis instead of pushing the page sideways. */
.header-inner .brand { min-width: 0; }
.header-inner .brand > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-actions, .lang { flex: none; }
.brand .logo { flex: none; }
@media (max-width: 400px) { .header-inner { gap: 10px; } .header-inner .brand > span { font-size: 0.95rem; } }

/* Free / Pro chip on the feature cards. */
.chips li.tier-pro { background: var(--gold); border-color: transparent; color: var(--on-gold); }
.chips li.tier-free { background: var(--brand-tint); border-color: transparent; color: var(--on-tint); }

/* Legal pages: every language is in the page; app.js shows one. */
.legal article > h1 { margin-top: 0; }
.legal-note { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); font-size: 0.92rem; }

/* Commented-out screenshot slot (see index.html): kept hidden until real phone screenshots exist. */
.shots[hidden] { display: none !important; }
