/* inoutcheckin.com: the same warm paper neutrals and coffee-brown accent as the app (src/ui/theme.ts). */
:root {
  --bg: #f5efe8; --surface: #fffdfa; --sunk: #ede4d9; --line: #e3d8ca;
  --ink: #21180f; --ink2: #5c4f43; --ink3: #8a7b6d;
  --accent: #8b5a2b; --accent-ink: #ffffff; --accent-soft: #f1e3d2;
  --P: #2f8a4f; --P-soft: #dff0e3; --L: #b46a12; --L-soft: #f8e8cf;
  --A: #b8322f; --A-soft: #f7dfdc; --E: #6d55a8; --E-soft: #ebe4f5;
  --radius: 20px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(33 24 15 / 6%), 0 12px 32px -12px rgb(33 24 15 / 18%);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110e; --surface: #1e1915; --sunk: #2a231d; --line: #3a3028;
    --ink: #f4ede5; --ink2: #c3b5a6; --ink3: #968779;
    --accent: #d09a62; --accent-ink: #1a120a; --accent-soft: #3a2a1b;
    --P: #5cc882; --P-soft: #1a3524; --L: #eba84e; --L-soft: #3d2b12;
    --A: #f07a72; --A-soft: #44201d; --E: #b8a3f0; --E-soft: #2e2647;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px -12px rgb(0 0 0 / 60%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--ink2); }
.muted { color: var(--ink2); }
.small { font-size: .9rem; color: var(--ink3); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; 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; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.brand b { font-weight: inherit; }
.brand b span { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.top .actions { display: flex; gap: 10px; }
@media (max-width: 860px) { .nav { display: none; } .top .actions { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { border-color: var(--ink3); }
.btn.big { min-height: 52px; padding: 0 26px; font-size: 1.02rem; }
@media (max-width: 420px) { .top .btn.secondary { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--accent); }
.hero .lead { margin-top: 20px; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 16px; }
@media (max-width: 900px) { .hero { padding-top: 40px; } .hero .wrap { grid-template-columns: 1fr; } }

/* A phone showing the app's "My day" screen, drawn in HTML so it stays sharp and follows dark mode. */
.phone { justify-self: center; width: 300px; max-width: 100%; border-radius: 44px; padding: 12px; background: #1b1511; box-shadow: var(--shadow); }
.phone .screen { border-radius: 34px; background: var(--bg); padding: 22px 16px 18px; display: grid; gap: 12px; }
.phone .bar { display: flex; align-items: center; justify-content: space-between; }
.phone .bar .brand { font-size: .9rem; gap: 7px; }
.phone .bar .brand img { width: 24px; height: 24px; }
.phone .clock { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.phone .card { border-radius: 16px; padding: 12px 14px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.P { background: var(--P-soft); color: var(--P); }
.pill.L { background: var(--L-soft); color: var(--L); }
.pill.A { background: var(--A-soft); color: var(--A); }
.pill.E { background: var(--E-soft); color: var(--E); }
.phone .go { background: var(--accent); color: var(--accent-ink); border-radius: 16px; padding: 14px; text-align: center; font-weight: 800; }
.phone .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone .ghost { border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; font-weight: 700; font-size: .85rem; color: var(--ink2); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.head { max-width: 40em; margin-bottom: 40px; }
.head h2 { margin-top: 10px; }
.head p { margin-top: 14px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { display: grid; gap: 10px; align-content: start; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
section.alt .card { background: var(--bg); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 72px; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--ink2); }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--P-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232f8a4f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Mock manager screens */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel .ph { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel .ph b { font-size: 1rem; }
.panel table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.panel td, .panel th { padding: 11px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.panel th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); font-weight: 700; }
.panel tr:last-child td { border-bottom: 0; }
.panel .num { font-variant-numeric: tabular-nums; text-align: right; }
.who { display: flex; align-items: center; gap: 10px; }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: .78rem; display: grid; place-items: center; flex: none; }
.roster { display: grid; grid-template-columns: 110px repeat(5, 1fr); font-size: .82rem; }
.roster > div { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.roster .h { font-weight: 700; color: var(--ink3); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.shift { border-radius: 8px; padding: 4px 6px; font-weight: 700; font-size: .74rem; text-align: center; }
.shift.m { background: var(--accent-soft); color: var(--accent); }
.shift.e { background: var(--E-soft); color: var(--E); }
.shift.off { color: var(--ink3); font-weight: 600; }
.panel .scroll { overflow-x: auto; }

/* how it works */
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 16px; left: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; }
.steps p { margin-top: 6px; color: var(--ink2); }

/* staff band */
.staff { background: var(--accent); color: var(--accent-ink); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.staff .eyebrow { color: inherit; opacity: .8; }
.staff p { opacity: .92; margin-top: 12px; }
.staff .btn.secondary { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 45%, transparent); }
.staff .cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .staff { grid-template-columns: 1fr; padding: 28px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--ink2); }

.final { text-align: center; }
.final .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.final p { margin: 14px auto 0; max-width: 34em; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer nav a { color: var(--ink2); text-decoration: none; font-size: .92rem; }
footer nav a:hover { color: var(--ink); }

/* legal / support pages */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.doc h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc .updated { margin-top: 10px; }
