/* =========================================================
   Alpha Drive — Skandinavisk wellness
   Palett: ljus, mättad, silver, krom, mint, grön, mörkgrön
   Original stilmall — inga ramverk
   ========================================================= */

:root {
  /* Färgpalett */
  --light:        #f4faf7;
  --light-2:      #eaf4ef;
  --paper:        #ffffff;
  --mint:         #cef0e0;
  --mint-2:       #a8e0c8;
  --mint-soft:    #dff3ea;
  --green:        #3a9e74;
  --green-bright: #2fb587;
  --green-deep:   #1c5c46;
  --green-dark:   #103628;
  --silver:       #d6dedc;
  --silver-2:     #c2cecb;
  --chrome:       #bcc8c6;
  --chrome-hi:    #eef2f1;

  --ink:          #10241d;
  --ink-soft:     #33463f;
  --ink-faint:    #6c7d77;
  --line:         #dde8e3;

  /* Gradienter */
  --grad-hero:    linear-gradient(135deg, var(--mint) 0%, var(--green) 55%, var(--green-deep) 100%);
  --grad-deep:    linear-gradient(150deg, var(--green) 0%, var(--green-dark) 100%);
  --grad-silver:  linear-gradient(120deg, var(--chrome-hi) 0%, var(--silver) 50%, var(--chrome) 100%);
  --grad-mint:    linear-gradient(160deg, var(--mint-soft) 0%, var(--mint) 100%);

  /* Form */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-soft: 0 18px 50px -24px rgba(16, 54, 42, .35);
  --shadow-card: 0 24px 60px -30px rgba(16, 54, 42, .45);
  --shadow-lift: 0 30px 70px -28px rgba(16, 54, 42, .5);

  /* Typografi */
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2.4rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--light);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  overflow-x: hidden;
}

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

a { color: var(--green-deep); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--green); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); }

p { color: var(--ink-soft); }

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .9rem;
}
.eyebrow.on-dark { color: var(--mint-2); }

.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }

.section { padding-block: clamp(3.4rem, 6vw, 6.5rem); position: relative; }

.section--light   { background: var(--light); }
.section--paper   { background: var(--paper); }
.section--mint    { background: var(--grad-mint); }
.section--silver  { background: var(--grad-silver); }
.section--deep    { background: var(--grad-deep); color: var(--mint-soft); }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p  { color: rgba(233, 247, 240, .86); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: var(--pad-y) 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease, color .25s ease;
  will-change: transform;
  text-align: center;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: linear-gradient(120deg, var(--green-bright), var(--green-deep));
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(28, 92, 70, .8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(28, 92, 70, .85); color:#fff; }

.btn--ghost {
  background: rgba(255,255,255,.7);
  color: var(--green-deep);
  border-color: var(--silver-2);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; border-color: var(--green); transform: translateY(-2px); }

.btn--light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); color:#fff; }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 250, 247, .78);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(221, 232, 227, .8);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(16,54,42,.5); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
}
.brand:hover { color: var(--ink); }
.brand .brand__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  display: inline-block;
  align-self: center;
  box-shadow: 0 0 0 4px rgba(47,181,135,.18);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  list-style: none;
}
.nav__links a {
  font-size: .96rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-block: .4rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--green);
  transition: width .3s ease;
  border-radius: 2px;
}
.nav__links a:hover { color: var(--green-deep); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border: 1px solid var(--silver-2);
  border-radius: 12px;
  background: rgba(255,255,255,.7);
  cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2px; width: 22px;
  background: var(--ink);
  margin-inline: auto;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Section 1) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: .38;
  transform: scale(1.05);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,54,42,.15), rgba(16,54,42,.55));
}
@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to   { transform: scale(1.12) translate3d(-2%, -2%, 0); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.6rem, 9vw, 7rem);
}
.hero__content { max-width: 40ch; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 .accent {
  background: linear-gradient(120deg, #fff, var(--mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { color: rgba(240,252,247,.9); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(6px);
  margin-bottom: 1.4rem;
}
.hero__badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 0 rgba(206,240,224,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(206,240,224,.6); }
  70% { box-shadow: 0 0 0 12px rgba(206,240,224,0); }
  100% { box-shadow: 0 0 0 0 rgba(206,240,224,0); }
}

.hero__panel {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: var(--shadow-card);
}
.hero__panel h3 { color: #fff; margin-bottom: 1rem; font-size: 1.15rem; }
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.hero__stat { background: rgba(255,255,255,.1); border-radius: var(--r-md); padding: 1rem; border: 1px solid rgba(255,255,255,.16); }
.hero__stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: #fff; }
.hero__stat span { font-size: .82rem; color: rgba(240,252,247,.82); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-bottom: .9rem; }

/* ---------- Lifestyle (Section 2) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 11;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(16,54,42,.22));
}
.feature-list { list-style: none; margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
}
.feature-list .marker {
  width: 30px; height: 30px; border-radius: 10px;
  background: var(--grad-mint);
  border: 1px solid var(--mint-2);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--green-deep);
  font-size: .95rem;
  flex-shrink: 0;
}
.feature-list b { color: var(--ink); font-weight: 600; }
.feature-list p { margin-top: .1rem; font-size: .96rem; }

/* ---------- Product card (Section 3) ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: center;
}
.product-card {
  position: relative;
  background: linear-gradient(160deg, #ffffff, var(--mint-soft));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute; top: -40%; right: -30%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(47,181,135,.22), transparent 70%);
  border-radius: 50%;
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.product-card__media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 40px rgba(16,54,42,.32));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.product-card__price {
  display: inline-flex; align-items: baseline; gap: .35rem;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; color: var(--green-deep);
  margin-block: .4rem .8rem;
}
.product-card__price small { font-size: .95rem; color: var(--ink-faint); font-family: var(--font-body); font-weight: 500; }

.product-detail h2 { margin-bottom: 1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.3rem 0 1.6rem; }
.chip {
  font-size: .84rem; font-weight: 600;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--silver-2);
  color: var(--green-deep);
}
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.8rem; }
.spec {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
}
.spec span { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.spec b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }

/* ---------- Ingredients (Section 4) ---------- */
.card-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.4vw, 1.8rem);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--mint-2); }
.info-card__no {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--green);
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-mint);
  border: 1px solid var(--mint-2);
  margin-bottom: 1rem;
}
.info-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.info-card p { font-size: .96rem; }

/* ---------- Lifestyle habits (Section 5) ---------- */
.habits-band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.habits-band .split__media { aspect-ratio: 5 / 4; }
.habit-points { display: grid; gap: 1rem; margin-top: 1.4rem; }
.habit-points .row {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--r-md);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, background .3s ease;
}
.habit-points .row:hover { transform: translateX(6px); background: rgba(255,255,255,.78); }
.habit-points .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
}

/* ---------- Trust (Section 6) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); }
.value-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  backdrop-filter: blur(10px);
  transition: transform .3s ease, background .3s ease;
}
.value-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); }
.value-card h3 { color: #fff; margin-bottom: .6rem; }
.value-card .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--mint-2); display: block; margin-bottom: .8rem; }

/* ---------- Steps (Section 7) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.8rem); counter-reset: step; }
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.2rem 1.6rem 1.6rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.step__num {
  position: absolute; top: -22px; left: 1.6rem;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 12px 26px -12px rgba(28,92,70,.8);
}
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }

/* ---------- FAQ (Section 8) ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .9rem; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq__item.is-open { box-shadow: var(--shadow-soft); border-color: var(--mint-2); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__q .sign {
  flex-shrink: 0;
  width: 26px; height: 26px; position: relative;
}
.faq__q .sign::before, .faq__q .sign::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--green); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.faq__q .sign::before { width: 14px; height: 2px; }
.faq__q .sign::after { width: 2px; height: 14px; }
.faq__item.is-open .sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a-inner { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Contact / Order (Section 9) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}
.order-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
}
.order-form h3 { margin-bottom: .4rem; }
.order-form .form-note { font-size: .92rem; color: var(--ink-faint); margin-bottom: 1.4rem; }

.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .5rem; color: var(--ink); }
.field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .9rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--light);
  color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47,181,135,.16);
}
.field input.is-invalid { border-color: #c2513f; background: #fdf3f1; }
.field .err {
  display: block;
  font-size: .84rem;
  color: #b34433;
  margin-top: .45rem;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.field .err.show { max-height: 40px; }

.order-summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--grad-mint);
  border: 1px solid var(--mint-2);
  border-radius: var(--r-md);
  margin-bottom: 1.3rem;
}
.order-summary span { font-weight: 600; color: var(--green-deep); }
.order-summary b { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-deep); }

.form-legal { font-size: .82rem; color: var(--ink-faint); margin-top: 1rem; }

.contact-info { display: grid; gap: 1.2rem; }
.contact-block {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  backdrop-filter: blur(6px);
}
.contact-block span { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .4rem; }
.contact-block p, .contact-block a { color: var(--ink); font-weight: 500; }
.contact-block address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grad-deep);
  color: rgba(233,247,240,.82);
  padding-block: clamp(3rem, 5vw, 4.5rem) 1.6rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand .brand { color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.footer-brand .brand:hover { color:#fff; }
.footer-brand p { color: rgba(233,247,240,.7); max-width: 34ch; font-size: .96rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a { color: rgba(233,247,240,.8); font-size: .96rem; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; line-height: 1.9; font-size: .96rem; color: rgba(233,247,240,.8); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.6rem;
  font-size: .86rem;
  color: rgba(233,247,240,.62);
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 50%; bottom: clamp(1rem, 3vw, 2rem);
  transform: translateX(-50%) translateY(140%);
  width: min(680px, calc(100% - 2rem));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
  z-index: 90;
  transition: transform .5s cubic-bezier(.16,.84,.44,1), opacity .4s ease;
  opacity: 0;
}
.cookie.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie.is-hidden { transform: translateX(-50%) translateY(140%); opacity: 0; pointer-events: none; }
.cookie h4 { font-size: 1.1rem; margin-bottom: .5rem; }
.cookie p { font-size: .92rem; margin-bottom: 1.1rem; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cookie__actions .btn { --pad-y: .7rem; font-size: .92rem; padding-inline: 1.3rem; }

.cookie-prefs { display: none; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.cookie-prefs.show { display: block; }
.pref-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.pref-row span { font-size: .92rem; }
.pref-row small { display: block; color: var(--ink-faint); font-size: .82rem; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--silver-2); border-radius: 999px; transition: background .25s ease;
}
.switch .track::before {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: transform .25s ease; box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { opacity: .55; cursor: not-allowed; }

/* ---------- Legal / content pages ---------- */
.page-hero {
  background: var(--grad-mint);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { color: var(--green); }
.page-hero p { max-width: 62ch; }

.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { margin-block: 2.2rem 1rem; font-size: 1.6rem; }
.prose h3 { margin-block: 1.6rem .7rem; font-size: 1.25rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 0 0 1.2rem 1.3rem; }
.prose li { margin-bottom: .5rem; color: var(--ink-soft); }
.prose .updated { font-size: .9rem; color: var(--ink-faint); margin-bottom: 2rem; }
.prose .callout {
  background: var(--grad-mint);
  border: 1px solid var(--mint-2);
  border-radius: var(--r-md);
  padding: 1.3rem 1.5rem;
  margin-block: 1.6rem;
}
.prose .callout p:last-child { margin-bottom: 0; }

/* ---------- Success page ---------- */
.success {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}
.success__card {
  max-width: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: var(--shadow-card);
}
.success__ring {
  width: 84px; height: 84px; margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: var(--grad-mint);
  border: 2px solid var(--green);
  display: grid; place-items: center;
  position: relative;
  animation: popIn .5s cubic-bezier(.2,.9,.3,1.4) both;
}
.success__ring::after {
  content: "";
  width: 30px; height: 16px;
  border-left: 4px solid var(--green-deep);
  border-bottom: 4px solid var(--green-deep);
  transform: rotate(-45deg) translate(2px, -3px);
  border-radius: 2px;
}
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.44,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 480px; }
  .split, .product-showcase, .habits-band, .contact-grid { grid-template-columns: 1fr; }
  .product-showcase .product-card { max-width: 420px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(244,250,247,.98);
    backdrop-filter: blur(16px);
    padding: 1rem clamp(1.1rem, 4vw, 2.4rem) 1.6rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .4s cubic-bezier(.16,.84,.44,1);
    box-shadow: var(--shadow-soft);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: none; padding-top: .8rem; }
  .nav__links a { display: block; padding: .95rem 0; }
  .nav__links a::after { display: none; }
  .nav__cta { width: 100%; }
  .nav__cta .btn { width: 100%; }
  .nav__toggle { display: flex; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .spec-grid, .hero__stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cookie__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
