/* Art direction pass: public website only. The cinematic story engine remains
   owned by legacy-story.css and the existing JavaScript. */

:root {
  --art-ink: #12201c;
  --art-pine: #0f3e35;
  --art-pine-deep: #0b1b17;
  --art-mint: #92dbc0;
  --art-mint-soft: #dceee7;
  --art-paper: #f8f6f0;
  --art-paper-deep: #eee9df;
  --art-coral: #df745f;
  --art-gold: #d9a348;
}

html[data-theme="dark"] {
  --art-ink: #f1f4f1;
  --art-paper: #111916;
  --art-paper-deep: #19231f;
  --art-mint-soft: #18352e;
}

body {
  background: var(--art-paper);
}

.site-header {
  min-height: 66px;
  padding: 10px clamp(18px, 3.4vw, 52px);
  background: color-mix(in srgb, var(--art-paper) 97%, #ffffff 3%);
  border-bottom: 1px solid color-mix(in srgb, var(--art-ink) 12%, transparent);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* The selection scene stays still until the visitor interacts with it. */
.guide .guide-btn img {
  animation: none !important;
}

.brand strong {
  font-size: 19px;
  letter-spacing: 0;
}

.site-nav {
  gap: clamp(10px, 1.6vw, 25px);
}

.site-nav a:not(.btn) {
  color: color-mix(in srgb, var(--art-ink) 69%, transparent);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:not(.btn):hover {
  color: var(--art-pine);
}

.site-nav .btn,
.intro .btn-primary {
  border-color: var(--art-pine);
  background: var(--art-pine);
  color: #fff;
}

.intro {
  isolation: isolate;
  min-height: calc(100svh - 22px);
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 36px;
  overflow: hidden;
  padding: 116px clamp(24px, 6vw, 92px) 58px;
  background-image:
    linear-gradient(90deg, rgba(248, 246, 240, 0.92) 0%, rgba(248, 246, 240, 0.76) 38%, rgba(248, 246, 240, 0.24) 72%, rgba(248, 246, 240, 0.06) 100%),
    url("../assets/ambient/hero_paper_light.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #12201c;
}

html[data-theme="dark"] .intro {
  background-image:
    linear-gradient(90deg, rgba(12, 23, 19, 0.96) 0%, rgba(12, 23, 19, 0.9) 40%, rgba(12, 23, 19, 0.78) 72%, rgba(12, 23, 19, 0.7) 100%),
    url("../assets/ambient/hero_paper_light.webp");
  color: #f1f4f1;
}

.intro::before,
.intro::after {
  display: none;
}

.intro-copy {
  align-self: center;
  max-width: 670px;
  padding-bottom: 18px;
}

.intro .eyebrow {
  margin: 0 0 22px;
  color: #276a5b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

html[data-theme="dark"] .intro .eyebrow {
  color: #9fe3ca;
}

.intro h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(72px, 8.4vw, 126px);
  font-weight: 620;
  line-height: 0.84;
}

.hero-promise {
  max-width: 15ch;
  margin: 28px 0 0;
  color: #176f5d;
  font-size: clamp(29px, 3vw, 44px);
  font-weight: 560;
  line-height: 1.06;
}

html[data-theme="dark"] .hero-promise {
  color: #a4e7cf;
}

.intro .lede {
  max-width: 45ch;
  margin: 24px 0 28px;
  color: color-mix(in srgb, currentColor 70%, transparent);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
}

.intro-actions {
  justify-content: flex-start;
}

.intro .btn {
  min-height: 48px;
  border-radius: 6px;
  box-shadow: none;
}

.intro .btn-ghost {
  border-color: color-mix(in srgb, currentColor 34%, transparent);
  color: inherit;
  background: color-mix(in srgb, var(--art-paper) 74%, transparent);
}

.beta-kicker {
  margin-top: 22px;
  color: color-mix(in srgb, currentColor 64%, transparent);
  font-size: 13px;
}

.beta-kicker span {
  background: var(--art-coral);
}

.intro-guide-rotator {
  position: absolute;
  z-index: 2;
  right: clamp(96px, 15vw, 260px);
  bottom: -6%;
  width: min(39vw, 520px);
  height: 86%;
  max-height: none;
  pointer-events: none;
}

.intro-guide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0;
  transition: opacity 720ms ease;
}

.intro-guide.is-visible {
  opacity: 1;
}

.intro-proof,
.hero-cue {
  display: none;
}

.choose-intro {
  width: 100%;
  margin: 0;
  padding: clamp(72px, 8vw, 112px) max(24px, calc((100vw - 1180px) / 2)) 54px;
  background: var(--art-pine-deep);
  color: #f4f5f1;
}

.choose-intro .eyebrow {
  color: var(--art-mint);
  letter-spacing: 0.08em;
}

.choose-intro h2 {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1;
}

.choose-intro .sub {
  color: #b8c8c1;
}

.section {
  padding: clamp(94px, 10vw, 148px) 0;
}

.section .wrap {
  width: min(1180px, calc(100% - 48px));
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: 48px;
  max-width: none;
  margin-bottom: clamp(70px, 8vw, 112px);
}

.section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -30px;
  color: #347565;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-head h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--art-ink);
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 560;
  line-height: 0.98;
}

.section-head .sub {
  max-width: 35ch;
  margin: 0 0 6px;
  color: color-mix(in srgb, var(--art-ink) 64%, transparent);
  font-size: 18px;
  line-height: 1.62;
}

.stack-gap {
  display: grid;
  gap: 0;
}

.split,
.split.rev {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(50px, 7vw, 104px);
  min-height: 560px;
  padding: 84px 0;
  border-top: 1px solid color-mix(in srgb, var(--art-ink) 15%, transparent);
}

.split.rev {
  grid-template-columns: minmax(420px, 1.12fr) minmax(0, 0.78fr);
}

.split h3 {
  max-width: 16ch;
  margin: 0 0 24px;
  color: var(--art-ink);
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 560;
  line-height: 1.04;
}

.split p,
.split li {
  color: color-mix(in srgb, var(--art-ink) 69%, transparent);
  font-size: 17px;
  line-height: 1.68;
}

.split ul {
  padding-left: 20px;
}

.feature-visual {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #dceee7;
  box-shadow: none;
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.42), transparent 48%),
    radial-gradient(circle at 72% 24%, rgba(255,255,255,0.62), transparent 34%);
}

.feature-character {
  position: absolute;
  z-index: 1;
  right: -2%;
  bottom: -8%;
  width: 58%;
  height: 108%;
  object-fit: contain;
  object-position: bottom center;
}

.feature-character-thinking {
  right: auto;
  left: -2%;
}

.feature-character-tutorial {
  right: 1%;
  width: 55%;
}

.feature-visual .demo-card {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  width: min(62%, 390px);
  padding: 20px;
  border: 1px solid rgba(18, 32, 28, 0.12);
  border-radius: 7px;
  background: #fbfaf6;
  color: #12201c;
  box-shadow: 0 18px 46px rgba(35, 61, 51, 0.18);
}

.split.rev .feature-visual .demo-card {
  right: 28px;
  left: auto;
}

.demo-title {
  font-size: 16px;
  font-weight: 700;
}

.demo-row {
  border-radius: 5px;
}

#your-circle {
  background: #cfe5dc;
}

html[data-theme="dark"] #your-circle {
  background: #18332c;
}

#your-circle .feature-visual.dark {
  min-height: 590px;
  background: #123d35;
}

.feature-character-family {
  right: -4%;
  width: 72%;
  height: 116%;
}

#your-circle .feature-visual .demo-card {
  top: 34px;
  bottom: auto;
  width: min(68%, 420px);
  background: #0d241e;
  color: #f2f5f2;
  border-color: rgba(255,255,255,0.12);
}

/* The public page has no continuously playing media or decorative animation.
   Story motion is mounted only after a guide is deliberately selected. */
.ambient {
  display: none !important;
}

#privacy .split,
#premium .split {
  min-height: 0;
  align-items: start;
}

.safety-note {
  border: 0;
  border-left: 3px solid var(--art-coral);
  border-radius: 0;
  background: transparent;
  padding: 8px 0 8px 28px;
  box-shadow: none;
}

.origin {
  border: 0;
  background: transparent;
  padding: 0;
}

.origin .big-quote {
  color: var(--art-pine);
  font-family: var(--font-head);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
}

html[data-theme="dark"] .origin .big-quote {
  color: var(--art-mint);
}

.faq {
  max-width: 900px;
}

.faq details {
  border-radius: 0;
  border-width: 1px 0 0;
  background: transparent;
}

.join-band {
  background: var(--art-pine-deep);
}

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

  .nav-toggle {
    display: grid;
  }

  .intro {
    grid-template-columns: 1fr;
    min-height: max(650px, calc(100svh - 18px));
    padding: 108px 24px 38px;
    background-position: 57% center;
    background-image:
      linear-gradient(180deg, rgba(248,246,240,0.97) 0%, rgba(248,246,240,0.94) 58%, rgba(248,246,240,0.36) 100%),
      url("../assets/ambient/hero_paper_light.webp");
  }

  html[data-theme="dark"] .intro {
    background-image:
      linear-gradient(180deg, rgba(12,23,19,0.97) 0%, rgba(12,23,19,0.92) 60%, rgba(12,23,19,0.35) 100%),
      url("../assets/ambient/hero_paper_light.webp");
  }

  .intro-copy {
    align-self: start;
    max-width: 560px;
    padding-bottom: 230px;
  }

  .intro h1 {
    font-size: clamp(68px, 16vw, 104px);
  }

  .hero-promise {
    font-size: clamp(27px, 6vw, 38px);
  }

  .intro-guide-rotator {
    right: -36px;
    bottom: -18%;
    width: min(58vw, 390px);
    height: 62%;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-head .eyebrow {
    margin-bottom: 0;
  }

  .split,
  .split.rev {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
    padding: 68px 0;
  }

  .split.rev > :first-child {
    order: 2;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 62px;
  }

  .intro {
    min-height: 660px;
    padding: 92px 18px 24px;
  }

  .intro-copy {
    padding-bottom: 185px;
  }

  .intro .eyebrow {
    margin-bottom: 15px;
    font-size: 10px;
  }

  .intro h1 {
    font-size: clamp(62px, 22vw, 88px);
  }

  .hero-promise {
    margin-top: 18px;
    font-size: clamp(25px, 7.2vw, 32px);
  }

  .intro .lede {
    margin: 16px 0 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .intro-actions {
    gap: 8px;
  }

  .intro .btn {
    min-height: 44px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .beta-kicker {
    margin-top: 14px;
    font-size: 11px;
  }

  .intro-guide-rotator {
    right: -52px;
    bottom: -12%;
    width: 66vw;
    height: 53%;
  }

  .choose-intro {
    padding: 66px 22px 40px;
  }

  .choose-intro h2 {
    font-size: 42px;
  }

  .section {
    padding: 80px 0;
  }

  .section .wrap {
    width: min(100% - 32px, 1180px);
  }

  .section-head {
    margin-bottom: 54px;
  }

  .section-head h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .section-head .sub {
    font-size: 16px;
  }

  .split,
  .split.rev {
    padding: 54px 0;
  }

  .split h3 {
    font-size: 34px;
  }

  .split p,
  .split li {
    font-size: 16px;
  }

  .feature-visual,
  #your-circle .feature-visual.dark {
    min-height: 420px;
  }

  .feature-character {
    width: 66%;
  }

  .feature-visual .demo-card,
  .split.rev .feature-visual .demo-card,
  #your-circle .feature-visual .demo-card {
    right: 16px;
    bottom: 16px;
    left: 16px;
    top: auto;
    width: auto;
    padding: 15px;
  }

  .demo-row {
    gap: 8px;
    font-size: 12px;
  }

  .chip {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-guide,
  .feature-character {
    transition: none;
  }
}

/* Interactive public-page correction. Keep the story's living room exclusive
   to the story, and keep product UI beside the guide instead of over her. */
.intro {
  min-height: calc(100svh - 18px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  padding: 128px clamp(56px, 9vw, 172px) 74px;
  background-color: #f8f6f0;
  background-image:
    linear-gradient(90deg, rgba(248, 246, 240, 0.96) 0%, rgba(248, 246, 240, 0.86) 38%, rgba(248, 246, 240, 0.28) 72%, rgba(248, 246, 240, 0.08) 100%),
    url("../assets/ambient/hero_paper_light.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #12201c;
}

html[data-theme="dark"] .intro {
  background-color: #07130f;
  background-image:
    linear-gradient(90deg, rgba(7, 19, 15, 0.97) 0%, rgba(7, 19, 15, 0.9) 40%, rgba(7, 19, 15, 0.72) 72%, rgba(7, 19, 15, 0.58) 100%),
    url("../assets/ambient/hero_paper_light.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #f4f7f4;
}

.intro::before {
  display: none;
}

.intro-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.intro .eyebrow {
  color: #276a5b;
  font-size: 13px;
}

html[data-theme="dark"] .intro .eyebrow {
  color: #a7efd4;
}

.intro h1 {
  font-size: clamp(96px, 10vw, 168px);
}

.hero-promise {
  max-width: 14ch;
  color: #176f5d;
  font-size: clamp(38px, 4vw, 62px);
}

html[data-theme="dark"] .hero-promise {
  color: #a7efd4;
}

.intro .lede {
  max-width: 42ch;
  color: rgba(18, 32, 28, 0.72);
  font-size: clamp(17px, 1.4vw, 21px);
}

html[data-theme="dark"] .intro .lede {
  color: rgba(244, 247, 244, 0.78);
}

.intro .btn-ghost {
  border-color: rgba(18, 32, 28, 0.38);
  background: rgba(248, 246, 240, 0.8);
  color: #12201c;
}

html[data-theme="dark"] .intro .btn-ghost {
  border-color: rgba(255,255,255,0.45);
  background: rgba(7, 25, 19, 0.72);
  color: #fff;
}

.beta-kicker {
  color: rgba(18, 32, 28, 0.68);
}

html[data-theme="dark"] .beta-kicker {
  color: rgba(244, 247, 244, 0.72);
}

.intro-guide {
  object-position: bottom center;
  transform: scale(0.94);
  transform-origin: bottom center;
}

/* Variant 3 is framed more tightly in its source artwork. Normalize its
   perceived height so every guide occupies the same visual slot. */
.intro-guide[data-hero-variant="v3"] {
  transform: scale(0.86);
}

.intro-guide-rotator {
  right: clamp(96px, 15vw, 260px);
  bottom: 2%;
  width: min(34vw, 560px);
  height: 88%;
}

#how-it-helps .section-head {
  margin-bottom: 30px;
}

#how-it-helps,
#your-circle {
  padding: 72px 0;
}

#how-it-helps .section-head h2,
#your-circle .section-head h2 {
  font-size: clamp(46px, 5vw, 70px);
}

.feature-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--art-ink) 18%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--art-paper-deep) 78%, transparent);
}

.feature-tabs button,
.circle-controls button {
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: color-mix(in srgb, var(--art-ink) 66%, transparent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.feature-tabs button[aria-selected="true"],
.circle-controls button[aria-selected="true"] {
  background: var(--art-pine);
  color: #fff;
}

.feature-tabs button:focus-visible,
.circle-controls button:focus-visible,
.demo-actions button:focus-visible {
  outline: 3px solid var(--art-coral);
  outline-offset: 2px;
}

.feature-stage {
  margin-top: 34px;
}

.feature-panel,
.feature-panel.rev {
  grid-template-columns: minmax(250px, 0.58fr) minmax(540px, 1.42fr);
  gap: clamp(42px, 6vw, 88px);
  min-height: 460px;
  padding: 30px 0 0;
  border-top: 0;
}

.feature-panel.rev > :first-child {
  order: 2;
}

.feature-panel[hidden] {
  display: none !important;
}

.feature-copy h3 {
  margin-bottom: 18px;
}

.feature-copy .feature-kicker {
  max-width: 34ch;
  margin: 0;
  font-size: 18px;
}

.feature-copy ul {
  display: none;
}

.feature-visual,
#your-circle .feature-visual.dark {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(230px, 0.78fr);
  align-items: center;
  gap: 24px;
  min-height: 440px;
  padding: 32px;
  background: #dceee7;
}

.feature-visual::before {
  display: none;
}

.feature-character,
.feature-character-thinking,
.feature-character-tutorial,
.feature-character-family {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  height: 390px;
  object-fit: contain;
  object-position: bottom center;
}

.feature-visual .demo-card,
.split.rev .feature-visual .demo-card,
#your-circle .feature-visual .demo-card {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  inset: auto;
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(18, 32, 28, 0.16);
  border-radius: 7px;
  background: #fffef9;
  color: #12201c;
  box-shadow: 0 18px 44px rgba(23, 53, 43, 0.14);
}

.feature-visual .demo-title,
.feature-visual .step {
  color: #12201c;
}

.feature-visual .demo-row {
  min-height: 46px;
  background: #13231e;
  color: #fff;
}

.feature-visual .demo-row .t,
.feature-visual .demo-row .n {
  color: #fff;
}

.feature-visual .chip-good {
  background: #d7f3e7;
  color: #0d5b43;
}

.feature-visual .chip-due {
  background: #ffe1a8;
  color: #693b00;
}

html[data-theme="dark"] .feature-visual .chip-due {
  background: #ffd58a;
  color: #573000;
}

.feature-visual .chip-quiet {
  background: #dfeae5;
  color: #24483c;
}

/* These cards stay light in both themes, so their content must not inherit
   the dark theme's pale phone-demo text. */
html[data-theme="dark"] .feature-visual.light-demo .demo-card,
html[data-theme="dark"] .feature-visual.light-demo .demo-card .demo-title,
html[data-theme="dark"] .feature-visual.light-demo .demo-card .step {
  color: #12201c;
}

html[data-theme="dark"] .feature-visual.light-demo .demo-card .chip-good {
  background: #c9f0df;
  color: #074c38;
}

html[data-theme="dark"] .feature-visual.light-demo .demo-card .steps3 .dot {
  background: #d7f3e7;
  color: #0d5b43;
}

.demo-actions button {
  min-height: 42px;
  border: 1px solid #496158;
  background: #edf3ef;
  color: #12201c;
  cursor: pointer;
}

.demo-actions button.primary {
  border-color: var(--art-pine);
  background: var(--art-pine);
  color: #fff;
}

.reminder-demo-card {
  overflow: visible;
  transform-origin: center;
}

.reminder-demo-card::before,
.reminder-demo-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 52px;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--art-coral), var(--art-coral)) right 4px top 3px / 13px 2px no-repeat,
    linear-gradient(var(--art-coral), var(--art-coral)) right center / 21px 2px no-repeat,
    linear-gradient(var(--art-coral), var(--art-coral)) right 4px bottom 3px / 13px 2px no-repeat;
}

.reminder-demo-card::before {
  left: -31px;
  transform: translateY(-50%);
}

.reminder-demo-card::after {
  right: -31px;
  transform: translateY(-50%) scaleX(-1);
}

.reminder-demo-card.is-buzzing {
  animation: reminder-buzz 1.15s ease-in-out infinite;
}

.reminder-demo-card.is-buzzing::before,
.reminder-demo-card.is-buzzing::after {
  opacity: 1;
  animation: reminder-lines 1.15s ease-in-out infinite;
}

.demo-actions button {
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.demo-actions button:hover {
  transform: translateY(-1px);
}

.demo-actions button[aria-pressed="true"] {
  border-color: var(--art-pine);
  background: var(--art-pine);
  color: #fff;
}

.demo-actions button[data-demo-action="snooze"][aria-pressed="true"] {
  border-color: #9a5e08;
  background: #9a5e08;
}

.demo-actions button[data-demo-action="skip"][aria-pressed="true"] {
  border-color: #43534d;
  background: #43534d;
}

.feature-visual.light-demo .demo-card .demo-action-result {
  min-height: 22px;
  margin: 2px 0 0;
  color: #3c554c;
  font-size: 13px;
  font-weight: 700;
}

.reminder-demo-card[data-result="taken"] .demo-action-result {
  color: #0d654a;
}

.reminder-demo-card[data-result="snooze"] .demo-action-result {
  color: #8a5205;
}

.reminder-demo-card[data-result="skip"] .demo-action-result {
  color: #43534d;
}

@keyframes reminder-buzz {
  0%, 32%, 100% { transform: translateX(0) rotate(0); }
  5%, 15%, 25% { transform: translateX(-3px) rotate(-0.45deg); }
  10%, 20%, 30% { transform: translateX(3px) rotate(0.45deg); }
}

@keyframes reminder-lines {
  0%, 32%, 100% { opacity: 0.18; }
  8%, 24% { opacity: 1; }
  16% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .reminder-demo-card.is-buzzing,
  .reminder-demo-card.is-buzzing::before,
  .reminder-demo-card.is-buzzing::after {
    animation: none;
  }

  .reminder-demo-card.is-buzzing::before,
  .reminder-demo-card.is-buzzing::after {
    opacity: 0.75;
  }
}

body.motion-reduced .reminder-demo-card.is-buzzing,
body.motion-reduced .reminder-demo-card.is-buzzing::before,
body.motion-reduced .reminder-demo-card.is-buzzing::after {
  animation: none;
}

#your-circle .section-head {
  margin-bottom: 28px;
}

#your-circle .circle-experience {
  grid-template-columns: minmax(280px, 0.62fr) minmax(540px, 1.38fr);
  min-height: 0;
  padding: 24px 0 0;
  border-top: 0;
}

.circle-copy > p,
.circle-copy > ul {
  display: none;
}

.circle-controls {
  display: grid;
  gap: 8px;
}

.circle-controls button {
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--art-ink) 18%, transparent);
  text-align: left;
}

.circle-panels {
  margin-top: 0;
}

.circle-detail-card {
  min-height: 124px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--art-ink) 16%, transparent);
  border-left: 4px solid var(--art-coral);
  border-radius: 7px;
  background: color-mix(in srgb, var(--art-paper) 72%, transparent);
}

.circle-detail-card[hidden] {
  display: none !important;
}

.circle-detail-card:not([hidden]) {
  animation: circle-panel-in 180ms ease-out;
}

.circle-detail-card .circle-detail-label {
  margin: 0 0 8px;
  color: var(--art-pine) !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-theme="dark"] .circle-detail-card .circle-detail-label {
  color: var(--art-mint) !important;
}

.circle-detail-card p:last-child {
  margin: 0;
  color: var(--art-ink) !important;
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.5 !important;
}

@keyframes circle-panel-in {
  from { opacity: 0.35; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

#your-circle .feature-visual.dark {
  grid-template-columns: minmax(230px, 0.78fr) minmax(280px, 1fr);
  background: #113a32;
}

#your-circle .feature-visual .feature-character-family {
  grid-column: 1;
}

#your-circle .feature-visual .circle-panels {
  display: block;
  grid-column: 2;
  min-height: 210px;
}

#your-circle .feature-visual .circle-detail-card {
  min-height: 164px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#your-circle .feature-visual .circle-detail-card:not([hidden]) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#your-circle .feature-visual .circle-detail-card .circle-detail-label {
  color: #0f3e35 !important;
}

#your-circle .feature-visual .circle-detail-card p:last-child {
  color: #12201c !important;
}

#privacy,
#premium,
#faq {
  position: relative;
  overflow: hidden;
}

#privacy > .wrap,
#premium > .wrap,
#faq > .wrap {
  position: relative;
  z-index: 1;
}

.section-head {
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 48px;
}

.section-head .eyebrow {
  margin-bottom: 0;
}

.section-head h2 {
  max-width: 16ch;
  font-size: clamp(42px, 5vw, 68px);
}

.section-head .sub {
  max-width: 40ch;
  margin: 0;
}

.privacy-disclosures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.join-coming-soon {
  min-width: 112px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1;
  cursor: not-allowed;
  opacity: 0.72;
  pointer-events: none;
}

button.join-coming-soon {
  font: inherit;
}

.join-coming-soon small,
.footer-coming-soon small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.78;
}

.footer-coming-soon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: color-mix(in srgb, var(--art-ink) 64%, transparent);
  cursor: not-allowed;
}

.privacy-disclosures details {
  border: 1px solid color-mix(in srgb, var(--art-ink) 17%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--art-paper) 68%, transparent);
  overflow: hidden;
}

.privacy-disclosures summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--art-ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

.privacy-disclosures summary::-webkit-details-marker {
  display: none;
}

.privacy-disclosures summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--art-pine);
  font-size: 25px;
  font-weight: 400;
}

.privacy-disclosures details[open] summary::after {
  content: "-";
}

.privacy-disclosures details p {
  margin: 0;
  padding: 12px 20px 20px;
  color: color-mix(in srgb, var(--art-ink) 78%, transparent);
  font-size: 15.5px;
  line-height: 1.55;
}

.privacy-disclosures details[open] {
  border-color: color-mix(in srgb, var(--art-pine) 52%, transparent);
  background: color-mix(in srgb, var(--art-mint) 13%, var(--art-paper));
}

#privacy::before,
#premium::before,
#faq::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 220px;
  border: 1px solid rgba(18, 97, 77, 0.14);
  border-radius: 50%;
  box-shadow:
    0 24px 0 -1px rgba(18, 97, 77, 0.11),
    0 48px 0 -1px rgba(18, 97, 77, 0.08);
  pointer-events: none;
}

html[data-theme="dark"] #privacy::before,
html[data-theme="dark"] #premium::before,
html[data-theme="dark"] #faq::before {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 0 -1px rgba(255, 255, 255, 0.07),
    0 48px 0 -1px rgba(255, 255, 255, 0.045);
}

#privacy::before {
  top: 80px;
  right: -260px;
  transform: rotate(-18deg);
}

#premium::before {
  bottom: 80px;
  left: -280px;
  transform: rotate(16deg);
}

#faq::before {
  right: -270px;
  bottom: 40px;
  transform: rotate(20deg);
}

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

  .intro {
    grid-template-columns: 1fr;
    min-height: 760px;
    padding: 112px 34px 46px;
    background-image:
      linear-gradient(180deg, rgba(248, 246, 240, 0.97) 0%, rgba(248, 246, 240, 0.92) 58%, rgba(248, 246, 240, 0.26) 100%),
      url("../assets/ambient/hero_paper_light.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  html[data-theme="dark"] .intro {
    background-image:
      linear-gradient(180deg, rgba(7, 19, 15, 0.98) 0%, rgba(7, 19, 15, 0.91) 60%, rgba(7, 19, 15, 0.5) 100%),
      url("../assets/ambient/hero_paper_light.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .intro-copy {
    align-self: start;
    max-width: 620px;
    padding-bottom: 270px;
  }

  .intro-guide-rotator {
    right: -16px;
    bottom: 2%;
    width: min(52vw, 410px);
    height: 60%;
  }

  .feature-panel,
  .feature-panel.rev,
  #your-circle .circle-experience {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-panel.rev > :first-child {
    order: 0;
  }

  .feature-visual,
  #your-circle .feature-visual.dark {
    min-height: 470px;
  }
}

@media (max-width: 620px) {
  .intro,
  html[data-theme="dark"] .intro {
    min-height: 700px;
    padding: 92px 20px 28px;
  }

  .intro-copy {
    padding-bottom: 220px;
  }

  .intro h1 {
    font-size: clamp(72px, 24vw, 104px);
  }

  .hero-promise,
  html[data-theme="dark"] .hero-promise {
    font-size: clamp(30px, 9vw, 42px);
  }

  .intro-guide-rotator {
    right: -56px;
    bottom: 2%;
    width: 70vw;
    height: 50%;
  }

  .feature-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .feature-panel,
  .feature-panel.rev {
    padding-top: 24px;
  }

  .feature-visual,
  #your-circle .feature-visual.dark {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .feature-character,
  .feature-character-thinking,
  .feature-character-tutorial,
  .feature-character-family {
    grid-column: 1;
    grid-row: 2;
    height: 300px;
  }

  .feature-visual .demo-card,
  .split.rev .feature-visual .demo-card,
  #your-circle .feature-visual .demo-card {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  #your-circle .feature-visual .feature-character-family {
    grid-column: 1;
    grid-row: 2;
  }

  #your-circle .feature-visual .circle-panels {
    grid-column: 1;
    grid-row: 1;
  }

  .circle-detail-card {
    min-height: 0;
  }

  .privacy-disclosures summary {
    min-height: 64px;
    font-size: 16px;
  }

  /* Keep feature choices reachable while the active mobile panel is read. */
  #how-it-helps .feature-tabs {
    position: sticky;
    top: 70px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
    padding: 4px;
    background: color-mix(in srgb, var(--art-paper) 94%, transparent);
    box-shadow: 0 8px 20px rgba(11, 35, 29, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  #how-it-helps .feature-tabs button {
    min-width: 0;
    min-height: 52px;
    padding: 7px 5px;
    font-size: 13px;
    line-height: 1.15;
    text-wrap: balance;
  }
}

@media (max-width: 900px) {
  .site-header .nav-toggle {
    margin-left: auto;
    flex: 0 0 44px;
  }
}
