:root {
  color-scheme: light;
  --ink: #15231f;
  --muted: #62706b;
  --paper: #f7f6f1;
  --surface: #ffffff;
  --line: #d9ded8;
  --forest: #173f36;
  --lime: #d9fa73;
  --coral: #ff8b72;
  --blue: #8ab9ff;
  --shadow: 0 24px 70px rgba(21, 35, 31, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

body.panel-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  border: 1px solid rgba(217, 222, 216, 0.9);
  border-radius: 18px;
  background: rgba(247, 246, 241, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 850;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.cart-button {
  justify-self: end;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 720;
}

.cart-button span {
  display: inline-grid;
  min-width: 1.65rem;
  height: 1.65rem;
  margin-left: 0.45rem;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  font-size: 0.78rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  min-height: 690px;
  margin: 0 auto;
  padding: 6rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #477166;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  font-weight: 720;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.hero-intro {
  max-width: 640px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.icon-button:focus-visible,
.text-button:focus-visible,
.cart-button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.button-primary {
  background: var(--forest);
  color: white;
  box-shadow: 0 9px 24px rgba(23, 63, 54, 0.15);
}

.button-primary:hover {
  background: #0f332b;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.button-wide {
  width: 100%;
}

.privacy-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.signal-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid #2d554b;
  border-radius: 28px;
  background: var(--forest);
  color: white;
  box-shadow: var(--shadow);
}

.signal-card::after {
  position: absolute;
  right: -25%;
  top: -35%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(217, 250, 115, 0.08);
  content: "";
}

.signal-card-header,
.signal-metric,
.signal-steps {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signal-card-header {
  color: #d8e2de;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(217, 250, 115, 0.14);
  color: var(--lime);
}

.signal-chart {
  position: relative;
  z-index: 1;
  display: flex;
  height: 250px;
  align-items: end;
  gap: 0.75rem;
  padding: 2.5rem 0 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.bar {
  flex: 1;
  min-height: 12%;
  border-radius: 8px 8px 2px 2px;
  background: var(--lime);
  opacity: 0.85;
  animation: rise 900ms ease both;
}

.bar-one { height: 26%; }
.bar-two { height: 48%; animation-delay: 80ms; }
.bar-three { height: 40%; animation-delay: 160ms; }
.bar-four { height: 72%; animation-delay: 240ms; }
.bar-five { height: 92%; animation-delay: 320ms; }

@keyframes rise {
  from { height: 0; }
}

.signal-steps {
  padding-top: 0.75rem;
  color: #9cb0aa;
  font-size: 0.7rem;
}

.signal-metric {
  margin-top: 2rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.signal-metric span {
  color: #b7c7c2;
  font-size: 0.8rem;
}

.signal-metric strong {
  color: var(--lime);
  font-size: 1.45rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  border-block: 1px solid var(--line);
}

.trust-strip span {
  padding: 1.2rem 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7.5rem 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0;
}

.section-heading > p {
  max-width: 520px;
  margin: 0 0 0.5rem auto;
  color: var(--muted);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.product-card.featured {
  border-color: #9fb3ac;
}

.product-badge {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.7rem;
  font-weight: 750;
}

.product-visual {
  position: relative;
  display: grid;
  height: 230px;
  place-items: center;
  overflow: hidden;
}

.visual-coral { background: #ffe4dc; }
.visual-blue { background: #dceaff; }
.visual-lime { background: #ecf8c5; }

.visual-orbit {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(21, 35, 31, 0.25);
  border-radius: 50%;
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  border: 1px solid rgba(21, 35, 31, 0.16);
  border-radius: 50%;
  content: "";
}

.visual-orbit::before { inset: 24px; }
.visual-orbit::after { inset: 50px; }

.visual-core {
  position: relative;
  z-index: 1;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 22px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  transform: rotate(8deg);
}

.product-content {
  padding: 1.5rem;
}

.product-kicker {
  margin-bottom: 0.35rem;
  color: #598075;
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-content > p:not(.product-kicker) {
  min-height: 76px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1.5rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.product-meta strong {
  font-size: 1.45rem;
}

.product-meta span {
  color: var(--muted);
  font-size: 0.72rem;
}

.product-actions .button {
  flex: 1;
}

.journey-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.journey-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--forest);
  font-weight: 760;
  text-underline-offset: 4px;
}

.journey-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-list li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.journey-list li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.journey-list strong,
.journey-list small {
  display: block;
}

.journey-list small {
  color: var(--muted);
}

code {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: #315c50;
  font-size: 0.76rem;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  border-radius: 32px;
  background: var(--ink);
  color: white;
  padding-inline: clamp(2rem, 5vw, 5rem);
}

.about-section .eyebrow {
  color: var(--lime);
}

.about-grid article {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.about-grid article > span {
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 800;
}

.about-grid h3 {
  margin: 0.4rem 0;
}

.about-grid p {
  margin: 0;
  color: #b8c4c0;
}

.about-grid .brand-disclosure {
  margin-top: 1.4rem;
  color: #d5dfdc;
  font-size: 0.82rem;
  line-height: 1.55;
}

.about-grid .consent-note {
  margin-top: 0.75rem;
  color: #91a39d;
  font-size: 0.74rem;
  line-height: 1.55;
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  display: flex;
  width: min(430px, 100%);
  height: 100dvh;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(105%);
  background: var(--surface);
  box-shadow: -20px 0 60px rgba(21, 35, 31, 0.18);
  transition: transform 240ms ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-panel-header h2 {
  margin: 0;
  font-size: 2rem;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line p,
.cart-line small {
  margin: 0;
}

.cart-line small {
  color: var(--muted);
}

.cart-line button {
  border: 0;
  background: transparent;
  color: #795447;
  cursor: pointer;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-empty {
  display: grid;
  flex: 1;
  place-content: center;
  text-align: center;
}

.cart-empty > span {
  color: #a7b5b0;
  font-size: 3rem;
}

.cart-empty p {
  margin: 0.5rem 0 0;
  font-weight: 750;
}

.cart-empty small {
  color: var(--muted);
}

.cart-summary {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cart-summary > div,
.checkout-total,
.dialog-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cart-summary strong,
.checkout-total strong,
.dialog-price strong {
  font-size: 1.5rem;
}

.text-button {
  display: block;
  margin: 0.85rem auto 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 20, 17, 0.48);
  backdrop-filter: blur(3px);
}

.modal {
  width: min(520px, calc(100% - 2rem));
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(10, 20, 17, 0.5);
  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.modal > p:not(.eyebrow),
.checkout-modal p {
  color: var(--muted);
}

.dialog-price {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.dialog-price span {
  color: var(--muted);
  font-size: 0.78rem;
}

.checkout-lines {
  margin: 1.5rem 0 1rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.success-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-size: 1.7rem;
  font-weight: 900;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 80;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1rem;
  transform: translate(-50%, 150%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 7rem auto 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > span {
  justify-self: end;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .section-heading,
  .journey-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4.5rem 0;
  }

  .signal-card {
    max-width: 560px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .product-visual {
    height: 100%;
    min-height: 330px;
  }

  .about-section {
    gap: 2rem;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .brand,
  footer > span {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero,
  .section,
  .trust-strip,
  footer {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 5rem 0;
  }

  .product-card {
    display: block;
  }

  .product-visual {
    height: 220px;
    min-height: 0;
  }

  .product-actions {
    flex-direction: column;
  }

  .journey-list li {
    grid-template-columns: 38px 1fr;
  }

  .journey-list code {
    grid-column: 2;
    width: fit-content;
  }

  .about-section {
    padding: 3rem 1.5rem;
  }
}

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