:root {
  --ink: #0b3d3a;
  --ink-deep: #062824;
  --ink-soft: #134844;
  --accent: #1fa89a;
  --accent-hover: #178f84;
  --accent-soft: #d8f4f0;
  --cream: #f6f3ec;
  --sand: #ece6d8;
  --white: #ffffff;
  --text: #1c2a28;
  --muted: #5c6d6a;
  --line: #dfe6e3;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(11, 61, 58, 0.12);
  --header-h: 92px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink-deep);
  color: var(--white);
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 0;
}

.logo img {
  display: block;
  height: 44px;
  width: 240px;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a,
.nav .drop-toggle {
  color: #e8f4f2;
  padding: 10px 12px;
  font-size: 0.94rem;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
}

.nav a:hover,
.nav .drop-toggle:hover,
.nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  color: var(--text);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 20;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  color: var(--text);
  padding: 10px 12px;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ink-soft);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink-deep) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 40, 36, 0.82) 0%, rgba(6, 40, 36, 0.45) 55%, rgba(6, 40, 36, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 90px 0;
  max-width: 680px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }
}

.hero p {
  font-size: 1.15rem;
  color: #d7ebe8;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-dark {
  background: var(--ink);
  color: #e7f3f1;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-head {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split img,
.media-frame img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.media-frame {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.video-card {
  position: relative;
}

.play-badge {
  position: absolute;
  inset: auto 24px 24px auto;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 10px 30px rgba(11, 61, 58, 0.06);
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.feature-card h3 {
  font-size: 1.2rem;
}

/* Quiz banner */
.quiz-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--white);
}

.quiz-copy {
  padding: 48px 42px;
}

.quiz-copy h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.quiz-copy p {
  color: #cfe3e0;
}

.quiz-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.quote-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.quote-card p {
  font-size: 1.05rem;
  color: var(--text);
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.quote-person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-person strong {
  display: block;
}

.quote-person span {
  color: var(--muted);
  font-size: 0.9rem;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 18px;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3f7f6;
}

.product-card-body {
  padding: 24px;
}

.price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
}

.price-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 20px;
  font-weight: 650;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item button::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
}

.faq-item.open button::after {
  content: "–";
}

.faq-item .faq-body {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.open .faq-body {
  display: block;
}

.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.9rem;
}

.chip.active,
.chip:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 61, 58, 0.07);
}

.blog-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article img.cover {
  width: 100%;
  border-radius: 20px;
  margin: 10px 0 28px;
  max-height: 420px;
  object-fit: cover;
}

.article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Help band */
.help-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

/* Page hero */
.page-hero {
  background: var(--ink) center / cover no-repeat;
  color: var(--white);
  padding: 72px 0 56px;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 40, 36, 0.55), rgba(6, 40, 36, 0.72));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.breadcrumb {
  font-size: 0.88rem;
  color: #c9ddda;
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Product page */
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  border-radius: 20px;
  overflow: hidden;
  background: #f3f7f6;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

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

.thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #f3f7f6;
}

.thumbs button.active,
.thumbs button:hover {
  border-color: var(--accent);
}

.thumbs img {
  width: 100%;
  height: 82px;
  object-fit: cover;
}

.buy-box {
  position: sticky;
  top: 98px;
}

.stock {
  color: #16794f;
  font-weight: 650;
  font-size: 0.92rem;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.spec-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.qty-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}

.qty {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty button,
.qty input {
  border: 0;
  background: var(--white);
  width: 42px;
  height: 42px;
  text-align: center;
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form textarea,
.form select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Cart / checkout */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: start;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  text-align: left;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f7f6;
}

.summary-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 22px;
  position: sticky;
  top: 98px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.15rem;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

.empty-cart {
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--line);
  border-radius: 18px;
}

/* Quiz */
.quiz-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.progress {
  height: 6px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 22px;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 20%;
}

.choice {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 8px 0;
  cursor: pointer;
}

.choice:hover,
.choice.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.result-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 32px;
}

/* Legal */
.legal {
  max-width: 820px;
}

.legal h2 {
  margin-top: 1.6em;
  font-size: 1.35rem;
}

.legal h3 {
  font-size: 1.08rem;
  margin-top: 1.2em;
}

.legal ul,
.legal ol {
  padding-left: 1.2em;
}

.disclaimer {
  font-size: 0.82rem;
  color: #c5d6d3;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: var(--ink-deep);
  color: #d5e6e3;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 8px 0;
}

.footer-brand img {
  height: 44px;
  width: auto;
  max-width: 240px;
  border-radius: 0;
  margin-bottom: 14px;
  object-fit: contain;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter input {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: none;
  max-width: 720px;
  margin: 0 auto;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Utility */
.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.stack {
  display: grid;
  gap: 16px;
}

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

.step {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
}

.step-num {
  font-family: Fraunces, serif;
  font-size: 1.8rem;
  color: var(--accent);
}

.alert {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
}

.alert-warn {
  background: #fff4e5;
}

.pay-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: var(--accent-soft);
}

.pay-box strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

.success-box {
  text-align: center;
  padding: 48px 20px;
}

.success-box h1 {
  font-size: 2.4rem;
}

@media (max-width: 980px) {
  .logo img {
    height: 36px;
    width: 188px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
  }

  .nav.open {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding-left: 8px;
  }

  .dropdown-menu a {
    color: #e8f4f2;
  }

  .header-inner {
    position: relative;
  }

  .split,
  .quiz-banner,
  .quote-grid,
  .product-grid,
  .blog-grid,
  .help-band,
  .product-layout,
  .cart-layout,
  .checkout-layout,
  .footer-grid,
  .feature-grid,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
  }

  .buy-box,
  .summary-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 56px 0;
  }

  .hero-content {
    padding: 64px 0;
  }

  .quiz-copy {
    padding: 32px 24px;
  }

  .cart-link span.label {
    display: none;
  }
}
