/* ==========================================================================
   JUNO — SUBPAGES STYLESHEET
   Owns: about-us, about-the-founder, founder, contact-us, privacy, terms, login.
   Subpages are LIGHT: no GSAP, no three. Lavender gradient + static plexus accent.
   ========================================================================== */

/* Design tokens + Fraunces @font-face live in css/tokens.css (shared source of
   truth, DESIGN_SPEC §1). Every subpage links tokens.css BEFORE this file. */

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  min-height: 100%;
  background: linear-gradient(180deg, var(--juno-bg-top) 0%, var(--juno-bg-bottom) 100%);
  background-color: var(--juno-bg-bottom);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--juno-text-primary);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--juno-accent-deep); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--juno-surface); color: var(--juno-accent-deep);
  padding: 10px 18px; border-radius: 0 0 var(--r-tile) 0; font-weight: 600; font-size: 14px;
  box-shadow: var(--sh-elevated);
}
.skip-link:focus { left: 0; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Type registers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;              /* register (b): sans 11 semibold caps, tracking 1.0–1.4 */
  color: var(--juno-accent-deep);
}
.ital { font-style: italic; color: var(--juno-accent-deep); }

/* --------------------------------------------------------------------------
   Nav — floating glass pill (ported verbatim from the landing page so the top
   bar is identical on every page). Subpages are light backgrounds, so the pill
   uses the LIGHT frosted-white state by default — the same look the landing
   settles into on scroll (body.nav-solid). Blue wordmark, ink links, violet CTA.
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 9px 12px 9px 20px;
  border-radius: 999px;
  color: var(--juno-text-primary);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(138, 127, 216, .18);
  box-shadow: 0 12px 34px rgba(138, 127, 216, .18), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.nav .nav-logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav .nav-logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: 15.5px;
  color: var(--juno-text-secondary);
  padding: 10px 2px; min-height: 44px; display: inline-flex; align-items: center;
  transition: color .2s var(--settle);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--juno-accent-deep); }
.nav-links a.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--juno-accent); color: #fff;
  border-radius: var(--r-pill); padding: 11px 22px; min-height: 44px;
  font-weight: 600; font-size: 15.5px; white-space: nowrap;
  box-shadow: var(--sh-card);
  transition: transform .15s var(--settle), background-color .2s var(--settle);
}
.nav-links a.nav-cta:hover { background: var(--juno-accent-deep); color: #fff; }
.nav-links a.nav-cta:active { transform: scale(.96); }
@media (max-width: 719px) {
  .nav-links .nav-secondary { display: none; }  /* hide secondary links, keep the pill */
  .nav-links { gap: 12px; }
  .nav { width: calc(100% - 20px); padding: 8px 10px 8px 16px; gap: 12px; }
}

/* --------------------------------------------------------------------------
   Buttons (house rule 5: primary CTA = violet capsule; press scale .96)
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font-size: 15px; font-weight: 600; color: #fff;
  background: var(--juno-accent);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -6px rgba(110,98,194,.45);
  transition: background-color .2s var(--settle), transform .15s var(--settle);
}
.btn-primary:hover { background: var(--juno-accent-deep); }
.btn-primary:active { transform: scale(.96); }
.btn-primary .arrow { transition: transform .22s var(--settle); }
.btn-primary:hover .arrow { transform: translateX(3px); }
.cta-meta {
  display: block; margin-top: 14px;
  font-size: 13.5px; color: var(--juno-text-secondary);
}

/* --------------------------------------------------------------------------
   Page hero + plexus accent (static, decorative — subpages have NO 3D)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 152px 24px 48px;
  text-align: center;
  overflow: hidden;
}
@media (max-width: 768px) { .page-hero { padding: 116px 20px 36px; } }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--juno-text-primary);
  max-width: 800px;
  margin: 0 auto;
}
.page-hero .lede {
  font-size: 17px; line-height: 1.55;
  color: var(--juno-text-secondary);
  max-width: 600px;
  margin: 16px auto 0;
}
.page-hero .meta-pill {
  display: inline-flex; gap: 10px;
  margin-top: 20px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--juno-text-tertiary-text);
  background: var(--juno-surface);
  border: 1px solid var(--juno-accent-soft);
  border-radius: var(--r-pill);
  padding: 8px 18px;
}
.plexus {
  position: absolute;
  left: 50%; top: 44px;
  transform: translateX(-50%);
  width: min(760px, 96vw);
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: .55;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
}

/* --------------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------------- */
.section { padding: 56px 0 72px; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-header .eyebrow { margin-bottom: 12px; }
.section-header h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--juno-text-primary);
  margin-bottom: 14px;
}
.section-header .desc { font-size: 16.5px; color: var(--juno-text-secondary); }

.card {
  background: var(--juno-surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
}

/* --------------------------------------------------------------------------
   About page — intro (mission), story card, community
   -------------------------------------------------------------------------- */
.intro-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  font-size: 17.5px;
  line-height: 1.65;
}
@media (max-width: 768px) { .intro-block { padding: 12px 20px 32px; font-size: 16.5px; } }
.intro-block p { margin-bottom: 18px; color: var(--juno-text-primary); }
.intro-block strong { font-weight: 650; }

.story-section { padding: 56px 0 24px; }
.story-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--juno-surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-elevated);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 768px) {
  .story-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 18px; text-align: center; justify-items: center; }
}
.story-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--juno-accent-soft) url("../assets/images/founder-liam.png") 22% center / cover no-repeat;
  border: 3px solid var(--juno-surface);
  box-shadow: 0 8px 24px -8px rgba(110,98,194,.4);
}
.story-card .eyebrow { margin-bottom: 8px; }
.story-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.story-card p { font-size: 15px; line-height: 1.55; color: var(--juno-text-secondary); margin-bottom: 14px; }
.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--juno-accent-deep);
}
.link-more .arrow { transition: transform .22s var(--settle); }
.link-more:hover .arrow { transform: translateX(3px); }

.community { padding: 72px 24px 88px; text-align: center; }
.community h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto 18px;
}
.community > p, .community .container > p {
  font-size: 17px; color: var(--juno-text-secondary);
  max-width: 580px; margin: 0 auto 28px;
}

/* --------------------------------------------------------------------------
   About page — feature showcase (the recent capabilities)
   Hand-built cards: tinted rounded-square icon tiles, serif headlines,
   honest SAMPLE framing on any sample content. No em dashes, no gold CTA.
   -------------------------------------------------------------------------- */
.feat-tile {
  width: 48px; height: 48px;
  border-radius: 14px;                 /* rounded square, not a circle */
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feat-tile svg { width: 24px; height: 24px; }
.tile-pattern { background: var(--kind-pattern-tint); color: var(--kind-pattern); }
.tile-trigger { background: var(--kind-trigger-tint); color: var(--kind-trigger); }
.tile-growth  { background: var(--kind-growth-tint);  color: var(--kind-growth); }
.tile-care    { background: var(--kind-care-tint);    color: var(--kind-care); }
.tile-comp    { background: var(--kind-comparison-tint); color: var(--kind-comparison); }
.tile-accent  { background: var(--juno-accent-soft);  color: var(--juno-accent-deep); }
.tile-warm    { background: #FBE9D8; color: #E97A3F; }   /* streak identity */

.sample-badge {
  display: inline-block;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--juno-text-tertiary-text);
  background: var(--juno-sample-bg);
  border-radius: 6px; padding: 3px 7px;
}

/* Lead feature — Daily Insights */
.lead-feature {
  max-width: 920px;
  margin: 0 auto 24px;
  background: var(--juno-surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-elevated);
  padding: 34px 40px 32px;
}
@media (max-width: 760px) { .lead-feature { padding: 26px 22px 24px; } }
.lead-feature .lf-head { display: flex; align-items: flex-start; gap: 16px; max-width: 620px; }
.lead-feature .lf-head h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 26px); line-height: 1.18; margin-bottom: 6px;
}
.lead-feature .lf-eyebrow { margin-bottom: 8px; }
.lead-feature .lf-head p { font-size: 15.5px; line-height: 1.58; color: var(--juno-text-secondary); }
.insight-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 22px 0 14px;
}
@media (max-width: 720px) { .insight-row { grid-template-columns: 1fr; } }
.i-chip {
  position: relative;
  background: var(--juno-sample-bg);
  border-radius: var(--r-tile);
  padding: 16px 16px 15px;
}
.i-chip .feat-tile { width: 36px; height: 36px; border-radius: 11px; margin-bottom: 11px; }
.i-chip .feat-tile svg { width: 18px; height: 18px; }
.i-chip .i-kind {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 6px;
}
.i-chip h4 {
  font-family: var(--serif); font-weight: 600;
  font-size: 15.5px; line-height: 1.26; margin-bottom: 6px;
  color: var(--juno-text-primary);
}
.i-chip p { font-size: 13px; line-height: 1.5; color: var(--juno-text-secondary); }
.i-chip .sample-badge { position: absolute; top: 13px; right: 13px; }
.lf-foot {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 6px 16px; margin-top: 4px;
}
.samples-note { font-size: 13px; font-style: italic; color: var(--juno-text-tertiary-text); }
.engine-note { font-size: 14px; color: var(--juno-text-secondary); }
.engine-note strong { color: var(--juno-accent-deep); font-weight: 650; }

/* Feature grid — the six recent surfaces */
.feat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  max-width: 920px; margin: 0 auto;
}
@media (max-width: 760px) { .feat-grid { grid-template-columns: 1fr; gap: 18px; } }
.feat-card {
  background: var(--juno-surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 26px 26px 24px;
  transition: transform .24s var(--settle), box-shadow .24s var(--settle);
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--sh-elevated); }
.fc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.fc-kicker {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--juno-accent-deep);
  margin-bottom: 3px;
}
.feat-card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 20px; line-height: 1.2; color: var(--juno-text-primary);
}
.feat-card p { font-size: 14.5px; line-height: 1.56; color: var(--juno-text-secondary); }
.feat-card p + p { margin-top: 10px; }

/* Mini visual: mood swatch row */
.mood-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.mood-swatches .sw {
  width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), var(--sh-card);
}
.mood-swatches .more {
  align-self: center; font-size: 13px; font-weight: 600;
  color: var(--juno-text-tertiary-text); margin-left: 2px;
}

/* Mini visual: monthly-review chapter dots */
.chapter-dots { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 12px; }
.chapter-dots i { width: 17px; height: 17px; border-radius: 6px; display: block; }

/* Engine activation band */
.engine-band {
  max-width: 920px; margin: 24px auto 0;
  background: linear-gradient(180deg, var(--juno-surface) 0%, #FAF7FE 100%);
  border: 1px solid var(--juno-accent-soft);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 32px 36px 30px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center;
}
@media (max-width: 760px) { .engine-band { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; } }
.engine-band .eb-copy h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(22px, 2.4vw, 26px); line-height: 1.18; margin: 10px 0 8px;
}
.engine-band .eb-copy p { font-size: 15px; line-height: 1.58; color: var(--juno-text-secondary); }
.eb-head { display: flex; align-items: center; gap: 13px; }
.eb-visual {
  background: var(--juno-surface);
  border-radius: var(--r-tile);
  box-shadow: var(--sh-card);
  padding: 20px 20px 18px;
}
.eb-visual .ev-eyebrow {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--juno-text-tertiary-text); margin-bottom: 10px;
}
.eb-visual .ev-state {
  font-family: var(--serif); font-weight: 600;
  font-size: 17px; line-height: 1.25; margin-bottom: 14px;
}
.engine-track { display: flex; gap: 6px; margin-bottom: 10px; }
.engine-track i {
  flex: 1; height: 9px; border-radius: 5px;
  background: var(--juno-accent-soft); display: block;
}
.engine-track i.unlock {
  background: var(--juno-accent);
  box-shadow: 0 0 0 3px rgba(138,127,216,.18);
}
.eb-visual .ev-foot { font-size: 12.5px; color: var(--juno-text-tertiary-text); }

/* --------------------------------------------------------------------------
   Founder page — portrait + letter
   -------------------------------------------------------------------------- */
.founder-portrait-wrap { width: 300px; height: 300px; margin: 0 auto 36px; position: relative; }
.founder-portrait-wrap .portrait {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--juno-accent-soft) url("../assets/images/founder-liam.png") 22% center / cover no-repeat;
  border: 6px solid var(--juno-surface);
  box-shadow: 0 24px 56px -20px rgba(110,98,194,.5), 0 8px 20px -10px rgba(138,127,216,.3);
}
.founder-portrait-wrap .ring   { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(110,98,194,.32); pointer-events: none; }
.founder-portrait-wrap .ring-2 { position: absolute; inset: -28px; border-radius: 50%; border: 1px solid rgba(110,98,194,.16); pointer-events: none; }
@media (max-width: 768px) {
  .founder-portrait-wrap { width: 210px; height: 210px; }
  .founder-portrait-wrap .portrait { border-width: 5px; }
  .founder-portrait-wrap .ring { inset: -10px; }
  .founder-portrait-wrap .ring-2 { inset: -22px; }
}

.letter {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 32px 72px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
  color: var(--juno-text-primary);
}
@media (max-width: 768px) { .letter { padding: 28px 20px 56px; font-size: 17.5px; } }
.letter h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 38px 0 16px;
}
.letter h2:first-of-type { margin-top: 0; }
.letter p { margin-bottom: 18px; }
.letter a { color: var(--juno-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.letter .pull {
  font-family: var(--serif);
  font-style: italic;                   /* house rule 3: the user's own words = serif italic */
  color: var(--juno-accent-deep);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.32;
  padding: 22px 0 22px 24px;
  border-left: 3px solid var(--juno-accent);
  margin: 28px 0;
}
.letter .signature-block {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--juno-accent-soft);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--juno-text-secondary);
  line-height: 1.5;
}
.letter .signature-block strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--juno-text-primary);
  margin-bottom: 4px;
}

.cta-section { text-align: center; padding: 40px 24px 88px; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  max-width: 1020px;
  margin: 0 auto;
  padding: 40px 24px 88px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px 64px; }
}
.contact-card {
  background: var(--juno-surface);
  border-radius: var(--r-card);
  padding: 40px 40px 36px;
  box-shadow: var(--sh-elevated);
}
@media (max-width: 600px) { .contact-card { padding: 28px 24px; } }
.contact-card .eyebrow { margin-bottom: 10px; }
.contact-card h2, .details-card h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.contact-card > p { font-size: 15px; line-height: 1.6; color: var(--juno-text-secondary); margin-bottom: 24px; }

.field-group { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--juno-text-tertiary-text);
}
.field input, .field textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--juno-accent-soft);
  border-radius: var(--r-tile);
  background: var(--juno-sample-bg);
  color: var(--juno-text-primary);
  transition: border-color .18s var(--settle), background-color .18s var(--settle);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--juno-text-tertiary); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--juno-accent);
  background: var(--juno-surface);
}
.field textarea { min-height: 110px; }
.submit-btn { margin-top: 8px; justify-self: start; }
.form-note { margin-top: 6px; font-size: 13px; color: var(--juno-text-tertiary-text); }
.form-note a { color: var(--juno-accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.details-card {
  background: linear-gradient(180deg, var(--juno-sample-bg) 0%, var(--juno-accent-soft) 100%);
  border-radius: var(--r-card);
  padding: 36px 36px 30px;
  box-shadow: var(--sh-card);
}
@media (max-width: 600px) { .details-card { padding: 28px 24px 22px; } }
.details-card .eyebrow { margin-bottom: 6px; }
.details-card h2 { margin-bottom: 20px; }
.detail-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(110,98,194,.12);
}
.detail-row:first-of-type { border-top: 0; }
.detail-row .icon {
  width: 38px; height: 38px;
  border-radius: var(--r-tile);
  background: var(--juno-surface);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--juno-accent-deep);
  box-shadow: 0 4px 12px -4px rgba(110,98,194,.25);
}
.detail-row .icon svg { width: 18px; height: 18px; }
.detail-row .det-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--juno-text-tertiary-text);
  margin-bottom: 4px;
}
.detail-row .det-value { font-size: 15px; font-weight: 500; }
.detail-row .det-value a:hover { color: var(--juno-accent-deep); }
.detail-row .det-meta { font-size: 13px; color: var(--juno-text-secondary); margin-top: 2px; }

.cta-closer { padding: 64px 24px 88px; text-align: center; }
.cta-closer h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 640px;
  margin: 0 auto 14px;
}
.cta-closer p { font-size: 16px; color: var(--juno-text-secondary); margin-bottom: 26px; }

/* --------------------------------------------------------------------------
   Legal pages (privacy / terms) — readable measure, sticky section nav
   -------------------------------------------------------------------------- */
.legal-layout {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 24px 96px;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 64px; }
}
.toc {
  position: sticky;
  top: 92px;
  background: var(--juno-surface);
  border-radius: var(--r-card);
  padding: 22px 24px;
  box-shadow: var(--sh-card);
}
@media (max-width: 900px) { .toc { position: static; } }
.toc h2 {
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--juno-accent-deep);
  margin-bottom: 14px;
}
.toc ol {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  counter-reset: toc-item;
}
@media (max-width: 900px) { .toc ol { grid-template-columns: 1fr 1fr; gap: 8px 24px; } }
@media (max-width: 600px) { .toc ol { grid-template-columns: 1fr; } }
.toc li { counter-increment: toc-item; font-size: 13.5px; line-height: 1.45; }
.toc li a { display: inline-flex; align-items: baseline; gap: 9px; transition: color .18s var(--settle); }
.toc li a::before {
  content: counter(toc-item, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px; font-weight: 600;
  color: var(--juno-accent-deep);
}
.toc li a:hover { color: var(--juno-accent-deep); }

.legal-identity {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--juno-surface);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--sh-card);
  margin-bottom: 40px;
}
@media (max-width: 500px) { .legal-identity { grid-template-columns: 1fr; } }
.legal-identity > div { padding: 18px 22px; border-top: 1px solid var(--juno-accent-soft); border-left: 1px solid var(--juno-accent-soft); }
.legal-identity > div:nth-child(-n+2) { border-top: 0; }
.legal-identity > div:nth-child(odd) { border-left: 0; }
@media (max-width: 500px) {
  .legal-identity > div { border-left: 0; border-top: 1px solid var(--juno-accent-soft); }
  .legal-identity > div:first-child { border-top: 0; }
}
.legal-identity dt {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--juno-text-tertiary-text);
  margin-bottom: 4px;
}
.legal-identity dd { font-size: 15px; font-weight: 500; }

.policy {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.7;
}
.policy h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 44px 0 14px;
  scroll-margin-top: 96px;
}
.policy h2:first-of-type { margin-top: 0; }
.policy h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  margin: 24px 0 8px;
}
.policy p { margin-bottom: 16px; color: var(--juno-text-secondary); }
.policy ul { margin: 8px 0 18px; padding-left: 22px; color: var(--juno-text-secondary); }
.policy li { margin-bottom: 7px; }
.policy a { color: var(--juno-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.policy strong { color: var(--juno-text-primary); font-weight: 600; }
.policy .callout {
  background: var(--juno-sample-bg);
  border-left: 3px solid var(--juno-accent);
  padding: 18px 22px;
  border-radius: 0 var(--r-tile) var(--r-tile) 0;
  margin: 18px 0 22px;
  color: var(--juno-text-primary);
}
.policy .callout strong { color: var(--juno-accent-deep); }

/* --------------------------------------------------------------------------
   Footer (shared shell — dark stage; landing page mirrors this exactly)
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: 40px;
  background: linear-gradient(180deg, var(--juno-deep-top) 0%, var(--juno-deep-bottom) 100%);
  color: rgba(255,255,255,.82);
  padding: 60px 0 36px;
  overflow: hidden;
}
.site-footer::before {                  /* tiny white stars, per the night-sky stage */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 64%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 18%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 52%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 30%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 84%, rgba(255,255,255,.3) 50%, transparent 51%);
  pointer-events: none;
}
.footer-inner { position: relative; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.footer-brand img { height: 26px; width: auto; display: block; }
.footer-built {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
}
.footer-built a {
  color: rgba(255,255,255,.92);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 3px;
}
.footer-built a:hover { text-decoration-color: rgba(255,255,255,.8); }
.store-block { display: flex; align-items: center; gap: 18px; }
.store-badge { display: inline-block; border-radius: 12px; transition: transform .15s var(--settle); }
.store-badge:active { transform: scale(.96); }
.store-badge svg { display: block; height: 46px; width: auto; }
.qr-tile {
  background: #fff;
  border-radius: var(--r-tile);
  padding: 8px;
  line-height: 0;
}
.qr-tile img { width: 76px; height: 76px; image-rendering: pixelated; }
.qr-caption {
  margin-top: 6px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-align: center;
}
.footer-legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  color: rgba(255,255,255,.6);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 12px;
}
.footer-legal a { color: rgba(255,255,255,.78); transition: color .18s var(--settle); }
.footer-legal a:hover { color: #fff; }
.footer-legal .dot { color: rgba(255,255,255,.3); }
@media (max-width: 640px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll (guarded: only hides when JS is present; reduced-motion safe)
   -------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--rise), transform .7s var(--rise);
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary, .btn-primary .arrow, .feat-card, .link-more .arrow { transition: none; }
}
