/* Generator Trade — single-page site. Plain CSS, no build step. */

:root {
  --navy: #001b37;          /* sampled from the logo */
  --navy-2: #12304f;
  --muted: #475569;
  --line: #d9dfe7;
  --tint: #f5f7fa;
  --orange: #fd7200;        /* sampled from the logo; accents and button fills only */
  --orange-hover: #ff8a26;
  --orange-text: #a84b00;   /* orange that passes 4.5:1 on white, for small text */
  --focus: #1a5fd0;
  --radius: 10px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font: 18px/1.6 var(--font);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 750; }
p { margin: 0 0 1em; }
.small { font-size: 1rem; color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 12px 24px; border-radius: 8px; border: 2px solid transparent;
  font-weight: 750; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 1rem; }
.btn-sub { font-weight: 500; white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); } }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 40px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 12px; font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 6px; }
.site-nav a:hover { background: var(--tint); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; padding: 8px 4px; }
.header-phone svg { color: var(--orange); }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .header-phone span { display: none; }
  .header-phone { justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 8px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { height: 34px; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; gap: 8px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line);
    background: #fff; border-radius: 8px; cursor: pointer; color: var(--navy);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; content: ""; position: relative;
  }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 27, 55, .08); margin: 0;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: 14px 8px; font-size: 1.0625rem; border-bottom: 1px solid var(--tint); border-radius: 0; }
  /* Without JavaScript the toggle cannot work, so keep the menu reachable. */
  .no-js .site-nav { display: block; position: static; box-shadow: none; border: 0; }
  .no-js .nav-toggle { display: none; }
}
.nav-phone { display: none; }
.header-actions .btn-sm { white-space: nowrap; }
@media (max-width: 480px) {
  .brand img { height: 28px; }
  .header-phone { display: none; }
  .site-nav .nav-phone { display: block; }
  .header-actions .btn-sm { padding: 8px 12px; font-size: 1rem; }
}
@media (max-width: 359px) {
  .brand img { height: 26px; }
  .header-actions .btn-sm { display: none; }
}

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); border-radius: 2px; }
.hero h1 { font-size: clamp(2.25rem, 1.3rem + 4vw, 3.75rem); font-weight: 850; letter-spacing: -0.025em; max-width: 14ch; }
.lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.375rem); line-height: 1.5; font-weight: 500; max-width: 34em; }
.hero-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-email { font-size: 1rem; color: var(--muted); }

/* Nameplate-style summary card */
.plate {
  position: relative; border: 2px solid var(--navy); border-radius: var(--radius); padding: 26px 26px 18px;
  background: linear-gradient(180deg, #fff 0, #fff 60%, var(--tint) 100%);
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--navy); opacity: .35;
}
.plate::before { left: 12px; }
.plate::after { right: 12px; }
.plate-title {
  font-size: 1rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 12px; padding-bottom: 12px; border-bottom: 3px solid var(--orange); text-align: center;
}
.plate dl { margin: 0; }
.plate dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.plate dl > div:last-child { border-bottom: 0; }
.plate dt { font-size: 1rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.plate dd { margin: 0; font-weight: 650; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 36px; }
.kicker { font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; font-weight: 900; color: var(--orange-text); letter-spacing: .1em; margin: 0 0 6px; }
.kicker::after { content: ""; display: inline-block; width: 24px; height: 2px; background: var(--orange); margin-left: 10px; vertical-align: middle; }

.spec-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.spec-list li { background: #fff; padding: 26px 22px; }
.spec-list svg { width: 28px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.spec-list h3 { font-size: 1.0625rem; }
.spec-list p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.callout { border-left: 4px solid var(--orange); padding: 4px 0 4px 18px; max-width: 52em; margin: 0; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 24px 22px; }
.card p { margin: 0; color: var(--muted); }
.note { margin: 28px 0 0; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: none; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before { content: ""; position: absolute; top: 22px; left: 56px; right: -14px; height: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.step-num {
  position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.125rem; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--orange);
}
.steps p { color: var(--muted); margin: 0; }

/* Offer form */
.section-offer { border-top: 1px solid var(--line); }
.section-offer:focus { outline: none; }
.offer-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; }
.offer-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.offer-form { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); background: #fff; box-shadow: 0 1px 2px rgba(0, 27, 55, .04), 0 12px 32px rgba(0, 27, 55, .06); }
#form-frame { display: block; width: 100%; height: 1500px; border: 0; background: #fff; }
.form-help { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1rem; color: var(--muted); }
.fallback h3 { font-size: 1.375rem; }
.fallback-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 28px; }
.fallback-list-title { font-weight: 700; margin-bottom: .5em; }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 6px 0 6px 28px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

/* Contact */
.contact-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.contact-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 26px 28px; }
.contact-name { font-size: 1.375rem; font-weight: 800; margin: 0; }
.contact-role { color: var(--muted); margin: 0 0 16px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact-list a { font-weight: 700; overflow-wrap: anywhere; }
.contact-label { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Privacy */
#privacy h2 { font-size: 1.5rem; }
#privacy p { color: var(--muted); font-size: 1.0625rem; }
#privacy strong { color: var(--navy); }

/* Footer */
.site-footer { border-top: 4px solid var(--orange); background: #fff; padding: 40px 0 32px; }
.footer-inner { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.4fr) auto; align-items: start; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 34em; color: var(--muted); font-size: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: end; }
.footer-links a { font-weight: 600; }
.footer-copy { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1rem; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .plate { max-width: 560px; }
  .offer-grid { grid-template-columns: 1fr; gap: 24px; }
  .offer-intro { position: static; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 28px 66px; min-height: 74px; }
  .steps li::before { top: 52px; bottom: 0; left: 22px; right: auto; width: 2px; height: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
}
@media (max-width: 480px) {
  body { font-size: 18px; }
  .hero-actions .btn, .fallback-actions .btn { width: 100%; }
  .plate { padding: 22px 18px 12px; }
  .plate dl > div { grid-template-columns: 1fr; gap: 2px; }
  .offer-form { padding: 16px 12px; border-radius: 8px; }
  .contact-card { padding: 22px 18px; }
}
@media print {
  .site-header, .offer-form, .skip-link { display: none; }
}

/* Readable supporting copy and compact mobile contact actions. */
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
.hero-email a, .offer-intro a, .form-help a { overflow-wrap: anywhere; }
.plate dl > div { grid-template-columns: 6.5em minmax(0, 1fr); }
.mobile-contact { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .header-actions > .btn-sm, .header-phone { display: none; }
  .mobile-contact { position: fixed; z-index: 60; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: var(--navy); box-shadow: 0 -2px 12px #001b371a; }
  .mobile-contact .btn { min-height: 48px; padding: 10px 8px; font-size: 1rem; }
  .mobile-call { color: #fff; border-color: #ffffff80; }
  .mobile-contact :focus-visible { outline-color: #fff; outline-offset: 2px; }
  .mobile-contact.is-hidden:not(:focus-within) { visibility: hidden; pointer-events: none; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .site-nav { order: 3; width: 100%; }
}
@media (max-width: 480px) { .plate dl > div { grid-template-columns: 1fr; } }
@media print { body { padding-bottom: 0; } .mobile-contact { display: none; } }
