:root {
  --pine: #0c1f1a;
  --pine-2: #163028;
  --mist: #e7eeea;
  --mist-2: #d3e0d8;
  --ink: #10241c;
  --vapor: #c6f6df;
  --foam: #f4f7f5;
  --sans: "Familjen Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --wide: 1440px;
  --gutter: clamp(1.1rem, 3vw, 2.4rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.5;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0 0 0.8rem;
}

h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1; }

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--vapor);
  color: var(--pine);
  padding: 0.55rem 0.9rem;
  z-index: 80;
  border-radius: 999px;
}

.skip:focus { top: 0.6rem; }

:focus-visible {
  outline: 3px solid var(--vapor);
  outline-offset: 3px;
}

::selection { background: var(--vapor); color: var(--pine); }

.nav-toggle {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.disclaimer {
  margin: 0;
  background: var(--pine-2);
  color: var(--mist);
  padding: 0.7rem var(--gutter);
  font-size: 1rem;
}

.disclaimer a { color: var(--vapor); }

.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
}

.cookie-modal[hidden] { display: none; }

.cookie-window {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--pine);
  color: var(--mist);
  padding: 1.15rem var(--gutter);
}

.cookie-window p { margin: 0; max-width: 70ch; }

.cookie-window a { color: var(--vapor); }

.cookie-actions { display: flex; gap: 0.8rem; flex: none; }

.site-header { background: var(--pine); color: var(--mist); }

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem var(--gutter);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.logo svg { width: 2rem; height: 2rem; flex: none; }

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 1.05rem;
}

.nav-panel a { text-decoration: none; }

.nav-panel a[aria-current="page"] { color: var(--vapor); }

.cart-link {
  background: var(--vapor);
  color: var(--pine);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.burger {
  display: none;
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--mist);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vapor);
  color: var(--pine);
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font: 650 1.05rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: #e7fff3; }

.btn-ghost {
  background: transparent;
  color: inherit;
  border-radius: 0;
  padding: 0.15rem 0;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.btn-ghost:hover { background: transparent; color: inherit; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100svh - 8.5rem);
  background: var(--pine);
  color: var(--mist);
}

.hero-copy {
  padding: clamp(2rem, 6vw, 5rem) var(--gutter);
  align-self: center;
  max-width: 40rem;
}

.hero h1 { max-width: 11ch; }

.hero-copy p { font-size: 1.2rem; max-width: 36ch; }

.hero-actions { display: flex; gap: 1.4rem; align-items: center; margin-top: 1.5rem; }

.hero-figure { margin: 0; min-height: 100%; }

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 28rem;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  background: var(--mist);
  color: var(--ink);
}

.band-copy { padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter); align-self: center; }

.band-copy p { max-width: 38ch; font-size: 1.15rem; }

.band img { width: 100%; height: 100%; object-fit: cover; min-height: 26rem; }

.band-flip {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  background: var(--pine);
  color: var(--mist);
}

.band-flip .band-copy { order: 2; }

.statement {
  background: var(--vapor);
  color: var(--pine);
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
}

.statement p {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }

.wide { width: min(var(--wide), calc(100% - var(--gutter) * 2)); margin: 0 auto; }

.wrap { width: min(760px, calc(100% - var(--gutter) * 2)); margin: 0 auto; }

.section-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1rem;
}

.section-intro p { margin: 0; font-size: 1.15rem; }

.shelf-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: 2.6rem 0;
}

.shelf-row:nth-child(even) { grid-template-columns: 0.85fr 1.15fr; }
.shelf-row:nth-child(even) .shelf-copy { order: 2; }

.shelf-copy h3 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 0.6rem; }
.shelf-copy h3 a { text-decoration: none; }
.shelf-copy p { max-width: 36ch; }
.shelf-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.price { font-weight: 650; font-variant-numeric: tabular-nums; }

.device {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--pine);
  color: var(--mist);
}

.device img { width: 100%; height: 100%; object-fit: cover; min-height: 28rem; }

.device-copy { padding: clamp(2rem, 5vw, 4.5rem) var(--gutter); }

.solution-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
}

.solution-row img { width: 4.5rem; height: 4.5rem; object-fit: cover; }
.solution-row a { text-decoration: none; font-weight: 650; font-size: 1.25rem; }
.solution-row .price { margin: 0; }

.method { background: var(--mist-2); }
.method ol { list-style: none; margin: 0; padding: 0; }
.method li {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: baseline;
  padding: 2rem 0;
}
.method li p { margin: 0; max-width: 46ch; }

.botanical {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--foam);
}
.botanical img { width: 100%; height: 100%; object-fit: cover; min-height: 24rem; }
.ingredient-list {
  padding: clamp(2rem, 5vw, 4rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
}
.ingredient-list h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.ingredient-list p { margin: 0; }

.quotes { background: var(--foam); }
.quote { margin: 0; padding: 2.2rem 0; }
.quote p {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  max-width: 28ch;
  font-weight: 550;
}
.quote footer { font-size: 1.05rem; }

.safety {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  background: var(--pine);
  color: var(--mist);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
}
.safety p { max-width: 46ch; }

.faq details { padding: 1.3rem 0; }
.faq summary { cursor: pointer; font-size: 1.45rem; font-weight: 650; letter-spacing: -0.03em; }
.faq p { max-width: 62ch; margin-top: 0.7rem; }

.page-title { padding: clamp(2.5rem, 7vw, 5.5rem) 0 0.5rem; }
.page-title p { font-size: 1.25rem; max-width: 40ch; }

.prose h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: 2.2rem; }
.prose li { margin: 0.35rem 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }

.note {
  background: var(--mist-2);
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}
.note p { margin: 0; }

.spec { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; }
.spec th, .spec td { text-align: left; padding: 0.7rem 0.8rem; vertical-align: top; }
.spec th { width: 34%; background: var(--mist-2); font-weight: 650; }
.spec tr:nth-child(even) td { background: var(--mist); }

.product-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--pine);
  color: var(--mist);
  min-height: 78vh;
}
.product-hero img { width: 100%; height: 100%; object-fit: cover; min-height: 24rem; }
.product-buy { padding: clamp(2rem, 5vw, 4.5rem) var(--gutter); align-self: end; }
.product-buy .price { font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -0.04em; }
.crumbs { margin-bottom: 1rem; }
.crumbs a { color: var(--vapor); }
.actions { display: flex; gap: 1.2rem; align-items: center; margin: 1.2rem 0; }
.meta-line { font-size: 1rem; }
.also { list-style: none; margin: 2rem 0 0; padding: 0; }
.also li {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0;
}
.also img { width: 5rem; height: 5rem; object-fit: cover; }
.also a { text-decoration: none; font-weight: 650; }

.contact-grid, .checkout-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.form { display: grid; gap: 0.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.wide-field { grid-column: 1 / -1; }
label { display: grid; gap: 0.35rem; font-weight: 650; }
input, select, textarea {
  font: 1rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--foam);
  border: 0;
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  background: #f3d6d2;
}
.field-error { color: #8d1d14; margin: 0.2rem 0 0; }
.field-error-fix { color: var(--pine); }

.cart-line {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.4rem 0;
}
.cart-line img { width: 7rem; height: 7rem; object-fit: cover; }
.cart-line h2 { font-size: 1.7rem; margin: 0 0 0.2rem; }
.qty { display: flex; align-items: center; gap: 0.6rem; margin: 0.4rem 0; }
.qty button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--vapor);
  color: var(--pine);
  font: 650 1.1rem/1 var(--sans);
  cursor: pointer;
}
.line-total { font-weight: 650; font-variant-numeric: tabular-nums; }
.cart-total { padding-top: 1rem; }
.sum-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.sum-lines li, .sum-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}
.sum-total { font-size: 1.3rem; font-weight: 650; }
.order-card { background: var(--mist); padding: 1.4rem; }

.thanks-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 18, 0.72);
  display: grid;
  place-items: center;
  z-index: 90;
  padding: 1rem;
}
.thanks-modal[hidden] { display: none; }
.thanks-window {
  background: var(--pine);
  color: var(--mist);
  padding: 2rem;
  max-width: 28rem;
  position: relative;
}
.thanks-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  background: transparent;
  color: var(--mist);
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
}

.site-footer { background: var(--pine); color: var(--mist); padding: 3rem 0 1.5rem; }
.footer-word { 
  font-size: clamp(3.2rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  margin: 0 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid h2 { font-size: 1.2rem; letter-spacing: -0.03em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0.35rem 0; }
.footer-grid a { text-decoration: none; }
.legal-note { margin-top: 2rem; font-size: 1rem; }

.text-link, button.text-link {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .header-bar { flex-wrap: wrap; }
  .nav-panel {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    padding: 0.4rem 0 0.8rem;
    gap: 0.8rem;
  }
  .nav-toggle:checked ~ .header-bar .nav-panel { display: flex; }
  .cart-link { margin-left: auto; }
  .hero, .band, .band-flip, .device, .botanical, .product-hero,
  .section-intro, .shelf-row, .shelf-row:nth-child(even),
  .method li, .safety, .contact-grid, .checkout-layout, .footer-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .band-flip .band-copy, .shelf-row:nth-child(even) .shelf-copy { order: 0; }
  .ingredient-list { grid-template-columns: 1fr; }
  .cookie-window { flex-direction: column; align-items: stretch; }
  .hero-figure img, .band img, .device img { min-height: 18rem; }
  .statement p { max-width: 16ch; }
}
