:root {
  --ink: #130b46;
  --ink-soft: #2c2d36;
  --ink-muted: #5f6180;
  --orange: #f05a2a;
  --orange-dark: #e14817;
  --purple: #5551ff;
  --yellow: #f2cc0d;
  --border: #e4e6f1;
  --tint: #f3f5fb;
  --tint-2: #f9f9fb;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(19, 11, 70, 0.05);
  --shadow: 0 10px 30px rgba(19, 11, 70, 0.08);
  --shadow-lg: 0 24px 60px rgba(19, 11, 70, 0.14);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip { position: absolute; left: -9999px; }

.skip:focus {
  left: 12px; top: 12px; z-index: 60;
  background: var(--white); padding: 10px 16px;
  border: 1px solid var(--border); border-radius: var(--r);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-logo img { width: 150px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  padding: 6px 0;
}

.nav-links a:hover { color: var(--orange); }

.nav-links a.active {
  color: var(--orange);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--orange);
}

.caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-login {
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  padding: 6px 4px;
}

.nav-login:hover { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover { background: var(--orange-dark); }

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

.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-lg { padding: 15px 30px; font-size: 16.5px; border-radius: var(--r); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 8px;
}

.hero-hex {
  position: absolute;
  inset: 0 auto 0 0;
  width: 300px;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 1l26 15v32L28 63 2 48V16z' fill='none' stroke='%23f05a2a' stroke-opacity='.28' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 64px;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.9), transparent);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.9), transparent);
}

.hero-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 15ch;
}

.hero-copy h1 .accent { color: var(--orange); }

.hero-lede {
  margin: 0 0 30px;
  max-width: 46ch;
  font-size: 17.5px;
  color: var(--ink-soft);
}

.hero-art {
  position: relative;
  min-height: 400px;
}

.mailer {
  position: absolute;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.mailer-dark {
  width: 44%;
  aspect-ratio: 5 / 3.4;
  top: 4%;
  right: 6%;
  background: linear-gradient(150deg, #22242f, #101119);
  transform: rotate(-3deg);
}

.mailer-red {
  width: 40%;
  aspect-ratio: 5 / 3.4;
  top: 16%;
  left: 2%;
  background: linear-gradient(150deg, #d8342b, #a11d18);
  transform: rotate(-9deg);
}

.mailer-letter {
  width: 62%;
  top: 34%;
  right: 2%;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  transform: rotate(2deg);
  display: grid;
  gap: 9px;
}

.letter-logo {
  width: 78px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--purple), #8f8dff);
  margin-bottom: 6px;
}

.letter-line {
  height: 7px;
  border-radius: 4px;
  background: var(--tint);
}

.letter-line.w90 { width: 90%; }
.letter-line.w80 { width: 80%; }
.letter-line.w95 { width: 95%; }
.letter-line.w60 { width: 60%; }

.letter-sig {
  width: 108px;
  height: 20px;
  margin-top: 6px;
  border-radius: 4px;
  background: repeating-linear-gradient(115deg, #b9bcd6 0 2px, transparent 2px 7px);
}

.tag {
  position: absolute;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: var(--shadow);
}

.tag-peach {
  top: 12%;
  left: 16%;
  background: #fde9dc;
  color: #7c2d10;
}

.tag-purple {
  bottom: 4%;
  right: 8%;
  background: #d9d8ff;
  color: #2a2782;
}

.partners {
  position: relative;
  max-width: var(--wrap);
  margin: 54px auto 0;
  padding: 0 28px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}

.partner {
  color: #9aa0bd;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.partner-badge {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--tint);
  border: 1px solid var(--border);
}

.partner-badge em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.partner-badge strong { font-size: 13px; color: var(--ink); }

.content { padding: 20px 28px 84px; }

.section-title {
  margin: 64px 0 22px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.content > .section-title:first-child { margin-top: 8px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.card:hover { box-shadow: var(--shadow); }

.card h2, .card h3 {
  margin: 0 0 10px;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p { margin: 0 0 14px; color: var(--ink-muted); }
.card p:last-child { margin-bottom: 0; }

.link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.link:hover { text-decoration: underline; }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  counter-increment: step;
  position: relative;
  background: var(--tint-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 26px 24px 74px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 26px;
  top: 24px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
}

.steps h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.steps p { margin: 0; color: var(--ink-muted); }

.panel {
  margin-top: 44px;
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
}

.panel h2 { margin: 0 0 14px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.panel p { margin: 0 0 14px; color: var(--ink-muted); max-width: 80ch; }
.panel p:last-child { margin-bottom: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }

.pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.spec {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  font-size: 14.5px;
}

.spec dt { color: var(--ink-muted); }
.spec dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
}

table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }

th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); }

th {
  background: var(--tint);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--tint-2); }
td { font-variant-numeric: tabular-nums; }

.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  display: grid;
  gap: 18px;
  max-width: 780px;
  box-shadow: var(--shadow);
}

.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }

.field { display: grid; gap: 7px; font-size: 14px; }

.field > span { color: var(--ink); font-weight: 700; }

input, select, textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 100%;
}

textarea { resize: vertical; }

input::placeholder, textarea::placeholder { color: #a6abc7; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 90, 42, 0.15);
}

.footer {
  background: var(--tint);
  border-top: 1px solid var(--border);
  padding: 54px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand img { width: 170px; margin-bottom: 14px; }

.footer-brand p { margin: 0; color: var(--ink-muted); font-size: 14.5px; max-width: 34ch; }

.footer h4 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}

.footer a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  padding: 4px 0;
}

.footer a:hover { color: var(--orange); }

.footer-note {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #dcdfee;
}

.muted { color: var(--ink-muted); font-size: 14.5px; margin: 0; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 330px; order: -1; }
  .footer-top { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}

@media (max-width: 860px) {
  .nav-inner { gap: 14px; }
  .nav-links { order: 3; width: 100%; margin-left: 0; gap: 18px; overflow-x: auto; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 560px) {
  .btn-ghost { display: none; }
  .partners { gap: 26px; }
}
