:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #16202e;
  --muted: #5d6675;
  --line: #e7e1d7;
  --accent: #ff5a36;
  --accent-ink: #ffffff;
  --accent-soft: #fff0eb;
  --sky: #2f6fde;
  --radius: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.55 var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -10%, #ffe2d6 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 0%, #dde9ff 0%, transparent 55%),
    var(--bg);
  background-repeat: no-repeat;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Nav */
.nav {
  position: sticky; top: 12px; z-index: 10;
  max-width: 1080px; margin: 12px auto 0; padding: 10px 12px 10px 22px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(22, 32, 46, .92); color: #fff; border-radius: 999px;
  backdrop-filter: blur(8px);
  width: calc(100% - 32px);
}
.brand { font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.02em; }
.brand span { color: var(--accent); }
.nav-right { display: flex; gap: 8px; align-items: center; }
.lang {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 6px 12px; font: 600 .85rem var(--font); cursor: pointer;
}
.lang:hover { border-color: #fff; }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  font: 700 1.05rem var(--font); padding: 15px 30px; border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(255, 90, 54, .65);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(255, 90, 54, .75); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-small { padding: 8px 18px; font-size: .9rem; box-shadow: none; }
.btn-wide { width: 100%; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Hero */
main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 72px 0 40px; max-width: 760px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: .85rem; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #22c55e22; }
h1 { font-size: clamp(2.3rem, 6.5vw, 4.2rem); font-weight: 800; margin-top: .45em; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); }
.hero .lead { max-width: 600px; margin: 0 auto 1.6em; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* Deal cards */
.section-head { max-width: 680px; }
.section-head p { color: var(--muted); font-size: .95rem; }
.deals { padding: 32px 0; }
.cards {
  list-style: none; margin: 0 -16px; padding: 8px 16px 20px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
}
.card {
  scroll-snap-align: start; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(22, 32, 46, .35);
}
.card-top {
  height: 118px; position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 12px 14px;
  background:
    radial-gradient(120px 80px at 80% 20%, hsl(calc(var(--h) + 30) 90% 75% / .9), transparent 70%),
    linear-gradient(135deg, hsl(var(--h) 75% 55%), hsl(calc(var(--h) + 40) 70% 38%));
}
.code { font-weight: 800; font-size: 2.6rem; color: rgba(255,255,255,.92); letter-spacing: .02em; line-height: 1; }
.badge {
  position: absolute; top: 12px; right: 12px;
  background: #16202e; color: #b7f36b; font-weight: 800; font-size: .85rem;
  border-radius: 999px; padding: 4px 10px;
}
.card-body { padding: 14px 16px 16px; }
.route { font-weight: 700; margin: 0 0 4px; }
.price { margin: 0 0 4px; }
.price strong { font-size: 1.6rem; letter-spacing: -0.02em; }
.price s { color: var(--muted); margin-left: 4px; }
.usual { color: var(--muted); font-size: .8rem; }
.meta { color: var(--muted); font-size: .85rem; margin: 0; }

/* How / promise */
.how, .promise, .faq { padding: 40px 0; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li {
  counter-increment: s; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.steps li::before {
  content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 12px;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks li { padding-left: 32px; position: relative; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: #16202e; color: #b7f36b; font-size: .8rem; font-weight: 800; display: grid; place-items: center;
}

/* Form */
.join {
  margin: 40px auto; max-width: 720px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; padding: clamp(22px, 5vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(22, 32, 46, .45);
  scroll-margin-top: 90px;
}
.field { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.field > label, legend { display: block; font-weight: 700; margin-bottom: 10px; padding: 0; }
.hint { color: var(--muted); font-size: .9rem; margin: -6px 0 10px; }
.group-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 12px 0 8px; font-weight: 700; }
input[type="email"], input[type="text"] {
  width: 100%; font: inherit; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
}
input[type="email"]:focus, input[type="text"]:focus { border-color: var(--sky); outline: none; background: #fff; }
.other { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--bg); font-size: .95rem; user-select: none; transition: background .1s, border-color .1s;
}
.chip:hover span { border-color: #c9c0b2; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.prices .chip span { padding: 10px 18px; font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 18px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { background: #fff1f0; color: #b42318; border-radius: 12px; padding: 10px 14px; font-size: .95rem; }
.thanks { text-align: center; padding: 20px 0; }
.thanks h3 { font-size: 1.8rem; }
.thanks p { color: var(--muted); }
.thanks:focus { outline: none; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.footer { max-width: 720px; margin: 40px auto 0; padding: 32px 16px 48px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.footer h2 { font-size: 1rem; color: var(--ink); }
.copy { margin-top: 18px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .nav { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
