/* Maach Aero — sample one-page site
   Colors sampled from flyer PDF (navy #0a1b2d, bronze/gold #d3b68c, silver mark). */
:root {
  --navy: #0a1b2d;
  --navy-deep: #06121f;
  --navy-mid: #142738;
  --steel: #3b4b59;
  --steel-light: #6a7a8a;
  --silver: #c6cacf;
  --off-white: #f4f6f9;
  --white: #ffffff;
  --accent: #c9a574;
  --accent-strong: #d3b68c;
  --accent-hover: #b8925f;
  --text: #1a2332;
  --text-muted: #5a6577;
  --border: #d5dde8;
  --shadow: 0 8px 28px rgba(10, 27, 45, 0.14);
  --radius: 10px;
  --max: 1100px;
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); }
a:hover { color: var(--accent-hover); }
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--navy-deep);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 18, 31, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(211, 182, 140, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  line-height: 1.15;
  flex-shrink: 0;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
}
.nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}
.nav a:hover { color: var(--accent-strong); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}
.btn-call {
  background: var(--accent);
  color: var(--navy-deep);
  white-space: nowrap;
}
.btn-call:hover {
  background: var(--accent-hover);
  color: var(--navy-deep);
}
.btn-primary {
  background: var(--accent);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--navy-deep);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-deep);
  color: var(--white);
}

/* Hero */
.hero {
  background:
    linear-gradient(105deg, rgba(6, 18, 31, 0.96) 0%, rgba(10, 27, 45, 0.88) 48%, rgba(10, 27, 45, 0.55) 100%),
    url("../img/hero-hardware.png") right center / cover no-repeat,
    var(--navy);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(211, 182, 140, 0.45);
  border-radius: 999px;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--silver);
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Stats / proof bar */
.stats {
  background: var(--off-white);
  padding: 0;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.25rem;
}
.stat {
  text-align: center;
  padding: 1rem 0.75rem;
}
.stat + .stat {
  border-top: 1px solid var(--border);
}
.stat-value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sections */
section { padding: 4rem 0; }
.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.section-intro {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 40rem;
}
.section-dark {
  background: var(--navy-deep);
  color: var(--white);
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-intro { color: var(--silver); }
.section-muted { background: var(--off-white); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 2px 8px rgba(10, 27, 45, 0.04);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy);
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: rgba(211, 182, 140, 0.18);
  color: var(--accent-hover);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

/* Piece-rate */
.piece-rate-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.feature-list li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--silver);
  font-size: 0.98rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}
.feature-list strong { color: var(--white); font-weight: 650; }
.callout {
  background: rgba(211, 182, 140, 0.12);
  border: 1px solid rgba(211, 182, 140, 0.35);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.callout-light {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.callout-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.callout-light .callout-label { color: var(--accent-hover); }
.callout-body {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}
.callout-light .callout-body {
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Pilot steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}
.step-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Why us (light variant on white) */
.why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.why-check {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.why-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.why-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.section-dark .why-item h3 { color: var(--white); }
.section-dark .why-item p { color: var(--silver); }

/* Audience */
.audience-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
.audience-list li {
  padding: 0.85rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  color: var(--navy);
}
.capability-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: left;
  max-width: 100%;
}
.capability-cta .callout-label {
  color: var(--accent-hover);
  margin: 0 0 0.4rem;
}
.capability-cta .callout-body {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.45;
}
.capability-cta .btn {
  align-self: stretch;
  text-align: center;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 650;
  color: var(--navy);
  position: relative;
  padding-right: 2.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--accent-hover);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.contact-details {
  display: grid;
  gap: 1rem;
}
.contact-row {
  display: grid;
  gap: 0.15rem;
}
.contact-row dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}
.contact-row dd { margin: 0; font-size: 1.05rem; }
.contact-row a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.contact-row a:hover { color: var(--accent-hover); text-decoration: underline; }
.note {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  background: rgba(211, 182, 140, 0.12);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  gap: 1rem;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-actions { margin-top: 0.5rem; }
.form-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}
.cta-sub {
  margin: 0 0 1.35rem;
  color: var(--silver);
  font-size: 1rem;
}
.cta-band .btn-primary {
  background: var(--accent);
  color: var(--navy-deep);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--silver);
  padding: 2rem 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo {
  height: 56px;
  width: auto;
}
.footer-meta { margin: 0; line-height: 1.5; }
.footer-meta a { color: var(--silver); }
.footer-meta a:hover { color: var(--accent-strong); }

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0.5rem;
  }
  .stat + .stat {
    border-top: none;
    border-left: 1px solid var(--border);
  }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .logo-img { height: 58px; }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .why-list { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .piece-rate-wrap { grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
  .contact-wrap { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 640px) {
  .audience-list { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}
@media (min-width: 900px) {
  .capability-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.6rem 1.85rem;
  }
  .capability-cta-text { flex: 1; max-width: 40rem; }
  .capability-cta .btn {
    align-self: center;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .logo-img { height: 44px; }
  .btn-call {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }
  .btn-call .call-full { display: none; }
  .btn-call .call-short { display: inline; }
  .header-inner { gap: 0.5rem; }
  .hero { padding: 2.75rem 0 3.25rem; min-height: 0; }
  .hero-actions .btn { width: 100%; }
  .footer-logo { height: 48px; }
  .cta-band .hero-actions .btn { width: 100%; max-width: 20rem; }
}
@media (min-width: 481px) {
  .btn-call .call-short { display: none; }
}
