/* Swiss Design, same palette as the app (app/App.js `C`): midnight black, lime for actions, lavender for Pro.
   Lavender fails contrast as text on black, so it's only used for fills and rules. */
:root {
  --bg: #0c0d0e;
  --surface: #16181a;
  --text: #f2f3ee;
  --muted: #a1a5ad;
  --line: #2e3136;
  --accent: #a8e863;
  --accent-ink: #0c0d0e;
  --accent-soft: #1f2a14;
  --pro: #7345ba;
  --gap: #e8a33d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 16px; text-wrap: balance; font-weight: 900; }
h1 { font-size: clamp(2.9rem, 7.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 8px; font-weight: 800; }
p { margin: 0 0 12px; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; flex: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding-block: 96px; border-top: 2px solid var(--text); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.kicker { display: block; color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.muted { color: var(--muted); }

/* Buttons: square, lime for the main action, outlined for the second, lavender for Pro */
.button {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none;
  border: 1.5px solid var(--accent); transition: background 0.15s ease, color 0.15s ease;
}
.button:hover { background: var(--text); border-color: var(--text); }
.button.ghost { background: transparent; color: var(--text); border-color: var(--text); }
.button.ghost:hover { background: var(--text); color: var(--bg); }
.button.pro { background: var(--pro); border-color: var(--pro); color: #fff; }
.button.pro:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.button.small { padding: 8px 16px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; letter-spacing: -0.03em; color: var(--text); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav-links .button { color: var(--accent-ink); }
.nav-links .button:hover { color: var(--bg); }

/* Hero */
.hero { overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding-block: 80px 104px; }
.hl { color: var(--accent); }
.lead { font-size: clamp(1.1rem, 2vw, 1.28rem); color: var(--muted); max-width: 36ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.trust { display: flex; gap: 8px 22px; flex-wrap: wrap; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg.i { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.5; }

/* Phone mockup: the app's own look */
.mock { position: relative; justify-self: center; }
.phone { width: min(290px, 74vw); aspect-ratio: 9 / 19; padding: 11px; background: #000; border-radius: 46px; box-shadow: 0 0 0 1px var(--line); }
.screen {
  position: relative; height: 100%; border-radius: 36px; background: var(--bg); color: var(--text); padding: 46px 16px 16px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden; font-size: 12px;
}
.screen::before { content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 999px; background: #000; }
.job { display: grid; padding-bottom: 10px; border-bottom: 2px solid var(--text); }
.job b { font-size: 17px; font-weight: 900; letter-spacing: -0.03em; }
.job span { color: var(--muted); }
.doc { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.doc-name { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.doc-h { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; border-top: 1px solid var(--line); padding: 8px 0 2px; }
.fit { font-size: 12px; font-weight: 600; padding: 2px 0; color: var(--muted); }
.fit i { font-style: normal; }
.fit.yes i { color: var(--accent); }
.fit.gap i { color: var(--gap); }
.phone-btn { background: var(--accent); color: var(--accent-ink); padding: 11px; text-align: center; font-weight: 800; }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float .badge { display: grid; place-items: center; width: 32px; height: 32px; background: var(--accent); color: var(--accent-ink); }
.float .badge svg.i { width: 18px; height: 18px; }
.f1 { top: 62%; left: -34%; }
.f2 { bottom: 13%; right: -26%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Lists of steps and points: rules instead of boxes, big numbers */
.steps, .cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 32px; }
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.cards { grid-template-columns: repeat(3, 1fr); }
.card { border-top: 1px solid var(--line); padding-top: 22px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.steps .card::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 2.6rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.icon { display: block; color: var(--accent); margin-bottom: 18px; }
.icon svg.i { width: 30px; height: 30px; }

/* Before / after */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: start; }
.compare ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }
.compare li { margin-bottom: 10px; }
.compare .after { border-top: 3px solid var(--accent); }
.compare .after li { color: var(--text); }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.after .tag { color: var(--accent); }
mark { background: var(--accent-soft); color: var(--accent); padding: 0 3px; font-weight: 700; }
.arrow { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 18px; border: 1.5px solid var(--text); color: var(--text); }
.caption { color: var(--muted); margin-top: 28px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 32px; }
.plan { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--text); }
.plan.pro { border-top: 6px solid var(--pro); }
.price { font-size: 3rem; font-weight: 900; letter-spacing: -0.045em; line-height: 1.05; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 24px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg.i { color: var(--accent); margin-top: 2px; width: 20px; height: 20px; stroke-width: 2.5; }
.plan .button { margin-top: auto; align-self: flex-start; }
.fine { color: var(--muted); font-size: 14px; margin-top: 22px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.08rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--accent); transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 20px; max-width: 62ch; }

/* Closing call to action: one lime block */
.cta-band { padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px); background: var(--accent); color: var(--accent-ink); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { font-size: 1.15rem; margin-bottom: 28px; max-width: 46ch; }
.cta-band .button { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); }
.cta-band .button:hover { background: transparent; color: var(--accent-ink); }
.section:has(.cta-band) { border-top: 0; }

/* Footer */
footer { border-top: 2px solid var(--text); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px; color: var(--muted); font-size: 15px; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal page */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 88px; }
.legal h2 { font-size: 1.5rem; margin-top: 44px; padding-top: 16px; border-top: 2px solid var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.summary { border-left: 4px solid var(--accent); background: var(--surface); padding: 20px 24px; margin: 28px 0; }
.summary ul { margin: 0; }
.table-scroll { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
@media (max-width: 640px) { .legal table { min-width: 0; font-size: 13px; } }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 800; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-block: 40px 80px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards, .compare, .faq-grid, .plans { grid-template-columns: 1fr; }
  .faq-grid { gap: 8px; }
  .arrow { justify-self: center; rotate: 90deg; margin-top: 0; }
  .f1 { left: -14px; }
  .f2 { right: -14px; }
}
@media (max-width: 600px) {
  .section { padding-block: 64px; }
  .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.button) { display: none; }
  .float { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
