/* ===========================================================
   Cascadia View Drone Solutions
   Palette, taken from the logo: compass green · sunrise gold to orange · mist white
   Type: Manrope (display) + Inter (body) + JetBrains Mono (data labels)

   Light and clean by default. The technical feel lives in the details —
   mono labels, readout panels, the flight-plan graphic, a faint survey
   grid — rather than in a dark background. One deep-green band
   (.section-ink) per page gives the rhythm the dark theme used to.
   =========================================================== */

:root {
  /* Grounds */
  --bg:         #ffffff;
  --bg-alt:     #f6faf5;   /* logo background */
  --bg-tint:    #eef5ec;

  /* Brand */
  --green:       #0f4d2c;   /* primary actions, links */
  --green-deep:  #052812;   /* logo compass green */
  --green-bright:#3a9a5b;   /* status dot, small accents */
  --green-tint:  #e5f0e6;
  --gold:        #f7b81d;   /* logo sunrise */
  --orange:      #f39a1e;   /* logo sunrise, outer */
  --amber:       #9a5a00;   /* text-safe gold for "coming soon" */
  --amber-tint:  #fff4d9;

  /* Ink */
  --ink:        #0c1d13;
  --ink-soft:   #46564c;
  --ink-faint:  #75857a;

  /* Lines */
  --line:        #dfe8df;
  --line-strong: #c4d3c6;

  /* Dark band */
  --band:       #052812;   /* logo compass green */
  --band-2:     #0a3a1d;
  --band-ink:   #eef6ef;
  --band-soft:  #a9c2b0;

  --font-display: 'Manrope', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;

  --radius:    10px;
  --radius-lg: 16px;
  --max-width: 1180px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 26, 0.06);
  --shadow:    0 10px 30px rgba(16, 32, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 32, 26, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sticky header is 72px; keep anchor targets from hiding underneath it. */
  scroll-padding-top: 92px;
}

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

img { max-width: 100%; display: block; }
a   { color: var(--green); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.14rem; }
h4 { font-size: 0.98rem; }

p { margin-top: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 800px; }

section { padding: 96px 0; }

.section-raised { background: var(--bg-alt); }
.section-deep   { background: var(--bg-tint); }
.section-ruled  { border-top: 1px solid var(--line); }

/* ---------- Shared type helpers ---------- */

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 14px;
}

.section-heading {
  max-width: 740px;
  margin: 0 0 56px;
}

.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.container-narrow .section-heading { margin-bottom: 32px; }
.section-heading p { color: var(--ink-soft); font-size: 1.07rem; margin: 0; }

.lead { font-size: 1.14rem; color: var(--ink-soft); }

strong { color: var(--ink); font-weight: 600; }

.text-accent { color: var(--green); }

/* ---------- Badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 6px 14px 6px 11px;
  background: var(--green-tint);
  color: var(--green-deep);
  border: 1px solid rgba(15, 77, 44, 0.18);
  white-space: nowrap;
}

.badge-soon {
  background: var(--amber-tint);
  color: var(--amber);
  border-color: rgba(243, 154, 30, 0.22);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(58, 154, 91, 0.55);
  animation: pulse 2.4s infinite;
  flex: none;
}

.badge-soon .status-dot {
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(243, 154, 30, 0.5);
  animation-name: pulse-amber;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(58, 154, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 154, 91, 0); }
}

@keyframes pulse-amber {
  70%  { box-shadow: 0 0 0 8px rgba(243, 154, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 154, 30, 0); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease,
              background .16s ease, color .16s ease, border-color .16s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 77, 44, 0.22);
}

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

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 77, 44, 0.3);
  padding-bottom: 1px;
  transition: border-color .16s ease, color .16s ease;
}

.link-arrow:hover { color: var(--green-deep); border-color: var(--green-deep); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* Sunrise stripe across the top of every page, the logo's gold-to-orange. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange) 55%, var(--gold));
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.logo-mark { height: 46px; width: auto; flex: none; }

.logo-type { display: flex; flex-direction: column; line-height: 1.1; }

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .16s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--green); }

.nav-links a.btn { color: #fff; font-size: 0.88rem; padding: 10px 18px; }
.nav-links a.btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  width: 42px;
  height: 38px;
  padding: 9px 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 84px 0 0;
  border-bottom: 1px solid var(--line);
}

/* Faint survey grid + topo lines. Pure CSS/SVG, so the page looks
   finished before any photography exists. */
.hero-grid,
.hero-topo,
.hero-bloom,
.hero-photo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(15, 77, 44, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 77, 44, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-topo { opacity: 0.9; }
.hero-topo svg { width: 100%; height: 100%; }

.hero-bloom {
  background:
    radial-gradient(ellipse 50% 55% at 82% 30%, rgba(247, 184, 29, 0.20), transparent 70%),
    radial-gradient(ellipse 35% 40% at 88% 42%, rgba(243, 154, 30, 0.10), transparent 70%),
    radial-gradient(ellipse 40% 50% at 5% 90%, rgba(58, 154, 91, 0.06), transparent 70%);
}

.hero-photo {
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.hero-inner { position: relative; z-index: 2; padding-bottom: 76px; }

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

/* Grid items default to min-width:auto, so one no-wrap badge could widen
   the whole column past the page margin on phones. */
.hero-layout > *,
.split > * { min-width: 0; }

.hero .badge { margin-bottom: 24px; }
.hero h1 { max-width: 18ch; margin-bottom: 22px; font-size: clamp(2.2rem, 4.2vw, 3.2rem); }

.hero-lead {
  max-width: 56ch;
  font-size: 1.16rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
}

.hero-note {
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--ink-faint);
}

.hero-note a { font-weight: 600; white-space: nowrap; }

/* Flight-plan illustration card in the hero */
.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.plan-card svg { display: block; width: 100%; height: auto; }

.plan-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Spec strip under the hero */
.spec-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.spec {
  padding: 24px 24px;
  border-right: 1px solid var(--line);
}

.spec:last-child { border-right: none; }

.spec-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Page header (interior pages) ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.page-head .container { position: relative; z-index: 2; }
.page-head .badge { margin-bottom: 18px; }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 16px; max-width: 20ch; }
.page-head p { max-width: 64ch; font-size: 1.1rem; margin: 0; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

/* Exactly four cards: one row of four instead of 3 + 1 stranded card. */
.card-grid:has(> .card:nth-child(4):last-child) {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 10px; }
.card p  { font-size: 0.96rem; margin-bottom: 0; }

.card-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 12px;
}

.card-icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  margin-bottom: 18px;
  color: var(--green);
  background: var(--green-tint);
  border-radius: 10px;
}

.card-icon svg { width: 100%; height: 100%; display: block; }

.card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 0.92rem;
}

.card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 2px;
  border-radius: 2px;
  background: var(--green);
}

/* Featured card: the coming-soon service, given more weight */
.card-feature {
  border-color: rgba(243, 154, 30, 0.28);
  background: linear-gradient(180deg, var(--amber-tint) 0%, #fff 42%);
}

.card .badge { margin-bottom: 16px; }

/* ---------- Industry grid ---------- */

.industry-grid {
  display: grid;
  /* Fixed columns: auto-fit put 6 tiles as 4 + 2 and left a gray hole. */
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.industry {
  background: #fff;
  padding: 32px 28px;
  text-decoration: none;
  display: block;
  color: var(--ink-soft);
  transition: background .18s ease;
}

.industry:hover { background: var(--bg-alt); }
.industry h3 { margin-bottom: 8px; }
.industry:hover h3 { color: var(--green); }
.industry p { font-size: 0.94rem; margin: 0; }

.industry-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 12px;
}

/* ---------- Process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  position: absolute;
  top: -12px;
  left: 0;
  background: var(--bg);
  padding-right: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--green);
}

.section-raised .step::before { background: var(--bg-alt); }
.section-deep   .step::before { background: var(--bg-tint); }
.section-ink    .step::before { background: var(--band); color: var(--gold); }

.step h3 { margin-bottom: 8px; }
.step p  { font-size: 0.95rem; margin: 0; }

/* ---------- Dark band ---------- */

.section-ink {
  /* Logo green with a low sunrise glow, like the emblem's horizon. */
  background:
    radial-gradient(ellipse 60% 80% at 85% 110%, rgba(247, 184, 29, 0.16), transparent 65%),
    var(--band);
  color: var(--band-soft);
  position: relative;
  overflow: hidden;
}

.section-ink h2,
.section-ink h3,
.section-ink h4,
.section-ink strong { color: var(--band-ink); }

.section-ink .eyebrow { color: var(--gold); }
.section-ink .section-heading p { color: var(--band-soft); }
.section-ink .step { border-top-color: rgba(230, 240, 235, 0.16); }
.section-ink a { color: var(--gold); }

.section-ink .hero-grid {
  background-image:
    linear-gradient(rgba(230, 240, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 240, 235, 0.05) 1px, transparent 1px);
  mask-image: none;
  -webkit-mask-image: none;
}

.section-ink .container { position: relative; z-index: 2; }

/* ---------- Split feature (text + panel) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-wide { grid-template-columns: 1.15fr 1fr; }

/* Readout panel — light instrument card */
.readout {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.readout-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.readout-bar > span[aria-hidden] { color: var(--green-bright); }

.readout-body { padding: 18px 24px; }

.readout-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.readout-row:last-child { border-bottom: none; }
.readout-row dt { color: var(--ink-faint); letter-spacing: 0.02em; }
.readout-row dd { margin: 0; color: var(--ink); text-align: right; }

.readout dl { margin: 0; }

/* ---------- Licensing roadmap ---------- */

.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.roadmap li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.roadmap li:last-child { border-bottom: none; }

.roadmap .rm-title { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.roadmap .rm-note  { grid-column: 1 / -1; font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

.rm-status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 4px 10px;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  color: var(--ink-faint);
  background: var(--bg-alt);
}

.rm-done     { color: var(--green-deep); background: var(--green-tint); border-color: rgba(15, 77, 44, 0.22); }
.rm-progress { color: var(--amber); background: var(--amber-tint); border-color: rgba(243, 154, 30, 0.24); }

.roadmap li.rm-milestone { background: var(--bg-alt); }
.roadmap li.rm-milestone .rm-title { color: var(--green-deep); }

/* ---------- Notice / disclosure blocks ---------- */

.notice {
  border-left: 3px solid var(--amber);
  background: var(--amber-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  font-size: 0.95rem;
}

.notice h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.notice p:last-child { margin-bottom: 0; }

.notice-green {
  border-left-color: var(--green);
  background: var(--green-tint);
}

.notice-green h4 { color: var(--green-deep); }

/* ---------- Checklist ---------- */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 30px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 0.96rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- Work / case cards ---------- */

.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}

.case-media {
  min-height: 260px;
  background: var(--bg-alt);
  background-size: cover;
  background-position: center;
  position: relative;
  border-right: 1px solid var(--line);
}

/* Placeholder treatment until a real frame is dropped in. */
.case-media::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background-image:
    repeating-linear-gradient(45deg, rgba(15, 77, 44, 0.05) 0 1px, transparent 1px 10px);
}

.case-body { padding: 34px; }
.case-body h3 { font-size: 1.3rem; margin-bottom: 12px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 10px;
}

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

.faq { border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 1.2rem;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-top: 14px; font-size: 0.97rem; }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }

.field label,
.fieldset-legend {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.fieldset-legend {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.hint {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-faint);
  margin-top: 6px;
}

.req { color: var(--green); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 77, 44, 0.14);
}

textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%2346564c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

fieldset { border: none; margin: 0; padding: 0; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px 22px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.check input { accent-color: var(--green); margin-top: 5px; flex: none; }

/* Honeypot — hidden from people, visible to naive bots. */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-status {
  margin-top: 18px;
  font-size: 0.93rem;
  padding: 14px 18px;
  border-radius: 8px;
  display: none;
}

.form-status.show { display: block; }
.form-status.ok   { background: var(--green-tint); color: var(--green-deep); border: 1px solid rgba(15, 77, 44, 0.22); }
.form-status.err  { background: var(--amber-tint); color: var(--amber); border: 1px solid rgba(243, 154, 30, 0.26); }

/* ---------- Contact rail ---------- */

.contact-rail { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  border-left: 2px solid var(--green-tint);
  padding-left: 20px;
}

.contact-item .spec-label { margin-bottom: 6px; }

.contact-item a,
.contact-item p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
  word-break: break-word;
}

.contact-item a:hover { color: var(--green); }

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

.cta-band {
  position: relative;
  overflow: hidden;
  /* Sunrise over the horizon: the logo's gold rising from the bottom edge. */
  background:
    radial-gradient(ellipse 60% 85% at 50% 125%, rgba(247, 184, 29, 0.34), rgba(243, 154, 30, 0.12) 45%, transparent 70%),
    var(--band);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  color: var(--band-soft);
}

.cta-band .hero-grid {
  background-image:
    linear-gradient(rgba(230, 240, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 240, 235, 0.05) 1px, transparent 1px);
  mask-image: none;
  -webkit-mask-image: none;
}

.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { margin-bottom: 14px; color: var(--band-ink); }
.cta-band p { max-width: 56ch; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.cta-band .btn-primary:hover { background: #ffc83d; border-color: #ffc83d; box-shadow: 0 8px 22px rgba(247, 184, 29, 0.3); }
.cta-band .btn-ghost { background: transparent; color: var(--band-ink); border-color: rgba(230, 240, 235, 0.3); }
.cta-band .btn-ghost:hover { color: #fff; border-color: #fff; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 64px 0 30px;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 40px;
  margin-bottom: 44px;
}

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.site-footer a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 9px;
  transition: color .16s ease;
  word-break: break-word;
}

.site-footer a:hover { color: var(--green); }
.site-footer p { margin-bottom: 9px; }

.footer-brand .wordmark { font-size: 1.1rem; display: block; margin-bottom: 10px; }
.footer-logo { width: 150px; height: auto; margin-bottom: 14px; }

.footer-soon {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.footer-legal { max-width: 78ch; font-size: 0.8rem; line-height: 1.6; color: var(--ink-faint); margin-bottom: 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.86rem; }
  .card-grid:has(> .card:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .card-grid:has(> .card:nth-child(4):last-child) { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split-wide { grid-template-columns: 1fr; gap: 40px; }
  .case { grid-template-columns: 1fr; }
  .case-media { border-right: none; border-bottom: 1px solid var(--line); min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(2) { border-right: none; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  section { padding: 70px 0; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 24px 20px;
  }

  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; padding-top: 14px; }
  .nav-links a { display: block; padding: 14px 0; font-size: 0.96rem; }
  .nav-links a.btn { text-align: center; padding: 14px 20px; }
}

@media (max-width: 760px) {
  .hero { padding-top: 56px; }
  .hero-inner { padding-bottom: 56px; }
  .field-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .case-body { padding: 26px 24px; }
  .cta-band { padding: 44px 24px; }
  .roadmap li { grid-template-columns: 1fr; }
  .roadmap .rm-status { justify-self: start; }
}

@media (max-width: 480px) {
  .badge { white-space: normal; line-height: 1.5; }
  .spec-strip { grid-template-columns: 1fr; }
  .spec { border-right: none; border-bottom: 1px solid var(--line); }
  .spec:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .plan-caption { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
