
:root {
  color-scheme: light;
  --forest: #143f35;
  --leaf: #1f6a4c;
  --leaf-soft: #e7f3ec;
  --cream: #fbf7ed;
  --paper: #ffffff;
  --ink: #18332b;
  --muted: #607169;
  --line: #d8e3dc;
  --gold: #d5a84d;
  --focus: #0b6bd3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body { margin: 0; min-width: 0; background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.55; }
button, input, select, a { font: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sales-shell {
  width: min(100%, 70rem);
  margin: 0 auto;
  padding:
    calc(.75rem + env(safe-area-inset-top, 0px))
    calc(1rem + env(safe-area-inset-right, 0px))
    calc(2.5rem + env(safe-area-inset-bottom, 0px))
    calc(1rem + env(safe-area-inset-left, 0px));
}
.demo-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; }
.demo-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--forest); font-weight: 850; text-decoration: none; }
.demo-brand span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--leaf); color: white; }
.synthetic-badge { display: inline-flex; align-items: center; width: max-content; padding: .32rem .65rem; border: 1px solid #9fc4ae; border-radius: 999px; background: var(--leaf-soft); color: var(--forest); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.sales-hero { padding: clamp(3rem, 9vw, 7rem) 0 clamp(3rem, 8vw, 6rem); }
.sales-kicker { margin: 0 0 .65rem; color: var(--leaf); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(2.55rem, 8vw, 5.5rem); line-height: .98; letter-spacing: -.045em; }
h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.025em; }
h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.sales-lede { max-width: 42rem; margin: 1.4rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 2.4vw, 1.45rem); }
.zero-friction { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.zero-friction li { padding: .45rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 800; }
.sales-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.new-host-journey { margin: -2rem 0 3rem; padding: clamp(1.2rem,4vw,2rem); border: 1px solid var(--line); border-radius: 1.25rem; background: var(--paper); }
.new-host-journey h2 { margin: .2rem 0 1rem; }
.new-host-journey ol { display: grid; grid-template-columns: 1fr; gap: .55rem; padding: 0; list-style: none; counter-reset: journey; }
.new-host-journey li { min-width: 0; padding: .75rem .65rem; border-radius: .75rem; background: #f1f7f3; text-align: center; counter-increment: journey; }
.new-host-journey li::before { content: counter(journey); display: grid; width: 1.5rem; height: 1.5rem; margin: 0 auto .35rem; place-items: center; border-radius: 999px; background: var(--leaf); color: white; font-size: .72rem; font-weight: 900; }
.sales-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .78rem 1.15rem;
  border: 2px solid var(--leaf);
  border-radius: .8rem;
  background: var(--leaf);
  color: white;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.sales-button:hover { background: var(--forest); border-color: var(--forest); }
.sales-button.secondary { background: transparent; color: var(--forest); }
.trust-line, .form-note { color: var(--muted); font-size: .92rem; }

.demo-section { margin: 0 0 1.25rem; padding: clamp(1.35rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.35rem; background: var(--paper); box-shadow: 0 1rem 3rem rgb(20 63 53 / 7%); }
.two-module-grid { display: grid; gap: 1rem; margin: -2rem 0 1.25rem; }
.two-module-grid article { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 1.25rem; background: var(--paper); }
.two-module-grid p { color: var(--muted); }
.two-module-grid a { color: var(--leaf); font-weight: 850; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.phone-frame { width: min(100%, 27rem); margin: 0 auto; padding: 1.35rem; border: .55rem solid var(--forest); border-radius: 2rem; background: #fff; box-shadow: 0 .8rem 2rem rgb(20 63 53 / 14%); }
.guest-welcome { margin: 0; color: var(--muted); font-size: .85rem; }
.phone-frame h3 { font-size: 1.7rem; }
.demo-code-card { margin: 1.25rem 0; padding: 1rem; border: 1px solid #a8cbb6; border-radius: 1rem; background: var(--leaf-soft); text-align: center; }
.demo-code-card span { display: block; color: var(--forest); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.demo-code-card strong { display: block; margin-top: .2rem; font-size: clamp(2.5rem, 13vw, 3.65rem); line-height: 1; letter-spacing: .08em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.guest-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-top: 1.2rem; }
.guest-actions button { min-height: 2.9rem; padding: .55rem .35rem; border: 1px solid var(--leaf); border-radius: .7rem; background: white; color: var(--forest); font-weight: 800; cursor: pointer; }
.guest-actions button:first-child { background: var(--leaf); color: white; }
.demo-feedback { min-height: 1.5rem; margin-bottom: 0; color: var(--leaf); font-weight: 750; text-align: center; }
.text-link { display: block; width: max-content; max-width: 100%; margin: 1.25rem auto 0; color: var(--leaf); font-weight: 850; }

.metric-grid { display: grid; gap: .75rem; }
.metric-grid article { min-width: 0; padding: 1.15rem; border-radius: 1rem; background: var(--leaf-soft); }
.metric-grid strong { display: block; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.metric-grid span, .metric-grid small { display: block; }
.metric-grid span { margin-top: .45rem; font-weight: 800; }
.metric-grid small { color: var(--muted); }
.host-panel { margin-top: 1.25rem; }
.activity-list { margin: .75rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.activity-row { display: grid; grid-template-columns: 5rem 1fr; gap: .15rem .75rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.activity-row strong { font-variant-numeric: tabular-nums; }
.activity-row time { color: var(--muted); font-size: .88rem; }

.host-steps { display: grid; gap: .8rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.host-steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .85rem; align-items: start; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; }
.host-steps li > span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--forest); color: white; font-weight: 900; }
.host-steps p { margin: .3rem 0 0; color: var(--muted); }

.attention-count { color: #8b4a13; font-size: .88rem; }
.match-card { display: grid; gap: 1rem; padding: 1.1rem; border: 2px solid #e4c486; border-radius: 1rem; background: #fffaf0; }
.match-card > div span, .match-card > div small { display: block; color: var(--muted); font-size: .82rem; }
.match-card > div strong { display: block; font-size: 1.2rem; }
.match-status { min-height: 1.4rem; margin: 0; color: var(--leaf); font-weight: 850; }
.match-card details { color: var(--muted); font-size: .9rem; }
.match-card summary { color: var(--forest); font-weight: 750; cursor: pointer; }
.match-card[data-linked="true"] { border-color: #98c5a8; background: var(--leaf-soft); }
.match-card[data-linked="true"] .sales-button { opacity: .65; cursor: default; }

.story-grid { display: grid; gap: .8rem; margin-top: 1.25rem; }
.story-grid article { padding: 1rem; border-radius: 1rem; background: #f6f8f6; }
.story-grid p { margin: .6rem 0; }
.story-grid span { color: var(--gold); font-weight: 900; }
.story-grid a { color: var(--leaf); font-weight: 800; }

.setup-form { display: grid; gap: .9rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.setup-form label { display: grid; gap: .35rem; font-weight: 800; }
.setup-form input, .setup-form select { width: 100%; min-height: 3rem; padding: .65rem .75rem; border: 1px solid #9ab2a5; border-radius: .7rem; background: white; color: var(--ink); }
.room-fields { display: grid; gap: .9rem; }
.qr-results { margin-top: 1.4rem; padding: 1.2rem; border: 2px solid var(--leaf); border-radius: 1rem; background: var(--leaf-soft); }
.qr-grid { display: grid; gap: .8rem; margin-top: 1rem; }
.qr-card { padding: 1rem; border: 1px solid #a8cbb6; border-radius: .9rem; background: white; text-align: center; }
.qr-placeholder { width: 7rem; aspect-ratio: 1; margin: .75rem auto; border: .65rem solid white; outline: 2px solid var(--forest); background: repeating-conic-gradient(var(--forest) 0 25%, white 0 50%) 0 / 1.35rem 1.35rem; opacity: .82; }
.qr-card strong, .qr-card span { display: block; }
.qr-card span { color: var(--muted); font-size: .84rem; }
.warning-note { color: #7f351f; font-weight: 900; letter-spacing: .05em; text-align: center; }
.calendar-demo-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.calendar-demo-metrics article { padding: .85rem; border-radius: .8rem; background: var(--leaf-soft); }
.calendar-demo-metrics article.attention { background: #fff0d9; }
.calendar-demo-metrics strong, .calendar-demo-metrics span { display: block; }
.calendar-demo-metrics strong { font-size: 1.7rem; }
.calendar-arrival-story { display: grid; gap: .65rem; margin-bottom: 1rem; padding: 1rem; border-radius: 1rem; background: #f6f8f6; }
.calendar-story-event { position: relative; display: grid; grid-template-columns: 3.5rem 1fr; gap: .7rem; align-items: start; padding: .75rem; border: 1px solid var(--line); border-radius: .75rem; background: white; }
.calendar-story-event time { color: var(--gold); font-weight: 900; }
.calendar-story-event strong,.calendar-story-event span,.calendar-story-event small { display: block; }
.calendar-story-event span,.calendar-story-event small { color: var(--muted); }
.story-arrow { position: absolute; right: 1rem; bottom: -.9rem; z-index: 1; display: grid !important; width: 1.6rem; height: 1.6rem; place-items: center; border-radius: 999px; background: var(--forest); color: white !important; }
.calendar-arrival-story > p { margin: .25rem 0 0; }
.demo-calendar-legend { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .6rem; }
.demo-calendar-legend span { padding: .25rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 850; }
.channel-airbnb { background: #ddefe3; }
.channel-vrbo { background: #e4ecff; }
.channel-booking { background: #ffebc8; }
.channel-trip { background: #eee3ff; }
.demo-conflict-key { border: 1px solid #d89991; background: #ffe1dc; color: #761f19; }
.demo-calendar-scroll { max-width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: .8rem; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.demo-calendar-table { width: 100%; min-width: 51rem; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: .72rem; }
.demo-calendar-table th,.demo-calendar-table td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.demo-calendar-table thead th { height: 2.65rem; background: #edf3ef; color: var(--forest); }
.demo-calendar-table th:first-child { position: sticky; left: 0; z-index: 3; width: 7.5rem; padding: .5rem; background: white; text-align: left; box-shadow: .3rem 0 .6rem rgb(23 53 44 / 7%); }
.demo-calendar-table thead th:first-child { z-index: 4; background: #edf3ef; }
.demo-calendar-table tbody th strong,.demo-calendar-table tbody th small { display: block; }
.demo-calendar-table tbody th small { color: var(--muted); font-size: .62rem; }
.demo-calendar-day { height: 4.5rem; padding: .25rem; background: repeating-linear-gradient(135deg,#fff,#fff .5rem,#fafcfb .5rem,#fafcfb 1rem); }
.demo-calendar-day.is-unavailable { background: #f0f0ed; }
.demo-reservation-lanes { display: grid; gap: .16rem; align-content: center; min-height: 4rem; }
.demo-reservation-slot,.demo-reservation-segment { display: flex; min-height: 1.75rem; align-items: center; justify-content: center; }
.demo-reservation-segment { margin-inline: -.26rem; padding: .2rem; overflow: hidden; border: 1px solid rgb(23 53 44 / 15%); border-radius: .35rem; color: #17352c; font-size: .65rem; font-weight: 900; white-space: nowrap; }
.demo-reservation-segment.is-conflict { outline: 2px solid #b4382f; outline-offset: -1px; background: #ffe1dc; color: #761f19; }
.demo-blocked { color: #6c756f; font-size: 1rem; font-weight: 900; }
.calendar-conflict { margin-top: 1rem; padding: 1rem; border: 2px solid #e4c486; border-radius: 1rem; background: #fffaf0; }
.demo-calendar-dialog { width: min(calc(100% - 2rem), 38rem); max-height: calc(100dvh - 2rem); padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 28%); }
.demo-calendar-dialog::backdrop { background: rgb(12 32 25 / 55%); }
.demo-dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.demo-dialog-heading h3 { margin: .2rem 0 .8rem; }
.demo-source-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.demo-source-comparison article { padding: .8rem; border-radius: .75rem; }
.demo-source-comparison strong,.demo-source-comparison span,.demo-source-comparison small { display: block; }
.demo-recommendation { margin-top: 1rem; padding: .85rem; border-left: .3rem solid #d99f3d; border-radius: .7rem; background: #fffaf0; }
.demo-recommendation p { margin: .3rem 0; }
[hidden] { display: none !important; }

.demo-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem .3rem; color: var(--muted); }
.demo-footer p { margin: .2rem 0 0; }
.text-button { min-height: 2.75rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: .7rem; background: white; color: var(--forest); font-weight: 800; cursor: pointer; }
.root-landing .sales-hero { max-width: 58rem; }

@media (min-width: 42rem) {
  .new-host-journey ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sales-shell { padding-left: calc(2rem + env(safe-area-inset-left, 0px)); padding-right: calc(2rem + env(safe-area-inset-right, 0px)); }
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .activity-row { grid-template-columns: 5rem 1fr 1.25fr 6rem; align-items: center; }
  .story-grid, .qr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-demo-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .calendar-arrival-story { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .calendar-arrival-story > p { grid-column: 1 / -1; }
  .match-card { grid-template-columns: 1fr 1.4fr auto; align-items: center; }
  .match-card .sales-button { width: auto; }
  .match-status, .match-card details { grid-column: 1 / -1; }
}

@media (max-width: 32rem) {
  .demo-calendar-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); padding: 1rem; }
  .demo-dialog-heading { align-items: stretch; flex-direction: column; }
  .demo-dialog-heading .text-button { align-self: flex-end; }
  .demo-source-comparison { grid-template-columns: 1fr; }
}

@media (min-width: 60rem) {
  .host-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .host-steps li { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
