/* ===== Tokens ===== */
:root {
  --bg: #FAFAF7;
  --fg: #111111;
  --muted: #6B6B6B;
  --line: #E4E4DF;
  --surface: #F2F2EE;
  --accent: #E64700;      /* CTAs + key numbers only; AA on --bg */
  --accent-fg: #FFFFFF;

  --font: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 3.2vw, 4rem);

  --gutter: 16px;
  --section: clamp(72px, 8vw + 32px, 128px);
  --maxw: 1080px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); max-width: 22ch; }
h3 { font-size: var(--fs-lg); font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; }

.accent { color: var(--accent); }
.muted { color: var(--muted); }
.label {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: 1.25rem;
}
.label--center { text-align: center; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  background: var(--accent); color: var(--accent-fg);
  font: 500 var(--fs-base)/1 var(--font);
  padding: 1rem 1.4rem; border: 1px solid var(--accent);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--fg); border-color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.6rem 0.9rem; font-size: var(--fs-sm); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--block { width: 100%; }
.link { font-size: var(--fs-sm); color: var(--muted); text-underline-offset: 4px; }
.link:hover { color: var(--fg); }

/* ===== Progress ===== */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ===== Topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.cursor { animation: blink 1.1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* ===== Hero ===== */
.hero { padding: clamp(64px, 10vw, 140px) 0 clamp(48px, 6vw, 88px); }
.hero__title { font-size: var(--fs-h1); max-width: 18ch; }
.hero__sub { font-size: var(--fs-lg); color: var(--muted); max-width: 58ch; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem; margin-bottom: 3rem; }
.proof { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-size: var(--fs-sm); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.proof strong { color: var(--fg); font-weight: 700; }

/* ===== Logos ===== */
.logos { border-block: 1px solid var(--line); padding: 2.5rem 0; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem; color: var(--muted); font-weight: 500; }

/* ===== Sections ===== */
.section { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.section--tight { padding: calc(var(--section) * 0.6) 0; }

.pains { display: grid; gap: 0.75rem; margin-top: 2rem; max-width: 64ch; }
.pains li { display: flex; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); background: var(--surface); }
.x { color: var(--accent); flex-shrink: 0; }

.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--bg); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.stat__num { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat__txt { font-size: var(--fs-sm); color: var(--muted); }
.bridge { margin: 2rem 0 0; font-size: var(--fs-sm); color: var(--muted); }

.grid3, .grid2 { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .grid3 { grid-template-columns: repeat(3, 1fr); } .grid2 { grid-template-columns: repeat(2, 1fr); } }

.card { border: 1px solid var(--line); padding: 1.75rem 1.5rem; margin: 0; }
.card__k { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: var(--fs-sm); }

.steps { margin: 2.5rem 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.steps__n { color: var(--accent); font-weight: 700; }
.steps h3 { margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }


.fit > div { border: 1px solid var(--line); padding: 1.75rem 1.5rem; }
.fit ul { display: grid; gap: 0.6rem; margin-top: 1rem; }
.fit li { font-size: var(--fs-sm); padding-left: 1.25rem; position: relative; }
.fit li::before { content: "→"; position: absolute; left: 0; color: var(--muted); }
.fit__no { background: var(--surface); }
.fit__no h3, .fit__no li { color: var(--muted); }

.offer { display: grid; gap: 0; border: 1px solid var(--fg); margin-top: 2.5rem; }
@media (min-width: 860px) { .offer { grid-template-columns: 1.6fr 1fr; } }
.offer__list { padding: 1.5rem; }
.offer__list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.offer__list li:last-child { border-bottom: 0; }
.offer__list li span::before { content: "+ "; color: var(--accent); }
.offer__price { padding: 2rem 1.5rem; border-top: 1px solid var(--fg); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media (min-width: 860px) { .offer__price { border-top: 0; border-left: 1px solid var(--fg); } }
.offer__from { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.03em; }

.guarantee { border: 1px dashed var(--fg); padding: clamp(1.5rem, 4vw, 3rem); }
.guarantee__txt { font-size: var(--fs-lg); margin: 0 0 1rem; max-width: 60ch; }
.guarantee__fine { font-size: var(--fs-sm); color: var(--muted); margin: 0; max-width: 60ch; }

.faq { margin-top: 2rem; border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.25rem 2rem 1.25rem 0; list-style: none; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 1.25rem; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: var(--fs-sm); padding-bottom: 1.25rem; margin: 0; max-width: 64ch; }

.final { border-bottom: 0; }
.urgency { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); border: 1px solid var(--line); padding: 0.5rem 0.8rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.booking { margin-top: 2rem; border: 1px solid var(--line); min-height: 640px; background: #fff; }
.booking iframe { display: block; width: 100%; height: 700px; border: 0; }
.booking__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 640px; color: var(--muted); text-align: center; padding: 1rem; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 2rem 0 6rem; font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 768px) { .footer { padding-bottom: 2rem; } }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer a { text-underline-offset: 3px; }

/* ===== Sticky mobile CTA ===== */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 55; padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: none; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* ===== Exit-intent nudge ===== */
.nudge {
  position: fixed; right: 24px; bottom: 24px; z-index: 70; width: min(360px, calc(100vw - 32px));
  background: var(--bg); border: 1px solid var(--fg); padding: 1.5rem;
  animation: rise .3s ease;
}
.nudge[hidden] { display: none; }
.nudge .label { margin-bottom: .5rem; }
.nudge__title { font-weight: 500; }
.nudge__close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font: 400 1.4rem/1 var(--font); cursor: pointer; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
