:root {
  --ink: #071f2b;
  --ink-soft: #163a48;
  --paper: #f5f0e4;
  --paper-deep: #e8ddc7;
  --orange: #ef5a1f;
  --wheat: #e1aa47;
  --green: #166044;
  --line: rgba(7, 31, 43, 0.16);
  --display: "Avenir Next Condensed", "DIN Condensed", "Franklin Gothic Condensed", sans-serif;
  --body: "Iowan Old Style", Baskerville, Georgia, serif;
  --ui: "Avenir Next", "Gill Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(7,31,43,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,31,43,.045) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.58;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: white; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(245,240,228,.15);
  background: rgba(7,31,43,.92);
  color: var(--paper);
  backdrop-filter: blur(14px);
}
.site-header .shell { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--ui); font-weight: 800; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 8px 26px rgba(0,0,0,.25); }
.site-nav { display: flex; align-items: center; gap: 22px; font: 650 14px/1 var(--ui); }
.site-nav a { text-decoration: none; opacity: .78; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; color: var(--wheat); }

.hero { background: var(--ink); color: var(--paper); overflow: clip; }
.hero-grid { min-height: 780px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; }
.hero-copy { padding: 88px 7vw 88px max(20px, calc((100vw - 1180px)/2)); position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; color: var(--orange); font: 800 13px/1.2 var(--ui); letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); line-height: .96; letter-spacing: -.025em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(68px, 8.3vw, 142px); text-transform: uppercase; }
h2 { margin: 0 0 24px; font-size: clamp(48px, 6vw, 88px); text-transform: uppercase; }
h3 { margin: 0 0 12px; font-size: 31px; }
.hero-lede { max-width: 640px; margin: 28px 0; color: rgba(245,240,228,.78); font-size: clamp(20px, 2vw, 27px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1px solid transparent; text-decoration: none; font: 800 15px/1 var(--ui); border-radius: 4px; }
.button-primary { background: var(--orange); color: white; box-shadow: 7px 7px 0 var(--wheat); }
.button-secondary { border-color: rgba(245,240,228,.35); color: var(--paper); }
.hero-media { align-self: stretch; min-height: 720px; position: relative; isolation: isolate; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), transparent 32%), linear-gradient(0deg, rgba(7,31,43,.75), transparent 38%); z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-stamp { position: absolute; z-index: 2; right: 7%; bottom: 7%; width: 170px; aspect-ratio: 1; border: 2px solid var(--paper); border-radius: 50%; display: grid; place-items: center; text-align: center; transform: rotate(-8deg); font: 800 15px/1.25 var(--ui); letter-spacing: .08em; text-transform: uppercase; background: rgba(7,31,43,.7); }

.proof-strip { background: var(--wheat); border-block: 2px solid var(--ink); }
.proof-strip .shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof { padding: 24px; border-right: 1px solid rgba(7,31,43,.25); }
.proof:first-child { border-left: 1px solid rgba(7,31,43,.25); }
.proof strong { display: block; font: 900 30px/1 var(--display); }
.proof span { font: 700 12px/1.2 var(--ui); text-transform: uppercase; letter-spacing: .1em; }

.section { padding: 112px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-intro { max-width: 820px; margin-bottom: 54px; }
.section-intro p { font-size: 22px; color: var(--ink-soft); }
.section-dark .section-intro p { color: rgba(245,240,228,.68); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 290px; padding: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.54); position: relative; overflow: hidden; }
.feature-card::before { content: attr(data-index); position: absolute; right: 18px; top: 12px; color: rgba(7,31,43,.08); font: 900 82px/1 var(--display); }
.feature-card p { color: var(--ink-soft); }
.feature-card .icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--orange); color: white; font: 800 18px var(--ui); margin-bottom: 50px; }

.field-demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.device-shot { width: min(420px, 100%); margin-inline: auto; padding: 10px; border: 2px solid var(--paper); border-radius: 46px; background: #111; box-shadow: 24px 28px 0 rgba(225,170,71,.18); transform: rotate(-2deg); }
.device-shot img { border-radius: 36px; }
.check-list { list-style: none; padding: 0; margin: 32px 0; }
.check-list li { padding: 12px 0 12px 34px; border-bottom: 1px solid rgba(245,240,228,.15); position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--wheat); font-family: var(--ui); font-weight: 900; }

.state-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.state-grid a { min-height: 88px; padding: 16px; display: flex; align-items: flex-end; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 800 16px/1.2 var(--ui); background: rgba(255,255,255,.4); }
.state-grid a:hover { background: var(--orange); color: white; }
.coverage-note { margin-top: 28px; padding: 22px; border-left: 6px solid var(--orange); background: var(--paper-deep); }

.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { padding: 30px; min-height: 250px; border: 1px solid rgba(245,240,228,.18); text-decoration: none; background: rgba(255,255,255,.035); transition: transform .2s ease, border-color .2s ease; }
.guide-card:hover { transform: translateY(-5px); border-color: var(--wheat); }
.guide-card p { color: rgba(245,240,228,.65); }
.guide-card span { color: var(--orange); font: 800 13px var(--ui); letter-spacing: .1em; text-transform: uppercase; }

.article-hero { padding: 96px 0 72px; background: var(--ink); color: var(--paper); }
.article-hero h1 { max-width: 1000px; font-size: clamp(58px, 8vw, 118px); }
.article-hero p { max-width: 760px; font-size: 23px; color: rgba(245,240,228,.72); }
.article { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.article h2 { margin-top: 70px; font-size: 48px; }
.article h3 { margin-top: 42px; }
.article p, .article li { color: #173844; }
.article table { width: 100%; border-collapse: collapse; margin: 30px 0; font-family: var(--ui); font-size: 15px; }
.article th, .article td { padding: 13px; text-align: left; border: 1px solid var(--line); }
.article th { background: var(--paper-deep); }
.callout { padding: 25px; margin: 38px 0; background: var(--ink); color: var(--paper); border-left: 7px solid var(--orange); }
.callout p { color: rgba(245,240,228,.76); }

.site-footer { background: #04151d; color: var(--paper); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-size: 24px; }
.footer-grid a { display: block; margin: 8px 0; color: rgba(245,240,228,.7); text-decoration: none; font-family: var(--ui); font-size: 14px; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(245,240,228,.12); color: rgba(245,240,228,.5); font: 13px var(--ui); }

@media (max-width: 900px) {
  .hero-grid, .field-demo { grid-template-columns: 1fr; }
  .hero-copy { padding: 72px 20px; }
  .hero-media { min-height: 620px; }
  .proof-strip .shell { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: repeat(3,1fr); }
  .guide-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .site-nav a:not(.nav-primary) { display: none; }
  .hero-grid { min-height: auto; }
  .hero-media { min-height: 540px; }
  h1 { font-size: 62px; }
  .proof-strip .shell { width: 100%; }
  .proof { padding: 18px; }
  .section { padding: 78px 0; }
  .state-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
}
