:root {
  --ink: #14221f;
  --muted: #586864;
  --paper: #f6f4ed;
  --surface: #fffdf8;
  --line: #d9ded8;
  --brand: #0d685b;
  --brand-dark: #08473f;
  --accent: #e46f3d;
  --accent-soft: #f8e4d7;
  --mint: #dcece6;
  --warning: #9b4a28;
  --shadow: 0 24px 70px rgba(21, 46, 40, 0.12);
  --radius: 22px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; }

img { max-width: 100%; }

button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 10px;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 34, 31, 0.1);
  background: rgba(246, 244, 237, 0.94);
  backdrop-filter: blur(14px);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px 4px 11px 4px;
  background: var(--brand);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: -0.07em;
  box-shadow: 7px 7px 0 var(--accent-soft);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.94rem; font-weight: 700; }
.nav a:hover, .nav a:focus-visible { color: var(--brand); }
.nav .nav-cta { color: #fff; background: var(--brand); padding: 10px 16px; border-radius: 999px; }

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 11px;
  color: var(--ink);
  font-weight: 750;
}

.hero {
  padding: clamp(70px, 10vw, 126px) 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: clamp(46px, 7vw, 90px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.045em; }
h1 { margin: 0; font-size: clamp(3.2rem, 7vw, 6.5rem); max-width: 10ch; }
h2 { margin: 0 0 20px; font-size: clamp(2.15rem, 4.2vw, 4.15rem); max-width: 13ch; }
h3 { margin: 0 0 12px; font-size: 1.34rem; }

.hero-lede, .page-lede {
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 32px 0 18px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 20px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 820;
  box-shadow: 0 10px 28px rgba(13, 104, 91, 0.18);
}

.button:hover, .button:focus-visible { background: var(--brand-dark); transform: translateY(-1px); }
.button-secondary { background: transparent; border-color: var(--line); color: var(--ink); box-shadow: none; }
.button-disabled { background: #83908c; cursor: not-allowed; box-shadow: none; }

.hero-note, .small-note { color: var(--muted); font-size: 0.9rem; max-width: 62ch; }

.concept-wrap { position: relative; }
.concept-wrap::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -110px;
  top: -80px;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: blur(1px);
}

.concept {
  position: relative;
  border: 1px solid rgba(13, 104, 91, 0.16);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.concept-bar { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); background: #f1f5f2; }
.concept-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 850; color: var(--brand); }
.concept-status { padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--warning); font-size: 0.75rem; font-weight: 800; }
.concept-body { padding: 24px; }
.concept-title { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.concept-title h3 { font-size: 1.7rem; }
.equipment-code { font: 700 0.78rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.record-cell { background: var(--paper); padding: 12px 14px; border-radius: 12px; }
.record-cell span { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.record-cell strong { display: block; margin-top: 4px; font-size: 0.95rem; }
.timeline { border-left: 2px solid var(--mint); margin-left: 7px; padding-left: 20px; }
.timeline-item { position: relative; padding: 0 0 18px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; width: 10px; height: 10px; left: -26px; top: 7px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); }
.timeline-item strong, .timeline-item span { display: block; }
.timeline-item span { color: var(--muted); font-size: 0.84rem; }
.concept-foot { padding: 16px 24px; background: var(--brand); color: #fff; font-weight: 750; }

.section { padding: clamp(70px, 9vw, 118px) 0; }
.section-alt { background: var(--ink); color: #f7faf8; }
.section-alt .eyebrow { color: #91d1c3; }
.section-alt p { color: #c7d3d0; }
.section-soft { background: var(--mint); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-head p { max-width: 58ch; color: var(--muted); }

.problem-quote { max-width: 920px; margin: 0; font-size: clamp(1.55rem, 3.2vw, 3rem); line-height: 1.28; letter-spacing: -0.035em; font-weight: 720; }
.problem-quote em { color: var(--accent); font-style: normal; }

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 44px;
}
.flow span { min-height: 74px; display: grid; place-items: center; padding: 10px; text-align: center; border: 1px solid #3e504c; border-radius: 14px; color: #f7faf8; font-size: 0.82rem; font-weight: 800; }
.flow span:nth-child(4n+1) { border-color: var(--accent); }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px; }
.card-index { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 28px; border-radius: 50%; background: var(--mint); color: var(--brand); font-weight: 900; }
.card p { color: var(--muted); margin-bottom: 0; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-panel { padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.fit-panel.no { background: #f5eee9; }
.clean-list { margin: 22px 0 0; padding: 0; list-style: none; }
.clean-list li { position: relative; padding: 8px 0 8px 27px; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.fit-panel.no .clean-list li::before { background: var(--accent); }

.trade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trade-card { display: block; min-height: 250px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.trade-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trade-card .trade-type { color: var(--accent); font-weight: 850; font-size: 0.76rem; letter-spacing: .1em; text-transform: uppercase; }
.trade-card p { color: var(--muted); }
.trade-card .arrow { display: inline-block; margin-top: 22px; color: var(--brand); font-weight: 900; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { display: flex; flex-direction: column; }
.price { margin: 10px 0 16px; font-size: 2.7rem; line-height: 1; letter-spacing: -0.06em; font-weight: 900; }
.price small { font-size: 0.9rem; color: var(--muted); letter-spacing: 0; font-weight: 650; }
.price-card ul { flex: 1; padding-left: 20px; color: var(--muted); }

.page-hero { padding: clamp(70px, 9vw, 115px) 0 60px; }
.page-hero h1 { max-width: 14ch; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, .7fr); gap: 70px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 64px; font-size: clamp(1.9rem, 3.5vw, 3rem); }
.prose h3 { margin-top: 36px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.aside { position: sticky; top: 110px; padding: 26px; border-radius: var(--radius); background: var(--mint); }
.aside p { color: #38524c; }

.research-banner { border: 1px solid #d8c4b7; background: var(--accent-soft); color: #6e321b; border-radius: 16px; padding: 18px 20px; font-weight: 700; }
.space-top { margin-top: 24px; }

.form-shell { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); }
.form-section { border: 0; padding: 0; margin: 0 0 42px; }
.form-section legend { width: 100%; margin-bottom: 20px; font-size: 1.35rem; font-weight: 850; letter-spacing: -.03em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #bdc8c4; border-radius: 11px; padding: 12px 13px; background: #fff; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(13,104,91,.17); border-color: var(--brand); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.checkbox { display: flex; align-items: start; gap: 10px; }
.checkbox input { margin-top: 5px; }
.form-shell fieldset[disabled] { opacity: .64; }

.cta-panel { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: clamp(34px, 6vw, 64px); border-radius: 30px; background: var(--brand); color: white; }
.cta-panel h2 { max-width: 14ch; margin: 0; }
.cta-panel p { max-width: 50ch; color: #d6ece6; }
.cta-panel .button { background: #fff; color: var(--brand-dark); box-shadow: none; white-space: nowrap; }

.site-footer { padding: 60px 0 34px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-size: 1rem; letter-spacing: 0; }
.footer-grid a { display: block; margin: 8px 0; color: var(--muted); text-decoration: none; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .hero-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 70px; }
  .hero h1 { max-width: 11ch; }
  .aside { position: static; }
  .trade-grid, .pricing-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-inner, .container { width: min(100% - 28px, 1180px); }
  .menu-button { display: inline-flex; }
  .nav { display: none; position: absolute; inset: 78px 14px auto; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 6px; }
  .nav[data-open] { display: flex; }
  .nav a { padding: 10px 12px; }
  .nav .nav-cta { text-align: center; }
  .hero { padding-top: 68px; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .record-grid, .card-grid, .fit-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .flow { grid-template-columns: 1fr; }
  .cta-panel { display: block; }
  .cta-panel .button { margin-top: 14px; }
}

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