:root {
  --bg: #efefef;
  --surface: #f6f3ee;
  --surface-strong: #f4f4f4;
  --ink: #111111;
  --muted: rgba(17, 17, 17, 0.72);
  --line: rgba(17, 17, 17, 0.22);
  --serif: "Bodoni Moda", Georgia, serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --ui: "Plus Jakarta Sans", "Helvetica Neue", sans-serif;
  --brown-900: #3e1f14;
  --brown-800: #552816;
  --brown-700: #6c341c;
  --gold: #d8a948;
  --gold-soft: #e8cf96;
  --cream: #efe4b4;
  --orange: #c4471b;
  --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: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
}

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 32px;
}

.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;
  background: #000;
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-pill--quiet {
  background: rgba(17, 17, 17, 0.08);
  color: var(--ink);
}

.hero {
  margin-top: 36px;
}

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

.hero-figure {
  position: absolute;
  top: 18px;
  width: min(35vw, 440px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  opacity: 0.84;
  mix-blend-mode: multiply;
  filter: saturate(0.82) contrast(1.06);
  pointer-events: none;
}

.hero-figure--left {
  left: 0;
  transform: translateX(-18%);
}

.hero-figure--right {
  right: 0;
  transform: translateX(18%) scaleX(-1);
}

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

.hero-figure--left img {
  object-position: 56% 42%;
}

.hero-figure--right img {
  object-position: 50% 38%;
  transform: scale(1.24);
}

.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: 930px;
  margin: 26px 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;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 960px;
  margin: 48px auto 0;
}

.hero-copy p,
.story p {
  margin: 0;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.65;
  text-align: center;
}

.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;
  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,
.story {
  margin-top: 78px;
}

.feature-panels h2,
.live-session h2,
.story h2 {
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

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

.feature-panel {
  position: relative;
  min-height: 770px;
  padding: 42px 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle, rgba(17, 17, 17, 0.08) 1px, transparent 1.3px) 0 0 / 28px 28px,
    linear-gradient(180deg, #f6f5f2, #f2efea);
}

.feature-panel__title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(18px, 1.7vw, 28px);
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.phone--feature {
  position: absolute;
  left: 50%;
  bottom: -258px;
  width: min(82%, 410px);
  height: 830px;
  transform: translateX(-50%);
  box-shadow: 0 30px 56px rgba(17, 17, 17, 0.16);
}

.phone-inner--feature {
  padding: 54px 10px 12px;
}

.feature-panel__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  background: #fff;
}

.walkthrough-card {
  padding: 22px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1.25px) 0 0 / 28px 28px,
    var(--surface-strong);
}

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

.story {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.story-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.story-block p + p {
  margin-top: 0;
}

.story-illustration {
  width: min(100%, 1180px);
  margin: 56px auto;
  overflow: hidden;
  border-radius: 40px;
  background: #e7b566;
  box-shadow: var(--shadow);
}

.story-illustration img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.16);
  transform-origin: center 32%;
}

.footer {
  margin-top: 86px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

@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: 360px;
  }

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

  .feature-panel {
    min-height: 650px;
  }

  .phone--feature {
    width: min(76vw, 370px);
    height: 780px;
    bottom: -286px;
  }

  .story-illustration {
    margin: 42px auto;
  }
}

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

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

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

  .hero {
    margin-top: 22px;
  }

  .feature-panel {
    min-height: 580px;
    padding: 32px 16px 0;
    border-radius: 28px;
  }

  .feature-panel__title {
    font-size: 16px;
    line-height: 1.55;
  }

  .phone--feature {
    width: min(82vw, 330px);
    height: 720px;
    bottom: -268px;
  }

  .story-block {
    gap: 20px;
  }

  .story-illustration img {
    aspect-ratio: auto;
    transform: scale(1.12);
  }

  .story-illustration {
    border-radius: 28px;
  }

  .phone--hero {
    width: 256px;
    height: 522px;
  }

  .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: 24px;
    font-size: clamp(42px, 17vw, 62px);
  }

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

  .hero-copy p,
  .story p {
    font-size: 15px;
    line-height: 1.7;
  }

  .how-it-works,
  .live-session,
  .story {
    margin-top: 56px;
  }

  .walkthrough-card {
    padding: 18px 12px 16px;
  }

  .walkthrough-card__title {
    min-height: 0;
    font-size: 13px;
  }

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

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

.island-mentor-card {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  text-align: left;
}

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

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

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

.island-mentor-card__avatar,
.island-call-sheet__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 252, 247, 0.98), rgba(216, 169, 72, 0.9) 52%, rgba(101, 52, 29, 0.95));
  color: #33150d;
  font-family: var(--serif);
  font-size: 21px;
  box-shadow: 0 10px 18px rgba(92, 45, 21, 0.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: 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;
  }

  .top-nav,
  .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-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;
  }
}
