/* =========================================================================
   Foyer des Essences — editorial landing
   Botanical-paper aesthetic · Cormorant Garamond display · sage + cream
   ========================================================================= */

:root {
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --surface: #fffdf9;
  --ink: #20251c;
  --ink-soft: #4a5043;
  --muted: #797f70;
  --line: #e1d9c9;
  --sage: #5c7a4f;
  --sage-deep: #3f5636;
  --sage-soft: #8a9d77;
  --gold: #c2a878;
  --shadow-sm: 0 1px 2px rgba(40, 38, 24, .04), 0 8px 24px rgba(40, 38, 24, .05);
  --shadow-md: 0 2px 6px rgba(40, 38, 24, .06), 0 24px 60px rgba(40, 38, 24, .09);
  --shadow-lg: 0 22px 90px rgba(35, 42, 28, .16);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --maxw: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(138, 157, 119, .16), transparent 60%),
    radial-gradient(100% 60% at 0% 0%, rgba(255, 253, 249, .9), transparent 55%),
    linear-gradient(180deg, #f8f4ec 0, var(--paper) 60rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:where(a:any-link, button, input, summary):focus-visible {
  outline: 3px solid rgba(92, 122, 79, .55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: .8rem;
  left: .8rem;
  z-index: 120;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; margin: 0; }
.serif-i { font-style: italic; color: var(--sage-deep); }
.muted { color: var(--muted); }

.overline {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .96rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary { background: var(--sage); color: #fff; box-shadow: 0 8px 24px rgba(92, 122, 79, .28); }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(92, 122, 79, .34); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--sage-soft); background: rgba(255, 253, 249, .7); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.4rem);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 242, 234, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(225, 217, 201, .8);
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.nav-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
.nav-brand img { border-radius: 50%; }
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a { font-size: .92rem; color: var(--ink-soft); position: relative; padding: .2rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--sage); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .18rem;
  padding: .18rem;
  border: 1px solid rgba(92, 122, 79, .22);
  border-radius: 999px;
  background: rgba(255, 253, 249, .62);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
}
.lang-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  padding: .42rem .55rem;
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.lang-switch button[aria-pressed="true"] {
  background: var(--sage-deep);
  color: #fff;
  box-shadow: 0 6px 16px rgba(63, 86, 54, .2);
}
.nav-cta { font-size: .9rem; font-weight: 600; color: var(--sage-deep); border: 1px solid var(--sage-soft); padding: .55rem 1.1rem; border-radius: 999px; transition: background .3s var(--ease), transform .3s var(--ease); }
.nav-cta:hover { background: rgba(92, 122, 79, .1); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(8rem, 18vh, 12rem) clamp(1.2rem, 4vw, 2.4rem) clamp(4rem, 8vh, 7rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-aura {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90vw);
  height: 520px;
  background: radial-gradient(circle, rgba(138, 157, 119, .28), transparent 62%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin: 0 0 1.6rem;
}
.hero-title {
  font-size: clamp(3.2rem, 9vw, 7.7rem);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 0;
}
.hero-title span { display: block; }
.hero-lead {
  max-width: 40rem;
  margin: 2rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.4rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; align-items: center; margin-top: 2.2rem; font-size: .9rem; color: var(--muted); }
.hero-meta b { color: var(--ink); font-weight: 600; }
.hero-meta .dot { color: var(--gold); }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.25rem;
}
.trust-strip span {
  padding: .55rem .8rem;
  border: 1px solid rgba(92, 122, 79, .18);
  border-radius: 999px;
  background: rgba(255, 253, 249, .58);
  color: var(--sage-deep);
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
}
.hero-scroll {
  margin-top: 3.4rem;
  width: 26px; height: 42px;
  border: 1.5px solid var(--sage-soft);
  border-radius: 14px;
  position: relative;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--sage);
  transform: translateX(-50%);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ===== Marquee ===== */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: rgba(255, 253, 249, .5);
}
.marquee-track {
  display: inline-flex;
  gap: 2rem;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--sage-deep);
  animation: marquee 32s linear infinite;
}
.marquee-track span:nth-child(even) { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 11vh, 8rem) clamp(1.2rem, 4vw, 2.4rem);
}
.section-deferred {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 720px;
}
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.7rem); }
.section-sub { margin: 1.1rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 38rem; }

/* Ritual grid */
.ritual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ritual-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.ritual-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sage-soft); background: #fffefb; }
.ritual-num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); display: block; margin-bottom: 1.2rem; }
.ritual-card h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.ritual-card p { margin: 0; color: var(--ink-soft); line-height: 1.6; font-size: .96rem; }

/* Quote band */
.quote-band {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 18% 20%, rgba(246, 242, 234, .14), transparent 26rem),
    linear-gradient(135deg, #32462c, var(--sage));
  color: #f4f0e6;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 6vw, 4rem);
  text-align: center;
}
.quote-band blockquote { max-width: 50rem; margin: 0 auto; }
.quote-band p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.3; margin: 0; }

/* Archive */
.archive { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.archive h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.archive-lead { margin: 1.4rem 0 2rem; color: var(--ink-soft); line-height: 1.75; font-size: 1.05rem; }
.archive-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.archive-list li { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.archive-list li:last-child { border-bottom: 1px solid var(--line); }
.archive-list span { flex: 0 0 7.5rem; font-weight: 600; color: var(--sage-deep); font-size: .9rem; }
.archive-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.archive-card::before { content: ""; position: absolute; inset: .8rem; border: 1px solid rgba(194, 168, 120, .4); border-radius: 1.3rem; pointer-events: none; }
.archive-card img { width: 110px; height: auto; margin: 0 auto 1.2rem; }
.archive-card-kicker { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 .5rem; }
.archive-card h3 { font-size: 1.9rem; margin-bottom: .9rem; }
.archive-card p { color: var(--muted); line-height: 1.65; margin: 0 0 1.6rem; font-size: .96rem; }

/* Plans */
.plans-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.12fr) minmax(0, .92fr);
  gap: clamp(1rem, 2vw, 1.45rem);
  align-items: center;
}
.plan {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: rgba(255, 253, 249, .86);
  border: 1px solid rgba(194, 168, 120, .28);
  border-radius: 1.8rem;
  padding: 2rem 1.7rem;
  box-shadow: 0 18px 48px rgba(40, 38, 24, .08);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(194, 168, 120, .22), transparent 34%),
    linear-gradient(135deg, rgba(194, 168, 120, .12), transparent 42%);
  opacity: .62;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sage-soft); background: #fffefb; }
.plan:hover::before { opacity: 1; }
.plan > * { position: relative; z-index: 1; }
.plan-featured {
  padding: 2.35rem 1.9rem;
  transform: translateY(-1.15rem);
  border-color: rgba(92, 122, 79, .45);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, .98), rgba(248, 244, 233, .96)),
    var(--surface);
  box-shadow: 0 30px 80px rgba(40, 38, 24, .14), 0 0 0 1px rgba(92, 122, 79, .08);
}
.plan-featured::before {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 0%, rgba(92, 122, 79, .22), transparent 36%),
    linear-gradient(145deg, rgba(194, 168, 120, .2), transparent 48%);
}
.plan-featured:hover { transform: translateY(-1.55rem); }
.plan-featured .plan-badge {
  align-self: center;
  padding: .48rem .72rem;
  margin-top: -.55rem;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  box-shadow: 0 10px 24px rgba(92, 122, 79, .22);
}
.plan-featured .plan-image-wrap {
  width: 8rem;
  height: 8rem;
  background: rgba(92, 122, 79, .08);
  box-shadow: inset 0 0 0 1px rgba(92, 122, 79, .18), 0 18px 42px rgba(92, 122, 79, .12);
}
.plan-featured .plan-image { width: 6.55rem; height: 6.55rem; }
.plan-image-wrap {
  width: 7rem;
  height: 7rem;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 1.4rem;
  background: rgba(244, 238, 225, .62);
  box-shadow: inset 0 0 0 1px rgba(194, 168, 120, .16);
}
.plan-image {
  width: 5.8rem;
  height: 5.8rem;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 1rem;
}
.plan-badge { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin: 0 0 1rem; }
.plan-name { font-size: 2rem; margin-bottom: .4rem; text-align: center; }
.plan-price { font-family: var(--serif); font-size: 1.1rem; color: var(--muted); margin: 0 0 1rem; text-align: center; }
.plan-price span { font-size: 2.6rem; color: var(--ink); font-weight: 600; }
.plan-price em { font-style: normal; font-size: .85rem; font-family: var(--sans); }
.plan-note { color: var(--ink-soft); line-height: 1.6; margin: 0 0 1.2rem; font-size: .95rem; text-align: center; }
.plan-features { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .6rem; }
.plan-features li { position: relative; padding-left: 1.5rem; color: var(--ink-soft); font-size: .94rem; line-height: 1.5; }
.plan-features li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sage-soft); }
.plan form { display: grid; gap: .7rem; margin-top: auto; }
.plan-featured form .btn { box-shadow: 0 14px 32px rgba(92, 122, 79, .24); }
.plan-footnote { margin: .8rem 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

input {
  width: 100%;
  font: inherit;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(92, 122, 79, .14); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.plans-note { text-align: center; margin: 2.4rem auto 0; max-width: 38rem; color: var(--muted); font-size: .95rem; }

/* Steps */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2.4rem; }
.steps-list li { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.steps-list span { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: #fff; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.steps-list h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.steps-list p { margin: 0; color: var(--ink-soft); line-height: 1.55; font-size: .95rem; }

/* FAQ */
.faq-list { display: grid; gap: .8rem; max-width: 50rem; }
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem 1.5rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
details[open] { border-color: var(--sage-soft); box-shadow: var(--shadow-sm); }
summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; color: var(--sage); transition: transform .3s var(--ease); line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 1rem 0 0; color: var(--ink-soft); line-height: 1.65; }

/* CTA band */
.cta-band {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(5rem, 12vh, 9rem) 1.5rem;
}
.cta-band .overline { color: var(--gold); }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 2rem; }

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 2.6rem clamp(1.2rem, 4vw, 2.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.1rem; }
.footer-brand img { border-radius: 50%; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { color: var(--muted); font-size: .9rem; transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--sage-deep); }
.footer-fine { flex-basis: 100%; color: var(--muted); font-size: .82rem; margin: .4rem 0 0; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Native scroll-driven reveal where supported (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      opacity: 1;
      transform: none;
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
    @keyframes reveal-in {
      from { opacity: 0; transform: translateY(26px); }
      to { opacity: 1; transform: none; }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .marquee-track, .hero-scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Checkout result / cancel screens (used by landing.js) ===== */
.checkout-result { position: relative; z-index: 2; min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.result-card {
  width: min(620px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.result-card .eyebrow { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin: 0 0 1rem; }
.result-card h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; }
.result-card .lead { color: var(--ink-soft); line-height: 1.6; margin: 0 0 1.4rem; }
.result-card .fineprint { color: var(--muted); font-size: .85rem; margin: 1.2rem 0 0; }
.reset-password-form { display: grid; gap: 1rem; margin: 1.4rem auto 0; max-width: 420px; text-align: left; }
.reset-password-form label { display: grid; gap: .45rem; color: var(--ink-soft); font-size: .9rem; }
.reset-password-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .95rem 1.05rem;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.reset-password-form input:focus { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(92, 122, 79, .12); }
.reset-password-form .button { width: 100%; }
.button:disabled { opacity: .62; cursor: wait; transform: none; }
.code-box {
  display: block;
  margin: 1.4rem 0;
  padding: 1.1rem;
  border: 1px dashed var(--sage);
  border-radius: 1rem;
  background: rgba(92, 122, 79, .06);
  font-family: var(--sans);
  font-size: clamp(1.2rem, 4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: .08em;
  word-break: break-word;
  color: var(--sage-deep);
}
/* Legacy .button classes from checkout screens map to new button styling */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; padding: .9rem 1.4rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .3s var(--ease); }
.button.primary { background: var(--sage); color: #fff; }
.button.primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.button.ghost { background: transparent; border-color: var(--line); }
.button.ghost:hover { border-color: var(--sage-soft); transform: translateY(-2px); }
.hero-actions { } /* shared with checkout result; flex defined above */

/* ===== Cookie consent ===== */
.cookie-consent {
  position: fixed;
  z-index: 80;
  left: clamp(1rem, 3vw, 1.6rem);
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(92, 122, 79, .2);
  border-radius: 1.25rem;
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 18px 60px rgba(40, 38, 24, .14);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transform: translateY(0);
  opacity: 1;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.cookie-consent.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.cookie-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(194, 168, 120, .18);
  font-size: 1.45rem;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
}
.cookie-copy h2 { margin: 0 0 .25rem; font-family: var(--serif); font-size: 1.35rem; }
.cookie-copy p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: flex-end; }
.cookie-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .72rem 1rem;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn-primary { color: #fff; background: var(--sage); border-color: var(--sage); }
.cookie-btn-primary:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.cookie-btn-ghost { color: var(--sage-deep); background: transparent; }
.cookie-btn-ghost:hover { border-color: var(--sage-soft); background: rgba(92, 122, 79, .08); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .ritual-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; }
  .plan-featured { transform: none; order: -1; }
  .plan-featured:hover { transform: translateY(-6px); }
  .archive { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .nav-brand span { display: none; }
  .nav { align-items: flex-start; }
  .nav-actions { gap: .45rem; }
  .lang-switch button { padding: .4rem .48rem; }
}
@media (max-width: 560px) {
  .ritual-grid { grid-template-columns: 1fr; }
  .plan-image-wrap { width: 6.25rem; height: 6.25rem; border-radius: 1.2rem; }
  .plan-image { width: 5.1rem; height: 5.1rem; }
  .nav-cta {
    display: inline-flex;
    padding: .5rem .72rem;
    font-size: .78rem;
    max-width: 7.8rem;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }
  .hero { padding-top: clamp(7rem, 16vh, 9rem); }
  .hero-eyebrow { letter-spacing: .14em; line-height: 1.5; }
  .hero-actions .btn { width: 100%; max-width: 21rem; }
  .hero-meta { font-size: .82rem; }
  .archive-list li { display: grid; gap: .25rem; }
  .archive-list span { flex-basis: auto; }
  .cookie-consent { grid-template-columns: auto 1fr; align-items: start; }
  .cookie-actions { grid-column: 1 / -1; justify-content: stretch; }
  .cookie-btn { flex: 1 1 12rem; }
}
