/* Page-owned environment guide composition. */
:root {
  --environment-ink: #121016;
  --environment-muted: #5e5865;
  --environment-paper: #fffdfb;
  --environment-lilac: #e9e0fb;
  --environment-cyan: #64d6ef;
  --environment-pink: #fa7da9;
  --environment-purple: #9168f3;
  --environment-line: rgba(18, 16, 22, .18);
  --environment-radius: 28px;
}

html { scroll-behavior: smooth; }
body.environment-page {
  background: var(--environment-paper);
  color: var(--environment-ink);
  font-family: Arial, Helvetica, sans-serif;
}

/* The shared homepage header remains structurally intact, but this helper surface is deliberately opaque. */
.environment-page .helper-header {
  position: relative;
  z-index: 20;
  min-height: 0 !important;
  background: #fff !important;
  color: var(--environment-ink);
  border-bottom: 1px solid var(--environment-line);
}
.environment-page .helper-header__content {
  min-height: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  background-image: none !important;
  overflow: visible !important;
}
.environment-page .helper-header .hero-nav {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1440px);
  min-height: 112px;
  margin: 0 auto;
  padding: 20px 0;
  gap: clamp(20px, 3vw, 52px);
}
.environment-page .helper-header .brand {
  flex: 0 0 auto;
  height: 62px;
  width: 150px;
  border: 1px solid rgba(100, 214, 239, .7);
  border-radius: 18px;
  background: #fff;
  color: var(--environment-pink);
  font-size: 16px;
}
.environment-page .helper-header .nav-panel {
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
}
.environment-page .helper-header .nav-panel a,
.environment-page .helper-header .phone {
  color: var(--environment-ink);
  font-size: 15px;
}
.environment-page .helper-header .phone {
  margin-left: 0;
  padding-left: clamp(16px, 2.2vw, 32px);
  border-left-color: var(--environment-cyan);
}
.environment-page .helper-header .nav-toggle {
  color: var(--environment-ink);
}

.environment-search { position: relative; flex: 0 0 auto; }
.environment-search__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--environment-ink);
  border-radius: 999px;
  background: #fff;
  color: var(--environment-ink);
  cursor: pointer;
  font: 600 15px/1 Arial, Helvetica, sans-serif;
}
.environment-search__trigger:hover,
.environment-search__trigger[aria-expanded="true"] { background: var(--environment-ink); color: #fff; }
.environment-search__icon { font-size: 24px; font-weight: 400; line-height: .7; transform: rotate(-20deg); }
.environment-search__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 30;
  width: min(470px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--environment-ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 10px 12px 0 var(--environment-cyan);
}
.environment-search__panel[hidden] { display: none; }
.environment-search__form { margin: 0; }
.environment-search__label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.environment-search__controls { display: flex; gap: 8px; }
.environment-search__controls input {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--environment-ink);
  border-radius: 10px;
  background: #fbf8ff;
  color: var(--environment-ink);
  font: inherit;
}
.environment-search__controls button { min-height: 44px; padding: 0 13px; border: 1px solid var(--environment-ink); border-radius: 10px; background: var(--environment-purple); color: #fff; cursor: pointer; font: 700 14px/1 Arial, Helvetica, sans-serif; }
.environment-search__controls .environment-search__clear { background: #fff; color: var(--environment-ink); }
.environment-search__controls input:focus-visible,
.environment-search__trigger:focus-visible,
.environment-search__controls button:focus-visible,
.environment-search__result:focus-visible { outline: 3px solid var(--environment-pink); outline-offset: 3px; }
.environment-search__status { margin: 12px 0 0; color: var(--environment-muted); font-size: 14px; line-height: 1.35; }
.environment-search__results { display: grid; gap: 8px; margin-top: 12px; }
.environment-search__result { display: grid; gap: 3px; padding: 10px; border-radius: 10px; background: var(--environment-lilac); color: var(--environment-ink); text-decoration: none; }
.environment-search__result:hover { background: var(--environment-cyan); }
.environment-search__result span { color: var(--environment-muted); font-size: 13px; line-height: 1.3; }
.environment-search__empty { margin: 0; padding: 10px; border-radius: 10px; background: #fff5f7; color: var(--environment-ink); font-size: 14px; }

.environment-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .43fr);
  gap: 0 clamp(30px, 5vw, 96px);
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 84px) 0 clamp(72px, 9vw, 144px);
}
.environment-section { position: relative; min-width: 0; grid-column: 1; padding: clamp(46px, 6vw, 92px) 0; border-top: 1px solid var(--environment-line); }
.environment-section h2 { max-width: 730px; margin: 0 0 28px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(34px, 4.2vw, 70px); font-weight: 700; letter-spacing: -.065em; line-height: .98; }
.environment-section p { margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.38; }
.environment-section__content { min-width: 0; }
.environment-section__marker { position: absolute; top: 50px; left: 0; color: var(--environment-purple); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.environment-eyebrow { margin: 0 0 18px !important; color: var(--environment-purple); font-size: 13px !important; font-weight: 700; letter-spacing: .13em; line-height: 1.3 !important; text-transform: uppercase; }
.environment-section__intro { max-width: 680px; margin-bottom: 34px !important; color: var(--environment-muted); }

.environment-hero {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .74fr);
  gap: clamp(28px, 6vw, 100px);
  min-height: min(670px, 66vw);
  padding: clamp(16px, 2vw, 28px) 0 clamp(68px, 8vw, 120px);
  border-top: 0;
  border-bottom: 1px solid var(--environment-line);
}
.environment-hero__copy { align-self: center; max-width: 750px; padding: 22px 0; }
.environment-hero__title { max-width: 760px; margin: 0 0 32px; font-size: clamp(54px, 7.1vw, 116px); font-weight: 700; letter-spacing: -.08em; line-height: .88; }
.environment-hero__lead { max-width: 640px; margin: 0 0 34px; color: var(--environment-muted); font-size: clamp(18px, 1.45vw, 22px); line-height: 1.35; }
.environment-hero__link,
.checklist-section__link { display: inline-flex; align-items: center; gap: 12px; color: var(--environment-ink); font-size: 17px; font-weight: 700; text-decoration: none; }
.environment-hero__link { padding-bottom: 8px; border-bottom: 2px solid var(--environment-pink); }
.environment-hero__link:hover,
.checklist-section__link:hover { color: var(--environment-purple); }
.environment-hero__media { position: relative; align-self: stretch; min-height: 510px; margin: 0; overflow: hidden; border: 2px solid var(--environment-cyan); border-radius: 45% 45% 22px 22px / 24% 24% 22px 22px; background: var(--environment-lilac); }
.environment-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.environment-hero__media figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 11px 13px; border-radius: 10px; background: rgba(255, 255, 255, .9); font-size: 13px; line-height: 1.25; }
.environment-hero__index { position: absolute; right: 0; bottom: 28px; display: flex; gap: 24px; color: var(--environment-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; }

.play-style { padding-top: clamp(60px, 8vw, 112px); }
.play-style__modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.comparison-card { min-height: 245px; padding: 22px; border: 1px solid var(--environment-ink); border-radius: var(--environment-radius); }
.comparison-card--quick { background: #fff5f7; }
.comparison-card--deep { background: #edfaff; }
.comparison-card--shared { background: var(--environment-lilac); }
.comparison-card__number { display: block; margin-bottom: 34px; color: var(--environment-muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.comparison-card h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.04em; }
.comparison-card p { color: var(--environment-muted); font-size: 16px; line-height: 1.35; }

.catalogue-section { padding-bottom: clamp(54px, 7vw, 104px); }
.catalogue-section__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .62fr); gap: clamp(22px, 4vw, 74px); align-items: start; }
.catalogue-section__essay { display: grid; gap: 20px; max-width: 590px; }
.catalogue-section__essay p { color: var(--environment-muted); }
.catalogue-section__signal { padding: 24px; border-top: 8px solid var(--environment-pink); background: #fff5f7; }
.catalogue-section__signal-label { display: block; margin-bottom: 22px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.catalogue-section__signal ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.catalogue-section__signal li { display: flex; gap: 10px; font-size: 16px; line-height: 1.25; }
.catalogue-section__signal li span { color: var(--environment-purple); }

.interface-section { padding-block: clamp(62px, 8vw, 122px); background: linear-gradient(110deg, transparent 0 18%, rgba(233, 224, 251, .7) 18% 100%); }
.interface-section__split { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 90px); align-items: start; }
.interface-section__statement { padding: 26px 0 0; }
.interface-section__quote-mark { display: block; height: 48px; color: var(--environment-pink); font-size: 88px; line-height: .7; }
.interface-section__statement p { max-width: 350px; font-size: clamp(21px, 2vw, 30px); line-height: 1.12; }
.interface-section__checks { display: grid; gap: 0; }
.interface-check { display: grid; grid-template-columns: 48px 1fr; gap: 17px; padding: 18px 0; border-top: 1px solid var(--environment-line); }
.interface-check:last-child { border-bottom: 1px solid var(--environment-line); }
.interface-check__tag { color: var(--environment-purple); font-size: 13px; font-weight: 700; }
.interface-check h3 { margin: 0 0 5px; font-size: 22px; letter-spacing: -.04em; }
.interface-check p { color: var(--environment-muted); font-size: 16px; line-height: 1.35; }

.device-section__table-wrap { overflow-x: auto; margin-top: 38px; }
.device-section__table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: 15px; }
.device-section__table caption { margin-bottom: 12px; color: var(--environment-purple); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.device-section__table th,
.device-section__table td { padding: 16px 14px; border-top: 1px solid var(--environment-line); vertical-align: top; text-align: left; line-height: 1.35; }
.device-section__table thead th { color: var(--environment-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.device-section__table tbody th { width: 27%; font-size: 16px; }
.device-section__table tbody td { color: var(--environment-muted); }

.first-session-section { padding-bottom: clamp(60px, 8vw, 120px); }
.first-session-section__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--environment-line); }
.session-step { min-height: 200px; padding: 20px 18px 0 0; border-right: 1px solid var(--environment-line); }
.session-step:not(:first-child) { padding-left: 18px; }
.session-step:last-child { border-right: 0; }
.session-step__number { display: block; margin-bottom: 34px; color: var(--environment-pink); font-size: 13px; font-weight: 700; }
.session-step h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.04em; }
.session-step p { color: var(--environment-muted); font-size: 16px; line-height: 1.35; }
.first-session-section__closing { max-width: 640px; margin-top: 38px !important; color: var(--environment-purple); font-size: 22px !important; }

.checklist-section { grid-column: 2; grid-row: 2 / span 5; align-self: start; padding: 0; border-top: 0; }
.checklist-section__inner { position: sticky; top: 26px; padding: clamp(24px, 3vw, 42px); border: 1px solid var(--environment-ink); border-radius: var(--environment-radius); background: var(--environment-ink); color: #fff; box-shadow: 12px 14px 0 var(--environment-cyan); }
.checklist-section .environment-eyebrow { color: var(--environment-cyan); }
.checklist-section h2 { margin-bottom: 18px; font-size: clamp(34px, 3.3vw, 58px); }
.checklist-section__intro { color: rgba(255, 255, 255, .72); font-size: 16px !important; line-height: 1.4 !important; }
.checklist-section__list { display: grid; gap: 0; margin: 30px 0; padding: 0; list-style: none; }
.checklist-section__list li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.checklist-section__list li > span { color: var(--environment-pink); font-size: 12px; font-weight: 700; }
.checklist-section__list strong { display: block; font-size: 15px; line-height: 1.25; }
.checklist-section__list p { margin-top: 5px; color: rgba(255, 255, 255, .64); font-size: 13px; line-height: 1.3; }
.checklist-section__link { color: #fff; font-size: 15px; }
.checklist-section__link:hover { color: var(--environment-cyan); }

/* Footer link conversions retain the shared shell's typography and flow. */
.environment-page .site-footer__topics a { display: block; color: inherit; font-size: inherit; line-height: inherit; text-decoration: none; }
.environment-page .site-footer__topics a:hover,
.environment-page .site-footer__topics a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.environment-page .site-footer__support-nav { margin-top: 12px; }
.environment-page .site-footer__support-nav a,
.environment-page .site-footer__support-nav button { color: inherit; font: inherit; }
.environment-page .site-footer__support-nav a { text-decoration: none; }
.environment-page .site-footer__support-nav a:hover,
.environment-page .site-footer__support-nav a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.environment-pulse { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.consent-settings { max-width: min(440px, calc(100% - 32px)); padding: 0; border: 1px solid var(--environment-ink); border-radius: 20px; color: var(--environment-ink); }
.consent-settings[hidden] { display: none; }
.consent-settings::backdrop { background: rgba(18, 16, 22, .42); }
.consent-settings__form { display: grid; gap: 16px; padding: 28px; }
.consent-settings__form h2 { margin: 0; font-size: 28px; letter-spacing: -.05em; }
.consent-settings__form p { margin: 0; color: var(--environment-muted); line-height: 1.4; }
.consent-settings__choice { display: flex; gap: 9px; align-items: center; font-weight: 700; }
.consent-settings__actions { display: flex; justify-content: flex-end; gap: 10px; }
.consent-settings__actions button { min-height: 42px; padding: 8px 14px; border: 1px solid var(--environment-ink); border-radius: 999px; background: #fff; color: var(--environment-ink); cursor: pointer; font: inherit; }
.consent-settings__actions button[type="submit"] { background: var(--environment-purple); color: #fff; }

@media (max-width: 1160px) {
  .environment-page .helper-header .hero-nav { gap: 18px; }
  .environment-page .helper-header .nav-panel { gap: 16px; }
  .environment-page .helper-header .nav-panel a,
  .environment-page .helper-header .phone { font-size: 13px; }
  .environment-main { grid-template-columns: minmax(0, 1fr) minmax(270px, .4fr); gap: 0 38px; }
  .environment-section__marker { left: 0; }
}

@media (max-width: 800px) {
  .environment-page .helper-header .hero-nav { width: min(100% - 40px, 640px); min-height: 88px; }
  .environment-page .helper-header .brand { height: 56px; width: 140px; }
  .environment-page .helper-header .nav-toggle { display: block; }
  .environment-page .helper-header .nav-panel { order: 5; }
  .environment-page .helper-header .phone { order: 4; border-left: 0; padding-left: 0; }
  .environment-search { order: 3; margin-left: auto; }
  .environment-search__panel { right: -10px; }
  .environment-main { display: block; width: min(100% - 40px, 680px); padding-top: 26px; }
  .environment-section { padding-block: 58px; }
  .environment-section__marker { position: static; margin-bottom: 20px; }
  .environment-hero { display: flex; flex-direction: column; min-height: 0; gap: 38px; padding-top: 12px; }
  .environment-hero__title { font-size: clamp(52px, 13vw, 90px); }
  .environment-hero__media { min-height: 420px; max-height: 620px; }
  .environment-hero__index { position: static; order: 3; }
  .play-style__modules,
  .catalogue-section__layout,
  .interface-section__split,
  .first-session-section__steps { grid-template-columns: 1fr; }
  .comparison-card { min-height: 0; }
  .catalogue-section__signal { margin-top: 10px; }
  .interface-section { background: linear-gradient(140deg, transparent 0 8%, rgba(233, 224, 251, .7) 8% 100%); }
  .interface-section__statement p { max-width: 520px; }
  .session-step,
  .session-step:not(:first-child) { min-height: 0; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--environment-line); }
  .session-step:last-child { border-bottom: 0; }
  .session-step__number { margin-bottom: 14px; }
  .checklist-section { padding: 0; }
  .checklist-section__inner { position: relative; top: auto; box-shadow: 8px 10px 0 var(--environment-cyan); }
}

@media (max-width: 600px) {
  .environment-page .helper-header .hero-nav { width: calc(100% - 32px); padding: 16px 0; }
  .environment-page .helper-header .phone { flex-basis: 100%; }
  .environment-search__trigger { min-height: 42px; padding-inline: 12px; }
  .environment-search__trigger > span:last-child { display: none; }
  .environment-search__panel { position: fixed; top: 82px; right: 16px; left: 16px; width: auto; }
  .environment-hero__media { min-height: 360px; }
  .environment-section h2 { font-size: clamp(38px, 11vw, 60px); }
  .environment-section__intro { font-size: 17px !important; }
  .device-section__table-wrap { margin-right: 0; overflow: visible; }
  .device-section__table { display: block; width: 100%; min-width: 0; }
  .device-section__table caption,
  .device-section__table tbody,
  .device-section__table tr,
  .device-section__table th,
  .device-section__table td { display: block; width: auto; }
  .device-section__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .device-section__table tr { padding: 16px 0; border-top: 1px solid var(--environment-line); }
  .device-section__table tbody th,
  .device-section__table tbody td { padding: 0; border: 0; }
  .device-section__table tbody th { margin-bottom: 6px; }
  .device-section__table tbody td { color: var(--environment-muted); }
  .checklist-section__inner { padding: 24px 20px; }
  .consent-settings__form { padding: 22px; }
  .consent-settings__actions { justify-content: stretch; }
  .consent-settings__actions button { flex: 1 1 0; }
}
