:root {
  --ink: #14181F;
  --slate: #1E2530;
  --surface: #FFFFFF;
  --surface-2: #F4F5F3;
  --line: #E2E4E0;
  --muted: #5B6470;
  --brass: #B8863B;
  --brass-ink: #8A6326;
  --emerald: #0E8F6E;
  --emerald-tint: #E6F4EF;
  --alert: #D64533;
  --font: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --step--1: 0.833rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.44rem;
  --step-3: clamp(1.9rem, 4.5vw, 2.6rem);
  --step-4: clamp(2.6rem, 6vw, 3.5rem);
  --step-5: clamp(2.4rem, 6vw, 3.5rem);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 72px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(20,24,31,.06), 0 8px 30px -12px rgba(20,24,31,.18);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--s5);
}

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
  text-wrap: balance;
  margin: 0;
}

p {
  max-width: 66ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font: inherit;
  font-weight: 600;
  font-size: var(--step-0);
  padding-block: var(--s3);
  padding-inline: var(--s5);
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 52px;
  transition: background .15s ease, transform .05s ease;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--brass);
}

.btn--primary:hover {
  background: #232B36;
}

.btn--emergency {
  background: var(--alert);
  color: #fff;
}

.btn--emergency:hover {
  filter: brightness(.95);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--surface-2);
}

.btn--block {
  display: flex;
  width: 100%;
  justify-content: center;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald);
  background: var(--emerald-tint);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step--1);
}

.badge-verified::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
  align-items: center;
  color: rgba(255,255,255,.85);
}

.trust-item {
  display: flex;
  gap: var(--s2);
  align-items: center;
}

.hero {
  background: radial-gradient(120% 140% at 80% -10%, var(--slate), var(--ink));
  color: #fff;
  padding-block: var(--s8);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  color: #fff;
  font-size: var(--step-5);
}

.hero p {
  color: rgba(255,255,255,.8);
  font-size: var(--step-1);
  max-width: 52ch;
}

.bitting {
  width: 100%;
  height: 100%;
}

.bitting--divider {
  height: 24px;
  opacity: .5;
  color: var(--line);
}

.hero .bitting-line path {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw 2.4s ease forwards .3s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.section {
  padding-block: var(--s8);
}

.section--tint {
  background: var(--surface-2);
}

.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--brass-ink);
  letter-spacing: normal;
  margin-block-end: var(--s2);
}

.steps {
  display: grid;
  gap: var(--s5);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.step__n {
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--brass);
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.price-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s5);
  background: var(--surface);
}

.price-card__amount {
  font-size: var(--step-3);
  font-weight: 700;
}

.price-card--featured {
  border-inline-start: 3px solid var(--brass);
  color: var(--ink);
}

.field {
  display: block;
  margin-block-end: var(--s4);
}

label {
  display: block;
  font-weight: 500;
  margin-block-end: var(--s2);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  min-height: 52px;
}

input:focus {
  border-color: var(--ink);
}

.field--error input,
.field--error select {
  border-color: var(--alert);
}

.error-text {
  color: var(--alert);
  font-size: var(--step--1);
  margin-block-start: 6px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s5);
  box-shadow: var(--shadow);
}

.result-line {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s3);
  border-block-end: 1px solid var(--line);
}

.result-line:last-child {
  border-block-end: none;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-block-end: 1px solid var(--line);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 600;
  font-size: var(--step-1);
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding-block: var(--s7);
}

.site-footer a {
  color: #fff;
}

.stack > * + * {
  margin-block-start: var(--s4);
}

.grid-2 {
  display: grid;
  gap: var(--s6);
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .hero {
    padding-block: var(--s6);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  .hero .bitting-line path {
    animation: none;
    stroke-dashoffset: 0;
  }
}
