:root {
  --ink: #1d1d1a;
  --paper: #f3f0e8;
  --paper-deep: #e9e3d7;
  --clay: #bb4f32;
  --clay-dark: #8d3521;
  --sage: #8f9b80;
  --line: rgba(29, 29, 26, 0.18);
  --serif: Iowan Old Style, Baskerville, Times New Roman, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.brand-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--clay); color: #fff; font: 700 20px/1 var(--serif); }
.brand-mark--small { width: 25px; height: 25px; font-size: 15px; }
.topbar-status { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #5c7a51; box-shadow: 0 0 0 4px rgba(92,122,81,.12); }
.operator-main { padding-top: 88px; }
.hero-copy { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 80px; align-items: end; padding-bottom: 74px; }
.overline { margin: 0 0 22px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero-copy .overline { align-self: start; padding-top: 18px; }
.hero-copy h1, .platform-heading h2, .deep-copy h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
.hero-copy h1 { grid-column: 1 / -1; font-size: clamp(68px, 9.2vw, 124px); line-height: .82; margin: 0; max-width: 1100px; }
h1 em, h2 em { color: var(--clay); font-weight: 500; }
.hero-dek { grid-column: 2; margin: 46px 0 0; font-size: 18px; line-height: 1.6; max-width: 600px; }
.mode-switcher { display: flex; align-items: center; gap: 8px; margin: 0 0 28px; }
.mode-switcher > span { margin-right: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.mode-switcher a { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 650; transition: .2s ease; }
.mode-switcher a:hover, .mode-switcher a.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.experience-stage { border-top: 1px solid var(--line); padding: 34px 0 96px; }
.stage-label { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.stage-label span { color: var(--clay); font-weight: 800; }
.stage-label b { margin-left: auto; font-family: var(--serif); font-size: 17px; font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 500; }
.trmnl-frame { position: relative; width: min(100%, 1020px); margin-inline: auto; padding: 30px 30px 48px; border-radius: 30px; background: #d7d6d0; border: 1px solid #bbb9b1; box-shadow: 0 24px 60px rgba(45,39,28,.12), inset 0 1px #fff; }
.trmnl-screen { aspect-ratio: 5 / 3; display: flex; flex-direction: column; overflow: hidden; background: #fff; color: #000; border: 2px solid #191919; box-shadow: inset 0 0 30px rgba(0,0,0,.04); }
.screen-main { flex: 1; display: grid; grid-template-columns: 1fr 240px; gap: 30px; padding: 42px 44px 34px; }
.screen-copy { display: flex; flex-direction: column; }
.screen-kicker { margin: 0 0 15px; font-size: 15px; font-weight: 850; letter-spacing: .22em; }
.screen-copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(46px, 6vw, 74px); line-height: .94; letter-spacing: -.055em; }
.screen-summary { max-width: 600px; margin: 20px 0 0; font-size: 18px; line-height: 1.45; }
.screen-primary { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 16px; border-top: 3px solid #000; }
.screen-primary span, .screen-qr p, .screen-footer { font-size: 12px; font-weight: 850; letter-spacing: .15em; }
.screen-primary strong { max-width: 72%; text-align: right; font-size: 19px; }
.screen-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 2px solid #000; padding-left: 28px; }
.screen-qr img { width: 190px; height: 190px; image-rendering: pixelated; }
.screen-qr p { margin: 12px 0 0; text-align: center; }
.screen-footer { display: flex; justify-content: space-between; padding: 11px 18px; border-top: 2px solid #000; }
.frame-wordmark { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 900; letter-spacing: .22em; color: #77756e; }
.text-link { display: flex; width: fit-content; gap: 12px; margin: 24px auto 0; text-decoration: none; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.deep-dive-row { display: grid; grid-template-columns: 1fr 410px; gap: 120px; align-items: center; min-height: 780px; padding: 96px 60px; background: var(--clay); color: #fffaf2; }
.deep-copy .stage-label { border-bottom: 1px solid rgba(255,255,255,.26); padding-bottom: 28px; }
.deep-copy .stage-label span { color: #fff0c9; }
.deep-copy h2 { max-width: 680px; margin: 70px 0 30px; font-size: clamp(52px, 6vw, 78px); line-height: .95; }
.deep-copy > p { max-width: 570px; font-size: 18px; line-height: 1.65; color: rgba(255,250,242,.8); }
.primary-button { display: inline-flex; align-items: center; gap: 34px; margin-top: 28px; padding: 16px 20px; border-radius: 2px; background: #fffaf2; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; }
.phone { justify-self: center; position: relative; width: 330px; height: 660px; overflow: hidden; padding: 12px; border: 2px solid rgba(255,255,255,.8); border-radius: 46px; background: #21201e; box-shadow: 0 25px 60px rgba(62,18,8,.35); }
.phone-content { height: 100%; overflow: hidden; padding: 48px 22px 24px; border-radius: 35px; background: var(--paper); color: var(--ink); }
.phone-island { position: absolute; z-index: 2; top: 21px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 20px; background: #21201e; }
.phone-head { display: flex; align-items: center; gap: 8px; margin-bottom: 42px; font-family: var(--serif); font-size: 14px; font-weight: 700; }
.mode-pill { display: inline-flex; width: fit-content; align-items: center; padding: 7px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mode-cleaning { background: var(--clay-dark); }
.mode-idle { background: #5e6955; }
.phone-kicker { margin: 16px 0 7px; font-size: 9px; font-weight: 850; letter-spacing: .18em; }
.phone-content h3 { margin: 0; font-family: var(--serif); font-size: 39px; line-height: .95; letter-spacing: -.04em; }
.phone-content > p:not(.phone-kicker) { margin: 14px 0 22px; font-size: 12px; line-height: 1.5; }
.phone-card { display: flex; flex-direction: column; gap: 8px; padding: 17px; background: var(--clay); color: white; }
.phone-card span, .phone-list span { font-size: 8px; font-weight: 850; letter-spacing: .16em; }
.phone-card strong { font-family: var(--serif); font-size: 18px; }
.phone-list { display: flex; flex-direction: column; gap: 7px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.phone-list strong { font-family: var(--serif); font-size: 17px; }
.platform-strip { margin-top: 110px; padding: 90px 0 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platform-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; }
.platform-heading h2 { margin: 0; font-size: clamp(56px, 7vw, 92px); line-height: .9; }
.content-path { display: grid; grid-template-columns: repeat(4, 1fr); margin: 80px 0 0; padding: 0; list-style: none; }
.content-path li { position: relative; display: flex; flex-direction: column; min-height: 150px; padding: 22px 28px 20px 0; border-top: 2px solid var(--ink); }
.content-path li:not(:last-child) { margin-right: 28px; }
.content-path li:not(:last-child)::after { content: ''; position: absolute; right: -28px; top: -2px; width: 28px; height: 2px; background: var(--clay); }
.content-path span { color: var(--clay); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.content-path strong { margin-top: auto; font-family: var(--serif); font-size: 24px; }
.content-path small { margin-top: 8px; color: #706e66; font-size: 12px; }
.pulse-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 36px 0 120px; border: 1px solid var(--line); }
.pulse-grid article { min-height: 180px; display: flex; flex-direction: column; padding: 26px; }
.pulse-grid article:not(:last-child) { border-right: 1px solid var(--line); }
.pulse-grid span { font-size: 9px; font-weight: 850; letter-spacing: .17em; }
.pulse-grid strong { margin-top: auto; font: 500 44px/1 var(--serif); }
.pulse-grid small { margin-top: 8px; color: #6d6a62; }
.v2-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding: 0 0 120px; }
.v2-intro { position: sticky; top: 40px; align-self: start; }
.v2-intro h2 { margin: 0; font: 500 clamp(52px, 6vw, 78px)/.92 var(--serif); letter-spacing: -.045em; }
.v2-intro > p:last-child { max-width: 490px; margin: 30px 0 0; color: #6d6a62; line-height: 1.65; }
.v2-list { border-top: 1px solid var(--line); }
.v2-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.v2-list article > span { color: var(--clay); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.v2-list strong { font: 500 30px/1 var(--serif); }
.v2-list p { max-width: 520px; margin: 10px 0 0; color: #6d6a62; font-size: 14px; line-height: 1.55; }
.site-footer { min-height: 140px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.site-footer > span { font: 700 24px var(--serif); }
.site-footer p { margin: 0; color: #6d6a62; font-size: 13px; }

/* Mobile stay guide */
.mobile-body { min-height: 100vh; background: var(--paper); }
.mobile-nav { max-width: 760px; height: 74px; display: flex; align-items: center; justify-content: space-between; margin: auto; padding: 0 24px; border-bottom: 1px solid var(--line); }
.mobile-property { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.mobile-main { width: min(760px, 100%); margin: auto; }
.mobile-hero { padding: 66px 24px 42px; }
.mobile-hero .mode-pill { margin-bottom: 58px; }
.mobile-hero .overline { color: var(--clay); margin-bottom: 14px; }
.mobile-hero h1 { max-width: 650px; margin: 0; font: 500 clamp(58px, 16vw, 100px)/.86 var(--serif); letter-spacing: -.06em; }
.mobile-intro { max-width: 560px; margin: 30px 0 38px; font-size: 18px; line-height: 1.55; }
.arrival-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--clay); color: #fff; }
.mode-page-cleaning .arrival-card { background: var(--clay-dark); }
.mode-page-idle .arrival-card { background: #5e6955; }
.arrival-card span, .note-card > span, .support-card span { font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.arrival-card strong { font: 500 25px/1.2 var(--serif); }
.mobile-sections { border-top: 1px solid var(--line); }
.detail-section { display: grid; grid-template-columns: 62px 1fr; padding: 44px 24px; border-bottom: 1px solid var(--line); }
.section-number { color: var(--clay); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.section-body h2 { margin: 0 0 30px; font: 500 36px/1 var(--serif); letter-spacing: -.03em; }
.section-body .overline { margin: 0 0 10px; }
.detail-list { margin: 0; }
.detail-row { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.detail-row dt { color: #76736b; font-size: 12px; }
.detail-row dd { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 0; font-size: 14px; line-height: 1.5; font-weight: 650; }
.copy-button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: 5px 9px; font: 750 9px var(--sans); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.copy-button:hover, .copy-button:focus-visible { background: var(--ink); color: #fff; }
.checklist { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.checklist li span { width: 20px; height: 20px; border: 1.5px solid var(--ink); border-radius: 50%; }
.note-card { margin: 34px 24px; padding: 28px; border: 1px solid var(--line); background: var(--paper-deep); }
.note-card p { margin: 14px 0 0; font: italic 22px/1.35 var(--serif); }
.support-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 34px 24px 74px; padding: 28px; background: var(--ink); color: #fff; }
.support-card h2 { max-width: 440px; margin: 10px 0 0; font: 500 23px/1.2 var(--serif); }
.support-card a { flex: 0 0 auto; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--clay); text-decoration: none; font-size: 12px; font-weight: 800; }
.mobile-footer { max-width: 760px; display: flex; align-items: center; gap: 12px; margin: auto; padding: 24px; border-top: 1px solid var(--line); color: #716e66; font-size: 11px; }
.mobile-footer p { flex: 1; margin: 0; }
.copy-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none; background: var(--ink); color: white; font-size: 12px; transition: .25s ease; }
.copy-toast.visible { opacity: 1; transform: translate(-50%, 0); }
.not-found-body { display: grid; min-height: 100vh; place-items: center; }
.not-found { max-width: 560px; padding: 40px; text-align: center; }
.not-found .brand-mark { margin-bottom: 48px; }
.not-found h1 { margin: 0; font: 500 56px/.95 var(--serif); letter-spacing: -.04em; }
.not-found > p:last-child { line-height: 1.6; color: #6d6a62; }

@media (max-width: 900px) {
  .hero-copy { grid-template-columns: 1fr; }
  .hero-copy .overline, .hero-dek { grid-column: 1; }
  .hero-dek { max-width: 570px; }
  .screen-main { grid-template-columns: 1fr 180px; padding: 30px; }
  .screen-qr img { width: 135px; height: 135px; }
  .screen-summary { font-size: 15px; }
  .deep-dive-row { grid-template-columns: 1fr 330px; gap: 50px; padding-inline: 40px; }
  .platform-heading { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1180px); }
  .topbar { height: 68px; }
  .topbar-status { font-size: 9px; }
  .operator-main { padding-top: 60px; }
  .hero-copy { padding-bottom: 52px; }
  .hero-copy h1 { font-size: clamp(58px, 19vw, 86px); }
  .hero-dek { margin-top: 34px; font-size: 16px; }
  .mode-switcher { align-items: flex-start; flex-wrap: wrap; }
  .mode-switcher > span { width: 100%; margin-bottom: 4px; }
  .experience-stage { padding-bottom: 68px; }
  .stage-label b { display: none; }
  .trmnl-frame { padding: 10px 10px 28px; border-radius: 15px; }
  .trmnl-screen { aspect-ratio: auto; min-height: 500px; }
  .screen-main { grid-template-columns: 1fr; padding: 26px 22px 18px; }
  .screen-copy h2 { font-size: 46px; }
  .screen-primary { margin-top: 34px; }
  .screen-qr { flex-direction: row; justify-content: flex-start; gap: 18px; padding: 18px 0 0; border: 0; border-top: 2px solid #000; }
  .screen-qr img { width: 110px; height: 110px; }
  .screen-qr p { text-align: left; }
  .screen-footer { font-size: 9px; }
  .deep-dive-row { grid-template-columns: 1fr; padding: 64px 24px; }
  .deep-copy h2 { margin-top: 50px; font-size: 52px; }
  .phone { width: min(330px, 100%); margin-top: 28px; }
  .platform-strip { margin-top: 74px; padding-top: 64px; }
  .content-path { grid-template-columns: 1fr; margin-top: 58px; }
  .content-path li { min-height: 112px; margin-right: 0 !important; }
  .content-path li:not(:last-child)::after { display: none; }
  .pulse-grid { grid-template-columns: 1fr; }
  .pulse-grid article:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .v2-section { grid-template-columns: 1fr; gap: 56px; }
  .v2-intro { position: static; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
  .mobile-nav { height: 66px; }
  .mobile-nav .brand { font-size: 18px; }
  .mobile-nav .brand-mark { width: 29px; height: 29px; font-size: 17px; }
  .mobile-property { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-hero { padding-top: 50px; }
  .mobile-hero .mode-pill { margin-bottom: 48px; }
  .detail-section { grid-template-columns: 46px 1fr; padding-inline: 20px; }
  .detail-row { grid-template-columns: 1fr; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Operator toolbar + login (Task 10) */
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.inline-form { margin: 0; }
.ghost-button {
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 600 13px var(--sans);
  cursor: pointer;
  border-radius: 2px;
}
.ghost-button:hover { background: var(--ink); color: #fff; }
.live-dot--stale { background: #b4531f; }
.muted { opacity: .6; }
.maya-line {
  margin-top: 18px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.login-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(440px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}
.login-card h1 {
  margin: 36px 0 28px;
  font: 500 48px/.95 var(--serif);
}
.login-card form { display: grid; gap: 12px; }
.login-card input, .login-card button {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  font: 600 15px var(--sans);
}
.login-card button {
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}
.login-error { color: #b4531f; font-weight: 600; }
