:root {
  --ink: #0b0b0c;
  --ink-2: #17171a;
  --ink-3: #2a2a2f;
  --muted: #6c6c72;
  --line: #e4e3df;
  --line-dark: #2c2c31;
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --accent: #ff4d00;
  --accent-dark: #d63f00;
  --ok: #1f7a4d;
  --radius: 4px;
  --radius-lg: 10px;
  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shadow: 0 1px 2px rgba(11, 11, 12, .04), 0 12px 32px rgba(11, 11, 12, .06);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 650;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand img { border-radius: 3px; }
.brand-text { display: flex; flex-direction: column; font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.1; }
.brand-text small { font-weight: 500; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a {
  font-size: .86rem; font-weight: 500; text-decoration: none; color: var(--ink-3);
  padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.nav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .2s; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius);
  font-size: .92rem; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: inherit; }
.btn-sm { padding: 10px 18px; font-size: .82rem; background: var(--ink); color: #fff; }
.btn-sm:hover { background: var(--ink-3); color: #fff; }

/* ---------- hero ---------- */

.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -12%; top: -30%;
  width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(255, 77, 0, .18), transparent 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center;
  padding: 88px 0 96px;
}
.hero-compact .hero-inner { padding: 64px 0 72px; }
.hero-inner > .hero-copy:only-child { grid-column: 1 / -1; max-width: 840px; }

.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.hero .eyebrow { color: #ff7a3d; }

.hero h1 { text-wrap: balance; }
.hero .lead {
  margin-top: 22px; font-size: 1.12rem; line-height: 1.6;
  color: rgba(255, 255, 255, .78); max-width: 34em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-media {
  background: #fff; border-radius: var(--radius-lg);
  padding: 10px; box-shadow: 0 40px 80px rgba(0, 0, 0, .4);
}
.hero-media img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- stat strip ---------- */

.stat-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}
.stat {
  padding: 28px 26px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.stat-value { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 650; letter-spacing: -.03em; }
.stat-label { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- sections ---------- */

.section { padding: 84px 0; }
.section + .section { padding-top: 0; }
.tone-2 { background: var(--paper-2); }
.tone-dark { background: var(--ink); color: #fff; }
.tone-dark .section-lead, .tone-dark p { color: rgba(255,255,255,.72); }
.tone-dark h2, .tone-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { text-wrap: balance; }
.section-lead { margin-top: 16px; font-size: 1.05rem; color: var(--muted); }

/* ---------- cards ---------- */

.card-grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex; flex-direction: column; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card-media { background: var(--paper-2); aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card-media--text {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #17171a 0%, #2b2b31 100%);
}
.card-media--text span {
  color: #fff; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.25); padding: 10px 16px; border-radius: 2px;
  text-align: center; max-width: 80%;
}
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { font-size: .94rem; color: var(--muted); margin: 0; }
.card-link { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--accent); letter-spacing: .02em; }

/* ---------- split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { color: var(--muted); }

/* ---------- lists ---------- */

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: .96rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.tone-dark .checklist li::before { border-color: #ff7a3d; }

.bullets { padding-left: 20px; margin: 20px 0 0; display: grid; gap: 10px; }
.bullets li { font-size: .96rem; }
.bullets li::marker { color: var(--accent); }

/* ---------- table ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.spec-table thead th {
  text-align: left; padding: 16px 20px; background: var(--ink); color: #fff;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.spec-table td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.spec-table tbody tr:nth-child(even) { background: #fafaf8; }
.spec-table td:first-child { font-weight: 600; }
.mono { font-family: var(--mono); font-size: .86rem; }

/* ---------- timeline ---------- */

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: none; }
.timeline li {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.step-no { font-family: var(--mono); font-size: .8rem; color: var(--accent); padding-top: 4px; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 1.02rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; font-weight: 400; color: var(--accent);
}
.faq-item[open] summary::after { content: "–"; }
.faq-body { padding: 0 40px 24px 0; color: var(--muted); font-size: .96rem; }

/* ---------- CTA ---------- */

.cta-band { background: var(--accent); color: #fff; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px 0;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cta-inner p { color: rgba(255,255,255,.88); margin-top: 10px; max-width: 58ch; font-size: .98rem; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cta-actions .btn-primary { background: #fff; color: var(--ink); }
.cta-actions .btn-primary:hover { background: var(--ink); color: #fff; }
.cta-actions .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }

/* ---------- breadcrumbs ---------- */

.crumbs { padding: 22px 0 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-size: .78rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* ---------- prose ---------- */

.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 16px; font-size: 1.7rem; }
.prose h3 { margin: 32px 0 10px; }
.prose p { color: var(--ink-3); }
.prose .lead { font-size: 1.1rem; color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 10px; margin: 18px 0; }
.prose li { color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .92rem; }
.prose th { text-align: left; background: var(--paper-2); padding: 12px 14px; border: 1px solid var(--line); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.prose td { padding: 12px 14px; border: 1px solid var(--line); }
.prose blockquote {
  margin: 24px 0; padding: 18px 24px; border-left: 3px solid var(--accent);
  background: var(--paper-2); color: var(--ink-2); font-size: .96rem;
}

.note { font-size: .85rem; color: var(--muted); margin-top: 18px; }
.mt { margin-top: 32px; }

/* ---------- contact form ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; background: var(--paper); }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; font: inherit; font-size: .95rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin-top: 16px; font-size: .9rem; }
.form-status.is-error { color: #b42318; }
.form-status.is-ok { color: var(--ok); }
.hp { position: absolute; left: -9999px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; font-size: .96rem; }
.contact-list li { padding-top: 14px; border-top: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.site-footer h2 {
  color: #fff; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 16px; font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 38ch; line-height: 1.6; }
.footer-brand address { font-style: normal; margin-top: 14px; color: rgba(255,255,255,.5); font-size: .84rem; }
.brand-light .brand-text { color: #fff; }
.brand-light .brand-text small { color: rgba(255,255,255,.5); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  font-size: .78rem; color: rgba(255,255,255,.45);
}
.footer-note { max-width: 46ch; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 72px; }
  .hero-media { max-width: 620px; }
  .hero .lead { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav a:hover, .nav a.is-active { border-bottom-color: var(--line); color: var(--accent); }
  .nav-cta { margin: 16px 0 0; }
  .nav-toggle { display: block; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--line); }
  .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .timeline li { grid-template-columns: 44px 1fr; gap: 14px; }
  .form-card { padding: 24px; }
}
