@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --navy: #0f2d4a;
  --navy-mid: #1a4a6e;
  --teal: #2a7d6e;
  --teal-light: #e8f4f1;
  --gold: #c4a052;
  --cream: #faf8f5;
  --cream-dark: #f0ebe3;
  --text: #1c2834;
  --muted: #5c6b7a;
  --border: #e2ddd4;
  --white: #fff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(15, 45, 74, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); font-size: 0.95rem; }

.announcement {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}
.announcement a { color: var(--gold); text-decoration: none; font-weight: 600; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4vw;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
}
.logo {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--teal), var(--navy-mid));
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.logo-text { line-height: 1.2; }
.logo-sub { display: block; font-size: 0.68rem; font-weight: 500; color: var(--muted); }
.main-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.88rem; font-weight: 500; }
.main-nav a { color: var(--text); text-decoration: none; }
.main-nav a.active, .main-nav a:hover { color: var(--teal); }
.nav-toggle { display: none; border: none; background: none; font-size: 1.4rem; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.cart-link { font-weight: 600; text-decoration: none; color: var(--navy); }
.btn-header {
  background: var(--teal);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
}
.badge { background: var(--teal); color: #fff; border-radius: 999px; padding: 0.15rem 0.5rem; font-size: 0.7rem; margin-left: 0.2rem; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  border: none;
  padding: 0.9rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none !important;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(42,125,110,0.35); }
.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
  box-shadow: none;
}
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.btn-navy { background: var(--navy); }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* Hero SDW-style */
.hero-sdw {
  padding: 4rem 4vw 5rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--teal-light) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-sdw h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.hero-sdw .lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.75rem; max-width: 32rem; }
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

/* Stats bar - Goldman style */
.stats-bar {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 4vw;
}
.stats-bar .stats-row { max-width: 1180px; margin: 0 auto; }
.stat-num { font-family: var(--serif); font-size: 2.75rem; font-weight: 600; color: var(--gold); }
.stat-headline {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.25;
}
.stats-row--neutral .stat-label { max-width: 14rem; margin-left: auto; margin-right: auto; }
.stat-label { font-size: 0.9rem; opacity: 0.9; margin-top: 0.25rem; }
.tag-representative {
  background: var(--navy);
  color: #fff;
  margin-right: 0.35rem;
}

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }
.section-cream { background: var(--cream-dark); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-sub { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; color: var(--muted); }

/* Pain points - SDW */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.pain-card .emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.pain-card h3 { font-family: var(--serif); color: var(--navy); margin-bottom: 0.5rem; }

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.process-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.process-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.process-card .body { padding: 1.5rem; }
.process-card h3 { font-family: var(--serif); color: var(--navy); margin-bottom: 0.5rem; font-size: 1.15rem; }

/* Service pills */
.service-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.service-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-pill:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.service-pill .icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.service-pill h3 { font-family: var(--serif); color: var(--navy); margin-bottom: 0.5rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--teal-light);
}
.team-card h3 { color: var(--navy); margin-bottom: 0.25rem; }
.team-card .role { color: var(--teal); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }

/* Case studies */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.case-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.case-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.case-card .tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); font-weight: 600; }
.case-card h3 { font-family: var(--serif); color: var(--navy); margin: 0.35rem 0; }
.case-card blockquote { font-style: italic; color: var(--muted); font-size: 0.92rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }

.audience-grid, .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.audience-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.audience-card h3 { font-family: var(--serif); color: var(--navy); margin-bottom: 0.75rem; }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-image { display: block; position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--cream-dark); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--teal); color: #fff; font-size: 0.7rem; padding: 0.25rem 0.6rem; border-radius: 999px; font-weight: 700; }
.product-info { padding: 1.25rem; }
.product-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.product-info h3 { font-size: 1.05rem; margin: 0.4rem 0; }
.product-info h3 a { color: var(--navy); text-decoration: none; }
.product-format { font-size: 0.8rem; margin-bottom: 0.5rem; }
.price { font-weight: 700; color: var(--navy); }
.price-old { text-decoration: line-through; color: var(--muted); margin-right: 0.5rem; }
.price-sale { color: var(--teal); font-weight: 700; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 3.5rem 4vw;
  text-align: center;
}
.page-hero h1 { font-family: var(--serif); font-size: 2.5rem; margin-bottom: 0.75rem; }
.page-hero p { opacity: 0.9; max-width: 560px; margin: 0 auto; }

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.check-list { list-style: none; margin: 1.25rem 0; }
.check-list li { padding: 0.5rem 0 0.5rem 1.75rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.ind-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ind-path-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.ind-path-card h3 { font-family: var(--serif); color: var(--navy); margin-bottom: 0.5rem; font-size: 1.1rem; }
.ind-path-card a { font-weight: 600; font-size: 0.9rem; }

.shop-audience { margin-bottom: 2.5rem; }
.shop-audience-title { font-family: var(--serif); color: var(--navy); font-size: 1.35rem; margin-bottom: 1rem; }
.shop-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.shop-audience-card {
  display: block;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.shop-audience-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.shop-audience-card strong { display: block; color: var(--navy); margin-bottom: 0.35rem; }
.shop-toolbar { margin-bottom: 1.25rem; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.filter-chip {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  text-decoration: none;
}
.shop-stories {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.case-grid--compact .case-card blockquote { font-size: 0.9rem; }
.case-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.case-filters .filter-chip {
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.stories-intro {
  max-width: 720px;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stories-intro p { margin-bottom: 0.75rem; }
.stories-intro p:last-child { margin-bottom: 0; }
.stories-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.stories-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 3rem 0 4rem; }
.compliance-note {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
}

.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 1rem; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 72px; border-radius: 8px; }
.cart-summary { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; padding: 2.5rem 0 4rem; }

.payment-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.75rem; margin: 1rem 0; }
.payment-option {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 0.85rem; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--white); cursor: pointer;
}
.payment-option:has(input:checked) { border-color: var(--teal); background: var(--teal-light); }
.payment-option input { position: absolute; opacity: 0; }
.payment-option img { height: 26px; }
.payment-label { font-size: 0.72rem; font-weight: 600; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; background: var(--white);
}

.legal-page { padding: 2.5rem 0 4rem; max-width: 780px; }
.legal-page h1 { font-family: var(--serif); color: var(--navy); margin-bottom: 1rem; }
.legal-page h2 { color: var(--navy); margin: 2rem 0 0.75rem; font-size: 1.25rem; }
.legal-page ul, .legal-page ol { margin: 0 0 1rem 1.25rem; }
.legal-page li { margin-bottom: 0.5rem; }

.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 4rem 4vw;
  border-radius: var(--radius-lg);
  margin: 2rem auto;
  max-width: 1180px;
  width: 92vw;
}
.cta-band h2 { font-family: var(--serif); font-size: 2rem; margin-bottom: 1rem; }
.cta-band .btn { background: var(--gold); color: var(--navy) !important; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 3rem 4vw 1.5rem;
  margin-top: auto;
}
.footer-disclaimer { font-size: 0.78rem; opacity: 0.8; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.site-footer h3, .site-footer h4 { color: #fff; margin-bottom: 0.75rem; font-family: var(--serif); }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-policies a { display: block; margin-bottom: 0.3rem; font-size: 0.88rem; }
.copyright { text-align: center; font-size: 0.8rem; opacity: 0.65; }
.footer-legal-note {
  text-align: center;
  font-size: 0.72rem;
  opacity: 0.65;
  margin-top: 0.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 1rem 4vw; display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between; z-index: 200;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}

/* Modal - fixed buttons */
.modal-root {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 1.25rem;
}
.modal-root.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 45, 74, 0.55); }
.modal-dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 0.75rem; right: 1rem;
  border: none; background: var(--cream-dark);
  width: 2rem; height: 2rem; border-radius: 50%;
  font-size: 1.25rem; cursor: pointer; color: var(--muted);
  line-height: 1;
}
.modal-icon {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
}
.modal-icon--error { background: #fdecea; color: #c62828; }
.modal-icon--success { background: var(--teal-light); color: var(--teal); }
.modal-title { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin-bottom: 1rem; line-height: 1.3; }
.modal-body { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.75rem; line-height: 1.6; text-align: left; }
.modal-body p { margin-bottom: 0.75rem; }
.modal-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.25rem;
}
.modal-actions .btn,
.modal-actions .btn-outline {
  width: 100%;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
}
.modal-actions .btn-outline {
  background: var(--white);
  color: var(--navy) !important;
  border: 2px solid var(--border);
}
.modal-actions .btn-outline:hover {
  border-color: var(--navy);
  background: var(--cream);
}

.toast {
  position: fixed; bottom: 5rem; right: 1rem;
  background: var(--navy); color: #fff;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  opacity: 0; transition: 0.3s; z-index: 300;
}
.toast.show { opacity: 1; }

.content-rich { max-width: 800px; }
.content-rich h2 { font-family: var(--serif); color: var(--navy); margin: 2rem 0 1rem; }
.content-rich ul { margin-left: 1.25rem; margin-bottom: 1rem; }

@media (min-width: 480px) {
  .modal-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .modal-actions .btn,
  .modal-actions .btn-outline {
    width: auto;
    min-width: 140px;
    flex: 1 1 auto;
  }
}

@media (max-width: 900px) {
  .hero-grid, .pdp, .checkout-grid, .split-feature,
  .ind-paths, .shop-audience-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 1rem 4vw;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .btn-header { display: none; }
}
