@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --blue: #2410ff;
  --blue-ink: #1a0bc4;
  --orange: #e2480f;
  --orange-press: #c73c0a;
  --paper: #d9d9d9;
  --card: #ffffff;
  --mute: #c9c9cf;
  --mute-text: #5b5b6b;
  --dark: #1c1c1f;
  --line: rgba(36, 16, 255, 0.55);
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 12px;
  --gutter: 16px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  color: var(--blue);
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M0 .5H96M.5 0V96' stroke='%23000' stroke-opacity='.13' stroke-dasharray='4 4' fill='none'/%3E%3C/svg%3E");
  background-size: 96px 96px;
}

::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: var(--r-s); }
img { display: block; max-width: 100%; height: auto; }

.display {
  font-weight: 800;
  font-stretch: 62%;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.005em;
  text-wrap: balance;
  margin: 0;
}

/* Header */
.topbar {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand {
  display: inline-flex; align-items: baseline; gap: 8px;
  text-decoration: none; color: #fff;
  font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: 22px; letter-spacing: 0.02em;
  padding: 8px 12px; border-radius: var(--r-m);
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.brand span { font-weight: 500; opacity: 0.8; }
.topbar.is-scrolled .brand { color: var(--blue); background: rgba(255,255,255,0.92); }
.topbar-actions {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 4px;
}
.topbar-actions .text-link {
  font-size: 14px; font-weight: 600; padding: 0 10px; text-decoration: none; color: var(--blue);
  min-height: 40px; display: inline-flex; align-items: center;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.03em; font-size: 16px;
  border: 0; border-radius: var(--r-s); cursor: pointer;
  transition: transform 160ms var(--ease), background-color 150ms ease;
}
.btn:hover { background: var(--orange-press); }
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 20px; }
.btn svg { width: 18px; height: 18px; }

/* Layout */
.page { padding: var(--gutter); display: grid; gap: var(--gutter); }
.panel { border-radius: var(--r-l); }
.panel-blue {
  background-color: var(--blue); color: #fff;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M0 .5H96M.5 0V96' stroke='%23fff' stroke-opacity='.16' stroke-dasharray='4 4' fill='none'/%3E%3C/svg%3E");
  background-size: 96px 96px;
}
.panel-white { background: var(--card); border: 1px solid var(--line); }

/* Hero */
.hero { padding: 104px 24px 56px; text-align: center; }
.hero h1 { font-size: clamp(3.4rem, 11.2vw, 10.5rem); }
.hero-row {
  margin: 40px auto 0; max-width: 1180px;
  display: grid; grid-template-columns: 1fr minmax(240px, 300px) 1fr; align-items: center; gap: 24px;
}
.hero-tag {
  border-top: 1px solid rgba(255,255,255,0.45); border-bottom: 1px solid rgba(255,255,255,0.45);
  padding: 18px 4px; display: flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px;
}
.hero-tag svg { width: 28px; height: 28px; flex: none; }
.hero-card {
  background: #fff; color: var(--blue); border-radius: var(--r-m); padding: 10px; text-align: left;
}
.hero-card img { border-radius: var(--r-s); aspect-ratio: 1; object-fit: cover; width: 100%; outline: 1px solid rgba(0,0,0,0.1); outline-offset: -1px; }
.hero-card p { margin: 10px 4px 4px; font-size: 14px; line-height: 1.4; }
.hero-card strong { display: block; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 17px; letter-spacing: 0.02em; }
.hero-sub { max-width: 34ch; margin: 36px auto 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; text-wrap: pretty; }
.hero-cta { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-cta small { font-size: 14px; opacity: 0.85; }
.hero-cta s { opacity: 0.75; }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof div { padding: 22px 24px; border-right: 1px solid var(--line); }
.proof div:last-child { border-right: 0; }
.proof b { display: block; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(26px, 3vw, 38px); line-height: 1; font-variant-numeric: tabular-nums; }
.proof span { font-size: 14px; color: var(--mute-text); }

/* Steps */
.steps-wrap { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: var(--gutter); align-items: start; }
.steps-aside { position: sticky; top: 84px; padding: 24px; }
.steps-aside h2 { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
.steps-aside p { margin: 16px 0 0; color: var(--mute-text); font-size: 16px; text-wrap: pretty; }
.steps { padding: clamp(24px, 5vw, 72px); list-style: none; margin: 0; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: clamp(16px, 4vw, 56px); padding: 22px 0; }
.step-no {
  width: 40px; height: 36px; border: 1px solid var(--mute); border-radius: var(--r-s);
  display: grid; place-items: center; font-weight: 800; font-stretch: 75%; color: var(--mute);
  font-variant-numeric: tabular-nums; transition: color 300ms var(--ease), border-color 300ms var(--ease);
}
.step h3 { font-size: clamp(2.3rem, 6.2vw, 5.6rem); color: var(--mute); transition: color 300ms var(--ease); }
.step p { margin: 14px 0 0; max-width: 60ch; color: var(--mute-text); opacity: 0.6; transition: opacity 300ms var(--ease); text-wrap: pretty; }
.step.is-active .step-no { color: var(--blue); border-color: var(--blue); }
.step.is-active h3 { color: var(--blue); }
.step.is-active p { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .step-no, .step h3, .step p { transition: none; } }

/* Offer */
.offer-head { padding: 72px 24px 8px; }
.offer-head h2 { font-size: clamp(3rem, 9vw, 8.5rem); }
.offer { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--gutter); }
.offer-list { padding: clamp(24px, 4vw, 48px); }
.offer-list h3, .price h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.offer-list ul { list-style: none; margin: 24px 0 0; padding: 0; }
.offer-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(36,16,255,0.18); }
.offer-list li:last-child { border-bottom: 1px solid rgba(36,16,255,0.18); }
.offer-list li svg { width: 24px; height: 24px; margin-top: 2px; }
.offer-list li b { display: block; font-weight: 700; }
.offer-list li span { color: var(--mute-text); font-size: 15px; }
.price { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.price .term { font-size: 15px; color: rgba(255,255,255,0.85); }
.price-figure { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.price-figure .now { font-weight: 800; font-stretch: 62%; font-size: clamp(5rem, 10vw, 8rem); line-height: 0.85; font-variant-numeric: tabular-nums; }
.price-figure .was { font-weight: 700; font-stretch: 75%; font-size: 30px; text-decoration: line-through; text-decoration-thickness: 2px; opacity: 0.7; }
.price ul { margin: 0; padding: 0; list-style: none; font-size: 15px; display: grid; gap: 6px; }
.price ul li::before { content: "+ "; font-weight: 800; }
.price .btn { width: 100%; }
.price .fine { font-size: 13px; opacity: 0.85; margin: 0; }

/* Guarantee */
.guarantee { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 5vw, 64px); }
.guarantee h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.guarantee p { margin: 0 0 14px; text-wrap: pretty; }
.guarantee ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.guarantee .fine { font-size: 14px; color: var(--mute-text); margin-top: 16px; }

/* FAQ */
.faq-head { padding: 72px 24px 24px; }
.faq-head h2 { font-size: clamp(3rem, 8vw, 7.5rem); }
.faq { max-width: 1040px; width: 100%; margin: 0 auto; display: grid; gap: 6px; padding-bottom: 40px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); position: relative; }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 64px; align-items: center;
  min-height: 72px; font-size: clamp(18px, 2.2vw, 24px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { padding: 18px 20px 18px 64px; }
.faq summary .n {
  position: absolute; left: -1px; top: -1px; width: 40px; height: 30px; border: 1px solid var(--line);
  border-radius: var(--r-m) 0 var(--r-m) 0; display: grid; place-items: center; font-size: 12px; font-variant-numeric: tabular-nums;
}
.faq summary .arrow { height: 100%; border-left: 1px solid var(--line); display: grid; place-items: center; }
.faq summary .arrow svg { width: 24px; height: 24px; transition: transform 200ms var(--ease); }
.faq details[open] .arrow svg { transform: rotate(180deg); }
.faq .a { padding: 0 84px 22px 64px; color: var(--mute-text); max-width: 75ch; }

/* Footer */
.footer { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 6px; }
.footer > div { background: var(--dark); color: #fff; border-radius: var(--r-m); padding: 32px; }
.footer .brand { color: #fff; padding: 0; font-size: 34px; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer h4 { margin: 0 0 10px; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 14px; letter-spacing: 0.04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .copy { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding: 16px 32px; }

/* Legal + simple pages */
.doc { max-width: 760px; margin: 96px auto 0; padding: clamp(24px, 5vw, 56px); }
.doc h1 { font-size: clamp(2.8rem, 8vw, 5rem); margin-bottom: 24px; }
.doc h2 { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 22px; margin: 32px 0 8px; letter-spacing: 0.02em; }
.doc p, .doc li { color: #2a2a3a; }
.doc .lead { font-size: 20px; color: var(--blue); }

/* Responsive */
@media (max-width: 960px) {
  .hero-row { grid-template-columns: 1fr; max-width: 360px; }
  .hero-row .hero-tag:first-child { order: 2; }
  .hero-row .hero-card { order: 1; }
  .hero-row .hero-tag:last-child { order: 3; margin-top: -25px; border-top: 0; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof div:nth-child(2) { border-right: 0; }
  .proof div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps-wrap { grid-template-columns: 1fr; }
  .steps-aside { position: static; }
  .offer, .guarantee, .footer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 88px 16px 40px; }
  .topbar-actions .text-link { display: none; }
  .brand span { display: none; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .faq summary .q { padding: 30px 16px 16px 16px; }
  .faq .a { padding: 0 16px 20px 16px; }
  .faq summary { grid-template-columns: 1fr 52px; }
  .footer .copy { flex-direction: column; gap: 8px; }
}
