/* ==========================================================================
   MENTRU — web showcase
   Palette, type and metrics are lifted from the iOS app's Brand.swift so the
   site and the product read as one system.
   ========================================================================== */

/* --- Type ---------------------------------------------------------------- */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/Cinzel-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/Cinzel-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
  --antique-gold: #c9a66b;
  --champagne: #e0c894;
  --dark-gold: #bf753a;
  --charcoal: #1a1a1d;
  --matte-black: #0b0b0c;

  --ink: var(--matte-black);
  --surface: var(--charcoal);
  --surface-raised: #202024;
  --text-primary: #f4efe6;
  --text-secondary: #9a9486;
  --text-tertiary: #6a6559;

  --hairline: rgba(201, 166, 107, 0.16);
  --hairline-strong: rgba(201, 166, 107, 0.34);

  --gold-fill: linear-gradient(135deg, #e0c894 0%, #c9a66b 56%, #bf753a 100%);
  --gold-soft: linear-gradient(180deg, rgba(224, 200, 148, 0.95), rgba(201, 166, 107, 0.75));
  --panel: linear-gradient(135deg, #1c1c20, #141417);

  --serif: "Cinzel", "Times New Roman", Times, serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: 22px;
  --card-radius: 14px;
  --wrap: 1180px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Base ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--matte-black);
  color: var(--text-primary);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--antique-gold);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--champagne);
}

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

::selection {
  background: rgba(201, 166, 107, 0.28);
  color: var(--text-primary);
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--surface-raised);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* --- Shared type styles -------------------------------------------------- */

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

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 18px;
}

.eyebrow--gold {
  color: rgba(201, 166, 107, 0.85);
}

h1,
h2,
h3,
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.22;
}

.h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.7rem);
  letter-spacing: 0.008em;
  background: var(--gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

.h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
  letter-spacing: 0.01em;
  background: var(--gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

.h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--champagne);
}

.lede {
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.78;
  max-width: 54ch;
  margin: 20px 0 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgba(201, 166, 107, 0.45), rgba(201, 166, 107, 0.06));
}

.section {
  padding: clamp(72px, 11vw, 140px) 0;
  position: relative;
  scroll-margin-top: 72px;
}

.section-head {
  max-width: 62ch;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn--gold {
  background: var(--gold-fill);
  color: var(--matte-black);
}

.btn--gold:hover {
  color: var(--matte-black);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(201, 166, 107, 0.65);
}

.btn--ghost {
  border-color: var(--hairline-strong);
  color: var(--antique-gold);
  background: transparent;
}

.btn--ghost:hover {
  border-color: rgba(201, 166, 107, 0.7);
  color: var(--champagne);
  transform: translateY(-2px);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

/* --- Navigation ---------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(11, 11, 12, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--champagne);
}

.brand:hover {
  color: var(--champagne);
}

.brand__mark {
  width: 18px;
  height: 23px;
  flex: none;
}

.brand__word {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav__links a:hover {
  color: var(--champagne);
}

.nav__cta {
  padding: 11px 22px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 150px 0 clamp(70px, 9vw, 120px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  width: 1100px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 166, 107, 0.14), transparent 72%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.hero__mark {
  width: 44px;
  height: 56px;
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__note {
  margin-top: 20px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 44px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.hero__pillars li {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.hero__device {
  display: flex;
  justify-content: center;
}

@media (max-width: 940px) {
  .hero {
    padding-top: 118px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__device {
    order: -1;
    margin-bottom: 12px;
  }
}

/* --- Device frame -------------------------------------------------------- */

.device {
  position: relative;
  width: 318px;
  max-width: 100%;
  aspect-ratio: 318 / 690;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(155deg, #35343a, #131316 42%, #2b2a30);
  box-shadow: 0 46px 90px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(201, 166, 107, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  flex: none;
}

.device--sm {
  width: 268px;
  aspect-ratio: 268 / 582;
  border-radius: 40px;
}

.device__screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  /* overflow:hidden does not clip positioned descendants to the corner radius
     in Chromium, so the tab bar and the call screen squared off over the
     frame's rounded bottom. clip-path clips them properly. */
  clip-path: inset(0 round 37px);
  background: linear-gradient(180deg, #121214, #0b0b0c);
  display: flex;
  flex-direction: column;
}

.device--sm .device__screen {
  border-radius: 31px;
  clip-path: inset(0 round 31px);
}

.device__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 420px at 50% 8%, rgba(201, 166, 107, 0.1), transparent 70%);
  pointer-events: none;
}

.device__island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 25px;
  border-radius: 999px;
  background: #000;
  z-index: 6;
}

/* --- In-device chrome ---------------------------------------------------- */

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  position: relative;
  z-index: 5;
}

.statusbar__icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-primary);
}

.statusbar__icons svg {
  width: 15px;
  height: 11px;
}

.screenbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 16px;
  position: relative;
  z-index: 5;
}

.screenbar__title {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  background: var(--gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.screenbar__slot {
  width: 34px;
  display: flex;
  align-items: center;
  color: rgba(201, 166, 107, 0.85);
}

.screenbar__slot--end {
  justify-content: flex-end;
}

.screenbar__slot svg {
  width: 15px;
  height: 15px;
}

/* Screens: a simple deck; only the active one is shown. */

.screens {
  position: relative;
  flex: 1;
  min-height: 0;
}

.screens::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38px;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0), rgba(11, 11, 12, 0.94) 78%);
  pointer-events: none;
  z-index: 3;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease);
  z-index: 1;
}

.screen.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.screen__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 16px 22px;
  scrollbar-width: none;
  position: relative;
  z-index: 4;
}

.screen__body::-webkit-scrollbar {
  display: none;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stack--tight {
  gap: 9px;
}

/* Panels inside the device */

.panel {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  padding: 14px;
}

.panel--strong {
  border-color: rgba(201, 166, 107, 0.26);
}

.mini-eyebrow {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.mini-eyebrow--gold {
  color: rgba(201, 166, 107, 0.8);
}

.section-head-mini {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.section-head-mini__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head-mini__count {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(201, 166, 107, 0.8);
}

.serif-line {
  font-family: var(--serif);
  background: var(--gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.34;
}

.greeting {
  font-size: 19px;
}

.screen-note {
  font-size: 10.5px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
}

.screen-note--dim {
  color: var(--text-tertiary);
}

/* Check-in CTA row */

.checkin-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  padding: 13px 14px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}

.checkin-cta:hover {
  border-color: rgba(201, 166, 107, 0.4);
}

.checkin-cta__orb {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  display: grid;
  place-items: center;
  color: var(--antique-gold);
}

.checkin-cta__orb svg {
  width: 15px;
  height: 15px;
}

.checkin-cta__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.checkin-cta__title {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.checkin-cta__chev {
  width: 10px;
  height: 10px;
  flex: none;
  color: rgba(201, 166, 107, 0.6);
}

/* Ritual rows */

.ritual {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--panel);
  border: 1px solid rgba(201, 166, 107, 0.17);
  border-radius: 11px;
  padding: 11px 13px;
}

.ritual.is-done {
  border-color: var(--hairline);
}

.ritual__icon {
  width: 16px;
  flex: none;
  color: rgba(201, 166, 107, 0.55);
  display: grid;
  place-items: center;
}

.ritual.is-done .ritual__icon {
  color: var(--antique-gold);
}

.ritual__icon svg {
  width: 13px;
  height: 13px;
}

.ritual__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ritual__title {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.ritual.is-done .ritual__title {
  color: var(--text-secondary);
  text-decoration: line-through;
  text-decoration-color: var(--text-tertiary);
}

.ritual__detail {
  font-size: 8.5px;
  font-weight: 300;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ritual__mins {
  font-size: 8.5px;
  font-weight: 300;
  color: var(--text-tertiary);
  flex: none;
}

.check-orb {
  width: 19px;
  height: 19px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(201, 166, 107, 0.34);
  display: grid;
  place-items: center;
  color: var(--champagne);
}

.check-orb svg {
  width: 9px;
  height: 9px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}

.ritual.is-done .check-orb {
  border-color: var(--antique-gold);
}

.ritual.is-done .check-orb svg {
  opacity: 1;
  transform: scale(1);
}

/* Stat pair */

.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat__num {
  font-family: var(--serif);
  font-size: 21px;
  background: var(--gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__unit {
  font-size: 9px;
  font-weight: 300;
  color: var(--text-secondary);
}

/* Milestones */

.milestone {
  display: flex;
  gap: 12px;
  padding-bottom: 15px;
}

.milestone:last-child {
  padding-bottom: 0;
}

.milestone__spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  width: 15px;
}

.milestone__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(201, 166, 107, 0.4);
  display: grid;
  place-items: center;
  color: var(--matte-black);
}

.milestone.is-done .milestone__dot {
  background: var(--gold-fill);
  border-color: transparent;
}

.milestone__dot svg {
  width: 7px;
  height: 7px;
  opacity: 0;
}

.milestone.is-done .milestone__dot svg {
  opacity: 1;
}

.milestone__line {
  flex: 1;
  width: 1px;
  margin-top: 4px;
  background: var(--hairline);
}

.milestone:last-child .milestone__line {
  display: none;
}

.milestone__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 2px;
}

.milestone__week {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(201, 166, 107, 0.75);
}

.milestone__title {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.45;
}

.milestone.is-done .milestone__title {
  color: var(--text-tertiary);
}

/* Progress dial */

.dial {
  position: relative;
  width: 158px;
  height: 158px;
  margin: 6px auto 0;
}

.dial svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dial__track {
  fill: none;
  stroke: rgba(201, 166, 107, 0.13);
  stroke-width: 5.5;
}

.dial__value {
  fill: none;
  stroke: url(#dialGold);
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-dasharray: 302;
  stroke-dashoffset: 302;
  transition: stroke-dashoffset 1.1s var(--ease);
}

.is-revealed .dial__value {
  stroke-dashoffset: var(--dial-offset, 302);
}

.dial__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.dial__pct {
  font-family: var(--serif);
  font-size: 32px;
  background: var(--gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Week bars */

.weekbars {
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.weekbars__day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.weekbars__track {
  position: relative;
  width: 3px;
  height: 66px;
  border-radius: 999px;
  background: rgba(201, 166, 107, 0.1);
  display: flex;
  align-items: flex-end;
}

.weekbars__fill {
  width: 3px;
  border-radius: 999px;
  background: var(--gold-fill);
  height: 3px;
  transition: height 0.8s var(--ease);
}

.is-revealed .weekbars__fill {
  height: var(--bar-height, 3px);
}

.weekbars__day.is-today .weekbars__fill {
  background: var(--champagne);
}

.weekbars__label {
  font-size: 8px;
  font-weight: 500;
  color: var(--text-tertiary);
}

.weekbars__day.is-today .weekbars__label {
  color: var(--antique-gold);
}

/* Breakdown rows */

.breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown__row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.breakdown__row svg {
  width: 12px;
  height: 12px;
  flex: none;
  color: rgba(201, 166, 107, 0.4);
}

.breakdown__row.is-done svg {
  color: var(--antique-gold);
}

.breakdown__title {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breakdown__row.is-done .breakdown__title {
  color: var(--text-primary);
}

.breakdown__state {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(106, 101, 89, 0.7);
  flex: none;
}

.breakdown__row.is-done .breakdown__state {
  color: var(--antique-gold);
}

/* Chat screen */

.voice-orb {
  position: relative;
  height: 210px;
  display: grid;
  place-items: center;
}

.voice-orb__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 166, 107, 0.28);
  animation: breathe 3.9s var(--ease) infinite;
}

.voice-orb__ring:nth-child(1) {
  width: 112px;
  height: 112px;
}
.voice-orb__ring:nth-child(2) {
  width: 140px;
  height: 140px;
  border-color: rgba(201, 166, 107, 0.21);
  animation-delay: 0.42s;
}
.voice-orb__ring:nth-child(3) {
  width: 168px;
  height: 168px;
  border-color: rgba(201, 166, 107, 0.14);
  animation-delay: 0.84s;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.voice-orb__rays {
  position: absolute;
  width: 152px;
  height: 152px;
  animation: spin-slow 46s linear infinite;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.voice-orb__rays line {
  stroke: rgba(201, 166, 107, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.voice-orb__mark {
  position: relative;
  width: 42px;
  height: 54px;
  animation: mark-pulse 2.9s var(--ease) infinite;
}

@keyframes mark-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

.voice-state {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.bubble {
  max-width: 84%;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
}

.bubble--mentor {
  align-self: flex-start;
  background: var(--panel);
  border: 1px solid var(--hairline);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.bubble--user {
  align-self: flex-end;
  background: rgba(201, 166, 107, 0.12);
  border: 1px solid rgba(201, 166, 107, 0.28);
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

.bubble__who {
  display: block;
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 166, 107, 0.7);
  margin-bottom: 6px;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 16px 14px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(28, 28, 32, 0.8);
  font-size: 10.5px;
  color: var(--text-tertiary);
  position: relative;
  z-index: 4;
}

.chat-input svg {
  width: 14px;
  height: 14px;
  color: var(--antique-gold);
  flex: none;
}

.mode-toggle {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(20, 20, 23, 0.8);
  margin: 0 auto;
  width: fit-content;
}

.mode-toggle span {
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.mode-toggle span.is-on {
  background: var(--gold-fill);
  color: var(--matte-black);
}

/* Profile screen */

.roundel {
  width: 68px;
  height: 68px;
  margin: 4px auto 0;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  display: grid;
  place-items: center;
}

.roundel svg {
  width: 24px;
  height: 31px;
}

.stat-strip {
  display: flex;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  padding: 14px 0;
}

.stat-strip__cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-strip__cell + .stat-strip__cell {
  border-left: 1px solid var(--hairline);
}

.setting-list {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.setting-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
}

.setting-row + .setting-row {
  border-top: 1px solid var(--hairline);
}

.setting-row svg {
  width: 13px;
  height: 13px;
  flex: none;
  color: rgba(201, 166, 107, 0.85);
}

.setting-row__label {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-primary);
}

.setting-row__value {
  font-size: 9.5px;
  font-weight: 300;
  color: var(--text-tertiary);
  flex: none;
}

.pillar-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pillar-row + .pillar-row {
  margin-top: 14px;
}

.pillar-row svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 2px;
  color: rgba(201, 166, 107, 0.85);
}

.pillar-row__name {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.pillar-row__line {
  font-size: 9.5px;
  font-weight: 300;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* --- Tab bar ------------------------------------------------------------- */

.tabbar {
  position: relative;
  z-index: 5;
  background: rgba(11, 11, 12, 0.96);
  border-top: 1px solid transparent;
  flex: none;
}

.tabbar__rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 166, 107, 0.45), rgba(201, 166, 107, 0.06));
}

.tabbar__items {
  display: flex;
  height: 60px;
  padding-top: 9px;
}

.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--text-tertiary);
  font-family: var(--sans);
  transition: color 0.2s var(--ease);
}

.tab svg {
  width: 16px;
  height: 16px;
}

.tab span {
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tab.is-active {
  color: var(--champagne);
}

.tab:hover {
  color: rgba(201, 166, 107, 0.8);
}

.device__hint {
  margin-top: 18px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* --- Statement band ------------------------------------------------------ */

.band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(26, 26, 29, 0.5), transparent);
}

.band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.band__cell {
  padding: clamp(34px, 4vw, 52px) clamp(20px, 3vw, 40px);
}

.band__cell + .band__cell {
  border-left: 1px solid var(--hairline);
}

.band__title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--champagne);
  margin: 0 0 12px;
  line-height: 1.3;
}

.band__body {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 820px) {
  .band__grid {
    grid-template-columns: 1fr;
  }
  .band__cell + .band__cell {
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }
}

/* --- Feature rows -------------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.feature--flip .feature__visual {
  order: -1;
}

.feature__visual {
  display: flex;
  justify-content: center;
}

.feature__list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature__list svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 4px;
  color: var(--antique-gold);
}

.feature__list strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.feature__list span {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pullquote {
  margin: 32px 0 0;
  padding: 20px 24px;
  border-left: 2px solid var(--hairline-strong);
  background: linear-gradient(90deg, rgba(28, 28, 32, 0.75), transparent);
}

.pullquote p {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.5;
  color: var(--champagne);
  margin: 0;
}

.pullquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature--flip .feature__visual {
    order: 0;
  }
}

/* --- Call screen mock ---------------------------------------------------- */

.callscreen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 76px 24px 44px;
  background: radial-gradient(120% 60% at 50% 18%, rgba(201, 166, 107, 0.16), transparent 66%),
    linear-gradient(180deg, #141417, #0b0b0c);
  z-index: 5;
}

.callscreen__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.callscreen__avatar {
  width: 108px;
  height: 108px;
  margin: 26px 0 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
}

.callscreen__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.callscreen__name {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  background: var(--gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.callscreen__sub {
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-align: center;
}

.callscreen__actions {
  margin-top: auto;
  display: flex;
  gap: 56px;
}

.callbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.callbtn__circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}

.callbtn__circle svg {
  width: 24px;
  height: 24px;
}

.callbtn--decline .callbtn__circle {
  background: #d8363a;
}

.callbtn--accept .callbtn__circle {
  background: #2fb457;
  animation: accept-pulse 2.4s var(--ease) infinite;
}

@keyframes accept-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(47, 180, 87, 0.45);
  }
  60% {
    box-shadow: 0 0 0 16px rgba(47, 180, 87, 0);
  }
}

.callbtn__label {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* --- Feature grid -------------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.card {
  background: #101013;
  padding: clamp(26px, 3vw, 34px);
  transition: background 0.3s var(--ease);
}

.card:hover {
  background: #16161a;
}

.card__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  display: grid;
  place-items: center;
  color: var(--antique-gold);
  margin-bottom: 20px;
}

.card__icon svg {
  width: 15px;
  height: 15px;
}

.card__title {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--champagne);
  margin: 0 0 10px;
}

.card__body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin: 0;
}

.card__meta {
  display: block;
  margin-top: 14px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* --- Pillars ------------------------------------------------------------- */

/* One shared grid across all five rows, so the descriptions line up on a
   single left edge however long the pillar's name is. */
.pillars {
  display: grid;
  grid-template-columns: 46px auto minmax(0, 1fr);
  column-gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  border-top: 1px solid var(--hairline);
  margin-top: 54px;
}

.pillar {
  display: contents;
}

.pillar__name,
.pillar__line {
  padding: clamp(24px, 3vw, 34px) 0;
}

.pillar__sep {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--hairline);
}

.pillar__icon {
  color: rgba(201, 166, 107, 0.85);
  align-self: center;
}

.pillar__icon svg {
  width: 22px;
  height: 22px;
}

.pillar__name {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: 0.1em;
  background: var(--gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillar__line {
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .pillars {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .pillar__name {
    padding-bottom: 0;
  }
  .pillar__line {
    grid-column: 2;
    padding-top: 6px;
    font-size: 13px;
  }
}

/* --- Privacy note -------------------------------------------------------- */

.note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  background: var(--panel);
}

.note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
  color: var(--antique-gold);
}

.note p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 76ch;
}

/* --- Closing CTA --------------------------------------------------------- */

.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
}

.cta::before {
  content: "";
  position: absolute;
  bottom: -420px;
  left: 50%;
  width: 1000px;
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 166, 107, 0.14), transparent 72%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
}

.cta__mark {
  width: 46px;
  height: 59px;
  margin: 0 auto 28px;
}

.cta .lede {
  margin-left: auto;
  margin-right: auto;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* --- Footer -------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 46px 0 54px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a,
.footer__copy {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.footer__links a:hover {
  color: var(--antique-gold);
}

/* --- Reveal -------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

.reveal--d1 {
  transition-delay: 0.09s;
}
.reveal--d2 {
  transition-delay: 0.18s;
}

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

/* --- Legal pages --------------------------------------------------------- */

.doc {
  padding: 130px 0 90px;
  max-width: 74ch;
}

.doc h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  background: var(--gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

.doc h2 {
  font-size: 1.15rem;
  color: var(--champagne);
  margin: 48px 0 14px;
}

.doc p,
.doc li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.doc ul {
  padding-left: 20px;
  margin: 0 0 1em;
}

.doc li {
  margin-bottom: 8px;
}

.doc strong {
  color: var(--text-primary);
  font-weight: 500;
}

.doc__meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 18px;
}

.doc__draft {
  margin: 30px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--card-radius);
  background: rgba(191, 117, 58, 0.08);
}

.doc__draft p {
  color: var(--text-primary);
  font-size: 13px;
  margin: 0;
}
