:root {
  --navy: #1e1a4d;
  --navy-2: #2a2566;
  --orange: #ff5a36;
  --orange-ink: #e2431f;
  --peach: #ffc4b4;
  --cream: #fff5ec;
  --ink: #1e1a4d;
  --body: #46436a;
  --muted: #77749a;
  --line: #ece4dc;
  --white: #ffffff;
  --radius: 18px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.12; font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); font-size: 0.85rem; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: 14px;
}
.eyebrow-light { color: var(--peach); }
.lede { font-size: 1.15rem; color: var(--body); max-width: 34rem; }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; font-weight: 650; font-size: 0.95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px -10px rgb(255 90 54 / 0.8); }
.btn-primary:hover { background: var(--orange-ink); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-quiet { color: var(--ink); }
.btn-lg { padding: 14px 24px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* --- nav --- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgb(255 245 236 / 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(30 26 77 / 0.06);
}
.nav-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { width: 132px; height: auto; }
.links { display: flex; gap: 26px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--body); font-weight: 550; font-size: 0.95rem; }
.links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }

/* --- hero --- */
.hero { background: var(--cream); padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.works-with { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.works-with li {
  font-size: 0.8rem; font-weight: 650; color: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}

.demo { position: relative; padding: 10px 0 0; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: 0 24px 50px -28px rgb(30 26 77 / 0.45), 0 0 0 1px rgb(30 26 77 / 0.05);
}
.card-title { color: var(--ink); font-weight: 700; margin: 6px 0 2px; }
.card-top { display: flex; align-items: center; gap: 10px; }
.ticket { width: 88%; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags span { font-size: 0.75rem; font-weight: 600; color: var(--navy-2); background: #f1effa; border-radius: 8px; padding: 3px 9px; }
.pill { font-size: 0.72rem; font-weight: 750; border-radius: 999px; padding: 2px 9px; }
.pill-hot { background: #ffe4dc; color: var(--orange-ink); }
.flight { display: block; width: 70%; height: 110px; margin: -6px 0 -6px 14%; overflow: visible; }
.flight path {
  fill: none; stroke: var(--orange); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0 9;
  vector-effect: non-scaling-stroke; animation: fly 1.6s linear infinite;
}
@keyframes fly { to { stroke-dashoffset: -18; } }
.tech { display: flex; align-items: center; gap: 14px; margin-left: 12%; }
.avatar {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 750; font-size: 0.9rem;
}
.check {
  margin-left: auto; width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #e5f7ec; color: #17803d; font-weight: 800;
}
.why { margin: 14px 0 0 12%; font-size: 0.85rem; color: var(--muted); max-width: 26rem; }

/* --- sections --- */
.section { padding: 96px 0; }
.section-tint { background: #faf7f3; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps h3 { margin: 16px 0 8px; }
.step-n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: var(--orange); color: var(--white); font-weight: 800;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.features article { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.features h3 { margin: 14px 0 8px; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem;
  background: #ffe9e2; color: var(--orange-ink);
}

.trust { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; background: #ffe4dc; color: var(--orange-ink);
}
.checks strong { color: var(--ink); }

/* --- sign up --- */
.signup { background: var(--navy); color: #d9d6f2; position: relative; overflow: hidden; }
.signup h2 { color: var(--white); }
.signup-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.signup-copy > p { font-size: 1.08rem; margin-bottom: 26px; }
.checks-light li::before { background: rgb(255 90 54 / 0.2); color: var(--peach); }
.checks-light li { color: #e7e4fa; }

.form { background: var(--white); border-radius: 22px; padding: 30px; color: var(--body); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.6); }
.form-body { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 650; color: var(--ink); }
.optional { font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 0.95rem; font-weight: 450; color: var(--ink);
  border: 1px solid #ddd6ce; border-radius: 11px; padding: 11px 12px; background: var(--white); width: 100%;
}
.form textarea { resize: vertical; min-height: 84px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgb(255 90 54 / 0.18);
}
.form input[aria-invalid="true"] { border-color: #d92d20; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b42318; background: #fef3f2; border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; }
.fine { font-size: 0.78rem; color: var(--muted); text-align: center; }
.form-done { text-align: center; padding: 34px 10px; }
.form-done h3 { font-size: 1.4rem; margin: 18px 0 8px; }
.done-mark {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.8rem; font-weight: 800; color: var(--white); background: var(--orange);
}

/* --- footer --- */
.footer { background: #17143d; color: #a9a5cf; padding: 28px 0; font-size: 0.88rem; }
.footer-row { display: flex; align-items: center; gap: 22px; }
.footer-row p { margin-right: auto; }
.footer a { color: var(--white); text-decoration: none; font-weight: 600; }

.footer-links { display: flex; gap: 18px; }
.fine a { color: inherit; }

/* --- policy pages --- */
.doc { padding: 56px 0 88px; }
.doc-wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.doc h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 1rem; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; margin: 0; }
.doc a { color: var(--orange-ink); }
.doc blockquote {
  margin: 14px 0; padding: 14px 18px; border-radius: 14px; background: #f4f2fb;
  border-left: 3px solid var(--orange); color: var(--ink); font-size: 0.95rem;
}

.optin { margin: 22px 0; }
.optin-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 24px 50px -30px rgb(30 26 77 / 0.4);
}
.optin-title { color: var(--ink); font-weight: 700; }
.optin-sub { color: var(--muted); font-size: 0.85rem; margin: 2px 0 16px; }
.optin-field { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 650; color: var(--ink); max-width: 260px; }
.optin-input { border: 1px solid #ddd6ce; border-radius: 10px; padding: 9px 12px; font-weight: 450; color: var(--muted); }
.optin-box {
  display: flex; gap: 12px; margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 0.85rem; line-height: 1.55; color: var(--body);
}
.optin-check { flex: none; width: 16px; height: 16px; margin-top: 2px; border: 1.5px solid #9b97b8; border-radius: 4px; background: var(--white); }
.optin-button {
  margin-top: 16px; display: inline-block; padding: 9px 16px; border-radius: 10px; font-weight: 650; font-size: 0.9rem;
  background: #c9c6dc; color: var(--white);
}
.optin figcaption { margin-top: 10px; font-size: 0.82rem; color: var(--muted); }

/* --- narrow screens --- */
@media (max-width: 900px) {
  .hero-grid, .trust, .signup-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps, .features { grid-template-columns: 1fr; }
  .links { display: none; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .row { grid-template-columns: 1fr; }
  .nav-actions .btn-quiet { display: none; }
  .brand img { width: 112px; }
  .form { padding: 22px; }
  .footer-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flight path { animation: none; }
  .btn:hover { transform: none; }
}
