/* MirroAPI — layout and UX mirror metaapi.cloud's homepage 1:1; brand is MIRRO's. */

@font-face { font-family: "Sora Variable"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/fonts/sora-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Mona Sans Variable"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/mona-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono Variable"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); }

:root {
  /* MIRRO brand constants (tokens.css) */
  --brand-lime: #b7ff00;
  --brand-lime-bright: #c9ff3f;
  --brand-lime-deep: #a3e600;
  --brand-lime-ink: #4d7c0f;
  --brand-core: #080a0a;

  /* Role tokens, mapped onto metaapi's palette roles */
  --ink: #101613;             /* their #001021 heading navy */
  --ink-2: #4c5551;
  --muted: #7b868b;           /* their #9f9999 / #7b868b grey copy */
  --line: #e3e8e5;            /* their #d2cbca hairlines */
  --bg: #ffffff;
  --cream: #f7fbea;           /* their #fffbec list background */
  --accent: #4d7c0f;          /* their #ee3230 text accent (legible on white) */
  --accent-fill: #b7ff00;     /* their #ee3230 button fill */
  --accent-fill-2: #a3e600;   /* their #d51c2a gradient stop */
  --accent-fill-3: #c9ff3f;   /* their #f35828 gradient stop */
  --accent-on-fill: #080a0a;
  --band-gradient: linear-gradient(0deg, var(--accent-fill-2), var(--accent-fill-3));
  --ring-a: rgba(183, 255, 0, 0.55);
  --ring-b: rgba(163, 230, 0, 0.35);
  --wash: radial-gradient(60% 90% at 30% 20%, rgba(183,255,0,.55), transparent 60%), radial-gradient(50% 80% at 80% 30%, rgba(201,255,63,.5), transparent 65%), radial-gradient(40% 60% at 55% 90%, rgba(163,230,0,.35), transparent 70%);

  --font-display: "Sora Variable", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Mona Sans Variable", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, monospace;

  --container: 1180px;
  --pill-h: 46px;
  --pill-w: 160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--accent-fill); color: var(--brand-core); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
p { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand-lime-ink); outline-offset: 2px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Pill buttons — filled / outlined, alternate exactly as on metaapi ── */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--pill-w); height: var(--pill-h); padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--ink);
  font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: #fff;
  cursor: pointer; text-align: center; line-height: 1.15;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.pill:hover { background: #f4f7f5; }
.pill.fill { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--accent-on-fill); font-weight: 600; }
.pill.fill:hover { background: var(--brand-lime-bright); border-color: var(--brand-lime-bright); }
.pill.sm { min-width: 104px; height: 40px; padding: 0 20px; font-size: 14px; box-shadow: none; }
.pill:active { transform: translateY(1px); }
.pill[disabled] { opacity: .6; cursor: progress; }

.ulink { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ulink:hover { color: var(--brand-lime-ink); }
.ulink.ink { color: var(--ink); font-size: 20px; }

/* ── Navbar — static, centered links, two pill buttons right ─────────── */
.navbar { position: relative; z-index: 20; }
.navbar .container { display: flex; align-items: center; height: 125px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); }
.logo img { height: 34px; width: auto; }
.logo .thin { font-weight: 300; }
.navbar nav { display: none; align-items: center; gap: 32px; margin-left: 100px; }
.navbar nav a { font-size: 16px; color: var(--muted); font-weight: 500; }
.navbar nav a:hover, .navbar nav a.active { color: var(--accent); }
.navbar nav a.icon { display: inline-flex; align-items: center; gap: 8px; }
.navbar nav a.icon svg { width: 20px; height: 20px; }
.navbar .actions { display: none; gap: 30px; margin-left: auto; }
.navbar .actions .pill { min-width: 104px; }
.burger { margin-left: auto; width: 40px; height: 40px; background: transparent; border: 0; cursor: pointer; display: grid; place-items: center; }
.burger span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; position: relative; display: block; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }
.burger span::before { top: -8px; } .burger span::after { top: 8px; }
.drawer { display: none; background: #fff; border-bottom: 1px solid var(--line); }
.drawer[data-open="true"] { display: block; }
.drawer a { display: block; padding: 16px 20px; font-size: 16px; color: var(--ink); border-top: 1px solid var(--line); }
.drawer .row { display: flex; gap: 12px; padding: 16px 20px; }
.drawer .row .pill { flex: 1; min-width: 0; }
@media (min-width: 1024px) { .navbar nav, .navbar .actions { display: inline-flex; } .burger, .drawer { display: none !important; } }
@media (max-width: 1023px) { .navbar .container { height: 92px; } }

/* ── Decorative tokens — glass ring and glossy sphere, lit from top-left ── */
.ring { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  border: 0; filter: none;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 6%, rgba(255,255,255,0) 22%),
    conic-gradient(from 210deg, #d6ff5c, #b7ff00 25%, #7fc400 55%, #a3e600 80%, #d6ff5c);
  -webkit-mask: radial-gradient(circle, transparent 0 30%, #000 31%);
  mask: radial-gradient(circle, transparent 0 30%, #000 31%);
  box-shadow: 0 18px 30px -16px rgba(77,124,15,.55); }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at 70% 78%, rgba(8,10,10,.28), transparent 45%); mix-blend-mode: multiply; }
.ring::after { content: ""; position: absolute; inset: 4px; border-radius: inherit;
  border: 1px solid rgba(255,255,255,.55); -webkit-mask: linear-gradient(135deg, #000 30%, transparent 70%); mask: linear-gradient(135deg, #000 30%, transparent 70%); }
.ring.b { opacity: .55; }
.ring.dot { -webkit-mask: none; mask: none;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,.98) 0 10%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 70% 80%, #6aa800 0 20%, transparent 60%),
    linear-gradient(160deg, #d6ff5c, #b7ff00 45%, #8fd400); }
.ring.dot::before { background: radial-gradient(circle at 70% 78%, rgba(8,10,10,.22), transparent 50%); }
.ring.dot::after { display: none; }
/* soft contact shadow under each token */
.ring-shadow { display: none; }

/* ── Hero — full viewport, centered ─────────────────────────────────── */
.hero { position: relative; min-height: calc(100vh - 125px); display: flex; align-items: center; text-align: center; padding: 40px 0 80px; }
.hero .container { max-width: 1180px; }
.hero h1 { font-size: 50px; line-height: 1.16; letter-spacing: -0.01em; }
.hero .lead { margin: 30px auto 0; max-width: 1120px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 60px; }
.hero .ring.r1 { width: 84px; height: 84px; right: 48px; top: 30%; }
.hero .ring.r2 { width: 22px; height: 22px; left: 28px; top: 58%; }
@media (max-width: 1023px) {
  .hero { min-height: 0; padding: 10px 0 60px; }
  .hero h1 { font-size: 30px; }
  .hero .cta { flex-direction: column; align-items: center; gap: 24px; margin-top: 40px; }
  .hero .cta .pill { width: 164px; }
}

/* ── Showcase — a rounded ink stage: four highlights on the left, the real console on the right ─── */
.show { padding: 8px 0 0; }
.stage { position: relative; display: grid; grid-template-columns: 380px 1fr; gap: 44px; padding: 40px; border-radius: 28px; background: #0a0f0c; color: #fff; overflow: hidden; isolation: isolate; box-shadow: 0 40px 90px -48px rgba(8,10,10,.55), inset 0 1px 0 rgba(255,255,255,.06); }
.stage-glow { position: absolute; inset: -30% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(34% 50% at 14% 30%, rgba(183,255,0,.20), transparent 70%), radial-gradient(32% 46% at 78% 78%, rgba(61,220,151,.14), transparent 70%);
  animation: stage-drift 30s ease-in-out infinite alternate; will-change: transform; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 1px, transparent 1px 28px); }
.stage-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.stage .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-lime); }
.stage .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-lime); box-shadow: 0 0 10px 1px rgba(183,255,0,.6); }
.show-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.show-tab { position: relative; width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 14px 14px 14px 12px; border: 0; border-radius: 14px; background: transparent; color: #fff; text-align: left; cursor: pointer; font: inherit; overflow: hidden; transition: background .25s, box-shadow .25s; }
.show-tab .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.4); padding-top: 4px; transition: color .25s; }
.show-tab .body { display: grid; gap: 6px; min-width: 0; }
.show-tab .h { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; color: rgba(255,255,255,.55); transition: color .25s; text-wrap: balance; }
.show-tab .d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.16,1,.3,1), opacity .35s; opacity: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.62); }
.show-tab .d > span { overflow: hidden; }
.show-tab:hover { background: rgba(255,255,255,.04); }
.show-tab:hover .h { color: rgba(255,255,255,.85); }
.show-tab:focus-visible { outline: 2px solid var(--brand-lime); outline-offset: 2px; }
.show-tab[aria-selected="true"] { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.06); }
.show-tab[aria-selected="true"] .n { color: var(--brand-lime); }
.show-tab[aria-selected="true"] .h { color: #fff; }
.show-tab[aria-selected="true"] .d { grid-template-rows: 1fr; opacity: 1; }
.show-tab .bar { position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: var(--brand-lime); transform: scaleX(0); transform-origin: left; opacity: 0; }
.show-tab[aria-selected="true"] .bar { opacity: 1; animation: show-progress var(--show-interval, 7s) linear forwards; }
.stage.is-paused .show-tab .bar { animation-play-state: paused; }
.show-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; align-self: flex-start; padding: 10px 14px 10px 16px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .2s, box-shadow .2s, color .2s; }
.show-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.show-cta:hover { background: var(--brand-lime); color: var(--brand-core); box-shadow: none; }
.show-cta:hover svg { transform: translateX(2px); }
.frame { display: grid; grid-template-rows: 36px 1fr; min-width: 0; border-radius: 18px; overflow: hidden; background: #0f161f; box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 30px 70px -34px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06); }
.frame-bar { display: flex; align-items: center; gap: 14px; padding: 0 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.07); }
.frame-bar .lights { display: inline-flex; gap: 6px; }
.frame-bar .lights i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.frame-bar .url { flex: 1; height: 22px; display: inline-flex; align-items: center; justify-content: center; max-width: 360px; margin: 0 auto; padding: 0 12px; border-radius: 6px; background: rgba(255,255,255,.05); font-family: var(--font-mono); font-size: 11.5px; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.shots { position: relative; aspect-ratio: 16 / 10; }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.015); transition: opacity .6s ease, transform 1s cubic-bezier(.16,1,.3,1); }
.shot[hidden] { display: block; }
.shot.is-on { opacity: 1; transform: none; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@keyframes stage-drift { from { transform: translate3d(-2%, 0, 0); } to { transform: translate3d(2%, 3%, 0) scale(1.05); } }
@keyframes show-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1023px) {
  .stage { grid-template-columns: 1fr; gap: 24px; padding: 20px; border-radius: 22px; }
  .frame { order: -1; }
  .show-tab .h { font-size: 16px; }
  .show-cta { align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .stage-glow { animation: none; } .show-tab .bar { display: none; } .shot { transition: none; transform: none; } .show-tab .d { transition: none; } }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { position: relative; padding: 70px 0 60px; }
.section-title { text-align: center; font-size: 50px; line-height: 1.1; position: relative; }
.section-title.watermark::before { content: attr(data-mark); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 100px; font-weight: 700; color: #f1f4f2; letter-spacing: -0.02em; z-index: -1; white-space: nowrap; }
.section-sub { text-align: center; font-size: 29px; margin-top: 40px; }
@media (max-width: 1023px) { .section-title { font-size: 30px; } .section-title.watermark::before { font-size: 60px; } .section-sub { font-size: 24px; margin-top: 30px; } .section { padding: 50px 0 40px; } }

/* ── Features — brand + stacked pills left, list right ─────────────── */
.features .container { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
/* On wide screens the feature list reads on the left and the mark with the API pills stands on the right. */
@media (min-width: 1024px) { .features .container { grid-template-columns: 1fr 420px; gap: 100px; align-items: start; } .features .feature-left { order: 2; } .features .feature-list { order: 1; } }
.features .ring.r1 { width: 64px; height: 64px; left: 100px; top: 20px; }
.features .ring.r2 { width: 58px; height: 58px; right: 40px; top: 120px; }
.feature-left { text-align: center; }
.feature-mark { width: 320px; max-width: 80%; margin: 0 auto; }
.feature-mark img { width: 100%; height: auto; }
.feature-links { display: flex; flex-direction: column; gap: 20px; margin: 40px auto 0; width: 280px; max-width: 100%; }
.feature-links .pill { width: 100%; min-width: 0; padding: 0 16px; }
@media (min-width: 1024px) { .feature-left { position: sticky; top: 40px; padding-top: 120px; } }
.feature-list { display: flex; flex-direction: column; gap: 40px; }
.feature { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; }
.feature .icon { width: 54px; height: 54px; border-radius: 50%; background: var(--band-gradient); display: grid; place-items: center; color: var(--accent-on-fill); }
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; line-height: 1.3; }
.feature p { color: var(--muted); font-size: 16px; line-height: 1.5; margin-top: 4px; text-align: justify; }
.feature .ulink { display: inline-block; margin-top: 8px; font-size: 16px; }
@media (max-width: 1023px) {
  .feature { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px; }
  .feature p { text-align: justify; }
  .feature-links { width: 280px; }
}

/* ── Pricing — wash-header cards, cream numbered lists ──────────────── */
.pricing .ring.r1 { width: 64px; height: 64px; left: 8px; top: 8px; }
.pricing .ring.r2 { width: 64px; height: 64px; left: 44px; top: 40px; }
.cards { display: grid; gap: 30px; grid-template-columns: 1fr; margin-top: 30px; justify-content: center; }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards.single { grid-template-columns: minmax(0, 525px); } }
.card { background: #fff; box-shadow: 0 6px 24px -8px rgba(13,18,16,.28); overflow: hidden; display: flex; flex-direction: column; }
.card.round-l { border-radius: 0 0 0 75px; }
.card.round-r { border-radius: 0 0 75px 0; }
.card-head { position: relative; padding: 28px 24px 24px; text-align: center; background: #fff; border-bottom: 1px solid var(--line); }
.card-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 110px; background: var(--wash); opacity: .9; pointer-events: none; }
.card-head > * { position: relative; }
.card-head h3 { font-size: 29px; line-height: 1.2; }
.card-head .price { margin-top: 18px; font-size: 21px; color: var(--ink); }
.card-head .price b { color: var(--accent); font-weight: 700; font-size: 26px; }
.card-head .price .strong { font-weight: 700; }
.card-head .fine { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.card-head .fine b { color: var(--accent); }
.card-head .ulink.ink { display: inline-block; margin-top: 16px; }
.card-list { background: var(--cream); padding: 30px 24px; margin: 0; list-style: none; counter-reset: n; display: grid; gap: 22px; flex: 1; }
.card-list li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.4; color: var(--ink); }
.card-list li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: -2px; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1; }
.card-foot { padding: 30px 24px 40px; text-align: center; display: grid; gap: 14px; }
.card-foot .ulink.ink { font-size: 20px; }
.card-foot .ulink.ink.sm { font-size: 18px; }
.card-note { background: var(--cream); padding: 24px; text-align: center; font-size: 16px; line-height: 1.5; color: var(--ink); }
.cards.single { grid-template-columns: minmax(0, 525px); }
@media (max-width: 1023px) { .card.round-l, .card.round-r { border-radius: 0; } .card-head h3 { font-size: 22px; } }

/* API access pricing — tabs + offering cards */
.api-pricing { margin-top: 80px; text-align: center; }
.api-pricing h3 { font-size: 29px; }
.tabs { display: flex; justify-content: center; gap: 30px; border-bottom: 1px solid var(--line); margin-top: 30px; }
.tabs button { font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); background: transparent; border: 0; padding: 10px 0 12px; cursor: pointer; position: relative; }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent-fill); }
.tabs button:hover { color: var(--accent); }
.api-note { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-top: 40px; }
.api-pricing .pill { margin-top: 30px; }
.api-latency { color: var(--ink-2); font-size: 14px; margin-top: 20px; max-width: 78ch; line-height: 1.55; } .api-latency b { color: var(--ink); font-weight: 650; } .api-latency code { font-family: var(--font-mono); font-size: 12.5px; background: var(--cream); padding: 1px 5px; border-radius: 4px; }
.offers { display: grid; gap: 140px; grid-template-columns: 1fr; margin-top: 30px; justify-content: center; }
@media (min-width: 1024px) { .offers { grid-template-columns: repeat(2, 393px); } }
@media (max-width: 1023px) { .offers { gap: 30px; } }
.offer { background: #fff; box-shadow: 0 6px 24px -8px rgba(13,18,16,.28); text-align: center; }
.offer-head { position: relative; padding: 30px 20px 10px; }
.offer-head::before { content: ""; position: absolute; inset: 0; height: 120px; background: var(--wash); opacity: .9; pointer-events: none; }
.offer-head h4 { position: relative; font-size: 26px; }
.offer-row { position: relative; padding: 18px 20px; border-top: 1px solid var(--line); }
.offer-row:first-of-type { border-top: 0; }
.offer-row .label { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.25; }
.offer-row .label.ulink { color: var(--ink); }
.offer-row .amount { margin-top: 6px; font-size: 21px; color: var(--ink); }
.offer-row .amount b { color: var(--accent); font-size: 26px; font-weight: 700; }
.offer-row .fine { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }
.offer-row .free { color: var(--accent); font-size: 26px; font-weight: 700; font-family: var(--font-display); margin-top: 6px; }
.offers[hidden] { display: none; }

/* ── Footer — four columns, grey, centered copyright ────────────────── */
footer { padding: 80px 0 40px; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 40px; }
@media (min-width: 1024px) { .footer-links { flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.footer-section { max-width: 230px; text-align: center; }
@media (min-width: 1024px) { .footer-section { text-align: left; } }
.footer-section h4 { font-family: var(--font-body); font-weight: 400; font-size: 21px; line-height: 28px; color: var(--ink); }
.footer-section ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-section li a { color: var(--muted); font-size: 16px; font-weight: 500; line-height: 20px; }
.footer-section li a:hover { text-decoration: underline; }
.footer-section .note { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 20px; margin-top: 14px; }
.footer-section .note a { text-decoration: underline; }
.footer-brand .logo img { height: 34px; }
.copyright { margin-top: 60px; text-align: center; color: var(--muted); font-size: 16px; font-weight: 500; line-height: 20px; }
.copyright p + p { margin-top: 10px; font-size: 13px; max-width: 900px; margin-inline: auto; }

/* ── Sub-pages: B2B, FAQ, Register ───────────────────────────────────── */
.page-title { text-align: center; font-size: 50px; margin-top: 20px; }
.page-lead { text-align: center; color: var(--muted); max-width: 800px; margin: 20px auto 0; line-height: 1.6; }
@media (max-width: 1023px) { .page-title { font-size: 30px; } }

.b2b-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-top: 60px; }
@media (min-width: 1024px) { .b2b-grid { grid-template-columns: repeat(3, 1fr); } }
.b2b-card { text-align: center; padding: 0 10px; }
.b2b-card .icon { width: 110px; height: 110px; border-radius: 50%; background: var(--band-gradient); display: grid; place-items: center; margin: 0 auto; color: var(--accent-on-fill); }
.b2b-card .icon svg { width: 52px; height: 52px; }
.b2b-card h3 { font-size: 20px; margin-top: 24px; }
.b2b-card p { color: var(--muted); margin-top: 10px; line-height: 1.55; text-align: justify; }
.b2b-card .ulink { display: inline-block; margin-top: 12px; }

.faq-group { margin-top: 40px; }
.faq-group h3 { font-size: 20px; margin-bottom: 14px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 700; }
details[open] summary::after { content: "–"; }
details > p, details > ul { color: var(--muted); padding: 0 0 18px; margin: 0; line-height: 1.6; }
details > ul { padding-left: 24px; }

.auth { display: grid; place-items: start center; padding: 20px 0 80px; }
.auth-card { width: min(100%, 560px); background: #fff; box-shadow: 0 6px 24px -8px rgba(13,18,16,.28); padding: 36px; }
.auth-card h1 { font-size: 29px; text-align: center; }
.auth-card .page-lead { font-size: 15px; margin-top: 10px; }
.form-grid { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #c6cfc9; border-radius: 999px; height: var(--pill-h); padding: 0 18px; width: 100%; }
.field textarea { border-radius: 22px; height: auto; min-height: 100px; padding: 12px 18px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-lime-ink); outline: 2px solid rgba(101,163,13,.4); outline-offset: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #c6cfc9; border-radius: 999px; font-size: 14px; cursor: pointer; }
.check:has(input:checked) { border-color: var(--brand-lime-ink); background: var(--cream); }
.check input, .consent input { width: 16px; height: 16px; flex: none; padding: 0; border-radius: 3px; accent-color: var(--brand-lime-ink); margin: 0; }
.form-foot .hint { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.5; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--brand-lime-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 12px; justify-items: center; margin-top: 10px; }
.form-foot .pill { width: 100%; }
.form-status { font-size: 14px; min-height: 18px; text-align: center; }
.form-status[data-kind="err"] { color: #d0342c; }
.form-done { display: none; text-align: center; padding: 20px 0 0; }
.form-done h2 { font-size: 24px; }
.form-done p { color: var(--muted); margin-top: 10px; line-height: 1.6; }
form[data-done="true"] .form-grid, form[data-done="true"] .form-foot { display: none; }
form[data-done="true"] .form-done { display: block; }

/* ══════════════════════════════════════════════════════════════════════
 * Premium layer — motion, depth and finish. No layout changes.
 * ══════════════════════════════════════════════════════════════════════ */
:root { --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.4, 0, .2, 1); }
html { scrollbar-gutter: stable; }
body { text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11"; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { image-rendering: -webkit-optimize-contrast; }

/* Nav: fixed-feel on scroll without moving anything at rest */
.navbar { position: sticky; top: 0; background: rgba(255,255,255,0); transition: background .35s var(--ease-io), box-shadow .35s var(--ease-io), backdrop-filter .35s; }
.navbar.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 32px -24px rgba(13,18,16,.35); }
.navbar .container { transition: height .35s var(--ease-io); }
.navbar.is-scrolled .container { height: 84px; }
@media (max-width: 1023px) { .navbar.is-scrolled .container { height: 72px; } }
.navbar nav a { position: relative; transition: color .2s; }
.navbar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--accent-fill); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.navbar nav a:hover::after, .navbar nav a.is-current::after { transform: scaleX(1); }
.navbar nav a.is-current { color: var(--ink); }
.logo { transition: opacity .2s; }
.logo:hover { opacity: .8; }

/* Pills: depth, spring, sheen */
.pill { position: relative; overflow: hidden; transition: background .25s var(--ease-io), color .25s, border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease); will-change: transform; }
.pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); pointer-events: none; }
.pill:hover::after { transform: translateX(120%); }
.pill:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgba(13,18,16,.45); }
.pill.fill { background: var(--accent-fill-image, linear-gradient(180deg, #c9ff3f, #b7ff00 60%, #aef000)); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 22px -14px rgba(163,230,0,.9); }
.pill.fill:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 16px 34px -14px rgba(163,230,0,1); }
.pill:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
.ulink { transition: color .2s, text-decoration-color .2s; text-decoration-thickness: 1px; text-decoration-color: rgba(77,124,15,.45); }
.ulink:hover { text-decoration-color: currentColor; }

/* Hero: staged entrance and breathing rings */
.hero h1, .hero .lead, .hero .cta { animation: rise .9s var(--ease) both; }
.hero .lead { animation-delay: .12s; } .hero .cta { animation-delay: .24s; }
.hero .cta .pill { animation: rise .8s var(--ease) both; }
.hero .cta .pill:nth-child(1) { animation-delay: .28s; } .hero .cta .pill:nth-child(2) { animation-delay: .34s; }
.hero .cta .pill:nth-child(3) { animation-delay: .40s; } .hero .cta .pill:nth-child(4) { animation-delay: .46s; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 24%; background: radial-gradient(50% 100% at 50% 100%, rgba(183,255,0,.06), transparent 70%); pointer-events: none; }
.ring { animation: breathe 9s ease-in-out infinite; }
.ring.b, .ring.r2 { animation-duration: 12s; animation-delay: -4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(12deg); } }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Features: icon lift, list rhythm */
.feature { transition: transform .4s var(--ease); }
.feature .icon { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 20px -12px rgba(163,230,0,.9); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:hover .icon { transform: translateY(-3px) rotate(-4deg); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 16px 30px -12px rgba(163,230,0,1); }
.feature h3 { transition: color .2s; }
.feature:hover h3 { color: var(--accent); }
.feature-mark img { filter: drop-shadow(0 30px 40px rgba(13,18,16,.18)); animation: floaty 10s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Cards: layered shadow, hover lift, hairline */
.card, .offer { box-shadow: 0 1px 0 rgba(13,18,16,.04), 0 2px 6px -2px rgba(13,18,16,.08), 0 24px 48px -28px rgba(13,18,16,.32); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover, .offer:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(13,18,16,.04), 0 6px 14px -6px rgba(13,18,16,.12), 0 40px 70px -32px rgba(13,18,16,.42); }
.card-head::before { transition: opacity .5s; }
.card:hover .card-head::before { opacity: 1; }
.card-list li::before { color: var(--accent); }
.card-foot .ulink.ink, .card-head .ulink.ink { transition: color .2s, letter-spacing .2s; }
.card-foot .ulink.ink:hover, .card-head .ulink.ink:hover { color: var(--accent); }

/* Tabs: sliding underline */
.tabs button { transition: color .2s; }
.tabs button::after { transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: center; }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent-fill); }
.offers { animation: rise .6s var(--ease) both; }

/* Section titles: underline accent */
.section-title::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--accent-fill); margin: 18px auto 0; }
.section-title.watermark::before { opacity: .85; }

/* Footer polish */
footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f7f9f8); }
.footer-section li a { transition: color .2s, transform .2s; display: inline-block; }
.footer-section li a:hover { color: var(--ink); transform: translateX(2px); text-decoration: none; }

/* Selection, scrollbars, focus */
::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: #f1f4f2; } ::-webkit-scrollbar-thumb { background: #c2cbc6; border-radius: 6px; border: 3px solid #f1f4f2; } ::-webkit-scrollbar-thumb:hover { background: #a7b1ab; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-lime-ink); outline-offset: 3px; border-radius: 6px; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.9); backdrop-filter: blur(8px); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s; z-index: 30; box-shadow: 0 12px 28px -16px rgba(13,18,16,.4); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--brand-lime); }
.to-top svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lead, .hero .cta, .hero .cta .pill, .offers { animation: none; }
  .ring, .feature-mark img { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .pill::after { display: none; }
}

/* Sticky-nav-aware anchors */
[id] { scroll-margin-top: 100px; }


/* ══════════════════════════════════════════════════════════════════════
 * Pricing cards — the original shape, finished properly
 * ══════════════════════════════════════════════════════════════════════ */
.cards { gap: 34px; margin-top: 40px; align-items: stretch; }
.card { position: relative; border: 1px solid rgba(13,18,16,.06); border-radius: 22px; isolation: isolate; }
.card.round-l { border-radius: 22px 22px 22px 75px; }
.card.round-r { border-radius: 22px 22px 75px 22px; }
/* gradient hairline that brightens on hover */
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(183,255,0,.7), rgba(183,255,0,0) 40%, rgba(13,18,16,.06)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; transition: opacity .4s; pointer-events: none; }
.card:hover::after { opacity: 1; }

/* header: living lime aurora instead of a flat wash */
.card-head { padding: 34px 26px 26px; border-bottom: 0; overflow: hidden; }
.card-head::before { height: 100%; opacity: .75;
  background:
    radial-gradient(60% 90% at 20% 15%, rgba(201,255,63,.75), transparent 60%),
    radial-gradient(50% 80% at 85% 25%, rgba(183,255,0,.55), transparent 65%),
    radial-gradient(45% 70% at 55% 100%, rgba(163,230,0,.35), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0), #fff 92%);
  background-size: 160% 160%, 160% 160%, 160% 160%, 100% 100%;
  animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora { from { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; } to { background-position: 40% 30%, 60% 20%, 30% 70%, 0 0; } }
.card-head h3 { font-size: 26px; letter-spacing: -0.02em; }
.card-head .price { margin-top: 20px; display: flex; align-items: baseline; justify-content: center; gap: 8px; font-family: var(--font-display); }
.card-head .price b { font-size: 46px; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-head .price { font-size: 15px; color: var(--ink-2); font-family: var(--font-body); }
.card-head .fine { margin-top: 8px; }
.card-head .ulink.ink { font-size: 15px; font-weight: 600; text-decoration-color: rgba(13,18,16,.25); }

/* numbered list: lime discs, dividers, cream */
.card-list { padding: 26px 26px; gap: 0; align-content: start; background: linear-gradient(180deg, #f7fbea, #f3f8e4); position: relative; }
.card-list::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(77,124,15,.35), transparent); }
.card-list li { padding: 12px 0 12px 38px; border-bottom: 1px dashed rgba(77,124,15,.18); font-size: 14.5px; line-height: 1.5; }
.card-list li:last-child { border-bottom: 0; }
.card-list li::before { top: 11px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--accent-on-fill); background: var(--accent-fill-image, linear-gradient(180deg, #c9ff3f, #b7ff00 60%, #aef000)); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 14px -8px rgba(163,230,0,.9); transition: transform .3s var(--ease); }
.card-list li:hover::before { transform: scale(1.1) rotate(-6deg); }

/* footer: real buttons */
.card-foot { padding: 26px 26px 34px; gap: 12px; background: #fff; }
.card-foot .pill { width: 100%; min-width: 0; }
.card-foot .ulink.ink.sm { font-size: 14px; text-decoration-color: rgba(13,18,16,.25); }

/* featured (middle) card: raised, ribbon, stronger glow */
.card.is-featured { box-shadow: 0 1px 0 rgba(13,18,16,.04), 0 10px 20px -12px rgba(163,230,0,.55), 0 40px 80px -40px rgba(13,18,16,.45); }
@media (min-width: 1024px) { .card.is-featured { margin-top: -18px; margin-bottom: 18px; } }
.card.is-featured::after { opacity: 1; background: linear-gradient(160deg, rgba(183,255,0,1), rgba(183,255,0,.15) 45%, rgba(183,255,0,.6)); }
.card .badge-top { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--brand-core); color: var(--brand-lime); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(8,10,10,.7), 0 0 0 4px #fff; }
.card.is-featured { overflow: visible; }
.card.is-featured .card-head { padding-top: 40px; }
.card.round-l .card-head, .card.round-r .card-head { border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* add-on card */
.cards.single .card { border-radius: 22px; }
.card-note { background: linear-gradient(180deg, #f7fbea, #f3f8e4); padding: 26px; font-size: 15px; }

@media (max-width: 1023px) { .card.round-l, .card.round-r { border-radius: 22px; } .card-head h3 { font-size: 22px; } .card-head .price b { font-size: 38px; } }
@media (prefers-reduced-motion: reduce) { .card-head::before { animation: none; } }

/* ── Partner network — logo tiles flowing right to left on the site's white ─── */
.partners { background: var(--bg); color: var(--ink); padding: 100px 0 110px; overflow: hidden; }
.partners-text { max-width: 720px; margin: 24px auto 0; text-align: center; color: var(--muted); font-size: 18px; line-height: 1.55; }
.partners-marquee { display: flex; margin-top: 56px; padding: 12px 0 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-track { display: flex; flex: none; gap: 16px; padding-right: 16px; animation: partners 55s linear infinite; will-change: transform; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partner { width: 220px; height: 84px; flex: none; display: grid; place-items: center; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -16px rgba(13, 18, 16, .25); }
.partner img { display: block; width: 180px; height: 110px; object-fit: contain; }
.partners-cta { display: flex; justify-content: center; margin-top: 56px; }
.partners .pill { min-width: 200px; }
@keyframes partners { to { transform: translate3d(-100%, 0, 0); } }
@media (max-width: 1023px) { .partners { padding: 70px 0 80px; } .partners-text { font-size: 16px; } .partners-marquee { margin-top: 40px; } .partner { width: 180px; height: 70px; } .partner img { width: 150px; height: 92px; } .partners-cta { margin-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .partners-track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0 20px; } .partners-track[aria-hidden="true"] { display: none; } }
