:root {
  --ink: #243538;
  --soft: #3e5558;
  --muted: #5e7376;
  --line: #ddd4c8;
  --paper: #243c38;
  --cream: #fffaf4;
  --teal: #3d7a72;
  --deep: #1e3c38;
  --mint: #dceae4;
  --coral: #c97d6d;
  --gold: #c4a574;
  --sage: #5e8a7e;
  --peach: #edcfc4;
  --sand: #e8d9b8;
  --lilac: #ddd4e8;
  --sky: #c9ddd9;
  --font: "Sora", system-ui, sans-serif;
  --display: "Syne", "Sora", sans-serif;
  --shadow: 0 22px 50px rgba(8, 22, 20, .28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(61, 122, 114, .18);
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  min-width: 0;
  overflow-wrap: break-word;
  touch-action: manipulation;
}
.glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(820px 460px at 6% -12%, rgba(94, 138, 126, .28) 0%, transparent 58%),
    radial-gradient(700px 400px at 96% 4%, rgba(201, 125, 109, .2) 0%, transparent 55%),
    radial-gradient(520px 320px at 50% 28%, rgba(196, 165, 116, .16) 0%, transparent 60%),
    linear-gradient(#243c38, #1e3532);
  animation: glowDrift 22s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  from { filter: saturate(1) hue-rotate(0deg); }
  to { filter: saturate(1.18) hue-rotate(14deg); }
}
.blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blobs i {
  position: absolute; border-radius: 50%; filter: blur(48px); opacity: .22;
  animation: blob 16s ease-in-out infinite;
}
.blobs .b1 { width: 360px; height: 360px; background: #3d7a72; top: 8%; left: -90px; }
.blobs .b2 { width: 300px; height: 300px; background: #c97d6d; top: 48%; right: -80px; animation-delay: -5s; }
.blobs .b3 { width: 240px; height: 240px; background: #c4a574; bottom: 6%; left: 38%; animation-delay: -9s; }
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -24px) scale(1.12); }
}
.nav, main, .foot { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px;
  border-radius: 999px; padding: 10px 16px; transition: .18s transform, .18s background, .18s box-shadow;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #f7fbf9; box-shadow: 0 10px 22px rgba(61,122,114,.26); position: relative; overflow: hidden; }
.hero .btn-primary::after, .preview .btn-light::after, .cta-row .btn-primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.26) 50%, transparent 65%);
  transform: translateX(-140%);
  animation: btnShine 4.2s ease-in-out infinite;
}
@keyframes btnShine {
  0%, 58% { transform: translateX(-140%); }
  78% { transform: translateX(140%); }
  100% { transform: translateX(140%); }
}
.btn-primary:hover { background: var(--deep); }
.btn-ghost { background: var(--cream); border: 1px solid var(--line); color: var(--ink); }
.btn-light { background: var(--cream); color: var(--deep); }
.btn-lg { padding: 13px 20px; font-size: 15px; }

.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 10px;
}
.eyebrow.light { color: #d7ebe4; }

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 28px;
  background: #1e302e;
  border-bottom: 1px solid rgba(244, 240, 232, .12);
  min-width: 0;
  color: #eaf4f0;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark {
  width: 40px; height: 40px; border-radius: 12px; background: #3d7a72;
  color: #e8f7f5; display: grid; place-items: center;
  animation: markPulse 3.8s ease-in-out infinite;
}
@keyframes markPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(61,122,114,0); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(61,122,114,.18); }
}
.mark svg { width: 22px; height: 22px; }
.brand strong { display: block; font-size: 15px; color: #f4f0e8; }
.brand small { color: #a8c4be; font-size: 11px; }
.links { display: flex; align-items: center; gap: 16px; }
.links a { font-size: 13px; color: #c5d9d4; font-weight: 500; white-space: nowrap; }
.links a:hover, .links a[aria-current="page"] { color: #f4f0e8; }
.links a[aria-current="page"] { font-weight: 700; }
.more { position: relative; }
.more-btn {
  font: inherit; font-size: 13px; font-weight: 500; color: #c5d9d4;
  background: none; border: 0; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.more-btn::after { content: "▾"; font-size: 10px; opacity: .7; }
.more-btn:hover, .more.open .more-btn, .more.current .more-btn { color: #f4f0e8; }
.more-panel {
  display: none; position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%); min-width: 228px;
  background: #fffaf4; border: 1px solid #cfc6ba; border-radius: 14px;
  padding: 8px; box-shadow: 0 18px 40px rgba(8, 22, 20, .4); z-index: 40;
  isolation: isolate;
}
.more.open .more-panel { display: grid; }
@media (hover: hover) and (min-width: 1081px) {
  .more:hover .more-panel { display: grid; }
}
.nav .links .more-panel a,
.nav .links .more-panel a:visited {
  display: block; padding: 10px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 700; line-height: 1.4;
  color: #12211f; white-space: normal;
}
.nav .links .more-panel a:hover,
.nav .links .more-panel a:focus-visible,
.nav .links .more-panel a[aria-current="page"] {
  background: #dceae4; color: #12211f;
}
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.menu {
  display: none; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--cream); cursor: pointer; font-size: 18px;
}

.hero {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  padding: 52px max(28px, calc(50% - 562px)) 28px;
  position: relative;
  min-height: 620px;
  min-width: 0;
}
.hero > * { min-width: 0; }
.hero-photo {
  position: absolute; inset: 0;
  z-index: -1; overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ken 24s ease-in-out infinite alternate;
  filter: saturate(.8) contrast(.92);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 53, 50, .82) 0%, rgba(30, 53, 50, .5) 46%, rgba(30, 53, 50, .28) 100%),
    linear-gradient(180deg, rgba(30, 53, 50, .08) 50%, #243c38 100%);
}
@keyframes ken {
  from { transform: scale(1.04); }
  to { transform: scale(1.14); }
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; color: #f4f0e8; }
.lead { color: var(--soft); font-size: 17px; max-width: 48ch; margin-bottom: 22px; }
.hero .lead { color: #d7ebe4; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span {
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--deep);
}
.pill-sage { background: var(--mint); }
.pill-peach { background: var(--peach); }
.pill-sand { background: var(--sand); }

.stage { perspective: 1200px; --tilt: rotateY(-9deg) rotateX(5deg); }
.window {
  background: var(--cream); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden;
  transform: var(--tilt);
  transition: transform .18s ease;
}
.wbar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: linear-gradient(90deg, #e7f0ec, #f6eadf);
  border-bottom: 1px solid var(--line);
}
.wbar i { width: 8px; height: 8px; border-radius: 50%; background: #d5c9ba; }
.wbar i:first-child { background: var(--coral); }
.wbar i:nth-child(2) { background: var(--gold); }
.wbar i:nth-child(3) { background: var(--sage); }
.wbar em { margin-left: 8px; font-style: normal; font-size: 11px; color: var(--muted); }
.wbar em::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #3d7a72; margin-right: 7px; vertical-align: 0;
  box-shadow: 0 0 0 0 rgba(61,122,114,.5);
  animation: pulse 1.6s ease-out infinite;
}
.wbody nav span { transition: background .35s ease, color .35s ease; }
.live-swap { transition: opacity .28s ease, transform .28s ease; }
.live-swap.out { opacity: 0; transform: translateY(5px); }
.q div { transition: background .45s ease, border-color .45s ease, transform .45s ease; }
.q .hot { transform: translateX(3px); }
.wbody { display: grid; grid-template-columns: 132px 1fr; min-height: 280px; }
.wbody aside { padding: 14px 12px; border-right: 1px solid var(--line); background: #e7f0ec; }
.wbody aside b { display: block; font-size: 13px; }
.wbody aside small { color: var(--muted); font-size: 10px; }
.wbody nav { display: grid; gap: 6px; margin-top: 14px; }
.wbody nav span { font-size: 11px; padding: 6px 8px; border-radius: 8px; color: var(--soft); }
.wbody nav .on { background: var(--teal); color: #f7fbf9; }
.wmain { padding: 14px; background: #fffaf4; }
.live-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.live-cards div { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #f3ebe0; }
.live-cards .accent { background: linear-gradient(180deg, #dceae4, #fffaf4); }
.live-cards small { color: var(--teal); font-size: 10px; font-weight: 700; }
.live-cards strong { display: block; font-size: 22px; }
.live-cards p { font-size: 11px; color: var(--muted); }
.q { margin-top: 10px; display: grid; gap: 6px; }
.q div {
  font-size: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; color: var(--soft); background: #fffaf4;
}
.q .hot { background: var(--mint); border-color: #b7cfc6; display: flex; align-items: center; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #3d7a72; margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(61,122,114,.55);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(61,122,114,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,122,114,0); }
}
.q b { background: var(--deep); color: #f7fbf9; font-size: 10px; padding: 2px 6px; border-radius: 6px; margin-right: 6px; }

.section { max-width: 1180px; margin: 0 auto; padding: 64px 28px; scroll-margin-top: 72px; min-width: 0; }
.wash {
  max-width: none;
  width: 100%;
  padding-left: max(28px, calc(50% - 562px));
  padding-right: max(28px, calc(50% - 562px));
}
.wash-sage { background: linear-gradient(165deg, #2f4a44 0%, #243c38 100%); }
.wash-sand { background: linear-gradient(165deg, #4a422e 0%, #332e22 100%); }
.wash-lilac { background: linear-gradient(165deg, #3a3448 0%, #2a2636 100%); }
.wash-peach { background: linear-gradient(165deg, #4a3530 0%, #3a2a26 100%); }
.wash-mint { background: linear-gradient(165deg, #2a4844 0%, #1e3834 100%); }
.wash-desk { background: linear-gradient(165deg, #2f4f4a 0%, #243c38 58%, #1e3532 100%); }
.wash h1, .wash h2, .wash .head h1, .wash .head h2 { color: #f4f0e8; }
.wash .head-lead, .wash .lead, .wash .floor-hint, .wash .agent-link, .wash .gem {
  color: #d4e4de;
}
.wash .eyebrow { color: #b7d4cc; }
.wash-peach .eyebrow, .wash-peach .head-lead, .wash-peach .lead { color: #ead6ce; }
.wash-peach .eyebrow { color: #e0b8aa; }
.wash-sand .eyebrow { color: #d4c090; }
.wash-sand .head-lead { color: #e4d8b8; }
.wash-lilac .eyebrow { color: #c8bce0; }
.wash-lilac .head-lead { color: #d8d0e4; }
.head { max-width: 640px; margin-bottom: 28px; }
.head h1, .head h2 { font-size: clamp(26px, 3.5vw, 40px); color: var(--deep); }
.head.light h1, .head.light h2 { color: #f4f0e8; }
.head-lead { color: var(--soft); margin-top: 10px; font-size: 16px; max-width: 48ch; }

.cards-3, .mod-grid, .pain-grid, .role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain-grid { grid-template-columns: repeat(4, 1fr); }
.card, .mod, .role-card, .pain-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  scroll-margin-top: 80px;
}
.tint-sage { background: #e7f0ec; }
.tint-peach { background: #f6e6de; }
.tint-sand { background: #f3ead4; }
.tint-lilac { background: #ebe6f3; }
.tint-sky { background: #dceae6; }
.lift { transition: .2s transform, .2s box-shadow; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.idx { font-family: var(--display); color: var(--coral); font-weight: 800; font-size: 20px; }
.card h3, .mod h3 { margin: 8px 0; font-size: 22px; }
.card > p { color: var(--soft); font-size: 14px; }
a.card { color: inherit; text-decoration: none; display: grid; align-content: start; }
.card-tap {
  font: inherit; color: inherit; text-align: left; width: 100%;
  cursor: pointer; display: grid; align-content: start;
  appearance: none; -webkit-appearance: none;
}
.card-tap:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.plan-chip {
  display: inline-block; width: fit-content;
  margin: 0 0 8px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--cream); color: var(--teal); border: 1px solid #b7cfc6;
}
.tint-peach .plan-chip { background: #fffaf4; color: #9a5b4a; border-color: #e4c4b8; }
.tint-sand .plan-chip { background: #fffaf4; color: #7a6230; border-color: #d8c9a0; }
.tap-hint {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--teal);
}
.tap-hint::after { content: "→"; font-size: 14px; }

.flow-sheet {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(30, 60, 56, .46);
  display: grid; place-items: end center;
  padding: 16px;
}
.flow-sheet-panel {
  width: min(720px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px 22px 16px 16px;
  padding: 22px 22px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.flow-close {
  position: sticky; top: 0; float: right;
  font: inherit; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--ink);
}
.flow-close:hover { background: var(--mint); }
.flow-kicker {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 8px;
}
.flow-sheet-panel h2 { font-size: clamp(22px, 3vw, 30px); color: var(--deep); margin: 0 48px 10px 0; }
.flow-lead { color: var(--soft); font-size: 15px; margin-bottom: 18px; max-width: 56ch; }
.flow-steps { list-style: none; display: grid; gap: 10px; }
.flow-steps li {
  background: #fffaf4; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px 14px 52px; position: relative;
}
.flow-steps li::before {
  content: attr(data-n);
  position: absolute; left: 14px; top: 14px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #f7fbf9;
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.flow-steps strong { display: block; margin-bottom: 4px; font-size: 15px; }
.flow-steps p { font-size: 13px; color: var(--soft); }
.flow-out {
  margin-top: 16px; padding: 16px; border-radius: 16px;
  background: #e7f0ec; border: 1px solid #c5d9d4;
}
.flow-out strong { display: block; margin-bottom: 6px; color: var(--deep); }
.flow-out p { font-size: 14px; color: var(--soft); }
.flow-includes {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0 0 16px; padding: 12px 14px; border-radius: 14px;
  background: #e7f0ec; border: 1px solid #c5d9d4; font-size: 13px; color: var(--ink);
}
.flow-includes span {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 12px;
}
.flow-includes em { font-style: normal; color: var(--soft); margin-right: 4px; }
.flow-includes .plus { color: var(--teal); font-weight: 800; padding: 0 2px; background: none; border: 0; }
.flow-block { margin-bottom: 6px; }
.flow-block h3 {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage); margin: 12px 0 8px;
}
.card-pic {
  width: 100%; height: 132px; object-fit: cover; border-radius: 12px;
  margin-bottom: 12px; display: block;
}

.ticker {
  max-width: 1180px; width: calc(100% - 32px); margin: 8px auto 18px; overflow: hidden;
  border-radius: 999px; background: var(--deep); color: #eaf4f0;
}
.ticker-track {
  display: flex; gap: 28px; width: max-content;
  padding: 12px 0; animation: marquee 22s linear infinite;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.ticker-track span { padding: 0 6px; opacity: .9; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.life {
  max-width: 1180px; margin: 0 auto 10px; padding: 10px 28px 30px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.shot {
  margin: 0; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--cream);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform 5.2s ease; }
.shot:hover img { transform: scale(1.08); }
.shot figcaption {
  padding: 10px 12px 12px; font-size: 12px; font-weight: 700; color: var(--deep);
}
.float-a { animation: bob 6s ease-in-out infinite; }
.float-b { animation: bob 7s ease-in-out infinite .4s; }
.float-c { animation: bob 5.5s ease-in-out infinite .8s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mod {
  background: var(--cream); border-top: 5px solid var(--teal);
  padding: 22px 22px 20px; display: grid; align-content: start; gap: 6px;
  transition: .22s transform, .22s box-shadow;
}
.mod:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mod:nth-child(2) { border-top-color: var(--coral); background: #faf3ee; }
.mod:nth-child(3) { border-top-color: var(--gold); background: #f7f1e4; }
.mod:nth-child(4) { border-top-color: #6b8aa3; background: #eef2f6; }
.mod:nth-child(5) { border-top-color: #6a9a7c; background: #eaf3ec; }
.mod:nth-child(6) { border-top-color: #8b7aa8; background: #f1ecf6; }
.mod-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,250,244,.7); color: var(--deep); margin-bottom: 8px;
}
.mod-ico svg { width: 28px; height: 28px; }
.mod p { color: var(--soft); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span {
  font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  background: rgba(255,250,244,.85); color: var(--deep); border: 1px solid var(--line);
}

.pain-card {
  padding: 20px 18px; min-height: 210px;
  transition: .22s transform, .22s box-shadow;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pain-card:nth-child(1) { background: #f6e6de; }
.pain-card:nth-child(2) { background: #f3ead4; }
.pain-card:nth-child(3) { background: #ebe6f3; }
.pain-card:nth-child(4) { background: #e7f0ec; }
.pain-pic {
  width: 100%; height: 92px; object-fit: cover; border-radius: 12px;
  margin-bottom: 12px; display: block; background: rgba(255,250,244,.7);
}
.pain-card h3 { font-size: 18px; margin: 0 0 8px; }
.pain-card p { color: var(--soft); font-size: 14px; }

.compare-wrap { padding-top: 48px; }
.vs-page { padding-top: 28px; padding-bottom: 40px; }
.vs-board {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch;
  position: relative;
}
.vs-col {
  border-radius: 24px; padding: 28px 26px; border: 1px solid var(--line);
  display: grid; align-content: start; gap: 4px;
}
.vs-col header { margin-bottom: 14px; }
.vs-kicker {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 6px;
}
.vs-col h3 { font-size: 26px; }
.vs-col ul { list-style: none; display: grid; gap: 10px; margin: 8px 0 16px; }
.vs-col li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: var(--soft); line-height: 1.4;
}
.vs-col.manual {
  background:
    linear-gradient(180deg, rgba(243,216,207,.55), transparent 40%),
    #f7ebe6;
  transform: rotate(-.4deg);
}
.vs-col.manual .vs-kicker { color: var(--coral); }
.vs-col.db {
  background:
    linear-gradient(180deg, rgba(213,232,223,.7), transparent 42%),
    #e7f0ec;
  box-shadow: var(--shadow);
  transform: rotate(.4deg) scale(1.02);
}
.vs-col.db .vs-kicker { color: var(--teal); }
.mark-x, .mark-ok {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 1px;
}
.mark-x { background: #e8c4ba; color: #7a3d32; }
.mark-ok { background: var(--teal); color: #f7fbf9; }
.vs-foot { font-size: 13px; font-weight: 700; color: var(--deep); }
.vs {
  align-self: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--deep); color: #f4f0e8; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(30, 60, 56, .28);
  z-index: 2;
  animation: vsPulse 2.4s ease-out infinite;
}
.vs span { font-family: var(--display); }
@keyframes vsPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(30, 60, 56, .28), 0 0 0 0 rgba(61,122,114,.35); }
  70% { box-shadow: 0 12px 28px rgba(30, 60, 56, .28), 0 0 0 12px rgba(61,122,114,0); }
}

.who {
  color: var(--coral); font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.role-grid { align-items: stretch; }
.role-card {
  padding: 0; overflow: hidden; display: grid;
  transition: .22s transform, .22s box-shadow;
  background: var(--cream);
}
.role-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.role-media {
  position: relative; height: 148px; overflow: hidden;
}
.role-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.85) contrast(.95);
}
.role-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(36,53,56,.35));
}
.role-media .who {
  position: absolute; left: 14px; bottom: 12px; z-index: 1;
  background: var(--cream); color: var(--coral); padding: 5px 10px; border-radius: 999px;
}
.role-card > h3, .role-card > p { padding-left: 20px; padding-right: 20px; }
.role-card h3 { margin: 16px 0 6px; font-size: 22px; }
.role-card p { color: var(--soft); font-size: 14px; }
.role-list {
  list-style: none; display: grid; gap: 6px;
  margin: 12px 20px 0; padding: 0; color: var(--soft); font-size: 13px;
}
.role-list li { padding-left: 18px; position: relative; }
.role-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; font-size: 12px;
}
.role-desk {
  margin: 16px 16px 16px; border-radius: 14px; padding: 12px 14px;
  background: #f3ebe0; border: 1px solid var(--line);
  display: grid; gap: 2px;
}
.role-desk small { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.role-desk strong { font-size: 14px; }
.role-desk em { font-style: normal; font-size: 12px; color: var(--muted); }
.role-card.featured {
  background: linear-gradient(180deg, #fffaf4 0%, #fffaf4 42%, #e7f0ec 100%);
  border-color: #b7cfc6;
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow);
}
.role-card.featured .role-media .who {
  background: var(--teal); color: #f7fbf9;
}
.role-card.featured .role-desk {
  background: linear-gradient(180deg, #dceae4, #fffaf4);
}
.role-card.featured:hover { transform: translateY(-10px) scale(1.02); }

.preview {
  max-width: 1124px; margin: 10px auto 20px; padding: 40px;
  background: linear-gradient(145deg, #2a4f4a, #3d6b62);
  color: #eaf4f0; border-radius: 28px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center;
}
.preview h1, .preview h2 { color: #f4f0e8; font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; }
.preview p { color: #d7ebe4; margin-bottom: 18px; }
.preview .btn-ghost {
  background: transparent; border-color: rgba(244, 240, 232, .4); color: #f4f0e8;
}
.preview .btn-ghost:hover { background: rgba(244, 240, 232, .12); }
.preview-list { list-style: none; display: grid; gap: 10px; }
.preview-list li {
  background: rgba(244, 240, 232, .12); border: 1px solid rgba(244, 240, 232, .18);
  border-radius: 12px; padding: 12px 14px;
}

.walk {
  margin: 10px 28px 20px; padding: 40px 28px;
  background: linear-gradient(160deg, #2c4650, #243c38);
  color: #e8efe9; border-radius: 28px;
  position: relative; overflow: hidden;
}
.walk-photo {
  position: absolute; inset: 0; z-index: 0;
}
.walk-photo img {
  width: 100%; height: 100%; object-fit: cover; opacity: .28;
  filter: saturate(.7);
  animation: ken 20s ease-in-out infinite alternate;
}
.walk .head, .walk .path { position: relative; z-index: 1; }
.path {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-width: 1124px; margin: 0 auto;
}
.path li {
  background: rgba(244, 240, 232, .1); border: 1px solid rgba(244, 240, 232, .16);
  border-radius: 16px; padding: 20px;
}
.path li:nth-child(1) { background: rgba(237, 207, 196, .18); }
.path li:nth-child(2) { background: rgba(232, 217, 184, .18); }
.path li:nth-child(3) { background: rgba(197, 221, 217, .18); }
.path b { display: block; color: #edcfc4; font-size: 22px; font-family: var(--display); margin-bottom: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.split h1 { font-size: clamp(26px, 3.5vw, 40px); color: var(--deep); margin-bottom: 10px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.ba-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.ba-card small { font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.ba-card strong { display: block; margin: 6px 0 4px; font-size: 16px; }
.ba-card p { color: var(--soft); font-size: 14px; }
.ba-card.before { background: #f6e6de; }
.ba-card.before small { color: var(--coral); }
.ba-card.after { background: #e7f0ec; }
.ba-card.after small { color: var(--teal); }
.gem { color: var(--soft); font-size: 14px; }
.faq details {
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px;
}
.faq details:nth-child(odd) { background: #ebe6f3; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--soft); font-size: 14px; margin-top: 8px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact h1 { font-size: clamp(26px, 3.5vw, 40px); color: var(--deep); margin-bottom: 10px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-actions .btn {
  font-size: 13px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center;
}
.form {
  background: var(--cream); border: 1px solid var(--line); border-radius: 22px;
  padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow);
}
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.form input, .form textarea {
  font: inherit; font-size: 16px; font-weight: 400; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #f3ebe0; width: 100%; max-width: 100%;
}
.form textarea { resize: vertical; min-height: 72px; }
.form input:focus, .form textarea:focus { outline: 2px solid #c5d9d6; border-color: var(--teal); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ok { color: var(--teal); font-size: 13px; }

.foot {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 28px;
  padding: 28px 28px 36px; border-top: 1px solid rgba(244, 240, 232, .12);
  background: #1e3532; color: #a8c4be; font-size: 13px;
}
.foot strong { color: #f4f0e8; display: block; }
.foot-brand span { display: block; margin-top: 6px; max-width: 36ch; }
.foot-cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.foot-cols > div { display: grid; gap: 8px; align-content: start; }
.foot-cols strong {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: #9fc4b8; margin-bottom: 2px;
}
.foot-cols a { overflow-wrap: anywhere; }
.foot-cols a:hover { color: #f4f0e8; }

.reveal { animation: up .6s ease both; }
@keyframes up { from { opacity: .88; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.js-motion .reveal {
  animation: none;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--d, 0s);
}
html.js-motion .reveal.in { opacity: 1; transform: none; }
.pop {
  animation: cardIn .55s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero .pills span { animation: pillBob 3.6s ease-in-out infinite; }
.hero .pills span:nth-child(2) { animation-delay: .45s; }
.hero .pills span:nth-child(3) { animation-delay: .9s; }
@keyframes pillBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.has-bg { position: relative; overflow: hidden; }
.sec-photo { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sec-photo img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .28;
  filter: saturate(.7) brightness(.32) contrast(1.05);
}
.has-bg > *:not(.sec-photo) { position: relative; z-index: 1; }

.floor-tabs, .choice {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.tab-btn, .choice-btn {
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  border-radius: 999px; padding: 8px 14px; border: 1px solid var(--line);
  background: var(--cream); color: var(--ink);
  transition: .18s background, .18s color, .18s transform;
}
.tab-btn:hover, .choice-btn:hover { transform: translateY(-1px); }
.tab-btn.on, .choice-btn.on { background: var(--teal); color: #f7fbf9; border-color: var(--teal); }
.choice.wrap .choice-btn { font-weight: 600; }
.floor-hint, .agent-link { color: var(--soft); font-size: 14px; margin: -6px 0 16px; min-height: 1.4em; }
.floor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.floor-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 0 0 14px; overflow: hidden;
  transition: .2s transform, .2s box-shadow, .2s border-color, .2s background;
}
button.floor-card {
  font: inherit; color: inherit; text-align: left; width: 100%;
  cursor: pointer; appearance: none; -webkit-appearance: none; display: grid;
}
button.floor-card:hover, button.floor-card:focus-visible {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal);
}
button.floor-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.floor-media { position: relative; height: 112px; }
.floor-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.floor-card h3 { font-size: 16px; margin: 12px 14px 6px; }
.floor-card p { font-size: 13px; color: var(--soft); padding: 0 14px; }
.floor-card .tap-hint { margin: 10px 14px 0; }
.floor-card.lit {
  border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-4px);
  outline: 2px solid rgba(61,122,114,.35);
}

.agent-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.agent-card {
  text-align: left; font: inherit; cursor: pointer;
  border: 1px solid var(--line); border-radius: 18px; padding: 0 0 16px;
  background: var(--cream); color: inherit; overflow: hidden;
  transition: .2s transform, .2s box-shadow, .2s background;
}
.agent-media { position: relative; display: block; height: 108px; }
.agent-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-card strong { display: block; font-size: 15px; margin: 12px 14px 6px; }
.agent-card p { font-size: 13px; color: var(--soft); padding: 0 14px; }
.agent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.agent-card .tap-hint { margin: 10px 14px 0; }
.agent-card.on {
  background: linear-gradient(160deg, #3d7a72, #2f524c); color: #f4f0e8;
  border-color: #3d7a72; transform: translateY(-6px); box-shadow: var(--shadow);
}
.agent-card.on p { color: #d7ebe4; }

.roll-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.roll-card {
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  appearance: none; -webkit-appearance: none; width: 100%;
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; display: grid; gap: 4px;
  transition: .2s transform, .2s box-shadow, .2s border-color;
}
.roll-card:hover, .roll-card:focus-visible {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal);
}
.roll-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.roll-card small {
  font-family: var(--display); color: var(--coral); font-weight: 800; font-size: 14px;
}
.roll-card strong { font-size: 15px; }
.roll-card p { font-size: 13px; color: var(--soft); margin: 0; }

.id-chain {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.id-chain li {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 16px;
}
.id-chain li:nth-child(1) { background: #e7f0ec; }
.id-chain li:nth-child(2) { background: #f6e6de; }
.id-chain li:nth-child(3) { background: #f3ead4; }
.id-chain li:nth-child(4) { background: #ebe6f3; }
.id-chain li:nth-child(5) { background: #dceae6; }
.id-chain small { font-family: var(--display); color: var(--coral); font-weight: 800; font-size: 18px; }
.id-chain strong { display: block; margin: 8px 0 6px; font-size: 16px; }
.id-chain p { font-size: 13px; color: var(--soft); }

.code-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.code-card {
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  appearance: none; -webkit-appearance: none; width: 100%;
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 20px;
  transition: .2s transform, .2s box-shadow, .2s border-color;
}
.code-card:hover, .code-card:focus-visible {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal);
}
.code-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.code-card > img {
  width: 100%; height: 88px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; display: block;
}
.code-card span {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
}
.code-card h3 { margin: 8px 0; font-size: 18px; }
.code-card p { font-size: 13px; color: var(--soft); }
.code-card:nth-child(1) { background: #e7f0ec; }
.code-card:nth-child(2) { background: #f6e6de; }
.code-card:nth-child(3) { background: #f3ead4; }
.code-card:nth-child(4) { background: #ebe6f3; }

.share-band {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 22px; align-items: center;
  background: linear-gradient(145deg, #2a4f4a, #3d6b62); color: #eaf4f0;
  border-radius: 24px; padding: 28px;
}
.share-band h3 { font-size: 24px; margin-bottom: 8px; color: #f4f0e8; }
.share-band p { color: #d7ebe4; }
.share-band ul { list-style: none; display: grid; gap: 8px; }
.share-band li {
  background: rgba(244, 240, 232, .12); border: 1px solid rgba(244, 240, 232, .18);
  border-radius: 12px; padding: 10px 12px;
}

[hidden] { display: none !important; }
.wiz-bar {
  height: 6px; border-radius: 99px; background: #f3ebe0; overflow: hidden;
}
.wiz-bar i {
  display: block; height: 100%; width: 25%; background: var(--teal);
  transition: width .25s ease;
}
.wiz-step { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.wiz-pane { border: 0; min-width: 0; padding: 0; margin: 0; }
.wiz-pane legend { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.wiz-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-preview {
  font-size: 13px; color: var(--teal); background: #e7f0ec;
  border-radius: 12px; padding: 10px 12px;
}

.page-next {
  max-width: 1180px; margin: 8px auto 48px; padding: 0 28px 8px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-weight: 700; font-size: 14px;
}
.page-next a { color: #9ec4b8; }
.page-next a:hover { color: #f4f0e8; }

.home-stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}
.home-stats article, .home-stats .stat-tap {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 18px;
}
.home-stats .stat-tap {
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  display: grid; align-content: start; width: 100%;
  transition: .2s transform, .2s box-shadow, .2s border-color;
}
.home-stats .stat-tap:hover, .home-stats .stat-tap:focus-visible {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal);
}
.home-stats .stat-tap:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.home-stats .stat-tap .tap-hint { font-style: normal; }
.home-stats strong {
  display: block; font-family: var(--display); font-size: clamp(28px, 4vw, 40px);
  color: var(--deep); line-height: 1; margin-bottom: 6px;
}
.home-stats span { color: var(--soft); font-size: 14px; }

.desk-peek {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
  perspective: 1400px;
}
.desk-copy h2 { font-size: clamp(26px, 3.4vw, 40px); color: #f4f0e8; margin-bottom: 10px; }
.desk-copy .head-lead { margin-top: 0; margin-bottom: 18px; color: #d7ebe4; }
.wash-desk .btn-ghost {
  background: transparent;
  border-color: rgba(244, 240, 232, .4);
  color: #f4f0e8;
}
.wash-desk .btn-ghost:hover { background: rgba(244, 240, 232, .12); }
.desk-frame {
  background: var(--cream);
  border: 1px solid rgba(244, 240, 232, .18);
  border-radius: 20px;
  box-shadow: 0 28px 60px rgba(8, 22, 20, .38);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(4deg);
  transform-origin: left center;
  transition: transform .18s ease;
}
.desk-frame:hover { transform: rotateY(-3deg) rotateX(2deg) translateY(-4px); }
.desk-screen {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  background: #f3f7f8;
  aspect-ratio: 1440 / 820;
}
.desk-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.desk-screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 820px;
  border: 0;
  pointer-events: none;
  transform-origin: top left;
  transform: scale(calc(100cqw / 1440));
  background: #f3f7f8;
}
.desk-hit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  text-decoration: none;
  background: linear-gradient(180deg, transparent 58%, rgba(12, 31, 40, .42));
}
.desk-hit span {
  background: var(--cream);
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(12, 31, 40, .18);
}
.desk-frame:hover .desk-hit span,
.desk-hit:focus-visible span {
  background: var(--teal);
  color: #f7fbf9;
}
.desk-hit:focus-visible { outline: 2px solid var(--teal); outline-offset: -6px; }

.flow-sheet-panel.wide { width: min(880px, 100%); }
.mod-detail-list { display: grid; gap: 12px; }
.mod-detail {
  display: grid; grid-template-columns: 132px 1fr; gap: 0 16px; align-items: start;
  background: #fffaf4; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.mod-detail img { width: 100%; height: 100%; min-height: 128px; object-fit: cover; display: block; }
.mod-detail > div { padding: 14px 16px 16px 0; }
.mod-detail-n {
  font-family: var(--display); color: var(--coral); font-weight: 800; font-size: 15px; margin-right: 8px;
}
.mod-detail-grp {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 4px;
}
.mod-detail h3 { font-size: 18px; margin: 4px 0 6px; color: var(--deep); }
.mod-detail-blurb { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.mod-detail-why { font-size: 13px; color: var(--soft); }
.mod-detail-desks { font-size: 13px; color: var(--ink); margin-top: 8px; }
.mod-detail-desks em { font-style: normal; color: var(--soft); margin-right: 4px; }

.window, .preview, .walk, .share-band, .form, .vs-col, .desk-frame { max-width: 100%; }
.q div, .lead, .head-lead { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .pain-grid, .floor-grid, .agent-grid, .id-chain, .code-grid, .life, .home-stats, .roll-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .nav {
    padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  }
  .hero, .wbody, .cards-3, .mod-grid, .role-grid, .vs-board, .preview, .path, .split, .contact, .two, .ba, .share-band, .desk-peek {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero { min-height: 0; gap: 22px; padding: 28px 20px 18px; }
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(22, 40, 38, .82) 0%, rgba(22, 40, 38, .7) 42%, #243c38 100%);
  }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); line-height: 1.15; }
  .hero .lead { font-size: 16px; line-height: 1.65; max-width: none; }
  .lead { font-size: 16px; }
  .preview, .walk {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .stage { perspective: none; }
  .window, .desk-frame, .role-card.featured, .vs-col.manual, .vs-col.db { transform: none; animation: none; }
  .desk-frame:hover { transform: none; }
  .role-card.featured:hover { transform: translateY(-6px); }
  .float-a, .float-b, .float-c { animation: none; }
  .shot img { height: 180px; }
  .links {
    display: none;
    position: absolute; top: calc(100% + 8px);
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
    padding: 12px; flex-direction: column; gap: 4px; align-items: stretch;
    z-index: 50; box-shadow: var(--shadow);
    max-height: min(78dvh, calc(100dvh - 72px)); overflow: auto;
  }
  .links.open { display: flex; }
  .links a, .more-btn,
  .links a:hover, .links a[aria-current="page"] {
    padding: 12px 10px; border-radius: 10px; font-size: 15px;
    color: var(--deep);
  }
  .links a:hover, .more-btn:hover, .links a[aria-current="page"] {
    background: var(--mint); color: var(--deep);
  }
  .more-panel {
    position: static; transform: none; min-width: 0;
    box-shadow: none; border: 0; padding: 0 0 4px 10px; display: none;
    background: transparent;
  }
  .more.open .more-panel { display: grid; }
  .links .more-panel a {
    padding: 10px 12px; font-size: 15px; font-weight: 700; color: #12211f;
  }
  .foot, .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .menu { display: grid; place-items: center; flex-shrink: 0; }
  .nav .btn-primary { padding: 8px 12px; font-size: 12px; }
  .walk, .preview { padding: 28px 18px; }
  .vs { justify-self: center; margin: 4px 0; }
  .wash { padding-left: 16px; padding-right: 16px; }
  .section { padding: 48px 16px; }
  .life { padding: 10px 16px 24px; }
  .foot { padding: 24px 16px 32px; }
  .preview { border-radius: 22px; }
  .share-band { padding: 20px; }
  .flow-sheet { padding: 8px; align-items: stretch; }
  .flow-sheet-panel {
    width: 100%; max-height: min(92vh, 100%);
    border-radius: 18px; padding: 16px 16px 24px;
  }
  .floor-tabs, .choice {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 4px;
  }
  .floor-tabs::-webkit-scrollbar, .choice::-webkit-scrollbar { display: none; }
  .tab-btn, .choice-btn { flex: 0 0 auto; min-height: 40px; }
  .wbody aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .wbody nav { display: flex; flex-wrap: wrap; margin-top: 10px; }
  .wbody nav span { text-align: center; font-size: 10px; padding: 6px 8px; }
}

@media (max-width: 640px) {
  .nav, .hero, .section, .foot, .life, .wash {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .nav { gap: 8px; }
  .nav .btn-primary { display: none; }
  .brand small { display: none; }
  .menu { width: 44px; height: 44px; }
  .hero { padding-top: 20px; padding-bottom: 12px; }
  .hero h1 { font-size: clamp(26px, 8.4vw, 34px); }
  .hero .lead { font-size: 15px; }
  .cta-row { gap: 8px; margin-bottom: 12px; }
  .cta-row .btn { width: 100%; min-height: 48px; }
  .wbody aside { display: none; }
  .wmain { padding: 12px; }
  .window { border-radius: 16px; }
  .cards-3, .pain-grid, .id-chain, .role-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-stats, .code-grid, .roll-grid, .floor-grid, .agent-grid, .life {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-stats .stat-tap { min-height: 92px; padding: 14px 12px; }
  .home-stats span { font-size: 13px; }
  .roll-card { padding: 12px; }
  .ticker { width: calc(100% - 24px); border-radius: 16px; }
  .ticker-track { font-size: 12px; gap: 18px; }
  .contact-actions .btn { width: 100%; }
  .wiz-nav .btn { min-height: 44px; }
  .card, .mod, .role-card, .pain-card { padding: 18px; }
  .card h3, .mod h3 { font-size: 20px; }
  .head { margin-bottom: 18px; max-width: none; }
  .pills span { font-size: 11px; }
  .live-cards { grid-template-columns: minmax(0, 1fr); }
  .vs-col { padding: 20px 16px; }
  .vs-col h3 { font-size: 22px; }
  .share-band h3 { font-size: 20px; }
  .preview, .walk {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    padding: 24px 16px;
  }
  .page-next { padding-left: 16px; padding-right: 16px; }
  .desk-screen iframe { display: none; }
  .mod-detail { grid-template-columns: 1fr; }
  .mod-detail img { min-height: 0; height: 140px; }
  .mod-detail > div { padding: 12px 14px 16px; }
  .foot { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .tab-btn, .choice-btn, .more-btn, .links a {
    min-height: 44px;
  }
}

@media (max-width: 420px) {
  .mark { width: 36px; height: 36px; }
  .wbody nav { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-motion .reveal,
  html.js-motion .reveal.in {
    opacity: 1; transform: none; transition: none; animation: none;
  }
  .glow, .mark, .blobs i, .hero-photo img, .btn-primary::after,
  .cta-row .btn-primary::after, .preview .btn-light::after,
  .ticker-track, .float-a, .float-b, .float-c, .pulse, .hero .pills span,
  .pop, .wbar em::before, .ken {
    animation: none !important;
  }
  .shot:hover img { transform: none; }
  .q .hot { transform: none; }
}
