:root {
  --bg: #f0ece4;
  --surface: #f8f4ee;
  --surface-strong: #f5efe7;
  --surface-soft: rgba(255, 251, 246, 0.86);
  --ink: #18110f;
  --muted: rgba(24, 17, 15, 0.7);
  --line: rgba(62, 31, 20, 0.16);
  --serif: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --ui: "DM Sans", "Helvetica Neue", sans-serif;
  --brown-900: #2f1b14;
  --brown-800: #552816;
  --brown-700: #78402a;
  --gold: #d8a948;
  --gold-soft: #eed8a8;
  --cream: #f4e9c6;
  --orange: #c95b2e;
  --shadow: 0 24px 48px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(216, 169, 72, 0.12), transparent 28%),
    linear-gradient(180deg, #f4f0e8 0%, var(--bg) 34%, #ece7df 100%);
  color: var(--ink);
  font-family: var(--ui);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

.page {
  width: min(100% - 48px, 1380px);
  margin: 0 auto;
  padding: 36px 0 40px;
}

.top-nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer {
  flex-wrap: wrap;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.08);
}

.brand--legal {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid rgba(47, 27, 20, 0.08);
  background: linear-gradient(135deg, #2b1b15, #160f0d);
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(34, 20, 16, 0.12);
}

.nav-pill--quiet {
  background: rgba(72, 39, 23, 0.07);
  color: var(--ink);
  box-shadow: none;
}

.nav-pill--footer {
  min-width: 244px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.hero-intro {
  order: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker,
.section-heading__eyebrow,
.feature-panel__eyebrow,
.mentor-mode-card__eyebrow,
.library-feature__eyebrow,
.library-card__eyebrow,
.footer__meta,
.footer__name {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(72, 39, 23, 0.72);
}

.hero-stage {
  order: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}

.hero-figure {
  position: absolute;
  top: 16px;
  width: min(28vw, 360px);
  aspect-ratio: 0.9 / 1.08;
  overflow: hidden;
  border: 1px solid rgba(62, 31, 20, 0.08);
  border-radius: 42px;
  opacity: 0.96;
  background: rgba(255, 248, 240, 0.72);
  box-shadow: 0 24px 44px rgba(62, 31, 20, 0.12);
  pointer-events: none;
}

.hero-figure--left {
  left: 0;
  transform: translateX(-14%) rotate(-4deg);
}

.hero-figure--right {
  right: 0;
  transform: translateX(14%) rotate(5deg);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-figure--left img {
  object-position: center 22%;
}

.hero-figure--right img {
  object-position: center 18%;
}

.phone {
  position: relative;
  overflow: hidden;
  border: 1.4px solid rgba(0, 0, 0, 0.32);
  border-radius: 42px;
  background: #faf8f2;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 130px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  z-index: 5;
}

.phone::after {
  content: "";
  position: absolute;
  top: 21px;
  right: 44px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8fe2ff, #234b74 68%, #000);
  z-index: 6;
}

.phone-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 54px 16px 18px;
}

.phone--hero {
  width: 324px;
  height: 662px;
  z-index: 2;
}

.hero-title {
  max-width: 11ch;
  margin: 12px auto 0;
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 102px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-align: center;
  text-wrap: balance;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin: 24px auto 0;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
  text-align: center;
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: rgba(72, 39, 23, 0.82);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ornament {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 42px auto 0;
}

.ornament__halo {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 169, 72, 0.55), rgba(216, 169, 72, 0));
  filter: blur(12px);
}

.ornament img {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.08);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links a {
  opacity: 0.82;
}

.footer-links a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.screen-home {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 85% 6%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #4b4b4b, #414141);
  color: #191919;
}

.screen-status,
.screen-mini-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.screen-status__icons,
.screen-mini-status__icons {
  display: flex;
  gap: 4px;
}

.screen-status__icons span,
.screen-mini-status__icons span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.82);
}

.screen-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.screen-days span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  margin: 0 auto;
  border-radius: 50%;
  background: #efe4b4;
  color: #3f2519;
  font-family: var(--ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.screen-days .is-active {
  background: #5b2b17;
  color: #fff;
}

.screen-days .is-glow {
  box-shadow: 0 0 16px rgba(255, 247, 186, 0.98);
}

.screen-days--mini {
  margin-top: 0;
}

.screen-days--mini span {
  width: 26px;
  height: 26px;
  font-size: 7px;
}

.screen-greeting,
.screen-headline {
  margin: 0;
  color: #111;
  font-family: var(--ui);
}

.screen-greeting {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
}

.screen-greeting--mini {
  margin-top: 12px;
  font-size: 12px;
}

.screen-headline {
  margin-top: 4px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
}

.screen-headline--mini {
  font-size: 22px;
}

.screen-card {
  margin-top: 12px;
  border-radius: 18px;
  padding: 14px 14px 15px;
  overflow: hidden;
}

.screen-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.screen-card__eyebrow,
.screen-card__ref,
.screen-card__body,
.screen-card__quote,
.screen-card__mentor-title,
.screen-card__mentor-body,
.screen-section__title {
  margin: 0;
}

.screen-card__eyebrow,
.screen-card__ref,
.screen-section__title {
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screen-card--verse {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 54%),
    linear-gradient(135deg, #97342f, #7f2829 58%, #611919);
  color: #fff7ef;
}

.screen-card--gold {
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(180deg, #e4b860, #d49c45);
  color: #fffdf5;
}

.screen-card--mentor {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  background: linear-gradient(135deg, #c9491d, #a83c18);
  color: #fff8ef;
}

.screen-card__body {
  margin-top: 8px;
  font-family: var(--ui);
  font-size: 12px;
  line-height: 1.45;
}

.screen-card__body--center {
  text-align: center;
}

.screen-card__quote {
  margin-top: 12px;
  font-family: var(--ui);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.screen-card__mentor-image {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.screen-card__mentor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-card__mentor-title,
.topic-card__copy p,
.routine-card p {
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 700;
}

.screen-card__mentor-body,
.topic-card__copy small,
.routine-card small {
  margin-top: 4px;
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  line-height: 1.35;
}

.screen-card__mentor-button {
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #9d3516;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
}

.screen-section {
  margin-top: 14px;
}

.topic-row,
.topic-stack {
  display: grid;
  gap: 8px;
}

.topic-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.topic-card {
  position: relative;
  min-height: 66px;
  padding: 10px 12px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(90deg, #e2b55d, #8d4c1f);
  color: #fffdf3;
}

.topic-card img {
  position: absolute;
  right: -16px;
  top: -14px;
  width: 88px;
  height: 88px;
  object-fit: cover;
  opacity: 0.9;
}

.topic-card--dark {
  background: linear-gradient(90deg, #4b2414, #6c3b1f);
}

.topic-card__copy {
  position: relative;
  z-index: 1;
  max-width: 110px;
}

.routine-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.routine-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 10px;
  border-radius: 15px;
  background: rgba(72, 39, 23, 0.88);
  color: #f8ede0;
}

.routine-card img,
.mentor-mini-card img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
}

.routine-card--muted {
  background: rgba(226, 184, 98, 0.2);
  color: rgba(17, 17, 17, 0.72);
}

.routine-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2b55d;
}

.screen-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin-top: auto;
  padding: 8px 8px 10px;
  border-radius: 18px;
  background: #fefefe;
  color: rgba(72, 39, 23, 0.45);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 600;
}

.screen-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 12px;
}

.screen-nav .is-current {
  background: linear-gradient(135deg, #d56c38, #b53a1a);
  color: #fff;
}

.feature-panels,
.live-session,
.library-hub {
  margin-top: 78px;
}

.feature-panels,
.library-hub,
.footer--site {
  width: min(100%, 1220px);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
}

.feature-panel {
  position: relative;
  display: grid;
  gap: 26px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at top, rgba(216, 169, 72, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(255, 251, 246, 0.92), rgba(246, 239, 230, 0.98));
  box-shadow: 0 28px 48px rgba(62, 31, 20, 0.08);
}

.feature-panel__copy {
  display: grid;
  gap: 12px;
}

.feature-panel__copy h3,
.mentor-mode-card h3,
.library-feature__copy h3,
.library-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.feature-panel__lede,
.feature-panel__points p,
.mentor-mode-card p,
.library-feature__copy p,
.library-card p,
.footer__copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.feature-panel__points {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(62, 31, 20, 0.08);
}

.feature-panel__points p {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.feature-panel__points p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 169, 72, 0.18);
}

.feature-panel__media,
.mentor-access__shot,
.library-feature__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(62, 31, 20, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(216, 169, 72, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.92), rgba(245, 237, 228, 0.96));
}

.feature-panel__media {
  min-height: 520px;
  padding: 18px;
}

.feature-panel__media--widget {
  display: grid;
  place-items: center;
}

.feature-panel__media--stacked {
  display: grid;
  align-items: end;
}

.feature-panel__shot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 38px rgba(32, 18, 14, 0.08);
}

.feature-shot {
  margin: 0;
}

.feature-shot--primary {
  width: min(100%, 388px);
}

.feature-shot--secondary {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(44%, 210px);
}

.feature-shot--secondary .feature-panel__shot {
  border-radius: 22px;
}

.feature-panel__shot--widget {
  background: transparent;
}

.walkthrough-card__title {
  min-height: 54px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
}

.walkthrough-phone {
  display: flex;
  justify-content: center;
}

.phone-mini {
  position: relative;
  width: 286px;
  min-height: 540px;
  padding: 24px 14px 18px;
  overflow: hidden;
  border: 1.4px solid rgba(0, 0, 0, 0.26);
  border-radius: 38px;
  background: #faf8f2;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.1);
}

.phone-mini::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 116px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.phone-mini--onboarding {
  text-align: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(216, 169, 72, 0.22), transparent 20%),
    linear-gradient(180deg, #4f2717, #4a2215);
  color: #fff;
}

.screen-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
}

.screen-avatar {
  width: 96px;
  height: 96px;
  margin: 28px auto 0;
  padding: 4px;
  border: 1.4px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(216, 169, 72, 0.32);
}

.screen-avatar img,
.session-screen__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.screen-onboarding__title,
.screen-onboarding__copy,
.screen-lock,
.screen-input,
.screen-continue {
  margin: 0;
  font-family: var(--ui);
}

.screen-onboarding__title {
  max-width: 10ch;
  margin: 24px auto 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
}

.screen-onboarding__copy {
  max-width: 18ch;
  margin: 18px auto 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.screen-input,
.screen-continue {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  margin-top: 36px;
  padding: 0 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #a0a0a0;
  font-size: 16px;
}

.screen-lock {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.screen-continue {
  margin-top: 164px;
  justify-content: center;
  color: #383838;
  font-weight: 600;
}

.phone-mini--verse,
.phone-mini--topics {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.07), transparent 18%),
    linear-gradient(180deg, #4b4b4b, #414141);
}

.phone-mini--mentor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 12%, rgba(216, 169, 72, 0.18), transparent 18%),
    linear-gradient(180deg, #4d2819, #381d13);
  color: #fff4e6;
}

.screen-card--mini {
  padding: 12px 12px 13px;
}

.mentor-mini-ring {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 188px;
  aspect-ratio: 1 / 1;
  margin: 18px auto 2px;
  padding: 24px 14px 16px;
  border: 2px solid rgba(232, 207, 150, 0.95);
  border-radius: 50%;
}

.mentor-mini-ring p,
.mentor-mini-ring strong,
.mentor-mini-ring span {
  margin: 0;
  font-family: var(--mono);
  text-transform: uppercase;
}

.mentor-mini-ring p {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 244, 230, 0.74);
}

.mentor-mini-ring strong {
  font-size: 22px;
  line-height: 1.1;
}

.mentor-mini-ring span {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mentor-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.mentor-mini-card--alt {
  background: rgba(255, 255, 255, 0.04);
}

.mentor-mini-card p,
.mentor-mini-card small {
  margin: 0;
  font-family: var(--ui);
}

.mentor-mini-card p {
  font-size: 15px;
  font-weight: 700;
}

.mentor-mini-card small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 244, 230, 0.74);
  font-size: 12px;
  line-height: 1.4;
}

.topic-stack {
  margin-top: 76px;
}

.live-session {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.session-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.phone--session {
  width: min(100%, 414px);
  min-height: 760px;
  background: linear-gradient(180deg, #4d2819, #3b1d13);
}

.session-screen {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 12%, rgba(216, 169, 72, 0.18), transparent 18%),
    linear-gradient(180deg, #4d2819, #381d13);
  color: #fff4e6;
}

.session-screen__top {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.session-screen__avatar {
  width: 88px;
  height: 88px;
  padding: 4px;
  border: 1.4px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(216, 169, 72, 0.25);
}

.console-ring {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 230px;
  aspect-ratio: 1 / 1;
  padding: 28px 20px 22px;
  border: 2px solid rgba(232, 207, 150, 0.95);
  border-radius: 50%;
}

.ring-kicker,
.ring-name,
.ring-timer,
.status-label,
.session-screen__copy,
.form-note {
  margin: 0;
}

.ring-kicker,
.status-label {
  color: rgba(255, 244, 230, 0.72);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ring-name,
.ring-timer {
  font-family: var(--mono);
  text-transform: uppercase;
}

.ring-name {
  font-size: 18px;
  font-weight: 600;
}

.ring-timer {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.session-pill {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: #fff4e6;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.session-screen__copy {
  margin-top: 20px;
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  color: rgba(255, 244, 230, 0.86);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 244, 230, 0.84);
  font-family: var(--ui);
  font-size: 12px;
}

.companion-toggle-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.companion-toggle {
  min-height: 84px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 244, 230, 0.72);
  text-align: left;
}

.companion-toggle span,
.companion-toggle small {
  display: block;
}

.companion-toggle span {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: #fff4e6;
  text-transform: uppercase;
}

.companion-toggle small {
  margin-top: 4px;
  font-family: var(--ui);
  font-size: 11px;
  line-height: 1.4;
}

.companion-toggle:hover,
.companion-toggle:focus-visible,
.companion-toggle.is-active {
  border-color: var(--gold);
  outline: none;
}

.conversation-panel {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.message-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 164px;
  max-height: 260px;
  overflow: auto;
  padding: 16px;
}

.message {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 14px;
  font-family: var(--ui);
  font-size: 13px;
  line-height: 1.55;
}

.message--system {
  align-self: center;
  max-width: 100%;
  padding: 0;
  color: rgba(255, 244, 230, 0.66);
}

.message--user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.08);
}

.message--assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.composer {
  padding: 0 16px 16px;
}

.composer textarea {
  width: 100%;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 14px;
}

.composer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.ghost-btn,
.send-btn,
.voice-toggle {
  min-height: 40px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
}

.ghost-btn,
.voice-toggle {
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 244, 230, 0.84);
}

.voice-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.send-btn {
  margin-left: auto;
  padding: 0 16px;
  border: 0;
  background: var(--gold);
  color: #2e190f;
  font-weight: 700;
  text-transform: uppercase;
}

.form-note {
  margin-top: 14px;
  color: rgba(255, 244, 230, 0.7);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.mentor-access__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 22px;
  align-items: stretch;
}

.mentor-access__modes {
  display: grid;
  gap: 14px;
}

.mentor-mode-card,
.library-card {
  padding: 22px;
  border: 1px solid rgba(62, 31, 20, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(216, 169, 72, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 251, 246, 0.88), rgba(248, 241, 232, 0.96));
  box-shadow: 0 18px 34px rgba(62, 31, 20, 0.06);
}

.mentor-access__shot {
  min-height: 720px;
  padding: 20px;
}

.mentor-access__shot img,
.library-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 24px;
}

.library-hub {
  display: grid;
  gap: 24px;
  margin-top: 96px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(62, 31, 20, 0.12);
  border-radius: 38px;
  background:
    radial-gradient(circle at top, rgba(232, 207, 150, 0.4), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(245, 236, 223, 0.98));
  box-shadow: 0 28px 52px rgba(62, 31, 20, 0.08);
}

.library-hub__intro {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.library-hub__intro h2 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.library-hub__intro p:last-child {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
}

.library-hub__layout {
  display: grid;
  gap: 22px;
}

.library-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 20px;
  border-radius: 30px;
  background: rgba(255, 248, 240, 0.58);
  border: 1px solid rgba(62, 31, 20, 0.08);
}

.library-feature__copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.library-feature__actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.library-feature__media {
  min-height: 500px;
  padding: 16px;
}

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

.library-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 18px;
  min-height: 300px;
  padding: clamp(26px, 3.2vw, 38px);
  padding-top: clamp(30px, 3.6vw, 44px);
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.library-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(26px, 3.2vw, 38px);
  right: clamp(26px, 3.2vw, 38px);
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
  opacity: 0.75;
}

.library-card--lesson::before {
  background: var(--orange);
}

.library-card--journal::before {
  background: var(--brown-700);
}

.library-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(62, 31, 20, 0.1);
}

.library-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
  border-radius: 14px;
  background: rgba(216, 169, 72, 0.16);
  color: var(--brown-800);
  line-height: 0;
}

.library-card--lesson .library-card__mark {
  background: rgba(201, 91, 46, 0.14);
  color: var(--orange);
}

.library-card--journal .library-card__mark {
  background: rgba(120, 64, 42, 0.12);
  color: var(--brown-700);
}

.library-card__mark svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.library-card h3 {
  font-size: clamp(28px, 2.8vw, 38px);
  text-wrap: balance;
}

.library-card p:last-child {
  max-width: 32ch;
}

.library-card__cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-800);
}

.library-card__cue::after {
  content: "→";
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  transition: transform 0.2s ease;
}

.library-card:hover .library-card__cue::after {
  transform: translateX(3px);
}

.footer {
  margin-top: 26px;
  padding-top: 0;
  border-top: 0;
  font-size: 14px;
}

.footer--site {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr) minmax(240px, auto);
  align-items: start;
  gap: 28px;
  padding: 26px 30px;
  border: 1px solid rgba(62, 31, 20, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.92), rgba(245, 236, 223, 0.98));
}

.footer__brand,
.footer__actions {
  display: grid;
  gap: 8px;
}

.footer__actions {
  justify-items: end;
  text-align: right;
}

.footer__name {
  color: rgba(72, 39, 23, 0.72);
}

.session-live .console-ring {
  box-shadow: 0 0 30px rgba(216, 169, 72, 0.28);
}

/* Footer directory — dense but quiet SEO/AEO browse surface */
.footer-directory {
  margin-top: 56px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
}

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

.footer-directory__column h3 {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-directory__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-directory__list--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.footer-directory__list a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-directory__list a:hover,
.footer-directory__list a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .footer-directory__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-directory__list--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .footer-directory__list--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .hero-figure {
    width: min(34vw, 430px);
  }
}

@media (max-width: 960px) {
  .page {
    width: min(100% - 26px, 100%);
    padding-top: 20px;
  }

  .hero-figure {
    display: none;
  }

  .hero-stage {
    min-height: 420px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .library-feature,
  .mentor-access__grid,
  .footer--site {
    grid-template-columns: 1fr;
  }

  .footer__actions {
    justify-items: start;
    text-align: left;
  }

  .section-heading,
  .library-hub__intro {
    max-width: 100%;
  }

  .feature-panel__media {
    min-height: 460px;
  }

  .feature-shot--primary {
    width: min(100%, 360px);
  }

  .feature-shot--secondary {
    width: min(41%, 190px);
  }

  .mentor-access__shot {
    min-height: 600px;
  }

  .library-hub__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .top-nav,
  .footer {
    gap: 12px;
  }

  .top-nav {
    justify-content: space-between;
  }

  .brand img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .nav-pill {
    min-height: 44px;
    padding: 0 18px;
    font-size: 12px;
  }

  .hero {
    margin-top: 22px;
    gap: 18px;
  }

  .hero-intro {
    order: 1;
  }

  .hero-stage {
    order: 2;
    min-height: 0;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .nav-pill {
    width: 100%;
  }

  .feature-panel {
    padding: 20px;
    border-radius: 28px;
  }

  .feature-panel__copy h3,
  .mentor-mode-card h3,
  .library-feature__copy h3,
  .library-card h3 {
    font-size: 28px;
  }

  .feature-panel__media,
  .mentor-access__shot,
  .library-feature__media {
    min-height: 420px;
  }

  .feature-shot--secondary {
    right: 10px;
    bottom: 10px;
    width: min(42%, 150px);
  }

  .library-hub {
    margin-top: 64px;
  }

  .section-heading,
  .library-hub__intro {
    gap: 10px;
    margin-bottom: 22px;
  }

  .phone--hero {
    width: 292px;
    height: 596px;
  }

  .phone::before {
    width: 102px;
    height: 22px;
  }

  .phone::after {
    top: 19px;
    right: 37px;
    width: 8px;
    height: 8px;
  }

  .phone-inner {
    padding: 46px 12px 14px;
  }

  .screen-days span {
    width: 26px;
    height: 26px;
    font-size: 7px;
  }

  .screen-greeting {
    font-size: 12px;
  }

  .screen-headline {
    font-size: 24px;
  }

  .screen-card {
    margin-top: 10px;
    padding: 11px 11px 12px;
  }

  .screen-card__quote {
    font-size: 18px;
  }

  .screen-card--mentor {
    grid-template-columns: 46px 1fr;
  }

  .screen-card__mentor-button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
  }

  .topic-row {
    grid-template-columns: 1fr;
  }

  .routine-card {
    min-height: 52px;
  }

  .screen-nav {
    font-size: 9px;
  }

  .hero-title {
    margin-top: 10px;
    font-size: clamp(42px, 17vw, 62px);
  }

  .hero-copy {
    gap: 14px;
    margin-top: 18px;
  }

  .hero-copy p,
  .section-heading p:last-child,
  .feature-panel__lede,
  .feature-panel__points p,
  .mentor-mode-card p,
  .library-feature__copy p,
  .library-card p,
  .footer__copy {
    font-size: 15px;
    line-height: 1.7;
  }

  .phone-mini {
    width: min(100%, 244px);
    min-height: 470px;
  }

  .screen-onboarding__title {
    font-size: 22px;
  }

  .screen-onboarding__copy {
    font-size: 13px;
  }

  .screen-continue {
    margin-top: 122px;
  }

  .mentor-access__grid,
  .library-feature,
  .library-hub__cards,
  .footer--site {
    grid-template-columns: 1fr;
  }

  .library-hub {
    padding: 22px;
    border-radius: 30px;
  }

  .footer--site {
    padding: 22px;
    text-align: center;
  }

  .footer__actions {
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .phone--session {
    width: 100%;
    min-height: 740px;
  }

  .console-ring {
    width: 204px;
  }

  .companion-toggle-group {
    grid-template-columns: 1fr;
  }

  .composer-actions {
    flex-wrap: wrap;
  }

  .send-btn {
    width: 100%;
    margin-left: 0;
  }
}

/* Hero island runtime */

.phone--hero {
  background:
    radial-gradient(circle at 50% 10%, rgba(232, 207, 150, 0.22), transparent 24%),
    linear-gradient(180deg, #20140f 0%, #241510 16%, #3b2017 42%, #f7f0e8 100%);
}

.phone--hero .phone-inner {
  padding: 0;
}

.phone--hero [data-hero-island-root],
.phone--hero .hero-island-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(232, 207, 150, 0.22), transparent 22%),
    linear-gradient(180deg, rgba(30, 17, 13, 0.96) 0%, rgba(58, 30, 20, 0.92) 38%, #f7f0e8 100%);
  color: var(--ink);
}

.phone--hero [data-hero-island-root] {
  display: flex;
  flex-direction: column;
}

.phone--hero [data-hero-island-root][data-hydrated="false"]::after,
.phone--hero [data-hero-island-root]:not([data-hydrated])::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 148px;
  background: linear-gradient(180deg, rgba(247, 240, 232, 0), rgba(247, 240, 232, 0.92));
  pointer-events: none;
}

.phone--hero [data-hero-island-root][data-hydrated="true"]::after {
  display: none;
}

.phone--hero [data-hero-island-root][data-hydrated="error"] {
  background:
    radial-gradient(circle at 50% 8%, rgba(232, 207, 150, 0.18), transparent 24%),
    linear-gradient(180deg, #2a1812 0%, #45291f 42%, #f7f0e8 100%);
}

.phone--hero .hero-island-poster,
.phone--hero [data-hero-island-root] > img:first-child,
.walkthrough-phone > img,
.walkthrough-phone picture img,
.walkthrough-card__shot,
.walkthrough-screenshot,
.app-card__shot,
.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.phone--hero .hero-island-poster,
.phone--hero [data-hero-island-root] > img:first-child {
  background:
    radial-gradient(circle at 50% 8%, rgba(232, 207, 150, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(25, 13, 10, 0.98), rgba(79, 43, 29, 0.92) 42%, rgba(247, 240, 232, 0.82));
}

.island-splash,
.island-panel,
.island-thread {
  position: relative;
  min-height: 100%;
}

.island-splash {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 38px 18px 28px;
  color: #fff8f0;
  background:
    radial-gradient(circle at 50% 12%, rgba(232, 207, 150, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(26, 15, 12, 0.98), rgba(52, 27, 18, 0.84) 44%, rgba(248, 242, 234, 0.22));
}

.island-splash__poster,
.island-splash__video,
.island-splash__scrim {
  position: absolute;
  inset: 0;
}

.island-splash__poster,
.island-splash__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.island-splash__video {
  filter: saturate(0.88) contrast(1.04);
}

.island-splash__scrim {
  background:
    radial-gradient(circle at 50% 18%, rgba(232, 207, 150, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(17, 10, 8, 0.12), rgba(17, 10, 8, 0.3) 24%, rgba(17, 10, 8, 0.86) 78%, rgba(17, 10, 8, 0.95));
}

.island-splash__copy,
.island-panel,
.island-thread,
.island-dialog,
.island-call-sheet {
  position: relative;
  z-index: 1;
}

.island-splash__copy {
  width: 100%;
  padding: 0 6px 10px;
  text-align: center;
}

.island-splash__title,
.island-splash__body,
.island-panel__eyebrow,
.island-panel__body,
.island-panel__trust,
.island-thread__header p,
.island-thread__trust,
.island-backend-badge,
.island-message__label,
.island-dialog__eyebrow,
.island-dialog__hint {
  margin: 0;
  font-family: var(--ui);
}

.island-splash__title {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.island-splash__body {
  max-width: 22ch;
  margin: 0 auto;
  color: rgba(255, 248, 240, 0.82);
  font-size: 13px;
  line-height: 1.6;
}

.island-splash__skip {
  position: absolute;
  top: 54px;
  right: 16px;
  z-index: 2;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 248, 240, 0.2);
  border-radius: 999px;
  background: rgba(24, 14, 10, 0.32);
  color: rgba(255, 248, 240, 0.94);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.island-panel,
.island-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 78px 16px 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 207, 150, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(72, 41, 27, 0.98) 0%, rgba(95, 54, 37, 0.92) 18%, rgba(247, 240, 232, 0.98) 42%);
}

.island-panel__eyebrow,
.island-dialog__eyebrow {
  color: rgba(255, 244, 230, 0.82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.island-panel h3,
.island-thread__header h3,
.island-dialog h3,
.island-call-sheet__hero h4 {
  margin: 0;
  color: #17110f;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.island-panel h3,
.island-thread__header h3,
.island-dialog h3 {
  font-size: 28px;
}

.island-panel__body,
.island-thread__header p,
.island-thread__trust,
.island-dialog > p,
.island-call-sheet__hero p,
.island-call-sheet__log p {
  color: rgba(23, 17, 15, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.island-panel__trust,
.island-thread__trust {
  margin-top: -4px;
  color: rgba(72, 39, 23, 0.68);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.island-card-list,
.island-mentor-grid,
.island-mentor-tabs,
.island-row-actions,
.island-dialog__actions,
.island-call-sheet__actions {
  display: grid;
  gap: 10px;
}

.island-card-list,
.island-mentor-tabs {
  grid-template-columns: 1fr;
}

.island-card,
.island-mentor-card,
.island-tab,
.island-primary-button,
.island-secondary-button,
.island-call-button,
.island-compose__mic,
.island-compose__send,
.island-call-sheet__close,
.island-notice__dismiss {
  border: 1px solid transparent;
  border-radius: 18px;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.island-card,
.island-mentor-card,
.island-tab {
  width: 100%;
  padding: 15px 14px;
  background: rgba(255, 252, 247, 0.92);
  color: #211512;
  box-shadow: 0 12px 24px rgba(41, 20, 12, 0.08);
}

.island-card {
  text-align: left;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.island-card:hover,
.island-mentor-card:hover,
.island-tab:hover,
.island-primary-button:hover,
.island-secondary-button:hover,
.island-call-button:hover,
.island-compose__mic:hover,
.island-compose__send:hover,
.island-splash__skip:hover,
.island-call-sheet__close:hover,
.island-notice__dismiss:hover {
  transform: translateY(-1px);
}

.island-card.is-selected,
.island-mentor-card.is-selected,
.island-tab.is-selected {
  border-color: rgba(196, 71, 27, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 247, 235, 0.98), rgba(255, 239, 214, 0.98));
  box-shadow: 0 16px 30px rgba(141, 62, 28, 0.16);
}

.island-field {
  display: grid;
  gap: 8px;
  color: rgba(72, 39, 23, 0.86);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.island-field input,
.island-compose textarea {
  width: 100%;
  border: 1px solid rgba(62, 31, 20, 0.12);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.96);
  color: #1d1310;
  font-family: var(--ui);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.island-field input {
  min-height: 56px;
  padding: 0 16px;
  font-size: 16px;
}

.island-field input::placeholder,
.island-compose textarea::placeholder {
  color: rgba(72, 39, 23, 0.46);
}

.island-field input:focus,
.island-compose textarea:focus {
  border-color: rgba(196, 71, 27, 0.5);
  box-shadow:
    0 0 0 4px rgba(196, 71, 27, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.island-row-actions,
.island-dialog__actions,
.island-call-sheet__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.island-primary-button,
.island-secondary-button,
.island-call-button,
.island-compose__mic,
.island-compose__send,
.island-call-sheet__close,
.island-notice__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.island-primary-button,
.island-compose__send,
.island-call-button {
  background: linear-gradient(135deg, #d56c38, #b63d1d);
  color: #fff7f0;
  box-shadow: 0 16px 28px rgba(180, 66, 27, 0.24);
}

.island-secondary-button,
.island-compose__mic,
.island-call-sheet__close,
.island-notice__dismiss {
  border-color: rgba(62, 31, 20, 0.14);
  background: rgba(255, 252, 247, 0.9);
  color: rgba(34, 21, 16, 0.86);
}

.island-primary-button:disabled,
.island-secondary-button:disabled,
.island-call-button:disabled,
.island-compose__mic:disabled,
.island-compose__send:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.island-mentor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.island-mentor-card {
  display: grid;
  gap: 6px;
  justify-items: start;
  align-content: start;
  min-height: 144px;
  padding: 12px 10px 11px;
  text-align: left;
}

.island-mentor-card strong,
.island-mentor-card small {
  display: block;
}

.island-mentor-card strong {
  font-family: var(--ui);
  font-size: 12px;
}

.island-mentor-card small {
  color: rgba(72, 39, 23, 0.62);
  font-family: var(--ui);
  font-size: 10px;
  line-height: 1.4;
}

.island-mentor-card__avatar,
.island-call-sheet__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 10px 18px rgba(92, 45, 21, 0.18);
}

.island-mentor-card__avatar img,
.island-call-sheet__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.island-thread {
  gap: 12px;
  padding-bottom: 14px;
}

.island-thread__topline,
.island-thread__header,
.island-thread__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.island-thread__topline {
  align-items: flex-start;
}

.island-badge,
.island-backend-badge,
.island-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.island-badge {
  background: rgba(42, 23, 16, 0.08);
  color: rgba(72, 39, 23, 0.84);
}

.island-backend-badge {
  border: 1px solid rgba(62, 31, 20, 0.1);
  background: rgba(255, 252, 247, 0.72);
  color: rgba(62, 31, 20, 0.68);
  text-align: center;
}

.island-countdown {
  background: rgba(36, 20, 16, 0.92);
  color: #fff5ec;
  min-width: 62px;
}

.island-thread__header {
  align-items: flex-start;
}

.island-thread__meta {
  flex-direction: column;
  align-items: stretch;
  min-width: 110px;
}

.island-call-button {
  min-height: 46px;
}

.island-mentor-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.island-tab {
  min-height: 44px;
  padding: 0 12px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
}

.island-thread__notice {
  min-height: 0;
}

.island-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(62, 31, 20, 0.1);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 10px 24px rgba(54, 28, 18, 0.08);
}

.island-notice strong,
.island-notice p,
.island-notice summary,
.island-notice pre {
  margin: 0;
  font-family: var(--ui);
}

.island-notice strong {
  display: block;
  color: #251712;
  font-size: 13px;
  font-weight: 700;
}

.island-notice p,
.island-notice summary {
  margin-top: 4px;
  color: rgba(37, 23, 18, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.island-notice details {
  margin-top: 8px;
}

.island-notice pre {
  margin-top: 8px;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(37, 23, 18, 0.8);
  font-size: 11px;
  line-height: 1.5;
}

.island-notice--warning {
  border-color: rgba(196, 71, 27, 0.18);
  background: rgba(255, 242, 232, 0.98);
}

.island-notice--info {
  border-color: rgba(62, 31, 20, 0.1);
}

.island-message-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  max-height: 250px;
  padding: 2px 2px 4px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.island-message {
  max-width: 92%;
  padding: 12px 13px;
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 10px 20px rgba(54, 28, 18, 0.08);
}

.island-message--user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(213, 108, 56, 0.96), rgba(182, 61, 29, 0.96));
  color: #fff7f0;
}

.island-message--assistant,
.island-message--system {
  align-self: flex-start;
}

.island-message--system {
  border: 1px solid rgba(62, 31, 20, 0.08);
  background: rgba(252, 247, 239, 0.92);
}

.island-message__label {
  display: block;
  margin-bottom: 5px;
  color: rgba(72, 39, 23, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.island-message--user .island-message__label {
  color: rgba(255, 247, 240, 0.72);
}

.island-message p {
  margin: 0;
  font-family: var(--ui);
  font-size: 13px;
  line-height: 1.6;
}

.island-compose {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: auto;
  padding: 8px;
  border: 1px solid rgba(62, 31, 20, 0.1);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 14px 28px rgba(54, 28, 18, 0.08);
}

.island-compose textarea {
  min-height: 72px;
  padding: 12px 14px;
  resize: none;
  font-size: 14px;
  line-height: 1.45;
}

.island-compose__mic,
.island-compose__send {
  align-self: end;
  min-height: 48px;
}

.island-secondary-button--restart {
  margin-top: -2px;
}

.island-dialog-backdrop,
.island-call-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(22, 12, 9, 0.34);
  backdrop-filter: blur(10px);
}

.island-dialog-backdrop {
  z-index: 7;
}

.island-call-overlay {
  z-index: 6;
  pointer-events: none;
}

.island-call-overlay:empty {
  display: none;
}

.island-dialog,
.island-call-sheet {
  width: 100%;
  border: 1px solid rgba(62, 31, 20, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(247, 240, 232, 0.98));
  box-shadow: 0 24px 44px rgba(20, 11, 8, 0.22);
}

.island-dialog {
  padding: 18px 16px 16px;
}

.island-dialog > p {
  margin: 10px 0 0;
}

.island-dialog__widget {
  min-height: 72px;
  margin-top: 14px;
  border: 1px dashed rgba(62, 31, 20, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.island-dialog__hint {
  margin-top: 10px;
  color: rgba(72, 39, 23, 0.6);
  font-size: 11px;
}

.island-dialog__error {
  margin: 12px 0 0;
  color: #9a3918;
  font-family: var(--ui);
  font-size: 12px;
  line-height: 1.5;
}

.island-call-sheet {
  pointer-events: auto;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.island-call-sheet__header,
.island-call-sheet__hero {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.island-call-sheet__header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: stretch;
  text-align: left;
}

.island-call-sheet__close {
  min-height: 42px;
  padding: 0 14px;
}

.island-call-sheet__hero {
  padding: 6px 10px 2px;
}

.island-call-sheet__avatar {
  width: 64px;
  height: 64px;
  font-size: 30px;
}

.island-call-sheet__hero h4 {
  font-size: 30px;
}

.island-call-sheet__log {
  max-height: 170px;
  padding: 12px;
  overflow-y: auto;
  border: 1px solid rgba(62, 31, 20, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.island-call-sheet__log strong {
  color: #211512;
  font-weight: 700;
}

/* Screenshot-backed lower sections */

.walkthrough-card,
.app-card {
  overflow: hidden;
}

.walkthrough-phone,
.walkthrough-card__media,
.app-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.walkthrough-phone--screenshot,
.walkthrough-card__media,
.app-card__media {
  min-height: 540px;
  padding: 6px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 207, 150, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(63, 33, 23, 0.1), rgba(255, 255, 255, 0.34));
}

.walkthrough-phone > img,
.walkthrough-phone picture,
.walkthrough-card__media > img,
.walkthrough-card__media picture,
.app-card__media > img,
.app-card__media picture {
  width: 100%;
}

.walkthrough-phone > img,
.walkthrough-phone picture img,
.walkthrough-card__media > img,
.walkthrough-card__media picture img,
.app-card__media > img,
.app-card__media picture img,
.walkthrough-card__shot,
.walkthrough-screenshot,
.app-card__shot,
.app-screenshot {
  max-height: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
  background: #f8f3ec;
  box-shadow: 0 22px 34px rgba(17, 17, 17, 0.08);
}

.legal-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 207, 150, 0.26), transparent 26%),
    linear-gradient(180deg, #efefef 0%, #f5f1ea 100%);
}

.page--legal {
  width: min(100% - 40px, 980px);
  padding-bottom: 56px;
}

.legal-top-nav {
  margin-bottom: 48px;
}

.legal-hero {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-bottom: 32px;
  text-align: center;
}

.legal-hero__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-card {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(248, 244, 236, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(232, 207, 150, 0.18), transparent 25%);
  box-shadow: 0 26px 56px rgba(17, 17, 17, 0.08);
}

.legal-section {
  display: grid;
  gap: 12px;
}

.legal-section h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  font-family: var(--ui);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.75;
}

.footer--legal {
  margin-top: 28px;
}

@media (max-width: 960px) {
  .phone--hero [data-hero-island-root],
  .phone--hero .hero-island-shell {
    margin-inline: auto;
  }

  .island-mentor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .island-thread__topline,
  .island-thread__header {
    flex-direction: column;
    align-items: stretch;
  }

  .island-thread__meta {
    flex-direction: row;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 28px, 1380px);
    padding-top: 24px;
  }

  .footer,
  .legal-top-nav {
    justify-content: center;
    text-align: center;
  }

  .phone--hero {
    margin-inline: auto;
    box-shadow: 0 24px 48px rgba(17, 17, 17, 0.16);
  }

  .island-splash {
    padding: 32px 12px 18px;
  }

  .island-splash__skip {
    top: 48px;
    right: 12px;
    min-height: 32px;
    padding: 0 12px;
    font-size: 10px;
  }

  .island-splash__title,
  .island-panel h3,
  .island-thread__header h3,
  .island-dialog h3,
  .island-call-sheet__hero h4 {
    font-size: 24px;
  }

  .island-panel,
  .island-thread {
    gap: 12px;
    padding: 68px 12px 14px;
  }

  .island-mentor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .island-mentor-card {
    min-height: 96px;
    padding: 8px 6px;
    gap: 4px;
  }

  .island-mentor-card strong {
    font-size: 11px;
  }

  .island-mentor-card small {
    display: none;
  }

  .island-mentor-card__avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .island-row-actions,
  .island-dialog__actions,
  .island-call-sheet__actions,
  .island-compose {
    grid-template-columns: 1fr;
  }

  .island-mentor-tabs {
    grid-template-columns: 1fr;
  }

  .island-compose textarea {
    min-height: 86px;
  }

  .island-message-list {
    max-height: 232px;
  }

  .island-dialog-backdrop,
  .island-call-overlay {
    padding: 10px;
  }

  .walkthrough-phone--screenshot,
  .walkthrough-card__media,
  .app-card__media {
    min-height: 460px;
    padding: 4px;
  }

  .footer-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .brand--legal {
    justify-content: center;
    width: 100%;
  }

  .legal-card {
    gap: 24px;
    border-radius: 26px;
  }
}
