/* ============================================================
   Lunifest — "Daylight" web design system
   Clean, bright, modern light UI. Keeps the brand's violet /
   orchid / amber identity as accents on white, with soft pastel
   washes instead of the dark cosmic backdrop.
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --stars: 0;                       /* light theme: no starfield canvas */

  --bg: #FFFFFF;
  --bg-tint: #FAF8FF;               /* alternating section wash */
  --surface: #FFFFFF;
  --surface-2: #F6F4FC;

  /* accents chosen to clear WCAG AA on white */
  --violet: #6D28D9;
  --violet-soft: #8B5CF6;
  --orchid: #C026D3;
  --pink: #DB2777;
  --amber: #B45309;
  --amber-soft: #F59E0B;

  /* Violet → orchid only. Both stops clear 4.5:1 against white text (fills)
     AND against a white page (gradient text). An amber stop was tried and
     removed: it dropped white-on-gradient buttons to ~2.2:1 and gradient
     headline text to ~2.1:1 on white — both WCAG failures. Amber survives
     purely as a decorative wash/border, never under or as text. */
  --aura: linear-gradient(115deg, #7C3AED 0%, #C026D3 100%);
  --aura-soft: linear-gradient(115deg, rgba(124,58,237,.10), rgba(192,38,211,.08) 55%, rgba(245,158,11,.10));

  --text: #17132B;
  --text-2: #3C3556;
  --muted: #5E5776;
  --faint: #6A6386;                 /* darkened from #7B7495 to clear WCAG AA (4.5:1) on white */

  --border: #E9E4F5;
  --border-2: #DCD4EF;
  --border-hi: #C4B5FD;

  --shadow-sm: 0 1px 2px rgba(23,19,43,.05), 0 2px 8px rgba(23,19,43,.04);
  --shadow: 0 2px 6px rgba(23,19,43,.05), 0 12px 32px -12px rgba(23,19,43,.14);
  --shadow-lg: 0 4px 12px rgba(23,19,43,.06), 0 26px 60px -22px rgba(109,40,217,.30);

  --ok: #047857;
  --r-xl: 26px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px; --r-pill: 999px;
  --pad: clamp(20px, 5vw, 52px);
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(192,38,211,.16); color: var(--text); }

/* ---------- soft pastel wash backdrop (replaces the dark starfield) ---------- */
.starfield {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background: var(--bg);
}
.starfield::before,
.starfield::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px);
}
.starfield::before {
  width: 60vw; height: 60vw; max-width: 780px; max-height: 780px;
  left: -16vw; top: -24vw;
  background: radial-gradient(circle, rgba(139,92,246,.22), transparent 68%);
  animation: drift1 30s ease-in-out infinite;
}
.starfield::after {
  width: 54vw; height: 54vw; max-width: 720px; max-height: 720px;
  right: -16vw; top: -10vw;
  background: radial-gradient(circle, rgba(244,114,182,.18), transparent 68%);
  animation: drift2 36s ease-in-out infinite;
}
.aurora-3 {
  position: fixed; z-index: -2; pointer-events: none;
  width: 52vw; height: 52vw; max-width: 660px; max-height: 660px;
  left: 44%; top: 52vh; border-radius: 50%; filter: blur(100px);
  background: radial-gradient(circle, rgba(245,158,11,.15), transparent 70%);
  animation: drift3 42s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vw,6vh) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(-7vw,9vh) scale(1); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-10vw,-8vh) scale(1.18); } }
.starfield canvas { display: none; }

@media (prefers-reduced-motion: reduce) {
  .starfield::before, .starfield::after, .aurora-3 { animation: none; }
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(60px, 9vw, 112px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; margin: 0 0 16px; color: var(--violet);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--aura); }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(42px, 7vw, 82px); font-weight: 700; }
h2 { font-size: clamp(30px, 4.4vw, 50px); }
h3 { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.22; }
p { margin: 0 0 1em; color: var(--muted); }
.lede { font-size: clamp(17px, 2vw, 20.5px); color: var(--text-2); max-width: 62ch; }
.grad { background: var(--aura); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-warm { background: linear-gradient(115deg, #C026D3, #F59E0B); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid var(--border);
}
header.site .bar { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Fraunces', serif; font-weight: 700; font-size: 21px; color: var(--text); letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; border-radius: var(--r-pill); font-size: 14.5px; color: var(--muted); font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--violet); background: var(--surface-2); }
.nav-toggle { display: none; margin-left: auto; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 9px 12px; color: var(--text); }
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px var(--pad) 22px; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 15px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--r-pill); border: 1px solid var(--border-2);
  background: #fff; color: var(--text); font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--spring), border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: var(--border-hi); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--aura); border: none; color: #fff; font-weight: 700;
  box-shadow: 0 8px 26px -8px rgba(124,58,237,.55);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 14px 36px -10px rgba(124,58,237,.65); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-sm { padding: 10px 19px; font-size: 14px; }

/* ---------- cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}
.card:hover { border-color: var(--border-hi); box-shadow: var(--shadow-lg); }
a.card:hover { transform: translateY(-6px); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.bento { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 2; }
.bento > .wide { grid-column: span 3; }
.bento > .full { grid-column: span 6; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > *, .bento > .wide, .bento > .full { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento > .wide, .bento > .full { grid-column: span 1; } }

.icon-badge {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--aura); font-size: 21px; margin-bottom: 16px;
  box-shadow: 0 6px 18px -6px rgba(124,58,237,.5);
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(44px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--border); }
.hero-stats .n { font-family: 'Fraunces', serif; font-size: 34px; font-weight: 700; line-height: 1; background: var(--aura); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .l { font-size: 13px; color: var(--faint); margin-top: 5px; }

.pill-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 7px;
  border-radius: var(--r-pill); border: 1px solid var(--border-2);
  background: #fff; box-shadow: var(--shadow-sm);
  font-size: 13px; color: var(--muted); margin-bottom: 22px; font-weight: 500;
}
.pill-badge b {
  padding: 3px 10px; border-radius: var(--r-pill); background: var(--aura);
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
}

/* orbit visual */
.orbit { position: relative; aspect-ratio: 1; max-width: 440px; margin-inline: auto; width: 100%; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(124,58,237,.18); }
.orbit .ring:nth-child(2) { inset: 12%; border-color: rgba(192,38,211,.20); }
.orbit .ring:nth-child(3) { inset: 24%; border-color: rgba(245,158,11,.22); }
.orbit .core {
  position: absolute; inset: 30%; border-radius: 50%; background: var(--aura);
  filter: blur(40px); opacity: .35; animation: pulse 7s ease-in-out infinite;
}
.orbit .mark { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit .mark img { width: 46%; filter: drop-shadow(0 16px 40px rgba(124,58,237,.28)); }
@keyframes pulse { 0%,100% { opacity: .28; transform: scale(1); } 50% { opacity: .46; transform: scale(1.08); } }

/* ---------- technique library ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.chip {
  padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--border-2);
  background: #fff; color: var(--muted); font-size: 14px; font-weight: 500;
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--violet); border-color: var(--border-hi); transform: translateY(-1px); }
.chip.on { background: var(--aura); color: #fff; font-weight: 700; border-color: transparent; box-shadow: 0 6px 18px -6px rgba(124,58,237,.5); }

.tech-card { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.tech-card .top { display: flex; align-items: center; gap: 15px; }
/* icons were drawn for a dark canvas — seat them on a soft tinted tile so they
   read correctly on white instead of floating with washed-out edges */
.tech-card img {
  width: 56px; height: 56px; border-radius: var(--r-md); flex: none;
  background: linear-gradient(140deg, #F3EEFF, #FDF2F8);
  border: 1px solid var(--border); padding: 4px;
}
.tech-card h3 { margin: 0; font-size: 20px; }
.tech-card .meta { font-size: 12.5px; color: var(--faint); display: flex; gap: 9px; flex-wrap: wrap; }
.tech-card p { font-size: 14.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tag {
  display: inline-block; padding: 4px 13px; border-radius: var(--r-pill);
  background: #F3EEFF; color: var(--violet); font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--border-2);
}

/* ---------- technique detail ---------- */
.tech-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-bottom: 8px; }
.tech-hero img {
  width: 84px; height: 84px; border-radius: var(--r-md);
  background: linear-gradient(140deg, #F3EEFF, #FDF2F8);
  border: 1px solid var(--border); padding: 6px; box-shadow: var(--shadow-sm);
}
.detail-grid { display: grid; grid-template-columns: 1fr 390px; gap: 38px; align-items: start; }
@media (max-width: 1000px) { .detail-grid { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 20px 50px; color: var(--muted); font-size: 15.5px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -1px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--aura); color: #fff;
  font-family: 'Fraunces', serif; font-size: 14px; font-weight: 700;
  box-shadow: 0 5px 14px -5px rgba(124,58,237,.6);
}
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tips li {
  padding: 15px 19px; border-left: 3px solid var(--orchid); background: #FDF4FF;
  border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 14.5px; color: var(--text-2);
}
.factbar { display: flex; flex-wrap: wrap; gap: 28px; padding: 20px 0; border-block: 1px solid var(--border); margin: 24px 0 34px; }
.factbar div { font-size: 13px; color: var(--faint); }
.factbar strong { display: block; font-size: 15.5px; color: var(--text); font-weight: 600; margin-top: 3px; }

/* ---------- tool panel ---------- */
.tool {
  position: sticky; top: 92px;
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: 26px; display: grid; gap: 18px;
  box-shadow: var(--shadow-lg);
}
.tool h3 { margin: 0; font-size: 18px; }
.tool .hint { font-size: 13px; color: var(--faint); margin: 0; }
.saved { font-size: 12.5px; color: var(--ok); opacity: 0; transition: opacity .3s; font-weight: 600; }
.saved.on { opacity: 1; }

/* counter pad */
.slots { display: flex; gap: 8px; }
.slot {
  flex: 1; padding: 10px 4px; border-radius: var(--r-pill); border: 1px solid var(--border-2);
  background: #fff; color: var(--muted); font-size: 13px; text-align: center; transition: all .2s var(--ease);
}
.slot.on { background: var(--aura); color: #fff; font-weight: 700; border-color: transparent; }
.dots { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 6px 0; }
.dots i {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--border-2); background: #fff; transition: all .35s var(--spring);
}
.dots i.on { background: var(--aura); border-color: transparent; transform: scale(1.18); box-shadow: 0 3px 10px rgba(124,58,237,.45); }
.tap {
  width: 100%; padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--border-2);
  background: var(--surface-2); color: var(--text);
  font-family: 'Fraunces', serif; font-size: 38px; font-weight: 700;
  transition: transform .12s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.tap:hover { background: #F3EEFF; border-color: var(--border-hi); box-shadow: var(--shadow); }
.tap:active { transform: scale(.97); }
.tap span { background: var(--aura); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tap small { display: block; font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 400; color: var(--faint); margin-top: 7px; letter-spacing: .04em; }

/* timer */
.timer-ring { position: relative; width: 100%; max-width: 236px; margin-inline: auto; aspect-ratio: 1; }
.timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-ring .track { fill: none; stroke: #EDE7FA; stroke-width: 7; }
.timer-ring .prog { fill: none; stroke: url(#auraGrad); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .3s linear; }
.timer-ring .read {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  font-family: 'Fraunces', serif; font-size: 42px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text);
}
.durations { display: flex; gap: 8px; }
.durations .chip { flex: 1; text-align: center; }

/* writing */
.tool textarea {
  width: 100%; min-height: 215px; resize: vertical; padding: 16px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2);
  border-radius: var(--r-md); font-family: 'Fraunces', Georgia, serif; font-size: 16.5px; line-height: 1.7;
  transition: border-color .2s, background .2s;
}
.tool textarea:focus { border-color: var(--border-hi); background: #fff; }
.tool textarea::placeholder { color: #9C95B5; font-style: italic; }
.prompt-box {
  padding: 16px 18px; background: #F6F1FF; border: 1px solid var(--border-2);
  border-radius: var(--r-md); font-family: 'Fraunces', serif; font-style: italic;
  font-size: 15.5px; color: var(--text); line-height: 1.55;
}
.rowbtns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.counts { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.checks label {
  display: flex; gap: 13px; align-items: flex-start; padding: 14px 16px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md);
  font-size: 14.5px; color: var(--text-2); cursor: pointer; transition: all .2s var(--ease);
}
.checks label:hover { border-color: var(--border-hi); background: #F3EEFF; }
.checks input { display: none; }
.checks .box {
  flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--border-2);
  background: #fff; display: grid; place-items: center; margin-top: 1px; transition: all .2s var(--spring);
}
.checks input:checked + .box { background: var(--aura); border-color: transparent; transform: scale(1.06); }
.checks .box svg { opacity: 0; width: 12px; }
.checks input:checked + .box svg { opacity: 1; }
.checks input:checked ~ span { color: var(--faint); text-decoration: line-through; }

/* vision board */
.board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.board .tile {
  position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border-2);
  display: grid; place-items: center; padding: 13px; text-align: center;
  font-family: 'Fraunces', serif; font-size: 15px; color: var(--text);
}
.board .tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.board .tile .del {
  position: absolute; top: 6px; right: 6px; width: 25px; height: 25px; border-radius: 50%;
  background: rgba(255,255,255,.94); border: 1px solid var(--border-2); font-size: 14px; line-height: 1;
  display: grid; place-items: center; opacity: 0; transition: opacity .2s; color: var(--text);
  box-shadow: var(--shadow-sm);
}
.board .tile:hover .del { opacity: 1; }
.board .add { border-style: dashed; color: var(--faint); font-family: 'Inter', sans-serif; font-size: 13px; cursor: pointer; }
.board .add:hover { border-color: var(--border-hi); color: var(--violet); }

/* audio loop */
.rec-state { display: grid; place-items: center; gap: 11px; padding: 18px 0; }
.rec-dot { width: 16px; height: 16px; border-radius: 50%; background: #CFC8E4; transition: all .3s; }
.rec-dot.live { background: #DC2626; box-shadow: 0 0 0 0 rgba(220,38,38,.6); animation: rec 1.5s infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 15px rgba(220,38,38,0); } 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); } }
.tool audio { width: 100%; }

/* streak strip */
.streak {
  display: flex; align-items: center; gap: 15px; padding: 15px 18px;
  background: linear-gradient(120deg, #F6F1FF, #FDF4FF);
  border: 1px solid var(--border-2); border-radius: var(--r-md);
}
.streak .flame { font-size: 23px; }
.streak .n { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; line-height: 1; background: linear-gradient(115deg,#C026D3,#B45309); -webkit-background-clip: text; background-clip: text; color: transparent; } /* #B45309 = 5.9:1 on white; the light #F59E0B is never used for text */
.streak .l { font-size: 12.5px; color: var(--faint); }

/* ---------- affirmations ---------- */
.aff-hero {
  display: grid; place-items: center; text-align: center; gap: 24px; padding: 52px 28px;
  background: linear-gradient(140deg, #F6F1FF, #FDF2F8 55%, #FFF7ED);
  border: 1px solid var(--border-2); border-radius: var(--r-xl);
  min-height: 280px; box-shadow: var(--shadow);
}
.aff-hero .q { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(23px, 3.6vw, 37px); line-height: 1.35; max-width: 21ch; margin: 0; color: var(--text); }
.aff-list { display: grid; gap: 11px; }
.aff-list .a {
  padding: 16px 19px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); font-family: 'Fraunces', serif; font-size: 16.5px; color: var(--text-2);
  box-shadow: var(--shadow-sm); transition: all .2s var(--ease);
}
.aff-list .a:hover { border-color: var(--border-hi); color: var(--text); transform: translateX(4px); }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--border); padding: 52px 0 64px; margin-top: 44px; background: var(--bg-tint); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4 { font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin: 0 0 15px; font-weight: 700; font-family: 'Inter', sans-serif; }
footer.site a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
footer.site a:hover { color: var(--violet); }
footer.site .fine { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.rv.in { opacity: 1; transform: none; }

.notice { padding: 15px 19px; border-radius: var(--r-md); background: #F6F1FF; border: 1px solid var(--border-2); font-size: 13.5px; color: var(--text-2); }
