/* ==========================================================================
   AuditShipment — Marketing site design system
   Brand: yellow #F9C22E mark, ink #2E2E2E, Poppins wordmark
   ========================================================================== */

:root {
  /* Brand */
  --brand: #F9C22E;          /* signature yellow */
  --brand-600: #E3A70B;      /* darker yellow for text-on-light / hovers */
  --ink: #1C2430;            /* primary text */
  --ink-soft: #46505F;       /* secondary text */
  --muted: #6B7686;          /* tertiary / captions */
  --navy: #0E2136;           /* deep trust navy (dark sections, primary CTA) */
  --navy-700: #163150;
  --teal: #10A97E;           /* savings / positive green */
  --teal-soft: #E7F7F1;
  --sky: #3B82F6;            /* links / accent blue */

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;         /* light section band */
  --bg-tint: #FBFAF5;        /* warm off-white */
  --line: #E6EAF0;           /* borders */
  --line-soft: #EFF2F6;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(16, 33, 54, .06), 0 1px 3px rgba(16, 33, 54, .05);
  --shadow: 0 8px 24px rgba(16, 33, 54, .08), 0 2px 6px rgba(16, 33, 54, .04);
  --shadow-lg: 0 24px 60px rgba(16, 33, 54, .14);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --maxw: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', var(--font);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
ul { margin: 0; padding: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.band { background: var(--bg-alt); }
.band-tint { background: var(--bg-tint); }
.band-navy { background: var(--navy); color: #D9E1EC; }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600);
  margin-bottom: 1rem;
}
.band-navy .eyebrow { color: var(--brand); }
.lead { font-size: 1.16rem; color: var(--ink-soft); }
.band-navy .lead { color: #B7C4D4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: var(--radius-pill);
  cursor: pointer; border: 1.5px solid transparent; transition: all .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #241C00; box-shadow: 0 6px 18px rgba(249,194,46,.4); }
.btn-primary:hover { background: #ffcf3d; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(249,194,46,.5); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.band-navy .btn-ghost,
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.band-navy .btn-ghost:hover,
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand .mark { width: 34px; height: 34px; }
.brand .word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.32rem;
  letter-spacing: -.02em; color: var(--ink);
}
.brand .word .tld { font-size: .55em; font-weight: 600; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  color: var(--ink-soft); padding: .5rem .85rem; border-radius: 8px;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--bg-alt); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 span.hl { color: var(--brand-600); }
.hero .sub { font-size: 1.22rem; color: var(--ink-soft); max-width: 34ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 1.8rem 0 1.3rem; }
.hero-note { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-note .tick { display: inline-flex; align-items: center; gap: .4rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--teal); }

/* Hero carrier strip */
.hero-carriers { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.hc-label { display: block; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.carrier-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; }
.carrier { height: 26px; width: auto; opacity: .92; }

/* ---------- Stat / counter ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.band-navy .stat .num { color: #fff; }
.stat .num .unit { color: var(--brand-600); }
.band-navy .stat .num .unit { color: var(--brand); }
.stat .label { font-size: .92rem; color: var(--muted); margin-top: .5rem; }
.band-navy .stat .label { color: #90A0B4; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand); color: var(--navy); margin-bottom: 1rem;
}
.card .ico svg { width: 24px; height: 24px; }
.card .ico.teal { background: var(--teal-soft); color: var(--teal); }
.card .ico.navy { background: var(--navy); color: var(--brand); }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; font-size: .98rem; }

/* Step cards */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4,1fr); }
.step { position: relative; padding: 30px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.step .n {
  counter-increment: step; font-family: var(--font-display); font-weight: 800;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--brand); margin-bottom: 1rem; font-size: 1.1rem;
}
.step h3 { font-size: 1.12rem; }
.step p { font-size: .95rem; margin: 0; }

/* Check list */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 1px; }
.checklist b { color: var(--ink); }

/* Pill / badge */
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: var(--radius-pill); background: var(--bg-alt); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.pill svg { width: 15px; height: 15px; color: var(--teal); }

/* Customer logo wall (fake but real-looking brand lockups) */
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 46px; }
.logo-wall .logo { height: 30px; width: auto; opacity: .66; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.logo-wall .logo:hover { opacity: 1; filter: none; }

/* Logo strip */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; }
.logo-chip {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em;
  color: var(--ink-soft); opacity: .72; display: inline-flex; align-items: center; gap: .5rem;
}
.logo-chip svg { width: 22px; height: 22px; opacity: .9; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.quote .stars { color: var(--brand); letter-spacing: 2px; margin-bottom: .8rem; font-size: 1rem; }
.quote blockquote { margin: 0 0 1.4rem; font-size: 1.12rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.quote .who { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--brand); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.quote .who .name { font-weight: 600; color: var(--ink); font-size: .96rem; }
.quote .who .role { color: var(--muted); font-size: .86rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; background: var(--bg); box-shadow: var(--shadow-sm); }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.price-card.featured .tag { position: absolute; top: -13px; left: 30px; background: var(--brand); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: var(--radius-pill); }
.price-card h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.price-card .tier-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.price-card .rate { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.price-card .rate small { display: block; font-size: .9rem; font-weight: 600; color: var(--muted); margin-top: .45rem; white-space: normal; }
.price-card .rate-note { font-size: .9rem; color: var(--muted); margin: .5rem 0 1.4rem; }
.price-card ul { list-style: none; display: grid; gap: 11px; margin-bottom: 1.6rem; flex: 1; }
.price-card li { display: flex; gap: .6rem; font-size: .96rem; color: var(--ink-soft); }
.price-card li svg { width: 20px; height: 20px; flex: none; color: var(--teal); }
.price-card li span { display: inline; }

/* ---------- Rate estimator ---------- */
.estimator { max-width: 760px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; }
.est-field label, .est-calc label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .8rem; }
.est-options { display: flex; flex-wrap: wrap; gap: 10px; }
.est-opt { font-family: var(--font-display); font-weight: 600; font-size: .95rem; padding: .6rem 1.05rem; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer; transition: all .15s ease; }
.est-opt:hover { border-color: var(--ink); }
.est-opt.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.est-result { text-align: center; margin: 26px 0; padding: 26px; background: var(--bg-alt); border-radius: var(--radius); }
.est-rate { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.est-rate small { display: block; font-size: .9rem; font-weight: 600; color: var(--muted); margin-top: .45rem; }
.est-keep { margin-top: .9rem; color: var(--ink-soft); font-size: 1.02rem; }
.est-keep b { color: var(--teal); }
.est-calc { border-top: 1px solid var(--line); padding-top: 24px; }
.est-input { display: flex; align-items: center; gap: .3rem; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 .9rem; max-width: 260px; transition: border .15s; }
.est-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(249,194,46,.18); }
.est-input span { color: var(--muted); font-weight: 600; }
.est-input input { border: 0; outline: 0; font-family: var(--font); font-size: 1.05rem; padding: .7rem .2rem; width: 100%; color: var(--ink); background: transparent; }
.est-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.est-split > div { text-align: center; padding: 18px 12px; border-radius: var(--radius); background: var(--bg-alt); }
.est-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--teal); letter-spacing: -.02em; }
.est-num.muted { color: var(--ink-soft); }
.est-lbl { font-size: .85rem; color: var(--muted); }
.est-anchor { margin: 18px 0 4px; font-size: .98rem; color: var(--ink-soft); }
.est-anchor b { color: var(--ink); }
.est-split .est-keep { background: var(--teal-soft); border: 1px solid rgba(16,169,126,.22); }
.est-split .est-keep .est-num { color: var(--teal); font-size: 1.95rem; }
.est-reassure { margin-top: 14px; font-size: .88rem; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; color: var(--brand-600); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 18px; margin: 0; font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); border-radius: var(--radius-lg); padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #B7C4D4; max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.cta-band .spark { position: absolute; inset: 0; background: radial-gradient(600px circle at 80% -10%, rgba(249,194,46,.16), transparent 60%); pointer-events: none; }

/* ---------- Forms ---------- */
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 1rem; color: var(--ink); background: #fff; transition: border .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(249,194,46,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .8rem; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9FB0C4; padding: 64px 0 28px; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid a { color: #9FB0C4; display: block; padding: .3rem 0; font-size: .95rem; }
.footer-grid a:hover { color: var(--brand); }
.site-footer .brand .word { color: #fff; }
.footer-about { color: #8698AE; font-size: .95rem; max-width: 34ch; margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .86rem; color: #7A8CA2; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.page-hero .lead { max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.gap-sm { gap: 12px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-center { justify-content: center; }
.wrap-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hide-mobile { }
.text-teal { color: var(--teal); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .grid-3, .grid-4, .steps, .price-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .sub { max-width: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 2px; align-items: stretch;
  }
  .nav-links.open a { padding: .8rem .6rem; }
  .grid-2, .grid-3, .grid-4, .steps, .price-grid, .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn, .cta-band .btn { width: 100%; }
}
