/* =========================================================================
   QVOS — styles.css
   AI-powered QA. Learned and built.

   Brand: ink #0F1218, gold #D4A017, warm paper/cream content ground.
   Single unified font family throughout (Segoe UI / Inter / system-ui).
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --navy: #0F1218;
  --navy-deep: #161B22;
  --panel: #1C222C;
  --amber: #D4A017;
  --amber-dark: #C09212;
  --amber-soft: #F3E4B8;
  --amber-soft-text: #7A5B08;

  /* Ground */
  --cream: #F4F1EA;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --ink: #1C2128;
  --muted: #5C6570;
  --line: #E6E2D8;
  --line-dark: #2A2F38;

  /* Feedback */
  --good: #3E7A54;

  /* Type */
  --font-display: 'Segoe UI', 'Inter', system-ui, sans-serif;
  --font-body: 'Segoe UI', 'Inter', system-ui, sans-serif;
  --font-mono: 'Segoe UI', 'Inter', system-ui, sans-serif;

  /* Misc */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 18, 24, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 18, 24, 0.08);
  --container: 1160px;
}

/* ---------- Reset & base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }

p { margin: 0 0 16px; }

a {
  color: var(--navy);
  text-decoration: none;
}

img { max-width: 100%; display: block; }

ul, ol { margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

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

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

section { padding: 72px 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover { background: var(--amber-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); }

.btn-block { display: flex; width: 100%; }

/* On the dark header/footer, outline buttons should read against navy */
header.site .btn-outline,
footer.site .btn-outline {
  border-color: rgba(248, 245, 240, 0.4);
  color: #F8F5F0;
}
header.site .btn-outline:hover,
footer.site .btn-outline:hover {
  background: #F8F5F0;
  color: var(--navy);
}

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

header.site {
  background: var(--navy);
  border-bottom: 1px solid rgba(248, 245, 240, 0.08);
  position: sticky;
  top: 0;
  z-index: 40;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #D8D3C7;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: #F8F5F0; }

.nav-links a.btn { margin-left: 4px; }

/* ---------- Shop nav dropdown ---------- */

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  background: transparent;
  border: none;
  color: #D8D3C7;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.nav-dropdown-trigger:hover { color: #F8F5F0; }

.nav-dropdown-trigger .caret {
  font-size: 11px;
  transition: transform 0.15s ease;
}

.nav-dropdown.open .nav-dropdown-trigger .caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  z-index: 50;
}

.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.12s ease;
}

.nav-dropdown-menu a:hover { background: var(--cream); }

.nav-dropdown-menu a.nav-dropdown-browse {
  color: var(--amber-dark);
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  margin-bottom: 4px;
  padding-bottom: 12px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(248, 245, 240, 0.25);
  border-radius: var(--radius-sm);
  color: #F8F5F0;
  width: 40px;
  height: 40px;
  font-size: 18px;
}

/* ---------- Eyebrows / tags / labels ---------- */

.eyebrow,
.eyebrow-dark,
.tag,
.badge-soon {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow { color: var(--amber); margin-bottom: 18px; }
.eyebrow-dark { color: var(--amber-dark); margin-bottom: 14px; }

.tag { color: var(--muted); margin-bottom: 10px; }

.brand-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--amber);
  text-transform: none;
  letter-spacing: normal;
  display: inline-block;
}

.brand-tagline-hero {
  font-size: 16px;
  margin-bottom: 18px;
}

.badge-soon {
  color: var(--muted);
  background: rgba(92, 101, 112, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
}

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

.hero {
  background: radial-gradient(1100px 480px at 85% -10%, rgba(245, 166, 35, 0.10), transparent 60%), var(--navy);
  color: #F8F5F0;
  padding: 96px 0 88px;
}

.hero h1 {
  color: #F8F5F0;
  font-size: 46px;
  max-width: 820px;
  margin-bottom: 20px;
}

.hero .lead {
  color: #A8A092;
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 34px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Interior page hero (About / FAQ / Shop) */

.page-hero {
  background: var(--navy);
  color: #F8F5F0;
  padding: 56px 0;
}

.page-hero h1 { color: #F8F5F0; margin-bottom: 8px; }
.page-hero p { color: #A8A092; font-size: 17px; margin: 0; }

.about-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.about-lockup span {
  font-size: 15px;
  padding-left: 14px;
  border-left: 1px solid rgba(248, 245, 240, 0.2);
}

/* ---------- Section heads ---------- */

.section-head {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Grids & cards ---------- */

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.cat-card .icon {
  font-size: 26px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 166, 35, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.cat-card h3 { margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }

/* Product cards */

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.product-card .cover {
  aspect-ratio: 4 / 3;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-card .cover img { width: 100%; height: 100%; object-fit: cover; }

.product-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }

.product-card h3 { font-size: 18px; margin-bottom: 8px; }

.product-card .desc {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 20px;
  flex: 1;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Value list (numbered — a genuine 1-2-3 progression) ---------- */

.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-item .num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.value-item h3 { margin-bottom: 8px; }
.value-item p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------- Testimonials ---------- */

.testi-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.testi-card p {
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 16px;
}

.testi-card .who {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Newsletter ---------- */

.newsletter {
  background: var(--navy);
  color: #F8F5F0;
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
}

.newsletter h2 { color: #F8F5F0; margin-bottom: 10px; }
.newsletter p { color: #A8A092; margin-bottom: 28px; }

.nl-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.nl-form input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid #433D33;
  background: #1C1815;
  color: #fff;
  font-size: 14px;
}

.nl-form input::placeholder { color: #8A8272; }

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

footer.site {
  background: var(--navy);
  color: #A8A092;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-grid h4 {
  color: #F8F5F0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-grid a {
  display: block;
  color: #A8A092;
  font-size: 14.5px;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-grid a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 245, 240, 0.08);
  font-size: 13px;
  color: #6B665C;
}

/* ---------- Prose (About) ---------- */

.prose { max-width: 720px; margin: 0 auto; padding-top: 56px; padding-bottom: 8px; }

.prose h2 { margin-top: 40px; font-size: 24px; }
.prose p { color: #333029; }
.prose strong { color: var(--navy); }
.prose a { color: var(--amber-dark); text-decoration: underline; text-underline-offset: 2px; }

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

.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { padding-top: 8px; }

.faq-item h3 { margin-bottom: 10px; }
.faq-item p { color: var(--muted); margin: 0; }
.faq-item a { color: var(--amber-dark); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Shop filters ---------- */

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-pill {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  transition: all 0.15s ease;
}

.filter-pill:hover { border-color: var(--navy); color: var(--navy); }

.filter-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #F8F5F0;
}

/* ---------- Product detail pages ---------- */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 24px;
}

.cover-lg {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 96px;
}

.cover-lg img { width: 100%; height: auto; }

.product-detail h1 { font-size: 32px; margin-bottom: 14px; }
.product-detail > div:last-child p { color: var(--muted); }

.price-lg {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin: 20px 0 16px;
}

.included-list { list-style: none; margin-bottom: 32px; }

.included-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}

.included-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--amber-dark);
  font-weight: 700;
}

.toc-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.toc-box h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 14px;
}

.toc-box ol {
  list-style: none;
  counter-reset: toc;
}

.toc-box ol li {
  counter-increment: toc;
  position: relative;
  padding: 7px 0 7px 34px;
  font-size: 14.5px;
  color: var(--ink);
}

.toc-box ol li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--amber-dark);
  font-weight: 600;
}

/* ---------- Thank-you page ---------- */

.thanks-section { padding: 88px 0; }

.thanks-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 52px 48px;
  text-align: center;
}

.thanks-check {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.14);
  color: var(--amber-dark);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-card #thanks-tag { margin-bottom: 16px; }

.thanks-card h1 { font-size: 30px; margin-bottom: 16px; }

.thanks-body {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 460px;
  margin: 0 auto 36px;
}

.thanks-next {
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 32px;
}

.thanks-next h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 14px;
}

.thanks-next .included-list { margin-bottom: 0; }
.thanks-next .included-list li:last-child { border-bottom: none; }

.thanks-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Checkout paused state ---------- */

.btn-disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  width: 100%;
}

.checkout-paused-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

.checkout-paused-note a {
  color: var(--amber-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- About page: profile layout ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-bio h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.about-bio p {
  color: #333029;
  font-size: 16px;
  margin-bottom: 18px;
}

/* ---------- Trusted clients marquee ---------- */

.trusted-clients {
  background: var(--navy);
  padding: 64px 0 56px;
}

.trusted-clients .eyebrow-dark { color: var(--amber); }
.trusted-clients h2 { color: #F8F5F0; }
.trusted-clients .section-head p { color: #A8A092; }

.marquee {
  overflow: hidden;
  margin-top: 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6B6558;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- QAaaS-style sales page components ---------- */

.not-for-note {
  border-top: 1px dashed var(--line);
  margin-top: 24px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.steps { counter-reset: step; }

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }

.step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.compare-table th, .compare-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table th {
  background: var(--navy);
  color: #F8F5F0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 600; color: var(--navy); width: 24%; }
.compare-table td { color: var(--muted); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.pill {
  border: 1px solid rgba(248, 245, 240, 0.25);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  color: #D8D3C7;
  font-family: var(--font-mono);
}

.cta-band { background: var(--cream); text-align: center; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--muted); max-width: 62ch; margin: 0 auto 28px; }
.cta-band .fine-print { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- Dark examples section (cards on a dark background) ---------- */

.examples-dark {
  background: var(--navy-deep);
  padding: 64px 0;
}

.examples-dark .section-head { text-align: left; margin-left: 0; }
.examples-dark .eyebrow-dark { color: var(--amber); }
.examples-dark h2 { color: #F8F5F0; }
.examples-dark .section-head p { color: #A8A092; }

.dark-card {
  background: var(--panel);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px;
}

.dark-card h3 { color: #F8F5F0; margin-bottom: 8px; }
.dark-card p { color: #A8A092; margin: 0; font-size: 15px; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .value-list { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .cover-lg { position: static; }
  .hero h1 { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { position: static; max-width: 280px; margin: 0 auto; }
}

@media (max-width: 680px) {
  section { padding: 52px 0; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(248, 245, 240, 0.08);
  }

  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-links a.btn { margin-top: 8px; width: fit-content; }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { padding: 10px 0; width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { color: #D8D3C7; padding: 8px 0; }
  .nav-dropdown-menu a:hover { background: transparent; color: #F8F5F0; }
  .nav-dropdown-menu a.nav-dropdown-browse {
    color: var(--amber);
    border-bottom-color: rgba(248, 245, 240, 0.12);
  }

  header.site { position: relative; }
  header.site.open .nav-links { display: flex; }

  .mobile-toggle { display: flex; align-items: center; justify-content: center; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }

  .thanks-card { padding: 36px 24px; }
  .thanks-actions { flex-direction: column; align-items: stretch; }

  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .compare-table { font-size: 13.5px; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
  .compare-table td:first-child { width: auto; }
}
