/* StayTree website. Brand: indigo ink, DM Sans, the Natural cedar.
   Stays are drawn as rounded bars, like the app's month view. */
:root {
  --bg: #FFFFFF;
  --surface: #F6F6FB;
  --tint: #EEF0FF;
  --line: #E3E4EC;
  --ink: #12123A;
  --muted: #5B5B72;
  --indigo: #4338CA;
  --indigo-deep: #312E81;
  --green: #15803D;
  --green-soft: #DCFCE7;
  --orange: #C2410C;
  --orange-soft: #FFEDD5;
  --red: #B91C1C;
  --red-soft: #FEE2E2;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 20px;
  --max: 1160px;
  --gutter: 20px;
  --shadow: 0 1px 2px rgba(18, 18, 58, 0.04), 0 12px 32px -12px rgba(18, 18, 58, 0.14);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #FFFFFF; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.button) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:not(.button):hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links a:not(.button) { display: none; } }

/* Buttons and pills */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--indigo); color: #FFFFFF; }
.button.primary:hover { background: var(--indigo-deep); }
.button.ghost { color: var(--ink); border-color: var(--line); background: var(--bg); }
.button.ghost:hover { border-color: #C9CBDA; }
.button.light { background: #FFFFFF; color: var(--ink); }
.button.light:hover { background: var(--tint); }
.button.small { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.button svg { width: 18px; height: 18px; flex: none; }

.stores { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stores-label { color: var(--muted); font-size: 14px; margin-right: 2px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.pill svg { width: 15px; height: 15px; flex: none; }
.pill.beta { background: var(--tint); border-color: transparent; color: var(--indigo); }
.pill.beta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* Type */
h1, h2, h3 { margin: 0; letter-spacing: -0.028em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.2vw, 66px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); }
.eyebrow::before { content: ""; width: 22px; height: 8px; border-radius: 4px; background: currentColor; }
.eyebrow.green { color: var(--green); }
.eyebrow.orange { color: var(--orange); }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 36em; text-wrap: pretty; }

/* Hero */
.hero { padding-block: 40px 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--indigo); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; min-width: 0; display: flex; justify-content: center; padding-block: 24px; isolation: isolate; }

/* Decorative stay bars behind the phone, echoing the logo's tiers */
.tiers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tiers span { position: absolute; height: 44px; border-radius: 22px; }
.tiers span:nth-child(1) { top: 8%; left: 52%; width: 34%; background: var(--tint); }
.tiers span:nth-child(2) { top: 30%; left: 4%; width: 46%; background: var(--green-soft); }
.tiers span:nth-child(3) { top: 54%; left: 46%; width: 54%; background: var(--orange-soft); }
.tiers span:nth-child(4) { top: 78%; left: 0; width: 70%; background: var(--tint); }

.phone { width: min(360px, 86%); border-radius: 44px; padding: 10px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(18, 18, 58, 0.45), 0 0 0 1px rgba(18, 18, 58, 0.08); }
.phone-screen { border-radius: 35px; overflow: hidden; aspect-ratio: 720 / 1420; background: #F4F3F8; }
.phone-screen img { width: 100%; height: auto; }

.float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; background: var(--bg); border-radius: 16px; box-shadow: 0 22px 44px -16px rgba(18, 18, 58, 0.35); border: 1px solid var(--line); max-width: 270px; }
.float b { display: block; font-size: 15px; line-height: 1.3; }
.float small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.float-blocked { left: 0; bottom: 16%; }
.float-blocked .mark { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--red-soft); display: grid; place-items: center; }
.float-blocked .mark i { width: 24px; height: 9px; border-radius: 5px; border: 1.5px dashed var(--red); }
.float-by { right: 0; top: 14%; padding: 10px 14px 10px 10px; }
.float-by .avatar { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--orange); color: #FFFFFF; font-weight: 800; font-size: 13px; display: grid; place-items: center; }

@media (max-width: 900px) {
  .hero { padding-block: 28px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .float { padding: 10px 14px 10px 10px; max-width: none; }
  .float b { font-size: 14px; white-space: nowrap; }
  .float small { font-size: 12px; white-space: nowrap; }
  .float-blocked { left: 0; bottom: 6%; }
  .float-blocked .mark { width: 34px; height: 34px; }
  .float-by { display: none; }
  .tiers span { height: 32px; }
}

/* "For you if" list under the hero */
.fit { margin-top: 72px; display: flex; flex-direction: column; gap: 18px; }
.fit-title { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fit-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fit-card { --accent: var(--indigo); display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); box-shadow: 0 1px 2px rgba(18, 18, 58, 0.04), 0 12px 32px -18px rgba(18, 18, 58, 0.18); min-width: 0; }
.fit-card.orange { --accent: var(--orange); }
.fit-card.green { --accent: var(--green); }
.fit-bar { display: block; width: 56px; height: 10px; border-radius: 5px; background: var(--accent); margin-bottom: 10px; }
.fit-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.fit-card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.fit-card .fit-cap { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.fit-cap svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--red); fill: none; stroke: #FFFFFF; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fit-card.green .fit-cap { background: #FFEDD5; color: var(--orange); }
.fit-card.green .fit-cap svg { background: var(--orange); stroke-width: 1.9; }
.fit-cap span { font-weight: 600; font-size: 12px; opacity: 0.85; padding-left: 8px; border-left: 1px solid currentColor; }
.fit-card .fit-fix { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 14px; }
.fit-fix svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-soft); fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .fit-cards { grid-template-columns: 1fr; } .fit { margin-top: 48px; } }

/* Sections */
.section { padding-block: 96px; }
.section.alt { background: var(--surface); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.section.compact { padding-block: 72px; }
.section.compact .section-head { margin-bottom: 40px; }
@media (max-width: 720px) { .section, .section.compact { padding-block: 64px; } .section-head, .section.compact .section-head { margin-bottom: 32px; } }

/* Features: tabs. Without JS the tab bar stays hidden and every panel shows, stacked. */
.tablist { display: none; }
.tabs.ready .tablist { display: flex; gap: 4px; padding: 5px; margin-bottom: 24px; width: max-content; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.3; white-space: nowrap; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.tab:hover { color: var(--ink); }
.tab i { flex: none; width: 16px; height: 7px; border-radius: 4px; background: var(--indigo); opacity: 0.45; }
.tab i.orange { background: var(--orange); }
.tab i.green { background: var(--green); }
.tab i.deep { background: var(--indigo-deep); }
.tab[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 18, 58, 0.08), 0 6px 16px -6px rgba(18, 18, 58, 0.2); }
.tab[aria-selected="true"] i { opacity: 1; }
.tab:focus-visible { outline-offset: -2px; border-radius: 999px; }

.panel { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: clamp(20px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; }
.panel + .panel { margin-top: 20px; }
.panel:focus-visible { outline-offset: 4px; border-radius: 28px; }
.tabs.ready .panel + .panel { margin-top: 0; }
.tabs.ready .panel[hidden] { display: none; }
.tabs.ready .panel-label { display: none; }
.panel-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel-copy h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.03em; line-height: 1.15; }
.panel-copy p { color: var(--muted); }
.panel-art { min-width: 0; }
@media (min-width: 901px) { .tabs.ready .panel { min-height: 470px; } }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) {
  .tabs.ready .tablist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 18px; }
  .tab { padding: 10px 12px; border-radius: 13px; font-size: 14px; white-space: normal; text-align: left; }
  .tab:focus-visible { border-radius: 13px; }
}
@media (max-width: 480px) {
  .panel { padding: 12px; border-radius: 22px; gap: 22px; }
  .panel-copy { padding: 10px 8px 0; }
}

/* Illustration: one week of two units, half-day columns (check-in afternoon, checkout morning) */
.week { background: var(--bg); border-radius: 18px; border: 1px solid var(--line); padding: 18px 16px 20px; box-shadow: var(--shadow); }
.week-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.week-title b { color: var(--ink); font-size: 16px; }
.week-grid { display: grid; grid-template-columns: 70px repeat(14, minmax(0, 1fr)); row-gap: 8px; align-items: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.week-grid .day { grid-column: span 2; text-align: center; color: var(--muted); font-weight: 600; line-height: 1.25; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.week-grid .day b { display: block; color: var(--ink); font-size: 14px; }
.week-grid .corner { grid-column: 1; border-bottom: 1px solid var(--line); align-self: stretch; }
.week-grid .unit { grid-column: 1; font-weight: 700; color: var(--ink); font-size: 13px; padding-right: 8px; }
.stay { height: 30px; border-radius: 8px; margin-inline: 2px; color: #FFFFFF; font-weight: 700; font-size: 12px; display: flex; align-items: center; padding-inline: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.stay.indigo { background: var(--indigo); }
.stay.green { background: var(--green); }
.stay.orange { background: var(--orange); }
.stay.blocked { background: var(--red-soft); color: var(--red); border: 1.5px dashed var(--red); }
.week-grid .gap-row { grid-column: 1 / -1; height: 4px; }
.week-note { grid-column: 2 / -1; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.week-note.bad { color: var(--red); }
.week-note.good { color: var(--green); }
.week-note svg { width: 16px; height: 16px; flex: none; }
/* grid lines: label = 1-2, day d spans 2+2d to 4+2d, its midpoint is 3+2d */
@media (max-width: 480px) {
  .week { padding: 14px 10px 16px; }
  .week-grid { grid-template-columns: 58px repeat(14, minmax(0, 1fr)); }
  .week-grid .unit { font-size: 12px; white-space: nowrap; padding-right: 4px; }
  .week-grid .day { font-size: 11px; }
  .stay { padding-inline: 6px; font-size: 11px; }
}

/* Illustration: the agency screen, with the calendars shared with it */
.agency-art { position: relative; display: flex; justify-content: flex-end; padding-block: 4px; }
.mini-phone { width: min(300px, 74%); padding: 8px; border-radius: 32px; background: var(--ink); box-shadow: 0 30px 60px -28px rgba(18, 18, 58, 0.45); }
.mini-phone img { width: 100%; height: auto; aspect-ratio: 720 / 874; object-fit: cover; object-position: top; border-radius: 25px; background: #F4F3F8; }
.cal-list { position: absolute; left: 0; bottom: 28px; width: min(270px, 64%); background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 44px -16px rgba(18, 18, 58, 0.35); padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.cal-list-title { padding: 4px 6px 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.cal-row { display: flex; align-items: center; gap: 10px; padding: 5px 6px; font-weight: 700; font-size: 14px; min-width: 0; }
.cal-row span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sq { flex: none; width: 30px; height: 30px; border-radius: 9px; color: #FFFFFF; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.sq.teal { background: #0F766E; }
.sq.purple { background: #7E22CE; }
.sq.blue { background: #1D4ED8; }
.cal-more { font-size: 13px; color: var(--muted); padding: 2px 6px 4px; }
@media (max-width: 480px) {
  .agency-art { flex-direction: column; align-items: center; }
  .mini-phone { width: 80%; }
  .cal-list { position: relative; left: auto; bottom: auto; width: 92%; margin-top: -48px; padding: 6px; }
  .cal-row { font-size: 13px; gap: 8px; padding: 4px; }
  .sq { width: 26px; height: 26px; font-size: 12px; }
}

/* Illustration: invite link and roles */
.invite-art { display: flex; flex-direction: column; gap: 16px; }
.bubble { align-self: flex-start; max-width: 340px; background: #DCF8C6; color: var(--ink); border-radius: 18px 18px 18px 4px; padding: 12px 14px; font-size: 15px; box-shadow: var(--shadow); }
.bubble .link { display: block; margin-top: 6px; color: #1D4ED8; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; font-size: 14px; }
.roles { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 6px 18px; margin: 0; }
.role { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.role:last-child { border-bottom: 0; }
.role dt { margin: 0; }
.role dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.role-tag { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--surface); color: var(--muted); }
.role-tag.editor { background: var(--green-soft); color: #166534; }
.role-tag.manager { background: var(--tint); color: var(--indigo); }
.role-tag.owner { background: var(--ink); color: #FFFFFF; }

/* Illustration: who did what */
.history-art { display: flex; flex-direction: column; gap: 16px; }
.log { list-style: none; margin: 0; padding: 6px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.log li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.log li:last-child { border-bottom: 0; }
.log i { width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--indigo-deep); font-style: normal; font-weight: 700; font-size: 11px; display: grid; place-items: center; }
.log span { min-width: 0; }
.log s { color: var(--red); text-decoration-thickness: 1.5px; }
.log time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.byline { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.byline .stay { margin: 0; height: 32px; }
.byline small { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.byline small b { color: var(--ink); }
.byline small i { width: 22px; height: 22px; border-radius: 6px; background: var(--orange); color: #FFFFFF; font-style: normal; font-weight: 800; font-size: 10px; display: grid; place-items: center; }

/* Steps: each with a small light mockup of the app above its text */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step p { color: var(--muted); font-size: 16px; }
.step-title { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.step-title::before { counter-increment: step; content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--indigo); color: #FFFFFF; font-weight: 800; font-size: 16px; display: grid; place-items: center; }
.step:nth-child(2) .step-title::before { background: var(--green); }
.step:nth-child(3) .step-title::before { background: var(--orange); }
.step-visual { height: 272px; padding: 18px 20px 0; border-radius: 24px; background: linear-gradient(180deg, var(--tint) 0%, #F8F8FF 100%); border: 1px solid #E2E5FB; overflow: hidden; display: flex; align-items: flex-end; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 40px; max-width: 460px; }
  .step-visual { height: auto; min-height: 0; padding-bottom: 0; }
}

/* App mockup pieces (light, like the app) */
.app { width: 100%; background: #F4F4F8; border-radius: 20px 20px 0 0; padding: 14px 12px 16px; box-shadow: 0 -1px 0 rgba(18, 18, 58, 0.04), 0 18px 40px -18px rgba(18, 18, 58, 0.35); display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.3; color: var(--ink); }
.app-title { font-weight: 800; font-size: 15px; padding: 0 4px; }
.app-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; }
.m-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-bottom: 1px solid var(--line); min-width: 0; }
.m-row:last-child { border-bottom: 0; }
.m-tile { flex: none; width: 32px; height: 32px; border-radius: 9px; color: #FFFFFF; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.m-tile.teal { background: #0F766E; }
.m-tile.purple { background: #9333EA; }
.m-tile.blue { background: #2563EB; }
.m-name { flex: 1; min-width: 0; font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-name small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.m-chev { flex: none; width: 7px; height: 7px; border-top: 2px solid #A3A4B8; border-right: 2px solid #A3A4B8; transform: rotate(45deg); margin-right: 4px; }
.m-new { border: 1.5px dashed #C9CBDA; border-radius: 14px; padding: 9px; text-align: center; font-weight: 700; color: var(--muted); }

.m-sheet { padding: 8px 14px 14px; display: flex; flex-direction: column; gap: 9px; border-radius: 18px; }
.m-grip { align-self: center; width: 34px; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 4px; }
.m-sheet-title { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.m-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.m-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; border-radius: 999px; background: var(--tint); }
.m-seg span { text-align: center; padding: 6px 0; border-radius: 999px; font-weight: 700; font-size: 12.5px; color: var(--muted); }
.m-seg .on { background: #FFFFFF; color: var(--indigo); box-shadow: 0 1px 2px rgba(18, 18, 58, 0.12); }
.step-visual .m-note { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.m-note b { color: var(--ink); }
.m-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.m-btn { text-align: center; padding: 9px 4px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.m-btn.whatsapp { background: var(--green); color: #FFFFFF; }
.m-btn.copied { background: var(--green-soft); color: #166534; }

.m-week { padding: 12px 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.m-week-title { font-size: 13.5px; font-weight: 800; padding: 0 2px; }
.m-grid { display: grid; grid-template-columns: 50px repeat(14, minmax(0, 1fr)); row-gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.m-day { grid-column: span 2; text-align: center; font-size: 9.5px; font-weight: 600; color: var(--muted); line-height: 1.2; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.m-day b { display: block; font-size: 12px; color: var(--ink); }
.m-grid > span:first-child { align-self: stretch; border-bottom: 1px solid var(--line); }
.m-unit { grid-column: 1; font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.m-bar { height: 22px; margin-inline: 1.5px; border-radius: 6px; color: #FFFFFF; font-weight: 700; font-size: 10px; display: flex; align-items: center; padding-inline: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.m-bar.orange { background: var(--orange); }
.m-bar.green { background: var(--green); }
.m-bar.indigo { background: var(--indigo); }
.m-bar.pick { background: var(--tint); border: 1.5px solid var(--indigo); }
.m-chip { justify-self: end; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: var(--green-soft); color: #166534; font-weight: 700; font-size: 10.5px; white-space: nowrap; }
.m-chip::before { content: ""; width: 7px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
/* grid lines: label = 1-2, day d spans 2+2d to 4+2d, its midpoint is 3+2d */
.c-joe { grid-column: 3 / 7; }
.c-celine { grid-column: 7 / 11; }
.c-pick { grid-column: 11 / 15; }
.c-chip { grid-column: 2 / 15; }
.c-ralph { grid-column: 5 / 13; }
.m-by { display: flex; align-items: center; gap: 7px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.m-by b { color: var(--ink); }
.m-by i { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--orange); color: #FFFFFF; font-style: normal; font-weight: 800; font-size: 9px; display: grid; place-items: center; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--bg); transition: border-color 0.15s ease; }
.faq details[open] { border-color: #C9CBDA; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px 18px 24px; font-weight: 700; font-size: 18px; line-height: 1.35; display: flex; justify-content: space-between; gap: 16px; align-items: center; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338CA' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid .section-head { position: static; }
}
@media (max-width: 480px) { .faq summary { font-size: 17px; padding: 16px 16px 16px 20px; } .faq details > div { padding: 0 20px 20px; } }

/* Final CTA */
.cta { padding-block: 0 96px; }
.cta-panel { background: var(--indigo-deep); color: #FFFFFF; border-radius: 32px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-panel > div { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-width: 0; position: relative; }
.cta-panel h2 { color: #FFFFFF; }
.cta-panel p { color: #D7D9FB; font-size: 18px; max-width: 32em; }
.cta-panel .pill { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #E0E2FF; }
.cta-panel .stores-label { color: #D7D9FB; }
.cta-panel .founding { font-size: 15px; }
.cta-panel .founding b { color: #FDBA74; }
.button.outline-light { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.4); background: transparent; }
.button.outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: #FFFFFF; }
.cta-logo { width: clamp(120px, 16vw, 200px); height: auto; padding: 22px; background: #FFFFFF; border-radius: 36px; position: relative; }
@media (max-width: 720px) { .cta-panel { grid-template-columns: 1fr; } .cta-logo { width: 96px; padding: 14px; border-radius: 24px; grid-row: 1; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; }
.site-footer .brand { font-size: 19px; }
.site-footer .brand svg { width: 28px; height: 28px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a:not(.brand) { color: var(--muted); text-decoration: none; }
.site-footer a:not(.brand):hover { color: var(--ink); text-decoration: underline; }
.site-footer .copy { width: 100%; font-size: 14px; }

/* Plain pages: privacy, delete account */
.page { padding-block: 48px 96px; }
.page .wrap { max-width: 780px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); }
.page h2 { font-size: 24px; margin-top: 22px; letter-spacing: -0.025em; line-height: 1.2; }
.page h3 { font-size: 18px; margin-top: 6px; }
.page p, .page li { color: #3E3E58; }
.page ul, .page ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.page .updated { font-size: 14px; color: var(--muted); }
.page .lede { color: var(--muted); }
.page strong { color: var(--ink); }
.page .toc { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 0; margin: 6px 0 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.toc a:hover { border-color: #C9CBDA; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 28px); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.card.note { background: var(--tint); border-color: transparent; }
.steps-list { counter-reset: n; list-style: none; padding: 0 !important; }
.steps-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.steps-list li::before { counter-increment: n; content: counter(n); width: 30px; height: 30px; border-radius: 10px; background: var(--indigo); color: #FFFFFF; font-weight: 800; font-size: 14px; display: grid; place-items: center; transform: translateY(6px); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.two-col .card h3 { margin: 0; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

/* Invite fallback and 404 */
.center-page { min-height: calc(100vh - 160px); display: grid; place-items: center; padding-block: 48px 72px; }
.center-page .wrap { max-width: 560px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.center-page .mark { width: 88px; height: 88px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; }
.center-page h1 { font-size: clamp(32px, 6vw, 44px); }
.center-page .lede { font-size: 18px; }
.center-page .card { width: 100%; text-align: left; }
.center-page .card .button { align-self: flex-start; }
.copy-status { font-size: 14px; color: var(--green); font-weight: 700; min-height: 1.4em; }
.copy-field { width: 100%; font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--bg); }
.copy-field[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover { transform: none; }
}
.center-page .hero-actions { justify-content: center; }

/* Comparison table */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); box-shadow: 0 12px 32px -18px rgba(18, 18, 58, 0.18); }
.compare table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare thead th { font-size: 14px; font-weight: 700; color: var(--muted); }
.compare thead th.ours { color: var(--ink); font-size: 16px; font-weight: 800; }
.compare thead th.ours svg { width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; }
.compare tbody th { font-weight: 700; color: var(--ink); width: 24%; }
.compare tbody td { color: var(--muted); }
.compare tbody td:last-child { color: var(--ink); font-weight: 600; background: var(--tint); }
.compare thead th.ours { background: var(--tint); border-radius: 0 21px 0 0; }
.compare td span { vertical-align: middle; }
.compare .mark { width: 20px; height: 20px; padding: 3px; border-radius: 50%; margin-right: 10px; vertical-align: middle; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.compare .mark.no { background: var(--red-soft); stroke: var(--red); }
.compare .mark.yes { background: var(--green-soft); stroke: var(--green); }
@media (max-width: 720px) { .compare th, .compare td { padding: 14px 16px; } }

/* Double-booking week: explicit rows, day lanes with column lines, the clashing nights shaded */
.week-grid > .day, .week-grid > .corner { grid-row: 1; }
.r-a { grid-row: 3; }
.r-a-note { grid-row: 4; }
.r-b { grid-row: 6; }
.r-b-note { grid-row: 7; }
.week-grid { grid-template-rows: auto 6px 44px auto 14px 78px auto; }
.week-grid .unit { align-self: center; }
.lane { grid-column: 2 / -1; align-self: stretch; border-radius: 10px; background-color: var(--surface); background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(100% / 7 - 1px), var(--line) calc(100% / 7 - 1px), var(--line) calc(100% / 7)); }
.turn { grid-column: 6 / 8; align-self: stretch; justify-self: center; width: 2px; margin-block: -4px; background: var(--green); border-radius: 1px; z-index: 2; }
.clash { grid-column: 9 / 13; align-self: stretch; border-radius: 8px; background: repeating-linear-gradient(135deg, var(--red-soft) 0, var(--red-soft) 6px, #FECACA 6px, #FECACA 12px); }
.week-grid .stay { position: relative; z-index: 1; align-self: center; }
.week-grid .stay.top { align-self: start; margin-top: 6px; }
.week-grid .stay.bottom { align-self: end; margin-bottom: 6px; background: #FFFFFF; }
.s-joe { grid-column: 3 / 7; }
.s-celine { grid-column: 7 / 13; }
.s-ralph { grid-column: 5 / 13; }
.s-hadi { grid-column: 9 / 15; }
.week-grid .week-note { font-weight: 600; font-size: 12.5px; padding-top: 2px; }

/* Who did what: activity like the app's, one booking with its timeline of saves, plus a deleted booking that stays */
.history-art { display: flex; flex-direction: column; gap: 14px; }
.act-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px; }
.act-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.act-stripe { flex: none; width: 6px; align-self: stretch; border-radius: 3px; background: var(--orange); }
.act-title { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.act-title b { font-size: 16px; color: var(--ink); }
.act-title small { font-size: 13px; color: var(--muted); }
.act-title s { color: var(--muted); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.act-by { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #FFEDD5; color: var(--orange); font-size: 12px; font-weight: 700; }
.act-by i { width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #FFFFFF; font-style: normal; font-size: 9px; font-weight: 800; display: grid; place-items: center; }
.act-timeline { list-style: none; margin: 0; padding: 6px 0 0; }
.act-timeline li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; padding-top: 12px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.act-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 46px; bottom: -12px; width: 2px; background: var(--line); }
.act-timeline p { margin: 0; }
.act-agency { color: var(--muted); }
.act-diff { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px !important; font-size: 13px; }
.act-diff s { color: var(--muted); }
.act-diff span { color: var(--ink); font-weight: 700; padding: 1px 8px; border-radius: 6px; background: var(--tint); }
.act-diff s + span::before { content: none; }
.act-timeline time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 6px; }
.act-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--indigo); position: relative; z-index: 1; }
.act-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tone-green .act-icon { background: var(--green-soft); color: var(--green); }
.act-icon.tone-red { background: var(--red-soft); color: var(--red); flex: none; }
.act-deleted { display: flex; align-items: center; gap: 12px; }
.act-kept { flex: none; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 520px) { .act-by { display: none; } .act-kept { display: none; } }

/* Privacy: the closing points as cards, then one contact card */
.policy-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.policy-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.page .policy-card h2, .page .contact-card h2 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.policy-card p { margin: 0; font-size: 15px; line-height: 1.55; }
.policy-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--indigo); display: grid; place-items: center; flex: none; }
.policy-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card { margin-top: 16px; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 18px; background: var(--tint); }
.contact-card .policy-icon { background: var(--bg); }
.contact-card p { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.contact-card a { color: var(--indigo); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
@media (max-width: 640px) { .policy-cards { grid-template-columns: 1fr; } .contact-card { align-items: flex-start; } }
