:root {
  --ink: #071014;
  --ink-soft: #23333a;
  --muted: #566970;
  --blue: #119bd2;
  --blue-dark: #0b79aa;
  --blue-soft: #e9f8fc;
  --gold: #f4c542;
  --cream: #f7f4ef;
  --paper: #fffaf1;
  --white: #ffffff;
  --line: rgba(7, 16, 20, 0.12);
  --shadow: 0 24px 60px rgba(7, 16, 20, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body, button, input, select, textarea { font: inherit; }
a { color: inherit; }
img, video { max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, #071014 0%, #0d1c1d 52%, #123036 100%);
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 14px 38px rgba(7,16,20,.16);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  line-height: .86;
  min-width: 170px;
}

.brand-the {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .24em;
  padding-left: 2px;
}

.brand-main {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 27px;
  letter-spacing: .035em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 18px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(7,16,20,.18);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover, .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(7,16,20,.24);
}

.button-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(244,197,66,.3);
}

.button-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-small {
  min-height: 48px;
  padding: 14px 22px;
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(17,155,210,.12);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(17,155,210,.18), transparent 32%),
    radial-gradient(circle at 8% 92%, rgba(244,197,66,.16), transparent 28%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 48px;
  align-items: center;
}

.hero h1, .section h2, .form-hero h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.018em;
}

.hero h1 {
  font-size: clamp(46px, 7.3vw, 96px);
  line-height: .91;
  max-width: 900px;
}

.hero h1 span { color: var(--blue); }

.lead {
  margin: 24px 0 0;
  max-width: 720px;
  color: #465a64;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
  font-weight: 650;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.micro {
  display: block;
  margin-top: 22px;
  color: #65747b;
  font-size: 14px;
  font-weight: 750;
}

.video-shell {
  position: relative;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--ink);
  border: 1px solid rgba(7,16,20,.08);
  box-shadow: 0 30px 70px rgba(7,16,20,.25);
  overflow: hidden;
}

.video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  background: #050a0d;
}

.unmute-button {
  position: absolute;
  z-index: 4;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.unmute-button:hover { background: rgba(0,0,0,.9); }
.unmute-button.is-hidden { display: none; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.proof-chip {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 850;
}

.section { padding: 72px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-blue { background: var(--blue-soft); }
.section-paper { background: var(--paper); }

.section h2 {
  font-size: clamp(36px, 5vw, 70px);
  line-height: .95;
}

.section-copy {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 620;
}

.section-dark .section-copy { color: rgba(255,255,255,.72); }

.grid-2, .grid-3 {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(7,16,20,.06);
}

.section-dark .card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.13);
  box-shadow: none;
}

.card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.12;
}

.card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.section-dark .card p { color: rgba(255,255,255,.7); }

.number, .icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 680;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.section-dark .check-list li { color: rgba(255,255,255,.86); }

.comparison .card:first-child { border-top: 6px solid #87949a; }
.comparison .card:last-child { border-top: 6px solid var(--blue); }

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 34px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.price-word {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(60px, 9vw, 108px);
  line-height: .8;
  color: var(--blue);
}

.testimonial-video {
  margin-top: 18px;
  padding: 8px;
  border-radius: 16px;
  background: var(--ink);
}

.testimonial-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
  background: #050a0d;
}

.quote { font-size: 19px !important; font-style: italic; color: var(--ink-soft) !important; }

.center-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
}

.footer {
  padding: 34px 0;
  background: #04090b;
  color: rgba(255,255,255,.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.footer a { color: #fff; }

/* Application page */
.form-hero {
  padding: 68px 0 46px;
  background:
    radial-gradient(circle at 85% 12%, rgba(17,155,210,.18), transparent 34%),
    var(--cream);
}

.form-hero h1 {
  margin-top: 18px;
  max-width: 900px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .92;
}

.application-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 28px;
  align-items: start;
}

.form-panel, .side-panel, .calendar-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7,16,20,.08);
}

.form-panel h2, .calendar-panel h2, .side-panel h3 { margin: 0; }
.form-panel > p, .calendar-panel > p, .side-panel p { color: var(--muted); line-height: 1.55; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }

.field label {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 850;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(7,16,20,.2);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(17,155,210,.12);
}

.field textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  font-weight: 800;
}

.form-status.success { color: #14764f; }
.form-status.error { color: #b42318; }

.fallback-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.calendar-panel { margin-top: 28px; }

.calendar-embed-shell {
  position: relative;
  min-height: 760px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.calendar-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.calendar-loading strong { color: var(--ink); }
.calendar-loading a { color: var(--blue); font-weight: 800; }

.calendar-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 760px;
  margin: 0;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 160ms ease;
}

.calendar-embed-shell.is-loaded .calendar-frame { opacity: 1; }
.calendar-embed-shell.is-loaded .calendar-loading { opacity: 0; visibility: hidden; pointer-events: none; }

.side-panel { position: sticky; top: 104px; }

.side-panel ul {
  display: grid;
  gap: 13px;
  margin: 20px 0 26px;
  padding-left: 21px;
  color: var(--ink-soft);
  line-height: 1.45;
}

@media (max-width: 920px) {
  .hero-grid, .application-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .grid-3 { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .price-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-inner { min-height: 68px; }
  .nav .button { min-height: 42px; padding: 11px 15px; font-size: 12px; }
  .brand-main { font-size: 22px; }
  .brand-the { font-size: 9px; }
  .hero { padding: 48px 0 46px; }
  .hero h1 { font-size: clamp(44px, 13vw, 66px); }
  .lead { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .proof-strip, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .section-copy { font-size: 18px; }
  .card, .form-panel, .side-panel, .calendar-panel { padding: 22px; }
  .form-hero { padding: 44px 0 36px; }
  .form-hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .field-wide { grid-column: auto; }
  .calendar-embed-shell, .calendar-frame { min-height: 720px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
