/* TEZYUK — landing styles
   Aesthetic: light page (#fafafa) + dark hero band (#0b0d12) + indigo accent (#6366f1)
   Type: Inter (body) + JetBrains Mono (numerals, code-like elements)
   Mobile-first; breakpoints 768px and 1280px.
*/

:root {
  /* Color */
  --bg:        #fafafa;
  --bg-card:  #ffffff;
  --bg-dark:  #0b0d12;
  --bg-dark-2:#11141b;
  --ink:      #0b0d12;
  --ink-2:    #2a2f3a;
  --muted:    #6b7280;
  --muted-2:  #9ca3af;
  --line:     #e6e8ec;
  --line-2:   #eef0f3;
  --line-dark:#1c2030;
  --accent:   #6366f1;
  --accent-2: #818cf8;
  --accent-ink:#e0e3ff;
  --warn:     #f59e0b;

  /* Type */
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Layout */
  --container: 1180px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 14px;

  /* Motion */
  --ease: cubic-bezier(.2, .6, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─────────── Header ─────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 13, 18, .72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
          backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, .06);
}
/* While we're over the dark hero, header text is white-ish always */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  color: #f7f7f8;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  color: #f7f7f8;
}
.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, var(--accent-2), var(--accent));
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid rgba(255,255,255,.85);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 2px;
  transform: rotate(45deg);
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 3px;
  margin-right: 4px;
}
.lang__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(247,247,248,.7);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .08em;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.lang__btn[aria-pressed="true"] {
  background: #f7f7f8;
  color: #0b0d12;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .005em;
  border: 1px solid transparent;
  transition: transform .15s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--ghost-on-dark {
  background: transparent;
  color: #f7f7f8;
  border-color: rgba(255,255,255,.14);
}
.btn--ghost-on-dark:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.btn--primary {
  background: #f7f7f8;
  color: #0b0d12;
  border-color: #f7f7f8;
}
.btn--primary:hover { background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.4); }

.btn--cta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  height: 50px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 11px;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 20px -8px rgba(99,102,241,.6);
}
.btn--cta:hover { background: #5558e6; border-color: #5558e6; }
.btn--cta-light {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--cta-light:hover { background: #1c2030; border-color: #1c2030; }

.btn[disabled] { opacity: .6; cursor: progress; }

/* ─────────── Hero ─────────── */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #f3f4f6;
  margin-top: -64px; /* so sticky header sits over hero */
  padding-top: calc(64px + 56px);
  padding-bottom: 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* faint map grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 40%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 40%, transparent 90%);
  z-index: -1;
}
.hero::after {
  /* subtle indigo glow */
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(99,102,241,.18), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 72px; }
  .hero { padding-bottom: 120px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c7cad3;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0    rgba(52,211,153,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(52,211,153,0);   }
  100% { box-shadow: 0 0 0 0    rgba(52,211,153,0);   }
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 26px;
  color: #fafafa;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent-2); }
.hero__sub {
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.55;
  color: #c7cad3;
  max-width: 600px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero__cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}
.hero__counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #c7cad3;
}
.hero__counter .live-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: #34d399;
  position: relative;
}
.hero__counter .live-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 999px;
  background: rgba(52,211,153,.25);
  animation: pulse2 2s var(--ease) infinite;
}
@keyframes pulse2 {
  0%   { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero__counter strong {
  font-family: var(--mono);
  font-weight: 500;
  color: #fafafa;
  letter-spacing: .02em;
}

/* Hero visual: route-line + map */
.hero__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  width: 100%;
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.005)),
    var(--bg-dark-2);
  border-radius: 14px;
  overflow: hidden;
}
.hero__visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 50%, transparent 95%);
}
.hero__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-card {
  position: absolute;
  background: rgba(11,13,18,.85);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: #e5e7eb;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  display: flex; align-items: center; gap: 8px;
}
.route-card .px {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(129,140,248,.18);
}
.route-card.r1 { left: 24%; top: 3%; max-width: 56%; }
.route-card.r2 { right: 18%; top: 48%; max-width: 50%; }
.route-card.r3 { left: 26%;  bottom: 8%; max-width: 56%; }
.route-card .rate { color: #9ca3af; }

/* ─────────── Section scaffolding ─────────── */
section { scroll-margin-top: 80px; }
.section { padding: 88px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.section__head { max-width: 720px; margin: 0 0 48px; }
.section__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.section__title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.07;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section__sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

/* ─────────── Stats ─────────── */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 44px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__grid .stat:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) {
  .stats__grid .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stats__grid .stat:nth-child(4n) { border-right: 0; }
  .stats__grid .stat:nth-child(n+3) { border-bottom: 0; }
}
.stats__grid .stat:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 767px) {
  .stats__grid .stat:nth-child(2n) { border-right: 0; }
}

.stat__num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 56px);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.stat__num .unit { color: var(--muted-2); margin-left: 2px; font-weight: 400; }
.stat__label {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
}

/* ─────────── How it works ─────────── */
.how__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .how__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.step:hover {
  border-color: #d6d8de;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 18px 40px -28px rgba(11,13,18,.18);
}
.step__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.step__icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: #f3f4f7;
  border: 1px solid var(--line);
  display: inline-grid; place-items: center;
  color: var(--ink);
}
.step h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.step p { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.55; }

/* ─────────── Who we're for ─────────── */
.who { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) { .who__grid { grid-template-columns: repeat(3, 1fr); } }
.who__card {
  padding: 44px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 767px) {
  .who__card { border-right: 0; }
  .who__card:last-child { border-bottom: 0; }
}
@media (min-width: 768px) {
  .who__card:last-child { border-right: 0; }
  .who__grid .who__card { border-bottom: 0; }
}
.who__icon {
  width: 28px; height: 28px;
  color: var(--accent);
  margin-bottom: 18px;
}
.who__card h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.who__card p { color: var(--muted); margin: 0 0 22px; font-size: 16px; line-height: 1.55; }
.who__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.who__list li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.who__list li::before {
  content: "";
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--accent);
}

/* ─────────── FAQ ─────────── */
.faq__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) { .faq__wrap { grid-template-columns: 360px 1fr; gap: 80px; } }

.faq__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  appearance: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 26px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.faq__btn .chev {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: transform .25s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
  color: var(--muted);
}
.faq__item.is-open .faq__btn .chev {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.faq__answer {
  overflow: hidden;
  height: 0;
  transition: height .3s var(--ease);
}
.faq__answer-inner {
  padding: 0 0 26px;
  color: var(--muted);
  max-width: 680px;
  font-size: 16.5px;
  line-height: 1.6;
}

/* ─────────── Form ─────────── */
.form-section { background: #fff; border-top: 1px solid var(--line); }
.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 30px 60px -40px rgba(11,13,18,.12);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
@media (max-width: 600px) { .form-card { padding: 32px 22px; } }
.form-card.is-leaving { opacity: 0; transform: translateY(8px); pointer-events: none; }

.form-card__title {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.018em;
  margin: 0 0 10px;
  line-height: 1.1;
}
.form-card__sub { color: var(--muted); margin: 0 0 32px; font-size: 16.5px; line-height: 1.5; }

/* Role picker */
.role-picker { border: 0; padding: 0; margin: 0 0 24px; }
.role-picker__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 520px) { .role-picker__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }

.role-opt { position: relative; cursor: pointer; }
.role-opt input { position: absolute; opacity: 0; pointer-events: none; }
.role-opt__inner {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  background: #fbfbfc;
  border-radius: 11px;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
@media (min-width: 520px) {
  .role-opt__inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 6px; padding: 16px 14px 14px; }
}
.role-opt__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  grid-row: span 2;
}
@media (min-width: 520px) {
  .role-opt__icon { grid-row: auto; margin-bottom: 4px; }
}
.role-opt__title {
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -.005em;
}
.role-opt__sub {
  font-size: 12px;
  color: var(--muted);
}
.role-opt:hover .role-opt__inner { border-color: #d2d4db; }
.role-opt input:checked + .role-opt__inner {
  border-color: var(--accent);
  background: #f4f5ff;
  box-shadow: 0 0 0 4px rgba(99,102,241,.10);
}
.role-opt input:checked + .role-opt__inner .role-opt__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.role-opt input:focus-visible + .role-opt__inner {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.role-picker.is-invalid .role-opt__inner {
  border-color: #e11d48;
}

.role-fields[hidden] { display: none; }

/* two-column field row inside form */
.field-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; gap: 16px; } }
.field-row .field { margin-bottom: 18px; }

/* Checkbox grid (carrier features) */
.check-group { border: 0; padding: 0; margin: 0 0 18px; }
.check-group .field__label { margin-bottom: 8px; }
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
@media (min-width: 520px) { .check-grid { grid-template-columns: repeat(3, 1fr); } }

.check { position: relative; cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: #fbfbfc;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}
.check span::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 4px;
  border: 1.5px solid #c5c8d1;
  background: #fff;
  flex-shrink: 0;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.check:hover span { border-color: #d2d4db; }
.check input:checked + span {
  border-color: var(--accent);
  background: #f4f5ff;
  color: var(--ink);
}
.check input:checked + span::before {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2 5 8.7l4.5-5.4' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.field { margin-bottom: 18px; }
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.field__label .req { color: var(--accent); margin-left: 2px; }
.field__hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  outline: none;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input::placeholder, .field textarea::placeholder { color: #aaaeb8; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid { border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225,29,72,.10); }
.field__error { color: #e11d48; font-size: 12px; margin-top: 6px; display: none; }
.field.is-invalid .field__error { display: block; }

.form-card .btn--cta { width: 100%; height: 54px; font-size: 16px; }
.form-fineprint {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.form-fineprint a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.form-fineprint a:hover { text-decoration-color: var(--accent); }

/* Spinner inside button */
.spinner {
  width: 16px; height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
  display: none;
}
.btn[data-loading="true"] .spinner { display: inline-block; }
.btn[data-loading="true"] .btn__label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Fake-error screen */
.notice-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 30px 60px -40px rgba(11,13,18,.12);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease) .05s, transform .4s var(--ease) .05s;
}
.notice-card.is-visible { opacity: 1; transform: translateY(0); }
.notice-card[hidden] { display: none; }
@media (max-width: 600px) { .notice-card { padding: 32px 22px; } }

.notice-card__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: #fff7ed;
  color: #b45309;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border: 1px solid #fde6c4;
}
.notice-card h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.012em;
  margin: 0 0 18px;
}
.notice-card p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0 0 14px; }
.notice-card p.muted { color: var(--muted); }
.notice-card a.tg { color: var(--accent); font-weight: 500; }
.notice-card a.tg:hover { text-decoration: underline; }
.notice-card__code {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  background: #fbfbfc;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.notice-card__code .label { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.notice-card__code .value { font-weight: 500; color: var(--ink); }

/* ─────────── Footer ─────────── */
.footer {
  background: var(--bg-dark);
  color: #c7cad3;
  padding: 64px 0 32px;
}
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; } }

.footer__brand .brand { color: #f7f7f8; }
.footer__brand p {
  margin: 16px 0 0;
  font-size: 13px;
  color: #8b909c;
  max-width: 280px;
  line-height: 1.55;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8b909c;
  margin: 0 0 16px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col li a { font-size: 14px; color: #c7cad3; }
.footer__contact .row {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #c7cad3; margin-bottom: 8px;
}
.footer__contact .row .label { color: #8b909c; font-family: var(--mono); font-size: 11px; min-width: 64px; letter-spacing: .1em; text-transform: uppercase; }

.footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: #6b7280;
  letter-spacing: .04em;
}

/* ─────────── Utility ─────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, ::before, ::after { animation: none !important; transition: none !important; }
}
