/* ============================================================
   mySecret — mysecret.day
   Desktop-first night. The palette is lifted from the app so the
   site and the app read as one place.
   ============================================================ */

:root {
  --night: #070d1e;
  --night-2: #0b1226;
  --sky-mid: #141c3d;
  --amber: #f0b35e;
  --amber-deep: #e8964b;
  --paper: #ece4d0;
  --paper-dim: #9aa0b5;
  --ink: #2b2416;
  --card: #f6f1e3;
  --ember: #e8964b;
  --blue: #7da2d9;
  --green: #9fc97a;
  --line: rgba(236, 228, 208, 0.12);

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- the sky canvas, behind everything ---------- */
#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
}
.sky-wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 72% 18%, rgba(240, 179, 94, 0.07), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(7, 13, 30, 0.35) 62%, var(--night) 100%);
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(7, 13, 30, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(7, 13, 30, 0.82); }
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand b {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 19px;
  color: var(--paper);
}
.brand span {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 14px;
  color: var(--paper-dim);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--paper); text-decoration: none; }

/* ---------- account slot ---------- */
#account { display: inline-flex; align-items: center; min-height: 34px; }
.acct { display: inline-flex; align-items: center; gap: 10px; }
.acct-name {
  font-size: 13.5px;
  color: var(--paper);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #241503;
  background: var(--amber);
  border-radius: 999px;
  padding: 3px 9px;
}
.acct-out {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12.5px;
  font-family: var(--sans);
  color: var(--paper-dim);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.acct-out:hover { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber-deep);
  color: #241503;
  box-shadow: 0 10px 34px rgba(240, 179, 94, 0.22);
}
.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(240, 179, 94, 0.32);
  text-decoration: none;
}
.btn-ghost {
  border-color: rgba(236, 228, 208, 0.28);
  color: var(--paper);
  background: rgba(236, 228, 208, 0.03);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 0 70px;
  position: relative;
  z-index: 0; /* own stacking context, so the video stays inside the hero */
}
/* A flex item with `margin: 0 auto` stops stretching and shrink-to-fits, which
   floated the hero copy into the middle of a wide screen. Pin the container
   to full width and let the copy sit against the grid's left edge. */
.hero > .wrap { width: 100%; }
.hero-inner { max-width: 880px; position: relative; }

/* ---------- hero video ---------- */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--night); /* solid fallback until the first frame paints */
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* the footage is a touch brighter than the rest of the night */
  filter: saturate(1.05) brightness(0.86);
}
/* readability: dark from the left where the copy sits, and into the page below */
.hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--night) 0%, rgba(7, 13, 30, 0.82) 30%, rgba(7, 13, 30, 0.35) 62%, rgba(7, 13, 30, 0.18) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(7, 13, 30, 0.45) 26%, transparent 60%);
}
@media (max-width: 760px) {
  /* on a narrow screen the copy covers the frame, so lean darker */
  .hero-mask {
    background:
      linear-gradient(90deg, var(--night) 0%, rgba(7, 13, 30, 0.74) 55%, rgba(7, 13, 30, 0.58) 100%),
      linear-gradient(0deg, var(--night) 0%, rgba(7, 13, 30, 0.5) 30%, transparent 70%);
  }
}
.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: #fff;
}
h1 em { font-style: italic; color: var(--amber); }

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 300;
  line-height: 1.65;
  color: #c8c6d6;
  max-width: 640px;
  margin: 0 0 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  max-width: 640px;
}
.stat .n {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--paper);
  display: block;
  line-height: 1.1;
}
.stat .l {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

/* ---------- sections ---------- */
section { padding: 100px 0; position: relative; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.kicker {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.16;
  margin: 0 0 16px;
  color: #fff;
}
h2 em { font-style: italic; color: var(--amber); }
.sec-head p { color: var(--paper-dim); margin: 0; font-weight: 300; }

/* ---------- the featured secret card ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.paper-card {
  position: relative;
  background: var(--card);
  color: var(--ink);
  border-radius: 10px;
  padding: 46px 42px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(-0.7deg);
}
.paper-card::after {
  content: "";
  position: absolute;
  inset: 8px 12px 10px;
  border-radius: 40px;
  background: rgba(255, 252, 240, 0.5);
  pointer-events: none;
}
.seal {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: rgba(0, 0, 0, 0.42);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.seal.ember { background: #b5502e; }
.seal.blue { background: #4a6fa5; }
.seal.green { background: #6f9a4a; }
.paper-card .mood-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 18px;
}
.mood-tag.ember { background: var(--ember); }
.mood-tag.blue { background: var(--blue); }
.mood-tag.green { background: var(--green); }
.paper-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: 19.5px;
  line-height: 1.66;
  color: var(--ink);
}
.paper-card cite {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(43, 36, 22, 0.55);
}
.card-stack { position: relative; min-height: 340px; }
.card-stack .paper-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
  height: fit-content;
}
.card-stack .paper-card.on { opacity: 1; pointer-events: auto; }
.card-dots { display: flex; gap: 8px; margin-top: 26px; }
.card-dots button {
  width: 26px; height: 3px; border: 0; padding: 0;
  background: rgba(236, 228, 208, 0.2);
  cursor: pointer;
  transition: background 0.3s ease;
}
.card-dots button.on { background: var(--amber); }

/* ---------- rituals ---------- */
.rituals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ritual {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px 28px;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.ritual:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 179, 94, 0.4);
  background: rgba(240, 179, 94, 0.045);
}
.ritual .art { height: 92px; position: relative; margin-bottom: 20px; }
.ritual h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  margin: 0 0 8px;
  color: #fff;
}
.ritual p { margin: 0; font-size: 14.5px; color: var(--paper-dim); font-weight: 300; }

/* little procedural artworks, no images */
.art-lantern {
  position: absolute; left: 50%; bottom: 8px; width: 26px; height: 34px;
  margin-left: -13px; border-radius: 5px 5px 7px 7px;
  background: linear-gradient(180deg, #ffd79a, #e8964b);
  box-shadow: 0 0 26px 8px rgba(240, 179, 94, 0.3);
  animation: rise 4.5s ease-in-out infinite;
}
@keyframes rise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.art-bottle {
  position: absolute; left: 50%; bottom: 20px; width: 20px; height: 46px;
  margin-left: -10px; border-radius: 9px;
  background: rgba(170, 225, 215, 0.3);
  border: 1.5px solid rgba(230, 250, 248, 0.5);
  animation: bob 3.6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-8px); }
}
.art-firefly, .art-firefly::before, .art-firefly::after {
  position: absolute; border-radius: 50%;
  background: #cde86b;
  box-shadow: 0 0 18px 6px rgba(205, 232, 107, 0.4);
}
.art-firefly {
  left: 50%; bottom: 44px; width: 9px; height: 9px; margin-left: -4px;
  animation: blink 2.4s ease-in-out infinite;
}
.art-firefly::before { content: ""; left: -34px; top: 14px; width: 6px; height: 6px; animation: blink 3.1s ease-in-out infinite 0.4s; }
.art-firefly::after { content: ""; left: 30px; top: -16px; width: 7px; height: 7px; animation: blink 2.8s ease-in-out infinite 0.9s; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.18; } }
.art-letterbox {
  position: absolute; left: 50%; bottom: 14px; width: 68px; height: 60px;
  margin-left: -34px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px;
}
.art-letterbox i {
  background: linear-gradient(180deg, #6b5433, #4c3a1e);
  border-radius: 3px;
  border: 1px solid rgba(255, 222, 160, 0.16);
}
.art-letterbox i.lit {
  background: linear-gradient(180deg, #8a6c3d, #7a5f33);
  border-color: rgba(255, 222, 160, 0.55);
  box-shadow: 0 0 18px rgba(240, 179, 94, 0.45);
  animation: glow 2.6s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---------- collections ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coll {
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.018);
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.coll:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 179, 94, 0.4);
  background: rgba(240, 179, 94, 0.04);
  text-decoration: none;
}
.coll h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
  color: #fff;
}
.coll .n {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 14px;
}
.coll p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--paper-dim);
  font-family: var(--serif);
  font-style: italic;
}
.coll .go { margin-top: 16px; font-size: 13.5px; color: var(--amber); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--amber);
  border: 1px solid rgba(240, 179, 94, 0.45);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 0 0 8px; color: #fff; }
.step p { margin: 0; color: var(--paper-dim); font-size: 15px; font-weight: 300; }

/* ---------- secret list (collection pages) ---------- */
.secret-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.secret {
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: 12px;
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.secret:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.04); }
.secret.ember { border-left-color: var(--ember); }
.secret.blue { border-left-color: var(--blue); }
.secret.green { border-left-color: var(--green); }
.secret p {
  margin: 0;
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.68;
  color: #e6e2d6;
}
.secret .tag {
  display: block;
  margin-top: 14px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

/* Long secrets on a narrow screen: collapse to a readable height with a way to
   open them. Gated behind `html.js` and applied by script only where the text
   actually overflows, so a reader without JavaScript gets the whole thing and
   a short secret never grows a pointless button. */
.js .secret.clip p {
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.js .secret.clip.open p { display: block; overflow: visible; }
.secret-more {
  display: none;
  margin-top: 12px;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--amber);
  cursor: pointer;
}
.js .secret.clip .secret-more { display: inline-block; }

/* ---------- cta band ---------- */
.band {
  border: 1px solid rgba(240, 179, 94, 0.3);
  border-radius: 22px;
  padding: 58px 54px;
  background: linear-gradient(135deg, rgba(240, 179, 94, 0.09), rgba(240, 179, 94, 0.02));
  text-align: center;
}
.band h2 { margin-bottom: 14px; }
.band p { color: var(--paper-dim); max-width: 540px; margin: 0 auto 30px; font-weight: 300; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 60px;
  color: var(--paper-dim);
  font-size: 14px;
}
.foot-row { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--paper-dim); }
.foot-links a:hover { color: var(--paper); }

/* ---------- letters to your future self ---------- */
.lx-wrap { max-width: 760px; }
.lx-gate, .lx-composer {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 32px;
  background: rgba(255, 255, 255, 0.025);
}
.lx-gate h2 { font-size: 26px; margin-bottom: 10px; }
.lx-gate p { color: var(--paper-dim); font-weight: 300; margin: 0 0 22px; }
.lx-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  padding: 0;
}
#lx-text {
  width: 100%;
  background: rgba(7, 13, 30, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.7;
  padding: 18px 20px;
  resize: vertical;
}
#lx-text:focus { outline: none; border-color: rgba(240, 179, 94, 0.55); }
#lx-text::placeholder { color: rgba(154, 160, 181, 0.5); font-style: italic; }
.lx-when { border: 0; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.lx-when legend { float: left; width: 100%; }
.lx-when label { font-size: 14.5px; color: var(--paper-dim); cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.lx-when input[type="radio"] { accent-color: var(--amber-deep); }
#lx-date {
  background: rgba(7, 13, 30, 0.6);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--paper);
  padding: 7px 10px;
  font-family: var(--sans);
  color-scheme: dark;
}
.lx-actions { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.lx-status { font-size: 13.5px; color: var(--paper-dim); }
.lx-status.good { color: var(--green); }
.lx-status.bad { color: #e08a6a; }
.lx-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper-dim);
  font-style: italic;
  font-family: var(--serif);
}
.lx-limit {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--paper-dim);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.lx-composer.lx-locked #lx-text,
.lx-composer.lx-locked #lx-seal { opacity: 0.45; pointer-events: none; }
.lx-list { margin-top: 44px; }
.lx-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin: 34px 0 14px;
}
.lx-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.lx-card .lx-meta {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.lx-card p { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.68; color: #e6e2d6; }
.lx-card .lx-hidden { color: var(--paper-dim); font-style: italic; }
.lx-sealed { border-style: dashed; }
.lx-wax {
  position: absolute;
  top: 20px; right: 22px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #b5502e;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  color: rgba(0, 0, 0, 0.42);
}
.lx-del {
  margin-top: 16px;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--paper-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.lx-del:hover { color: #e08a6a; }
.lx-empty { color: var(--paper-dim); font-style: italic; font-family: var(--serif); }

/* ---------- membership ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; }
.plan {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 32px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}
.plan-lead {
  border-color: rgba(240, 179, 94, 0.42);
  background: linear-gradient(160deg, rgba(240, 179, 94, 0.08), rgba(240, 179, 94, 0.02));
}
.plan-flag {
  position: absolute;
  top: -12px; left: 32px;
  background: var(--amber);
  color: #241503;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 13px;
}
.plan h2 { font-size: 26px; margin: 0 0 6px; }
.plan-price { margin: 0 0 4px; font-family: var(--serif); }
.plan-price span { font-size: 42px; color: #fff; }
.plan-price small { font-size: 15px; color: var(--paper-dim); font-family: var(--sans); }
.plan-note { color: var(--paper-dim); font-size: 13.5px; margin: 0 0 22px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 26px; }
.plan-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #d6d2c6;
  font-weight: 300;
}
.plan-list li b { font-weight: 600; color: var(--paper); }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.plan-small { font-size: 12.5px; color: var(--paper-dim); margin: 14px 0 0; }

.cmp { width: 100%; border-collapse: collapse; margin-top: 60px; font-size: 15px; }
.cmp caption {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  padding-bottom: 14px;
}
.cmp th, .cmp td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-dim); font-weight: 600; }
.cmp tbody th { font-weight: 400; color: var(--paper); }
.cmp tbody td { color: var(--paper-dim); font-weight: 300; }
.cmp tbody td:last-child { color: var(--paper); }

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .lx-gate, .lx-composer { padding: 24px 20px; }
  .cmp th, .cmp td { padding: 12px 10px; font-size: 14px; }
}

/* ---------- scroll reveal ---------- *
 * Gated behind `html.js`, which the page sets before anything renders. If the
 * script never runs — blocked, failed, ancient browser — the content is simply
 * there, rather than a page of invisible text waiting for a class that is
 * never coming. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .feature { grid-template-columns: 1fr; gap: 42px; }
  .rituals { grid-template-columns: repeat(2, 1fr); }
  .collections { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .nav { display: none; }
  section { padding: 68px 0; }
  .hero { min-height: 88vh; padding: 60px 0 50px; }
  .rituals, .collections, .steps, .secret-list { grid-template-columns: 1fr; }
  .hero-meta { gap: 26px; }
  .band { padding: 40px 26px; }
  .paper-card { padding: 38px 26px 28px; }
}

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