@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --panel: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.12);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #8e8e93;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --accent-deep: #15803d;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --header-h: 4rem;
  --buy: #22c55e;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(245, 245, 247, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-logo {
  width: 1.7rem;
  height: auto;
  color: var(--accent);
  flex-shrink: 0;
}

.brand-mark {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-mark em {
  font-style: normal;
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--buy);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.28);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn-lg {
  min-height: 3.1rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.02rem;
}

.btn-login {
  color: var(--muted) !important;
  padding: 0.45rem 0.85rem;
  font-weight: 550;
}

.btn-login:hover {
  color: var(--text) !important;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  text-decoration: none !important;
}

/* —— Hero (brand-first, full-bleed visual plane) —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0f1a14;
  color: #f4f7f5;
}

.hero-bleed {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 35%, rgba(34, 197, 94, 0.38), transparent 58%),
    radial-gradient(ellipse 50% 45% at 12% 80%, rgba(21, 128, 61, 0.35), transparent 55%),
    linear-gradient(160deg, #0c1611 0%, #14301f 48%, #0f1a14 100%);
  animation: glow-shift 10s ease-in-out infinite alternate;
}

.hero-library {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(52%, 640px);
  display: grid;
  align-items: center;
  padding: 2rem 1.5rem 2rem 0;
  opacity: 0.92;
}

.hero-shelf {
  margin-left: auto;
  width: min(100%, 420px);
  padding: 1.5rem;
  animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.shelf-label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.shelf-label.is-muted {
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.38);
}

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

.shelf-row.is-blocked {
  grid-template-columns: repeat(4, 1fr);
  opacity: 0.35;
  filter: grayscale(0.7);
}

.shelf-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.shelf-thumb.is-on {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.55), rgba(21, 128, 61, 0.35));
  border-color: rgba(34, 197, 94, 0.45);
  animation: thumb-float 5.5s ease-in-out infinite;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.shelf-thumb.is-on:nth-child(2) {
  animation-delay: 0.35s;
}

.shelf-thumb.is-on:nth-child(3) {
  animation-delay: 0.7s;
}

.shelf-thumb.is-on::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  margin: -0.4rem 0 0 -0.3rem;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: rgba(255, 255, 255, 0.9);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4rem 0 4.5rem;
  display: grid;
}

.hero-copy {
  max-width: 36rem;
  animation: rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand-word {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.35rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
}

.hero-brand-word em {
  font-style: normal;
  color: var(--accent);
}

.hero-brand-word .brand-logo {
  width: clamp(2.4rem, 4vw, 3.1rem);
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.6vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.12rem;
  color: rgba(244, 247, 245, 0.72);
  max-width: 32rem;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.hero .btn-ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.28);
}

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

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(244, 247, 245, 0.48);
}

@media (max-width: 899px) {
  .hero-library {
    width: 100%;
    opacity: 0.28;
    align-items: start;
    padding-top: 1rem;
  }

  .hero-shelf {
    margin: 0 auto 0 0;
    width: min(100%, 360px);
  }

  .hero {
    align-items: end;
  }

  .hero-inner {
    padding-top: 8rem;
  }
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22ch;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Problem / Solution */
.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.split-block {
  padding: 1.5rem 0;
}

.split-block h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.split-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.split-block.solution h3 {
  color: var(--accent-deep);
}

/* VoC quote */
.section-quote {
  padding: 2.75rem 0;
  background: #ebeeed;
  border-block: 1px solid var(--line);
}

.voc-quote {
  margin: 0;
  max-width: 40rem;
}

.voc-quote p {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--text);
}

/* Pain grid */
.pain-grid {
  display: grid;
  gap: 1.75rem 2rem;
}

@media (min-width: 800px) {
  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pain-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.pain-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.story-punch {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: var(--accent-deep);
}

/* Features */
.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .feature-row {
    grid-template-columns: 11rem 1fr;
    align-items: baseline;
  }
}

.feature-row h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Pricing */
.pricing {
  text-align: center;
}

.pricing h2 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.pricing .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.price-display {
  margin: 0 0 0.35rem;
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-display span {
  font-size: 0.45em;
  font-weight: 550;
  color: var(--muted);
  letter-spacing: -0.02em;
}

.price-note {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.guarantee {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.95rem;
  font-weight: 550;
  max-width: 28rem;
  text-align: left;
  line-height: 1.4;
}

.guarantee svg {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.step {
  padding-top: 0.25rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* FAQ */
.faq-list {
  max-width: 44rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.75rem 1.15rem 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  padding-right: 1rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 6.5rem;
  border-top: 1px solid var(--line);
  background: #ebebed;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.footer-brand em {
  font-style: normal;
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-links button,
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.footer-links button:hover,
.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-copy {
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--faint);
}

/* Sticky mobile buy bar */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transform: translateY(110%);
  transition: transform 0.28s ease;
}

.sticky-buy.is-visible {
  transform: none;
}

.sticky-buy-price {
  font-weight: 650;
  letter-spacing: -0.02em;
}

.sticky-buy-price small {
  display: block;
  font-weight: 450;
  color: var(--muted);
  font-size: 0.78rem;
}

.sticky-buy .btn {
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .sticky-buy {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

/* Modals */
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.36);
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(100%, 640px);
  max-height: min(86vh, 820px);
  background: var(--panel);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

.modal-scrim.is-open .modal {
  transform: none;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.modal-body {
  padding: 1.25rem 1.35rem 1.6rem;
  overflow: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

.modal-body h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body h4 {
  margin: 1rem 0 0.35rem;
  font-size: 0.95rem;
}

.modal-body p,
.modal-body ul {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.modal-body ul {
  padding-left: 1.2rem;
}

.modal-body a {
  color: var(--accent-deep);
}

body.modal-open {
  overflow: hidden;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  max-width: 420px;
  margin-left: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.2rem 1.2rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.is-visible {
  transform: none;
  opacity: 1;
}

.cookie-banner h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cookie-actions .btn {
  min-height: 2.35rem;
  font-size: 0.88rem;
  padding: 0.45rem 0.95rem;
}

.cookie-settings {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: none;
}

.cookie-settings.is-open {
  display: block;
}

.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.cookie-cat strong {
  display: block;
  font-size: 0.92rem;
}

.cookie-cat span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.switch {
  position: relative;
  width: 2.6rem;
  height: 1.45rem;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-ui {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.switch input:checked + .switch-ui {
  background: var(--accent);
}

.switch input:checked + .switch-ui::after {
  transform: translateX(1.15rem);
}

.switch input:disabled + .switch-ui {
  opacity: 0.7;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes glow-shift {
  from {
    opacity: 0.85;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes thumb-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
