/* ==========================================================================
   MysticDigit - AURORA theme layer (calculator pages)
   Reference design: mockups/calculator-ui/v1-aurora.html
   Load LAST in <head>, after css/style.css, so these rules refine the base.
   Direction: dark aurora hero, light working surface, app-style mobile shell.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --paper: #f7faf5;
  --paper-alt: #eef4e9;
  --paper-deep: #e3ecdc;
  --ink: #0f1a15;
  --ink-soft: #394842;
  --muted: #5f7068;
  --line: #e0e9d9;
  --line-strong: #d3dfc9;

  --sage: #97b881;
  --sage-dk: #5f7f4c;
  --sage-lt: #eef4e9;
  --coral: #e88d78;
  --coral-dk: #c96a54;
  --coral-lt: #fdeee9;
  --sun: #e7c87b;
  --sun-lt: #fbf3dd;

  --night: #0b1512;
  --night-2: #11241c;
  --night-3: #16291f;

  --r-s: 14px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 36px;

  --sh-1: 0 2px 8px rgba(15, 26, 21, 0.05);
  --sh-2: 0 14px 32px -14px rgba(15, 26, 21, 0.22);
  --sh-3: 0 34px 68px -26px rgba(15, 26, 21, 0.38);

  --f-head: "Quicksand", system-ui, -apple-system, sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, sans-serif;

  --au-ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --au-gutter: 18px;
  --au-safe-b: env(safe-area-inset-bottom, 0px);

  /* --- legacy token remap (style.css + inline page styles) --- */
  --primary-color: #97b881;
  --primary-dark: #5f7f4c;
  --primary-light: #eef4e9;

  --secondary-color: #e88d78;
  --secondary-dark: #c96a54;
  --secondary-light: #fdeee9;

  --sun-light: #fbf3dd;
  --sun-dark: #c5a75f;

  --text-primary: #0f1a15;
  --text-secondary: #5b6b62;
  --bg-body: #f7faf5;
  --bg-card: #ffffff;

  --primary: #97b881;
  --secondary: #e88d78;
  --bg: #f7faf5;
  --border: #e0e9d9;

  --border-color: #e0e9d9;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --font-heading: "Quicksand", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --shadow-xs: 0 2px 8px rgba(15, 26, 21, 0.05);
  --shadow-sm: 0 10px 24px -16px rgba(15, 26, 21, 0.24);
  --shadow-md: 0 18px 38px -22px rgba(15, 26, 21, 0.32);
  --shadow-lg: 0 28px 54px -28px rgba(15, 26, 21, 0.38);
  --shadow-xl: 0 38px 72px -32px rgba(15, 26, 21, 0.44);
}

/* 2. Base ------------------------------------------------------------------ */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image: none;
  background-attachment: scroll;
  padding-bottom: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body .container,
body main {
  color: var(--ink);
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  letter-spacing: -0.015em;
}

::selection {
  background: rgba(151, 184, 129, 0.35);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.au-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--au-gutter);
}

.au-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 4. Aurora hero ----------------------------------------------------------- */
.aurora-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: 20px 0 84px;
  background:
    radial-gradient(120% 90% at 8% 0%, #1c3c2d 0%, rgba(28, 60, 45, 0) 58%),
    radial-gradient(100% 80% at 96% 6%, #40291f 0%, rgba(64, 41, 31, 0) 52%),
    linear-gradient(180deg, #0b1512 0%, #102019 62%, #0d1b15 100%);
}

.aurora-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.26;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  pointer-events: none;
}

.au-blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  pointer-events: none;
}

.au-blob-1 {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -80px;
  background: #2f6a4b;
  animation: auDrift 16s ease-in-out infinite alternate;
}

.au-blob-2 {
  width: 300px;
  height: 300px;
  top: -60px;
  right: -110px;
  background: #7a4a34;
  animation: auDrift 19s ease-in-out infinite alternate-reverse;
}

.au-blob-3 {
  width: 240px;
  height: 240px;
  bottom: -140px;
  left: 40%;
  background: #4c5c2c;
  opacity: 0.3;
}

@keyframes auDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(26px, 30px, 0) scale(1.12); }
}

.au-hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.au-crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 16px;
}

.au-crumbs a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
}

.au-crumbs a:hover {
  color: #fff;
}

.au-crumbs svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  flex: none;
}

.au-crumbs b {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.au-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 9px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.au-eyebrow .au-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ee0a8;
  box-shadow: 0 0 0 4px rgba(142, 224, 168, 0.16);
  flex: none;
}

.aurora-hero h1 {
  font-family: var(--f-head);
  font-size: clamp(1.78rem, 7vw, 3.05rem);
  font-weight: 700;
  letter-spacing: -0.026em;
  line-height: 1.07;
  margin: 14px 0 0;
  color: #fff;
  text-align: left;
}

.aurora-hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #c8e6b3 0%, var(--sun) 52%, #efae98 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.au-lede {
  margin-top: 12px;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
}

/* simple day / month / year row used by the date calculators */
.au-date-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

.au-date-row > * {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
}

@media (max-width: 400px) {
  .au-date-row {
    gap: 8px;
  }
}

/* four-field rows (day, month, year, gender) fold into a 2x2 block on phones */
@media (max-width: 559px) {
  .au-date-row.au-date-row-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.au-lede a {
  color: #cfe6bd;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.au-lede a:hover {
  color: #fff;
}

.au-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.au-proof li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50px;
  padding: 5px 11px;
  line-height: 1.3;
}

.au-proof svg {
  width: 13px;
  height: 13px;
  color: var(--sun);
  flex: none;
}

/* hero orb (desktop only) */
.au-hero-visual {
  display: none;
  position: relative;
}

.au-orb-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.au-orb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.au-orb-kicker {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.au-orb-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  color: #a9e3bd;
  white-space: nowrap;
}

.au-orb-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ee0a8;
}

.au-orb {
  position: relative;
  width: 100%;
  max-width: 234px;
  margin: 4px auto 0;
  aspect-ratio: 1;
}

.au-orb svg {
  width: 100%;
  height: 100%;
}

.au-orb-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  padding-bottom: 6px;
}

.au-orb-center b {
  font-family: var(--f-head);
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}

.au-orb.sm .au-orb-center b {
  font-size: 42px;
}

.au-orb-center span {
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  max-width: 110px;
  line-height: 1.5;
}

.au-orb-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 13px;
  margin-top: 6px;
}

.au-orb-foot div {
  text-align: center;
}

.au-orb-foot b {
  display: block;
  font-family: var(--f-head);
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.3;
}

.au-orb-foot span {
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.au-float-chip {
  position: absolute;
  right: -12px;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 9px 13px;
  box-shadow: var(--sh-3);
  font-size: 0.72rem;
  font-weight: 600;
}

.au-float-chip svg {
  width: 15px;
  height: 15px;
  color: var(--sage-dk);
  flex: none;
}

/* 5. Main + calculator card ------------------------------------------------ */
.container.au-main,
.au-main {
  max-width: 1140px;
  margin: -62px auto 0;
  padding: 0 var(--au-gutter) 40px;
  position: relative;
  z-index: 4;
}

/* pages that start with article content instead of a calculator card */
.container.au-main.au-main-flat,
.au-main.au-main-flat {
  margin-top: 28px;
  padding-bottom: 8px;
}

.au-main-flat .content-zone {
  margin-top: 8px;
}

.au-main .nc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.au-main .nc-row > * {
  flex: 1 1 0;
  min-width: 0 !important;
}

.au-main > .nc-crumbs {
  display: none;
}

.au-main .input-card {
  background: #fff;
  border: 1px solid #fff;
  border-radius: var(--r-l);
  padding: 20px 18px 22px;
  box-shadow: var(--sh-3);
  text-align: left;
  margin-bottom: 22px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.au-main .nc-answer {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.au-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.au-card-head h2,
.au-card-head h3 {
  font-family: var(--f-head);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  text-align: left;
}

.au-step {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dk);
  background: var(--paper-alt);
  padding: 5px 10px;
  border-radius: 50px;
  font-weight: 700;
  white-space: nowrap;
}

.au-field-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* 6. Inputs ---------------------------------------------------------------- */
.input-field {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: #fbfdf9;
  border: 1.5px solid var(--line);
  border-radius: var(--r-s);
  height: 54px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  color-scheme: light;
}

.input-field::placeholder {
  color: #9dab9f;
  font-weight: 400;
}

.input-field:focus {
  border-color: var(--sage);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(151, 184, 129, 0.16);
}

select.input-field {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7f4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
  padding-right: 38px;
  font-weight: 600;
  color: var(--ink);
}

.input-wrapper {
  max-width: 520px;
}

.input-group label,
.py-form label,
.nc-label {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.input-group .input-field {
  height: 52px;
  padding: 12px 16px;
}

.input-action-btn {
  right: 12px;
  color: var(--sage-dk);
  border-radius: 10px;
  padding: 8px;
}

.input-action-btn:hover {
  background: var(--paper-alt);
  color: var(--sage-dk);
}

.input-note {
  color: var(--muted);
  font-size: 0.78rem;
  padding-left: 2px;
}

.py-form select,
.py-form input {
  background: #fbfdf9;
  border: 1.5px solid var(--line);
  border-radius: var(--r-s);
  height: 52px;
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--ink);
}

.py-form select:focus,
.py-form input:focus {
  border-color: var(--sage);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(151, 184, 129, 0.16);
}

.form-grid {
  gap: 14px;
  margin-bottom: 18px;
}

/* segmented controls */
.system-toggle {
  display: flex;
  width: fit-content;
  max-width: 100%;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px;
  gap: 4px;
  margin-left: auto;
  margin-right: auto;
}

.toggle-btn {
  border-radius: 11px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 14px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.toggle-btn:hover {
  color: var(--sage-dk);
}

.toggle-btn.active {
  background: #fff;
  color: var(--sage-dk);
  box-shadow: 0 2px 8px -4px rgba(15, 26, 21, 0.4);
}

/* history chips */
.history-container {
  gap: 8px;
  margin-top: 12px;
  padding-top: 6px;
  border-top: 0;
}

.history-container:has(.history-pill) {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  margin-top: 16px;
}

.history-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}

.history-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 6px 13px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.history-pill:hover {
  background: var(--paper-alt);
  border-color: var(--sage);
  color: var(--sage-dk);
}

.history-clear {
  color: var(--coral-dk);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.85;
}

.history-clear:hover {
  opacity: 1;
  text-decoration: underline;
}

.vault-restore-pill {
  border-radius: 50px !important;
}

/* 7. Buttons --------------------------------------------------------------- */
.btn-analyze,
.btn-grad {
  font-family: var(--f-body);
  background: linear-gradient(135deg, #2c4a37 0%, #16281f 100%);
  color: #fff;
  border-radius: 16px;
  padding: 16px 26px;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 30px -16px rgba(22, 40, 31, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  transition: transform 0.2s var(--au-ease), box-shadow 0.2s;
}

.btn-analyze:hover,
.btn-grad:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px -16px rgba(22, 40, 31, 0.95);
}

.btn-analyze:active,
.btn-grad:active {
  transform: scale(0.99);
}

.btn-analyze svg,
.btn-analyze i {
  color: var(--sun);
  flex: none;
}

.btn-secondary {
  font-family: var(--f-body);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 16px;
  padding: 15px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.18s;
}

.btn-secondary:hover {
  background: var(--paper-alt);
  border-color: var(--sage);
  color: var(--sage-dk);
}

.btn-share {
  font-family: var(--f-body);
  background: linear-gradient(140deg, var(--coral), var(--coral-dk));
  color: #fff;
  border-radius: 14px;
  padding: 13px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 12px 24px -14px rgba(201, 106, 84, 0.9);
  border: 0;
}

.btn-share:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(201, 106, 84, 0.95);
}

.btn-share svg,
.btn-share i {
  width: 17px;
  height: 17px;
}

.upsell-btn {
  background: linear-gradient(140deg, var(--coral), var(--coral-dk));
  border-radius: 14px;
  font-family: var(--f-body);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  box-shadow: 0 12px 24px -16px rgba(201, 106, 84, 0.9);
}

.upsell-btn:hover {
  background: linear-gradient(140deg, #ef9d89, var(--coral-dk));
  transform: translateY(-1px);
}

.calc-btn-row {
  gap: 12px;
  margin-top: 18px;
}

.guide-hero-actions {
  justify-content: flex-start;
  margin: 18px 0 6px;
}

.guide-hero-actions .btn-analyze,
.guide-hero-actions .btn-secondary {
  text-decoration: none;
}

.aurora-hero .guide-hero-actions {
  margin: 22px 0 0;
}

.aurora-hero .guide-hero-actions .btn-analyze {
  background: linear-gradient(140deg, var(--coral), var(--coral-dk));
  box-shadow: 0 16px 30px -16px rgba(201, 106, 84, 0.95);
}

.aurora-hero .guide-hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.aurora-hero .guide-hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

/* 8. Results --------------------------------------------------------------- */
.result-section {
  margin-top: 26px;
  scroll-margin-top: 84px;
}

.result-section:not(.hidden),
.py-result {
  animation: auRise 0.5s var(--au-ease) both;
}

@keyframes auRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

body .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--sh-1);
  padding: 22px;
  margin-bottom: 18px;
}

body .card > h3,
body .card > h4 {
  color: var(--sage-dk);
}

/* The one dark "result hero" card used by lifepath / mobile / name ... */
body .card.main-number-display {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  border: 0;
  border-radius: var(--r-l);
  padding: 26px 20px 28px;
  margin-bottom: 18px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(151, 184, 129, 0.28) 0%, transparent 58%),
    linear-gradient(160deg, #14261d 0%, #0b1512 100%);
  box-shadow: var(--sh-3);

  /* injected result copy uses theme tokens - flip them for the dark panel */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --primary-dark: #cfe6bd;
  --border-color: rgba(255, 255, 255, 0.14);
  --bg-body: rgba(255, 255, 255, 0.06);
}

body .card.main-number-display::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(70% 70% at 20% 0%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 20% 0%, #000, transparent);
  pointer-events: none;
}

body .card.main-number-display > * {
  position: relative;
  z-index: 1;
}

body .card.main-number-display > h3 {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
  text-align: center;
}

.big-digit {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(4.2rem, 19vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  background: linear-gradient(150deg, #ffffff 20%, #cfe6bd 70%, var(--sun) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: auPop 0.5s var(--au-ease) both;
}

@keyframes auPop {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

body .card.main-number-display .analyzed-label {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 600;
  margin-top: 10px;
}

body .card.main-number-display .master-flag {
  background: rgba(231, 200, 123, 0.14);
  border: 1px solid rgba(231, 200, 123, 0.35);
  color: #f0d79a;
  border-radius: 50px;
  font-size: 0.7rem;
  padding: 4px 12px;
}

body .card.main-number-display .meaning-text {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: left;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body .card.main-number-display .meaning-text strong {
  color: #fff;
}

/* long-form panels injected inside the dark result hero */
body .card.main-number-display .meaning-block {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  text-align: left;
}

body .card.main-number-display .meaning-block h4 {
  color: #cfe6bd;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body .card.main-number-display .meaning-block p,
body .card.main-number-display .meaning-block li {
  color: rgba(255, 255, 255, 0.76);
}

body .card.main-number-display .meaning-block p strong {
  color: #fff;
}

body .card.main-number-display .keywords .keyword-tag,
body .card.main-number-display .keywords .tag-person,
body .card.main-number-display .keywords .tag-business {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
}

body .card.main-number-display .secondary-result {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  padding-top: 14px;
  margin-top: 14px;
}

body .card.main-number-display .secondary-result strong {
  color: #fff;
}

body .card.main-number-display .flip-badge {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.8);
}

/* meaning blocks + secondary panels */
.meaning-block {
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  padding: 18px 20px;
}

.meaning-block h4 {
  color: var(--sage-dk);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  padding-bottom: 6px;
}

.meaning-block p {
  color: var(--ink-soft);
}

.meaning-block p strong {
  color: var(--sage-dk);
}

/* mini stat tiles */
.mini-stat {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.mini-stat label {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}

.mini-stat .val {
  color: var(--sage-dk);
  font-family: var(--f-head);
}

/* lifepath style tiles */
.lp-card {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-m) !important;
  box-shadow: var(--sh-1) !important;
  padding: 20px !important;
}

.lp-card h4 {
  color: var(--muted) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-num {
  color: var(--sage-dk) !important;
  font-size: 2.4rem !important;
}

/* shared "nc" result cards */
.nc-answer {
  max-width: none;
  margin: 0 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sage);
  border-radius: var(--r-m);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  box-shadow: var(--sh-2);
}

.nc-answer b {
  color: var(--sage-dk);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.nc-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh-2);
  padding: 22px;
}

.nc-num {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.nc-num strong {
  color: var(--sage-dk);
  font-family: var(--f-head);
}

.nc-pill {
  background: var(--sun-lt);
  color: #8a6d1f;
  border: 1px solid rgba(231, 200, 123, 0.55);
}

.nc-meter {
  height: 8px;
  background: var(--paper-deep);
  border-radius: 50px;
}

.nc-meter i {
  background: linear-gradient(90deg, var(--sage), var(--sun));
}

.nc-day {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.nc-day.top {
  background: var(--sun-lt);
  border-color: rgba(231, 200, 123, 0.7);
}

.nc-karma {
  background: var(--paper-alt);
  border-radius: 14px;
}

.nc-karma strong {
  color: var(--sage-dk);
}

.nc-table th {
  background: var(--paper-alt);
}

.nc-upsell {
  background: var(--coral-lt);
  border-radius: 16px;
}

.nc-upsell a {
  background: linear-gradient(140deg, var(--coral), var(--coral-dk));
}

/* number chips rail */
.num-meanings-grid {
  gap: 10px;
}

.nm-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--sh-1);
}

.nm-chip b {
  font-family: var(--f-head);
  color: var(--sage-dk);
  font-size: 0.9rem;
}

.nm-chip span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* generic chip / tag */
.keyword-tag,
.tag-person,
.tag-business {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 50px;
  padding: 5px 12px;
}

.keyword-tag,
.tag-person {
  background: var(--paper-alt);
  border-color: var(--line);
  color: var(--sage-dk);
}

.tag-business {
  background: var(--coral-lt);
  border-color: rgba(232, 141, 120, 0.35);
  color: var(--coral-dk);
}

/* upsell */
.upsell-card {
  background: linear-gradient(150deg, #fffdf6, var(--coral-lt));
  border: 1px dashed rgba(232, 141, 120, 0.5);
  border-radius: var(--r-l);
  box-shadow: var(--sh-2);
  padding: 24px 20px;
}

.upsell-card h4 {
  font-family: var(--f-head);
  color: var(--ink);
  font-size: 1rem;
}

.upsell-card p {
  color: var(--muted);
}

/* share row */
.share-container,
.share-section {
  justify-content: center;
  margin-top: 18px;
  padding-top: 4px;
}

@media (min-width: 800px) {
  .share-container,
  .share-section {
    justify-content: flex-start;
  }
}

/* lifepath / loshu result widgets */
.losu-grid {
  gap: 10px;
}

.ls-cell {
  border-radius: 16px;
  border-color: var(--line);
  box-shadow: var(--sh-1);
}

.ls-cell .n {
  color: var(--sage-dk);
}

.core-num-card {
  border-radius: 18px;
  box-shadow: var(--sh-1);
}

.core-num-card b {
  font-family: var(--f-head);
}

.planet-mini-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}

.transit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--sh-1);
}

.transit-letter {
  color: var(--ink);
}

.intensity-bar-bg {
  background: var(--paper-deep);
  height: 8px;
  border-radius: 50px;
}

.intensity-bar-fill {
  background: linear-gradient(90deg, var(--sage), var(--sun));
  border-radius: 50px;
}

.intensity-details-box {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.intensity-note {
  background: var(--coral-lt);
  color: var(--coral-dk);
  border-radius: 50px;
}

.birthday-note {
  background: var(--coral-lt);
  color: var(--coral-dk);
  border-radius: 50px;
}

/* personal year cards */
.py-year-card {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(151, 184, 129, 0.28) 0%, transparent 58%),
    linear-gradient(160deg, #14261d 0%, #0b1512 100%);
  color: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--sh-3);
  position: relative;
  overflow: hidden;
}

.py-year-card .py-year-title,
.py-year-card .py-year-label {
  color: #fff;
}

.py-year-card .py-year-label {
  color: rgba(255, 255, 255, 0.55);
}

.py-year-card .py-year-orb {
  background: linear-gradient(140deg, var(--sage), var(--sage-dk));
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(151, 184, 129, 0.9);
}

.py-year-card .py-tag {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.84);
}

.py-year-card p,
.py-year-card ul,
.py-year-card li {
  color: rgba(255, 255, 255, 0.76) !important;
}

.py-year-card strong {
  color: #fff;
}

.py-month-cell {
  border-radius: 14px;
  background: var(--paper-alt);
  color: var(--sage-dk);
  border: 1px solid var(--line);
}

.py-month-cell:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}

.py-month-cell.current {
  background: var(--coral-lt);
  border-color: var(--coral);
  color: var(--coral-dk);
  box-shadow: 0 10px 20px -16px rgba(232, 141, 120, 0.9);
}

.py-month-detail,
.py-month-detail-card {
  background: #fff;
  border: 1px solid var(--coral);
  border-radius: var(--r-m);
}

.py-month-detail-card {
  padding: 18px;
  margin-top: 16px;
}

.py-month-detail-card h4,
.py-month-detail-header h4 {
  color: var(--ink);
}

.py-month-orb {
  background: linear-gradient(140deg, var(--coral), var(--coral-dk));
}

/* compatibility / name grids */
.cz-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}

.cz-card:hover {
  border-color: var(--sage);
  box-shadow: var(--sh-2);
}

.kua-box,
.kua-deep-card,
.kua-pill {
  border-radius: 16px;
}

.plane-card {
  border-radius: 18px;
}

.master-flag {
  display: inline-block;
  background: var(--sun-lt);
  border: 1px solid rgba(231, 200, 123, 0.7);
  color: #8a6d1f;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 3px 12px;
  margin-top: 10px;
}

/* bead designer card */
.bd-card {
  border-color: var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh-3);
  padding: 20px 18px 22px;
}

.bd-card .au-card-head {
  margin-bottom: 18px;
}

@media (min-width: 700px) {
  .bd-card {
    padding: 28px 30px 30px;
  }
}

/* 9. Content zone --------------------------------------------------------- */
.content-zone {
  max-width: 800px;
  margin: 54px auto 0;
  text-align: left;
}

.content-zone h2 {
  font-family: var(--f-head);
  color: var(--ink);
  font-size: 1.32rem;
  letter-spacing: -0.015em;
  text-align: left;
  margin: 38px 0 10px;
  padding-top: 24px;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  line-height: 1.25;
}

.content-zone h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.content-zone h3 {
  color: var(--ink);
  font-size: 1.06rem;
  margin: 24px 0 8px;
}

.content-zone p,
.content-zone li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.85;
}

.content-zone strong {
  color: var(--ink);
  font-weight: 600;
}

.content-zone a {
  color: var(--sage-dk);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-zone a:hover {
  color: var(--coral-dk);
}

.content-zone ul,
.content-zone ol {
  padding-left: 1.15rem;
  margin: 10px 0 14px;
}

.content-zone li {
  margin-bottom: 6px;
}

.calc-example {
  background: var(--paper-alt);
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.calc-example b {
  color: var(--coral-dk);
}

.cta-band {
  background: linear-gradient(160deg, #fffdf6, var(--coral-lt));
  border: 1px solid rgba(232, 141, 120, 0.4);
  border-radius: var(--r-l);
  padding: 26px 20px;
}

/* 10. FAQ ---------------------------------------------------------------- */
.faq-item,
details.nc-faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
  box-shadow: var(--sh-1);
  overflow: hidden;
}

.faq-item .fq {
  padding: 15px 16px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}

.faq-item .fi {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--sage-dk);
  font-size: 1rem;
  line-height: 1;
}

.faq-item.open .fi {
  background: var(--coral-lt);
  color: var(--coral-dk);
}

.faq-item .fa p {
  padding: 0 16px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
}

details.nc-faq {
  padding: 15px 17px;
}

details.nc-faq summary {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

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

details.nc-faq summary::marker {
  content: "";
}

details.nc-faq summary::after {
  content: "+";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-alt);
  color: var(--sage-dk);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1;
  transition: 0.2s;
}

details.nc-faq[open] summary::after {
  transform: rotate(45deg);
  background: var(--coral-lt);
  color: var(--coral-dk);
}

details.nc-faq p {
  color: var(--muted);
}

/* 11. Related tools ------------------------------------------------------ */
.related-tools {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.rt-link {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  box-shadow: var(--sh-1);
  transition: 0.2s var(--au-ease);
}

.rt-link svg {
  color: var(--sage-dk);
  flex: none;
}

.rt-link:hover {
  border-color: var(--sage);
  background: #fff;
  color: var(--sage-dk);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}

/* 12. Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.62);
  border-top: 0;
  padding-top: 46px;
}

.site-footer .ft-container {
  max-width: 1140px;
  padding: 0 var(--au-gutter);
}

.site-footer .ft-top-grid {
  gap: 32px;
  padding-bottom: 40px;
}

.site-footer .ft-brand > a {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  background: #fff;
  padding: 8px 13px;
  border-radius: 12px;
}

.site-footer .ft-logo-img {
  height: 30px;
}

.site-footer .ft-tagline {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.84rem;
}

.site-footer .ft-col-title {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

.site-footer .ft-col-title::after {
  background: var(--sun);
  height: 1px;
  width: 22px;
}

.site-footer .ft-links li a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.site-footer .ft-links li a:hover {
  color: #fff;
  transform: translateX(3px);
}

.site-footer .ft-links li a svg {
  opacity: 0.4;
}

.site-footer .ft-social-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfe6bd;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
}

.site-footer .ft-social-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.site-footer .ft-connect-box {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 18px;
  padding: 18px 14px;
}

.site-footer .ft-connect-box p {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer .ft-connect-box p:first-child {
  color: #fff;
}

.site-footer .ft-bottom-bar {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.76rem;
  padding: 18px 0;
}

.site-footer .ft-bottom-bar a {
  color: rgba(255, 255, 255, 0.72) !important;
}

.site-footer .ft-bottom-bar a:hover {
  color: #fff !important;
}

.site-footer .ft-disclaimer {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
}

.site-footer .heart-icon {
  color: var(--coral);
}

/* 13. Bottom dock (mobile app shell) ------------------------------------- */
.au-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 8px 8px calc(8px + var(--au-safe-b));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -18px rgba(15, 26, 21, 0.45);
}

.au-dock a,
.au-dock button {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 56px;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--f-body);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.au-dock svg {
  width: 21px;
  height: 21px;
}

.au-dock a:active,
.au-dock button:active {
  opacity: 0.6;
}

.au-dock .on {
  color: var(--sage-dk);
}

.au-dock .go {
  width: 54px;
  height: 54px;
  min-width: 0;
  margin-top: -26px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2f5340, #14251c);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 26px -12px rgba(20, 37, 28, 0.85), 0 0 0 5px rgba(247, 250, 245, 0.95);
}

.au-dock .go svg {
  width: 22px;
  height: 22px;
  color: var(--sun);
}

@media (max-width: 799px) {
  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: calc(74px + var(--au-safe-b));
  }

  .scroll-top-btn {
    bottom: calc(96px + var(--au-safe-b)) !important;
  }

  .toast {
    bottom: calc(96px + var(--au-safe-b)) !important;
  }

  .toast.show {
    bottom: calc(102px + var(--au-safe-b)) !important;
  }
}

@media (min-width: 800px) {
  .au-dock {
    display: none;
  }
}

/* 14. Toast, scroll top, loading ---------------------------------------- */
.toast {
  background: var(--night);
  color: #fff;
  border-radius: 50px;
  padding: 12px 18px;
  font-family: var(--f-body);
  font-size: 0.79rem;
  font-weight: 500;
  box-shadow: var(--sh-2);
  gap: 8px;
  max-width: calc(100vw - 32px);
}

.toast svg {
  color: #8ee0a8;
  width: 16px;
  height: 16px;
}

.scroll-top-btn {
  background: linear-gradient(145deg, #2f5340, #14251c);
  color: var(--sun);
  width: 46px;
  height: 46px;
  box-shadow: 0 14px 26px -14px rgba(20, 37, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.scroll-top-btn:hover {
  background: linear-gradient(145deg, #3a6249, #1a2f23);
}

.loading-overlay {
  background: rgba(247, 250, 245, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.loading-overlay span {
  color: var(--muted) !important;
  font-family: var(--f-head);
}

.spinner {
  border-color: var(--paper-deep);
  border-top-color: var(--sage-dk);
}

/* 15. Breakpoints -------------------------------------------------------- */
@media (max-width: 559px) {
  .au-proof li:nth-child(3) {
    display: none;
  }

  .aurora-hero {
    padding: 16px 0 78px;
  }

  .container.au-main {
    margin-top: -56px;
  }
}

@media (min-width: 560px) {
  .au-main .input-card {
    padding: 26px 26px 28px;
  }
}

@media (min-width: 800px) {
  :root {
    --au-gutter: 28px;
  }

  .nav .logo img {
    height: 28px;
  }

  .nav-in {
    padding: 9px 0;
  }

  .aurora-hero {
    padding: 30px 0 116px;
  }

  .au-lede {
    font-size: 1rem;
    max-width: 38rem;
  }

  .au-proof {
    margin-top: 22px;
  }

  .container.au-main {
    margin-top: -88px;
  }

  .au-main .input-card {
    padding: 28px 30px 30px;
    border-radius: 32px;
  }

  body .card.main-number-display {
    padding: 34px 36px;
  }

  body .card.main-number-display .meaning-text {
    font-size: 0.92rem;
  }

  .share-container,
  .share-section {
    justify-content: flex-start;
  }

  .content-zone {
    margin-top: 64px;
  }

  .site-footer .ft-bottom-bar .ft-container > div:first-child {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .aurora-hero {
    padding: 34px 0 130px;
  }

  .au-hero-inner {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
    gap: 44px;
  }

  .aurora-hero h1 em {
    display: block;
  }

  .au-hero-visual {
    display: block;
  }

  body .card.main-number-display {
    padding: 38px 42px;
  }
}

/* 16. Motion + print ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media print {
  .nav,
  .au-dock,
  .au-hero-visual,
  .scroll-top-btn,
  .toast,
  .related-tools {
    display: none !important;
  }

  body {
    background: #fff;
    padding-bottom: 0;
  }

  .aurora-hero {
    color: var(--ink);
    background: none;
    padding: 0 0 20px;
  }

  .aurora-hero h1 {
    color: var(--ink);
  }

  .au-lede,
  .au-proof li {
    color: var(--ink-soft);
  }
}

/* 17. Hero "what you will get" card ---------------------------------------- */
.au-info-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  padding: 22px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.au-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.au-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f2a1c;
  background: linear-gradient(120deg, #bfe3a8, var(--sun));
  padding: 4px 10px;
  border-radius: 50px;
}

.au-gets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.au-gets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.au-gets li:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.au-ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(231, 200, 123, 0.14);
  color: var(--sun);
}

.au-ico svg {
  width: 17px;
  height: 17px;
}

.au-gets b {
  display: block;
  font-family: var(--f-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.au-gets span {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
  margin-top: 1px;
}

.au-info-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.au-info-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 4px 10px;
}

.au-info-foot svg {
  width: 12px;
  height: 12px;
  color: var(--sun);
}

/* 18. Empty state ---------------------------------------------------------- */
.au-empty {
  max-width: 860px;
  margin: 26px auto 0;
  text-align: center;
  padding: 30px 22px 26px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.au-empty-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: var(--sage-lt);
  color: var(--sage-dk);
  box-shadow: inset 0 0 0 1px var(--line);
}

.au-empty-ico svg {
  width: 26px;
  height: 26px;
}

.au-empty h3 {
  margin: 0 0 6px;
  font-family: var(--f-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.au-empty p {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.au-ghosts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.au-ghosts span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage-dk);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 6px 12px;
}

.au-empty.is-off,
.au-empty:has(+ .result-section:not(.hidden)) {
  display: none;
}

/* the empty state lives inside the shared result card on "nc" pages */
.nc-result:has(> .au-empty) {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.nc-result > .au-empty {
  margin-top: 0;
}

.nc-empty:not(.au-empty) {
  padding: 18px 12px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--coral-dk);
  background: var(--coral-lt);
  border-radius: var(--r-s);
}

/* 19. Quick answer, glance tiles, byline, steps ---------------------------- */
.au-info {
  margin-bottom: 8px;
}

.au-answer {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sage);
  border-radius: var(--r-m);
  padding: 16px 18px;
  box-shadow: var(--sh-2);
}

.au-kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dk);
}

.content-zone .au-answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
}

.content-zone .au-glance {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}

.content-zone .au-glance li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 12px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  line-height: 1.4;
}

.au-glance svg {
  width: 18px;
  height: 18px;
  margin-bottom: 4px;
  color: var(--sage-dk);
}

.au-g-l {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.au-glance b {
  font-family: var(--f-head);
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink);
}

.content-zone .au-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.au-av {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--sage-dk), #2f6a4b);
}

.au-byline b {
  color: var(--ink);
}

.content-zone .au-info h2 {
  margin-top: 30px;
  padding-top: 0;
  border-top: 0;
}

.content-zone .au-info + h2 {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.content-zone .au-steps {
  list-style: none;
  counter-reset: au-step;
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
}

.content-zone .au-steps li {
  position: relative;
  counter-increment: au-step;
  margin: 0;
  padding: 14px 16px 14px 58px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sh-1);
  line-height: 1.55;
}

.au-steps li::before {
  content: counter(au-step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sage-dk);
  background: var(--sage-lt);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.au-steps b {
  display: block;
  font-family: var(--f-head);
  font-size: 0.92rem;
  color: var(--ink);
}

.au-steps span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
}

@media (min-width: 700px) {
  .content-zone .au-glance {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .content-zone .au-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-zone .au-steps li {
    padding: 58px 16px 16px;
  }

  .au-steps li::before {
    left: 16px;
    top: 16px;
  }
}

@media print {
  .au-empty,
  .au-ghosts {
    display: none !important;
  }
}

/* 20. Narrow-phone fixes --------------------------------------------------- */
@media (max-width: 1023px) {
  .aurora-hero {
    padding-bottom: 104px;
  }
}

@media (max-width: 440px) {
  .au-date-row select.input-field,
  .au-main .nc-row select.input-field {
    font-size: 0.92rem;
    padding: 12px 26px 12px 12px;
    background-position: right 8px center;
    background-size: 14px;
  }

  .au-date-row input.input-field,
  .au-main .nc-row input.input-field {
    padding: 12px;
    font-size: 0.95rem;
  }
}

/* 21. Full-width hero copy on desktop ------------------------------------- */
@media (min-width: 1024px) {
  .au-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .aurora-hero {
    padding: 34px 0 110px;
  }

  .aurora-hero h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  }

  .aurora-hero h1 em {
    display: inline;
  }

  .au-lede {
    max-width: 52rem;
    font-size: 1.05rem;
  }
}

/* 22. Compact mobile footer ------------------------------------------------ */
.ft-mini {
  display: none;
}

@media (max-width: 799px) {
  .site-footer {
    background: var(--night);
    padding: 0 0 calc(74px + var(--au-safe-b));
    margin-top: 0;
  }

  .site-footer .ft-top-grid,
  .site-footer .ft-bottom-bar {
    display: none;
  }

  .ft-mini {
    display: block;
    padding: 16px var(--au-gutter) 14px;
    font-size: 0.74rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
  }

  .ft-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .ft-mini-logo {
    display: inline-flex;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
  }

  .ft-mini-logo img {
    height: 26px;
    width: auto;
    display: block;
  }

  .ft-mini-wa {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    border-radius: 50px;
    padding: 9px 16px;
  }

  .ft-mini-wa svg {
    width: 16px;
    height: 16px;
  }

  .ft-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 14px 0 10px;
  }

  .ft-mini-links a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    text-decoration: none;
    padding: 4px 0;
  }

  .ft-mini-copy {
    margin: 0;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
  }

  .ft-mini-copy b {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
  }

  .ft-mini-copy a {
    color: var(--sun);
    text-decoration: none;
  }

  .ft-mini-disc {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ft-mini-disc summary {
    cursor: pointer;
    list-style: none;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 3px 0;
  }

  .ft-mini-disc summary::-webkit-details-marker {
    display: none;
  }

  .ft-mini-disc p {
    margin: 6px 0 0;
    font-size: 0.64rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.45);
  }
}

.content-zone a.rt-link {
  text-decoration: none;
  color: var(--ink-soft);
}

/* 23. Announcement bar (same as homepage) ---------------------------------- */
.announce-bar {
  background: linear-gradient(90deg, var(--sage-dk), var(--sage));
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  padding: 9px 16px;
  font-weight: 500;
  line-height: 1.45;
}

.announce-bar .msg {
  display: none;
}

.announce-bar .msg.on {
  display: block;
}

.announce-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .announce-bar {
    display: none;
  }
}

/* 24. Tools drawer (bottom sheet, phones) ---------------------------------- */
.au-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
}

.au-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.au-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 21, 18, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.au-drawer.open .au-drawer-scrim {
  opacity: 1;
}

.au-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.32s var(--au-ease);
  padding-bottom: var(--au-safe-b);
}

.au-drawer.open .au-sheet {
  transform: none;
}

.au-sheet-grab {
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: var(--line-strong);
  margin: 9px auto 0;
  flex: none;
}

.au-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 10px;
  flex: none;
}

.au-sheet-head h2 {
  margin: 0;
  font-family: var(--f-head);
  font-size: 1.1rem;
  color: var(--ink);
}

.au-sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.au-sheet-close svg {
  width: 17px;
  height: 17px;
}

.au-sheet-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 14px 18px;
}

.au-sheet-body h3 {
  margin: 14px 4px 8px;
  font-family: var(--f-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.au-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.au-tool {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 11px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.au-tool:active {
  background: var(--paper-alt);
}

.au-tool.is-current {
  border-color: var(--sage);
  background: var(--sage-lt);
  box-shadow: inset 0 0 0 1px var(--sage);
}

.au-tool-ico {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--sage-dk);
  box-shadow: inset 0 0 0 1px var(--line);
}

.au-tool-ico svg {
  width: 16px;
  height: 16px;
}

.au-tool b {
  display: block;
  font-family: var(--f-head);
  font-size: 0.82rem;
  line-height: 1.25;
}

.au-tool span.d {
  display: block;
  margin-top: 1px;
  font-size: 0.66rem;
  line-height: 1.35;
  color: var(--muted);
}

.au-tool em {
  display: inline-block;
  margin-top: 3px;
  font-style: normal;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dk);
}

.au-sheet-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 2px;
  padding: 13px 18px;
  border-radius: 50px;
  background: linear-gradient(140deg, var(--coral), var(--coral-dk));
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

body.au-lock {
  overflow: hidden;
}

@media (min-width: 800px) {
  .au-drawer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .au-sheet,
  .au-drawer-scrim {
    transition: none;
  }
}

/* 25. Number Story (journey.html) ------------------------------------------ */
body.journey-body {
  background: var(--paper);
}

body.journey-body .journey-wrap {
  max-width: 820px;
  margin: -62px auto 0;
  padding: 0 var(--au-gutter) 40px;
  position: relative;
  z-index: 4;
}

.j-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
}

.j-hero-cta .btn-j {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.j-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.66);
}

.j-hero-note svg {
  width: 14px;
  height: 14px;
  color: var(--sun);
}

.btn-j svg {
  width: 17px;
  height: 17px;
}

.j-hero-steps {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.j-hero-steps::-webkit-scrollbar {
  display: none;
}

.j-hero-steps li {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 5px 12px 5px 6px;
}

.j-hero-steps b {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.64rem;
  color: #0f2a1c;
  background: linear-gradient(135deg, #bfe3a8, var(--sun));
}

.j-panel {
  background: #fff;
  border: 1px solid #fff;
  border-radius: var(--r-l);
  padding: 18px 16px 12px;
  box-shadow: var(--sh-3);
}

.j-panel .au-card-head {
  margin-bottom: 10px;
}

.j-panel .j-progress {
  border: 0;
  box-shadow: none;
  padding: 4px 0 2px;
  margin: 0 0 8px;
  border-radius: 0;
}

.j-panel .j-rail {
  margin: 0 0 10px;
  background: var(--paper-alt);
  border: 0;
}

.j-panel .snap-bar {
  margin-bottom: 4px;
}

body.journey-body #chatFeed {
  margin-top: 18px;
}

/* proof + comparison */
.j-proofs {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.j-proof {
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--sh-1);
}

.j-proof .stars {
  color: #b48f2c;
  letter-spacing: 2px;
  font-size: 0.82rem;
}

.j-proof blockquote {
  margin: 6px 0 8px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink);
}

.j-proof figcaption {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.j-compare {
  overflow-x: auto;
  margin-top: 14px;
  border-radius: 16px;
}

.j-compare table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.82rem;
}

.j-compare th,
.j-compare td {
  padding: 11px 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.j-compare thead th {
  background: var(--paper-alt);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dk);
}

.j-compare tbody th {
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}

.j-compare thead th:last-child,
.j-compare tbody td:last-child {
  background: var(--sun-lt);
}

.j-compare-cta {
  text-align: center;
  margin: 16px 0 0;
}

.content-zone .j-compare-cta .btn-j {
  color: #fff;
  text-decoration: none;
}

/* mid-journey save card */
.j-save-card::before {
  background: linear-gradient(90deg, var(--sun), var(--sage));
}

.j-save-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.j-save-row .btn-j {
  padding: 11px 18px;
  font-size: 0.82rem;
}

/* sticky report bar (phones) */
.j-sticky {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(78px + var(--au-safe-b));
  z-index: 1500;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: 50px;
  background: var(--night);
  color: #fff;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.7);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--au-ease), opacity 0.3s;
}

.j-sticky.show {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.j-sticky-t {
  flex: 1;
  min-width: 0;
  font-size: 0.74rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

.j-sticky-t b {
  color: #fff;
}

.j-sticky .btn-j {
  flex: none;
  padding: 10px 18px;
  font-size: 0.8rem;
  width: auto;
  color: #fff;
}

.j-sticky-x {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 799px) {
  .j-sticky {
    display: flex;
  }

  body.journey-body #inputZone.action-mode {
    bottom: calc(78px + var(--au-safe-b));
  }

  body.j-sticky-on #inputZone.action-mode {
    bottom: calc(138px + var(--au-safe-b));
  }
}

/* final CTA */
.cta-box.j-final {
  text-align: center;
  padding: 26px 20px 22px;
}

.j-final h3 {
  font-family: var(--f-head);
  font-size: 1.35rem;
  margin: 4px 0 12px;
  color: var(--ink);
}

.j-recap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.j-recap span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 5px 13px;
}

.j-recap b {
  font-family: var(--f-head);
  color: var(--sage-dk);
}

.j-lead {
  max-width: 34rem;
  margin: 0 auto 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.j-adds {
  list-style: none;
  display: grid;
  gap: 6px;
  max-width: 24rem;
  margin: 0 auto 18px;
  padding: 0;
  text-align: left;
}

.j-adds li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.j-adds svg {
  flex: none;
  margin-top: 2px;
  color: var(--sage-dk);
}

.j-options {
  display: grid;
  gap: 12px;
  text-align: center;
}

@media (min-width: 640px) {
  .j-options {
    grid-template-columns: 1.1fr 1fr;
  }
}

.j-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}

.j-opt.featured {
  border: 2px solid var(--coral);
  box-shadow: 0 18px 36px -22px rgba(232, 141, 120, 0.7);
}

.j-opt-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(140deg, var(--coral), var(--coral-dk));
  border-radius: 50px;
  padding: 3px 11px;
}

.j-opt h4 {
  margin: 0;
  font-family: var(--f-head);
  font-size: 1rem;
  color: var(--ink);
}

.j-price {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 4px 0 2px;
  color: var(--coral-dk);
}

.j-price.sm {
  font-size: 1.05rem;
  margin: 10px 0 8px;
  color: var(--sage-dk);
}

.j-opt p {
  margin: 0 0 14px !important;
  font-size: 0.8rem !important;
  color: var(--muted) !important;
}

.j-opt .btn-j {
  width: 100%;
  color: #fff;
  margin-top: auto;
}

.j-final .trust {
  margin-top: 16px;
}

.j-mini-faq {
  margin-top: 14px;
  text-align: left;
}

.j-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.j-actions .btn-j {
  padding: 9px 15px;
  font-size: 0.78rem;
}

.j-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--muted);
}

.j-more a {
  color: var(--sage-dk);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .j-actions .btn-j {
    width: auto;
  }
}

@media print {
  .j-sticky,
  .j-hero-steps {
    display: none !important;
  }
}

@media (max-width: 799px) {
  body.j-sticky-on .scroll-top-btn {
    bottom: calc(146px + var(--au-safe-b)) !important;
  }
}

/* 26. Journey hero: keep content inside the phone screen ------------------- */
.au-hero-inner,
.au-hero-copy {
  min-width: 0;
}

.au-hero-inner {
  grid-template-columns: minmax(0, 1fr);
}

.j-hero-steps {
  max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}

@media (max-width: 559px) {
  .j-hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
  }

  .j-hero-cta .btn-j {
    width: 100%;
  }

  .j-hero-note {
    justify-content: center;
  }

  body.journey-body .au-lede {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  body.journey-body .aurora-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
  }
}

/* 27. Journey: collapsible sections + compact hero while walking ---------- */
.j-fold {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 18px;
}

.au-info > .j-fold {
  margin-top: 26px;
}

.j-fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.j-fold > summary::-webkit-details-marker {
  display: none;
}

.content-zone .j-fold > summary h2 {
  margin: 0;
  padding: 0;
  border: 0;
}

.j-fold > summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-alt);
  color: var(--sage-dk);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s;
}

.j-fold[open] > summary::after {
  transform: rotate(45deg);
  background: var(--coral-lt);
  color: var(--coral-dk);
}

.j-fold-body {
  padding-top: 4px;
}

@media (min-width: 800px) {
  .j-fold > summary {
    pointer-events: none;
    cursor: default;
  }

  .j-fold > summary::after {
    display: none;
  }
}

@media (max-width: 799px) {
  body.j-started .aurora-hero {
    padding: 10px 0 76px;
  }

  body.j-started .aurora-hero .au-crumbs,
  body.j-started .aurora-hero .au-eyebrow,
  body.j-started .aurora-hero .au-lede,
  body.j-started .aurora-hero .j-hero-cta,
  body.j-started .aurora-hero .au-proof,
  body.j-started .aurora-hero h1 em {
    display: none;
  }

  body.j-started .aurora-hero h1 {
    margin: 2px 0 0;
    font-size: 1.2rem;
  }
}

/* 28. Mobile menu panel stays clear of the bottom dock ---------------------- */
@media (max-width: 799px) {
  .nav-links {
    max-height: calc(100vh - 150px - var(--au-safe-b));
    max-height: calc(100dvh - 150px - var(--au-safe-b));
    overscroll-behavior: contain;
  }
}

/* 29. Calculator -> Number Story handoff ----------------------------------- */
.au-handoff {
  max-width: 860px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-m);
  color: #fff;
  background: radial-gradient(90% 140% at 100% 0%, rgba(151, 184, 129, 0.3), transparent 60%), linear-gradient(160deg, #14261d, #0b1512);
  box-shadow: var(--sh-2);
}

.au-handoff[hidden] {
  display: none;
}

.au-handoff-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--sun);
  background: rgba(231, 200, 123, 0.14);
}

.au-handoff-ico svg {
  width: 20px;
  height: 20px;
}

.au-handoff-t {
  flex: 1;
  min-width: 0;
}

.au-handoff-t b {
  display: block;
  font-family: var(--f-head);
  font-size: 0.98rem;
  line-height: 1.3;
}

.au-handoff-t span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.au-handoff-btn {
  flex: none;
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(140deg, var(--coral), var(--coral-dk));
  box-shadow: 0 10px 22px -12px rgba(232, 141, 120, 0.95);
}

@media (max-width: 640px) {
  .au-handoff {
    flex-wrap: wrap;
  }

  .au-handoff-t {
    flex-basis: calc(100% - 56px);
  }

  .au-handoff-btn {
    width: 100%;
    text-align: center;
  }
}

@media print {
  .au-handoff {
    display: none !important;
  }
}

/* 30. Journey: topic proof label + optional lead form ---------------------- */
.j-proof-topic {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dk);
}

.j-lead-form {
  margin-top: 14px;
  padding: 14px 15px;
  border-radius: 14px;
  background: var(--sage-lt);
  border: 1px solid var(--line-strong);
}

.j-lead-form b {
  display: block;
  font-family: var(--f-head);
  font-size: 0.92rem;
  color: var(--ink);
}

.j-lead-form p {
  margin: 4px 0 10px !important;
  font-size: 0.8rem !important;
}

.lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted);
}

.lead-consent input {
  margin-top: 3px;
}

.lead-tel,
#nameIn {
  flex: 1;
  min-width: 140px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
}

.lead-tel:focus,
#nameIn:focus {
  outline: none;
  border-color: var(--sage);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(151, 184, 129, 0.2);
}

/* 31. Journey: hooks, seasonal pill, low-commitment ask, mobile focus ------ */
.j-hint {
  text-align: center;
  margin: 0 0 10px !important;
  font-size: 0.8rem !important;
  color: var(--muted);
}

.j-season {
  display: inline-block;
  margin: -2px 0 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a5f1e;
  background: var(--sun-lt);
  border: 1px solid rgba(231, 200, 123, 0.7);
}

.j-ask {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.j-ask a {
  color: var(--sage-dk);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 799px) {
  body.j-started .j-content .au-info {
    display: none;
  }
}
