/* StayCheck product site (www.staycheck.me). Static, no build step.
   Layout: brand-led product page. Asymmetric hero (claim left, live room board right),
   then the real room-check sequence, audiences, features, owner portfolio, demo form.
   Palette + faces are StayCheck's own app tokens (frontend/src/index.css). */
:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-2: #e7ecf4;
  --ink: #1a2333;
  --muted: #5c6b82;
  --line: #d5dde8;
  --brand: #305aa7;
  --brand-soft: #e3eafa;
  --brand-text: #2c528f;
  --on-brand: #ffffff;
  --green: #7bc144;
  --green-soft: #e9f4dd;
  --green-text: #42761a;
  --amber: #dd9426;
  --amber-soft: #faeed6;
  --amber-text: #8a5c0f;
  --red: #d24d43;
  --red-soft: #f9e4e2;
  --red-text: #a53229;
  --band: #1f3c72;
  --band-ink: #ffffff;
  --band-muted: #b9c8e6;
  --shadow: 0 18px 50px rgba(26, 35, 51, 0.14);
  --f-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e141f; --surface: #171f2d; --surface-2: #1f2938; --ink: #e8edf5; --muted: #94a2b9;
    --line: #2a3547; --brand: #3e6cba; --brand-soft: #22314d; --brand-text: #8fb0e6; --on-brand: #ffffff;
    --green-soft: #233518; --green-text: #a4d97a; --amber-soft: #3a2c10; --amber-text: #eab765;
    --red-soft: #3d1c19; --red-text: #f0948c; --band: #142542; --band-ink: #e8edf5; --band-muted: #9fb0d0;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: 0.6; cursor: wait; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--brand-text); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-text); }
.lede { color: var(--muted); font-size: 17px; max-width: 60ch; }


/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 15px; border-radius: 10px; padding: 11px 18px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.top .btn { padding: 8px 14px; font-size: 14px; }
@media (max-width: 760px) { .nav { display: none; } .top .btn-ghost { margin-left: auto; } }

/* hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; font-weight: 800; margin-block: 14px 18px; }
.hero h1 .ok { color: var(--green-text); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero .facts span::before { content: "✓"; color: var(--green-text); font-weight: 700; margin-right: 6px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 56px; gap: 36px; } }

/* signature: the room board */
.board { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; max-width: 460px; justify-self: end; width: 100%; }
@media (max-width: 860px) { .board { justify-self: start; } }
.board-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.board-head b { font-family: var(--f-display); font-size: 18px; }
.board-head small { font-family: var(--f-mono); color: var(--muted); font-size: 11.5px; }
.board-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.floor { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; margin: 10px 0 6px; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.tile { position: relative; border-radius: 10px; padding: 7px 7px 6px; border: 1.5px solid var(--line); background: var(--surface-2); min-height: 58px; }
.tile .no { font-family: var(--f-display); font-weight: 800; font-size: 14px; }
.tile .t { font-size: 9.5px; font-weight: 600; color: var(--muted); }
.tile .when { font-family: var(--f-mono); font-size: 9px; color: var(--muted); }
.tile .badge { position: absolute; top: -6px; right: -5px; background: var(--red); color: #fff; font-size: 9.5px; font-weight: 700; border-radius: 9px; padding: 0 5px; line-height: 16px; }
.tile.done { background: var(--green-soft); border-color: var(--green); }
.tile.due { background: var(--brand-soft); border-color: var(--brand); }
.tile.open { background: var(--amber-soft); border-color: var(--amber); }
.tile.bad { background: var(--red-soft); border-color: var(--red); }
.tile.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); } }
@media (prefers-reduced-motion: reduce) { .tile.pulse { animation: none; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; border: 1.5px solid; }
.legend .l-done { background: var(--green-soft); border-color: var(--green); }
.legend .l-due { background: var(--brand-soft); border-color: var(--brand); }
.legend .l-open { background: var(--amber-soft); border-color: var(--amber); }
.legend .l-bad { background: var(--red-soft); border-color: var(--red); }

/* sections */
section.block .wrap { padding-block: 72px; }
.sec-head { display: grid; gap: 12px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 800; }

/* how a room check works — a real 4-step sequence */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.step { padding: 20px 20px 0 0; display: grid; gap: 8px; align-content: start; }
.step + .step { padding-left: 20px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--f-mono); font-size: 12px; color: var(--brand-text); }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; }
.keypad { display: inline-flex; gap: 4px; margin-top: 6px; }
.keypad span { font-family: var(--f-mono); font-size: 15px; width: 28px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--surface); border: 1.5px solid var(--line); }
.keypad span.on { border-color: var(--brand); color: var(--brand-text); }
.answers { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.answers span { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
.a-done { background: var(--green-soft); color: var(--green-text); }
.a-not { background: var(--amber-soft); color: var(--amber-text); }
.a-issue { background: var(--red-soft); color: var(--red-text); }
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { padding-top: 28px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; padding-top: 22px; }
}

/* audiences */
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.aud article { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.aud h3 { font-size: 21px; }
.aud .vocab { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.aud ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } }

/* features */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.feat div { display: grid; gap: 6px; align-content: start; }
.feat h3 { font-size: 17px; }
.feat p { color: var(--muted); font-size: 15px; }
.feat .chip { justify-self: start; font-family: var(--f-mono); font-size: 11px; border-radius: 6px; padding: 2px 7px; background: var(--brand-soft); color: var(--brand-text); }
@media (max-width: 860px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .feat { grid-template-columns: 1fr; } }

/* owners band */
.band { background: var(--band); color: var(--band-ink); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 72px; }
.band .eyebrow { color: var(--band-muted); }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin-block: 12px 14px; }
.band p { color: var(--band-muted); max-width: 52ch; }
.port { display: grid; gap: 10px; }
.pcard { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.pcard .row { display: flex; align-items: center; gap: 8px; }
.pcard b { font-family: var(--f-display); font-size: 15px; }
.code { font-family: var(--f-mono); font-size: 11px; background: var(--brand-soft); color: var(--brand-text); border-radius: 999px; padding: 1px 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills span { font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 2px 9px; background: var(--surface-2); color: var(--muted); }
.pills .w { background: var(--amber-soft); color: var(--amber-text); }
.pills .r { background: var(--red-soft); color: var(--red-text); }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }

/* demo form */
.demo .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; padding-block: 72px; }
.demo aside { display: grid; gap: 14px; align-content: start; }
.demo aside h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
.demo aside p { color: var(--muted); }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
label.full { grid-column: 1 / -1; }
input, select, textarea { font: 15px var(--f-body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; text-transform: none; letter-spacing: 0; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); }
textarea { min-height: 90px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-foot small { color: var(--muted); font-size: 12.5px; }
.ok-msg { grid-column: 1 / -1; background: var(--green-soft); color: var(--green-text); border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: 14px; }
.err { grid-column: 1 / -1; color: var(--red-text); font-size: 13.5px; font-weight: 600; }
@media (max-width: 860px) { .demo .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form { grid-template-columns: 1fr; padding: 18px; } }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding-block: 28px; font-size: 13.5px; color: var(--muted); }
footer .sw b:first-child { color: #305aa7; }
footer .sw b:last-child { color: #7bc144; }
footer nav { margin-left: auto; display: flex; gap: 18px; }
.alt { background: var(--surface-2); }
.logo img { width: 32px; height: 32px; }
.btn { white-space: nowrap; }
@media (max-width: 480px) {
  .top .wrap { gap: 8px; }
  .logo { font-size: 17px; gap: 8px; }
  .logo img { width: 28px; height: 28px; }
  .top .btn { padding: 7px 11px; font-size: 13px; }
}
