@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ===========================================================================
   chatos — marketing landing page
   Palette: desaturated WhatsApp green accent on an ink / near-white neutral base.
   Theme lock: light page; green is the single accent (incl. dark accent bands).
   =========================================================================== */

:root {
    --ink: #11201a;
    --text: #233029;
    --muted: #5d6f66;
    --bg: #ffffff;
    --bg-soft: #f4f8f5;
    --bg-tint: #eef5f1;
    --line: #e2eae5;
    --accent: #11875b;
    --accent-700: #0c6644;
    --accent-900: #093f2c;
    --accent-soft: #e7f4ee;
    --r: 16px;
    --r-sm: 11px;
    --maxw: 1180px;
    --shadow-sm: 0 6px 18px -10px rgba(16, 50, 36, .28);
    --shadow: 0 30px 70px -36px rgba(13, 60, 40, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer;
    padding: 11px 20px; border-radius: var(--r-sm); border: 1.5px solid transparent;
    transition: transform .12s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 14px 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--accent); color: #fff; box-shadow: 0 14px 28px -14px rgba(17,135,91,.75); }
.btn--solid:hover { background: var(--accent-700); }
.btn--line { background: #fff; color: var(--accent-700); border-color: var(--accent); }
.btn--line:hover { background: var(--accent-soft); }
.btn--ghost { color: var(--text); }
.btn--ghost:hover { color: var(--accent-700); }
.btn--white { background: #fff; color: var(--accent-700); }
.btn--white:hover { background: #eafaf2; }

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav__inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand img { height: 30px; }
.nav__links { display: flex; align-items: center; gap: 28px; font-weight: 600; color: var(--text); }
.nav__links a:hover { color: var(--accent-700); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
    background:
        radial-gradient(60% 60% at 88% 6%, var(--accent-soft), transparent 60%),
        radial-gradient(50% 50% at 0% 100%, var(--bg-tint), transparent 60%);
    padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero__grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .82rem; font-weight: 700; color: var(--accent-700);
    background: var(--accent-soft); border: 1px solid #cfe9dd;
    padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero__copy h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); margin: 20px 0 30px; max-width: 30ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin: 22px 0 0; color: var(--muted); font-size: .92rem; font-weight: 500; }
.hero__note i { color: var(--accent); }

/* Chat preview (the product's real surface, not a fake dashboard) */
.hero__visual { position: relative; }
.chat {
    width: 100%; max-width: 360px; margin: 0 auto;
    background: #fff; border: 1px solid var(--line); border-radius: 24px;
    box-shadow: var(--shadow); overflow: hidden;
}
.chat__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--accent-700); color: #fff; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--accent-700); font-weight: 800; display: grid; place-items: center; }
.chat__who { display: flex; flex-direction: column; line-height: 1.2; }
.chat__who strong { font-size: .95rem; }
.chat__who span { font-size: .76rem; color: #b9e6d2; }
.chat__more { margin-left: auto; opacity: .8; }
.chat__body { padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; background: #f3f7f4; min-height: 280px; }
.msg { max-width: 80%; padding: 9px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.4; box-shadow: var(--shadow-sm); }
.msg--in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: #d6f3e2; color: #0c3b28; border-bottom-right-radius: 4px; }
.msg__tag { display: block; margin-top: 5px; font-size: .68rem; font-weight: 700; color: var(--accent-700); opacity: .85; }
.chat__input { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; color: #93a39b; border-top: 1px solid var(--line); background: #fff; }
.chat__input i { color: var(--accent); }

.float {
    position: absolute; display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--ink); font-weight: 700; font-size: .82rem;
    padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.float i { color: var(--accent); }
.float--a { top: 18px; left: -6px; }
.float--b { bottom: 30px; right: -10px; }

/* ── Integrations strip ───────────────────────────────────────── */
.logos { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.logos__label { text-align: center; color: var(--muted); font-weight: 600; font-size: .9rem; margin: 0 0 22px; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; }
.logos__row img { height: 26px; opacity: .65; transition: opacity .2s ease; filter: saturate(.7); }
.logos__row img:hover { opacity: 1; }

/* ── Section heads ────────────────────────────────────────────── */
.sec__head { max-width: 40ch; margin: 0 auto clamp(34px, 5vw, 52px); text-align: center; }
.sec__head--left { text-align: left; margin-left: 0; }
.sec__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.sec__sub { color: var(--muted); margin: 14px 0 0; font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 14px; }

/* ── Features bento ───────────────────────────────────────────── */
.features { padding: clamp(56px, 8vw, 100px) 0; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cell {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
    padding: 28px; box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cell--lead { grid-row: span 2; background: var(--bg-soft); }
.cell--wide { grid-column: span 2; }
.cell--accent {
    color: #eafaf2;
    background: radial-gradient(120% 100% at 100% 0%, rgba(255,255,255,.10), transparent 55%), linear-gradient(160deg, var(--accent-700), var(--accent-900));
    border-color: transparent;
}
.cell--accent h3 { color: #fff; }
.cell--accent p { color: #c8e8d8; }
.cell__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-700); font-size: 1.15rem; margin-bottom: 18px; }
.cell__icon--light { background: rgba(255,255,255,.16); color: #fff; }
.cell h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; }
.cell p { color: var(--muted); margin: 0; }
.cell__list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.cell__list--row { grid-template-columns: 1fr 1fr; }
.cell__list li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--text); font-size: .92rem; }
.cell__list i { color: var(--accent); font-size: .8rem; }

/* ── Steps ────────────────────────────────────────────────────── */
.steps { padding: clamp(48px, 7vw, 88px) 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.step__num { display: inline-block; font-size: 1rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ── Pricing ──────────────────────────────────────────────────── */
.pricing { padding: clamp(56px, 8vw, 100px) 0; }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 24px 18px; box-shadow: var(--shadow-sm);
}
.plan--pop { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-6px); }
.plan__badge { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .03em; padding: 5px 11px; border-radius: 999px; }
.plan__name { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.plan__price strong { font-size: 1.85rem; font-weight: 800; color: var(--ink); }
.plan__price span { color: var(--muted); font-size: .9rem; }
.plan__meta { list-style: none; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.plan__meta li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); font-size: .9rem; }
.plan__meta i { color: var(--accent-700); width: 16px; text-align: center; }
.plan__feat { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; }
.plan__feat li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .88rem; }
.plan__feat i { color: var(--accent); font-size: .78rem; }
.plan__per { color: var(--muted); font-size: .9rem; font-weight: 600; }
.plan__save { margin: -10px 0 16px; font-size: .8rem; font-weight: 600; color: var(--accent-700); }

/* Monthly / Yearly toggle */
.billtoggle {
    display: inline-flex; gap: 4px; padding: 5px; margin: 0 auto 34px;
    background: var(--bg-soft, #f3f6f4); border: 1px solid var(--line); border-radius: 999px;
}
.pricing .sec__head { margin-bottom: 22px; }
.pricing .billtoggle { display: flex; width: max-content; }
.pricing > .wrap { text-align: center; }
.pricing > .wrap > .plans, .pricing > .wrap > .sec__head { text-align: left; }
.billtoggle__opt {
    display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
    background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: .9rem;
    padding: 9px 20px; border-radius: 999px; transition: background .15s, color .15s;
}
.billtoggle__opt.is-on { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.billtoggle__save {
    font-size: .68rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.22); color: inherit;
}
.billtoggle__opt:not(.is-on) .billtoggle__save { background: var(--accent); color: #fff; }

/* ── Pricing comparison table ─────────────────────────────────── */
.pt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pt { width: 100%; border-collapse: collapse; background: #fff; font-size: .94rem; min-width: 820px; }
.pt thead th {
    background: #10352e; color: #fff; text-align: center; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; font-size: .8rem; padding: 16px 18px; vertical-align: middle;
}
.pt thead th.pt-feat { text-align: left; }
.pt thead th.pt-plan--rec { background: var(--accent); }
.pt-plan__name { display: block; }
.pt-plan__rec { display: block; font-size: .66rem; font-weight: 700; opacity: .95; margin-top: 3px; }
.pt tbody td { padding: 13px 18px; text-align: center; color: var(--text); border-top: 1px solid var(--line); }
.pt tbody td.pt-feat { text-align: left; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pt tbody tr:nth-child(even) td { background: #f7f9f8; }
.pt tbody tr:nth-child(even) td.pt-rec { background: #eef7f2; }
.pt tbody td.pt-rec { background: #f1f9f4; box-shadow: inset 1px 0 0 rgba(19,122,75,.14), inset -1px 0 0 rgba(19,122,75,.14); }
.pt-row--price td { font-size: 1rem; }
.pt-row--price td b { color: var(--ink); }
.pt-yes { color: var(--accent-700, #137a4b); font-size: 1rem; }
.pt-no { color: var(--faint, #9aa1ad); font-size: .82rem; }
.pt-row--cta td { padding: 20px 18px; border-top: 1px solid var(--line); }
.pt-row--cta .btn { width: 100%; }
.pt-note { margin: 18px 2px 0; color: var(--muted); font-size: .9rem; text-align: center; }
.pt-note a { color: var(--accent-700, #137a4b); font-weight: 600; }
@media (max-width: 620px) {
    .pt { font-size: .86rem; }
    .pt thead th, .pt tbody td { padding: 11px 12px; }
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq { padding: clamp(48px, 7vw, 88px) 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\002B"; color: var(--accent); font-weight: 800; font-size: 1.3rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ── Final CTA ────────────────────────────────────────────────── */
.cta { padding: clamp(56px, 8vw, 96px) 0; }
.cta__inner {
    text-align: center; color: #eafaf2; border-radius: 28px;
    padding: clamp(40px, 6vw, 72px) 24px;
    background: radial-gradient(80% 120% at 50% 0%, rgba(255,255,255,.12), transparent 60%), linear-gradient(160deg, var(--accent-700), var(--accent-900));
}
.cta__inner h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
.cta__inner p { color: #c8e8d8; margin: 14px 0 28px; font-size: 1.1rem; }

/* ── Footer ───────────────────────────────────────────────────── */
.foot { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand img { height: 28px; margin-bottom: 12px; }
.foot__brand p { color: var(--muted); margin: 0; max-width: 28ch; }
.foot__col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; }
.foot__col a { display: block; color: var(--muted); padding: 5px 0; font-weight: 500; }
.foot__col a:hover { color: var(--accent-700); }
.foot__base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ── Scroll reveal ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1180px) {
    .plans { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
    .nav__links { display: none; }
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero__sub { max-width: none; }
    .bento { grid-template-columns: 1fr 1fr; }
    .cell--lead { grid-row: auto; }
    .cell--wide { grid-column: span 2; }
    .plans { grid-template-columns: 1fr 1fr; }
    .plan--pop { transform: none; }
    .faq__grid { grid-template-columns: 1fr; gap: 24px; }
    .faq .sec__head--left { text-align: left; }
}
@media (max-width: 620px) {
    .bento, .steps__row, .plans { grid-template-columns: 1fr; }
    .cell--wide { grid-column: auto; }
    .cell__list--row { grid-template-columns: 1fr; }
    .nav__actions .btn--ghost { display: none; }
    .foot__grid { grid-template-columns: 1fr 1fr; }
    .float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .cell, .btn, .logos__row img { transition: none; }
}

/* ── Nav: Use cases menu ──────────────────────────────────────── */
.nav__menu { position: relative; }
.nav__menu > button {
    font: inherit; font-weight: 600; color: var(--text); background: none; border: 0;
    cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px;
}
.nav__menu > button i { font-size: .7rem; color: var(--muted); transition: transform .18s ease; }
.nav__menu:hover > button, .nav__menu:focus-within > button { color: var(--accent-700); }
.nav__menu:hover > button i, .nav__menu:focus-within > button i { transform: rotate(180deg); }
.nav__drop {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
    min-width: 268px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__menu:hover .nav__drop, .nav__menu:focus-within .nav__drop {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__drop a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: var(--r-sm); }
.nav__drop a:hover { background: var(--bg-soft); }
.nav__drop i { color: var(--accent); width: 18px; text-align: center; margin-top: 3px; }
.nav__drop strong { display: block; color: var(--ink); font-size: .95rem; }
.nav__drop span { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; line-height: 1.45; }

/* ── Use-case pages ───────────────────────────────────────────── */
.uc-hero { padding: clamp(44px, 6vw, 76px) 0 clamp(48px, 6vw, 80px);
    background: radial-gradient(120% 90% at 88% 0%, var(--accent-soft), transparent 58%); }
.uc-hero .hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.uc-hero h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); font-weight: 800; }
.uc-crumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; font-weight: 600; margin-bottom: 16px; }
.uc-crumb a:hover { color: var(--accent-700); }

/* Nine nights: each night's traditional colour, mapped to a dated pass */
.nights { padding: clamp(48px, 7vw, 84px) 0; }
.nights__strip { display: grid; grid-template-columns: repeat(9, 1fr); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.nights__strip div { height: 76px; position: relative; }
.nights__strip span { position: absolute; inset: auto 0 8px 0; text-align: center; font-size: .72rem; font-weight: 800;
    color: rgba(255,255,255,.92); text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.nights__legend { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: .9rem; }

/* Phase blocks: before / during / after */
.phase { padding: clamp(48px, 7vw, 88px) 0; }
.phase--tint { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.phase__head { max-width: 46ch; margin-bottom: clamp(26px, 4vw, 40px); }
.phase__head h2 { font-size: clamp(1.55rem, 2.7vw, 2.15rem); font-weight: 800; }
.phase__head p { color: var(--muted); margin: 12px 0 0; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span { font-size: .75rem; font-weight: 700; color: var(--accent-700); background: var(--accent-soft);
    padding: 4px 9px; border-radius: 999px; }
.tags--light span { color: #dff0e7; background: rgba(255,255,255,.13); }

/* Phase 1 — asymmetric bento. Wide cells sit on opposite sides so the grid
   has rhythm instead of three equal columns repeating down the page. */
.bento--ops .cell--wide { grid-column: span 2; }
.bento--ops .cell__list { margin-top: 14px; }

/* Phase 2 — no cards at all. A dark band of hairline-divided rows, because
   this is the section about the nights themselves. */
.onnight { background: linear-gradient(135deg, var(--accent-900), #0a4b34 70%); color: #cfe9dd;
    padding: clamp(48px, 7vw, 88px) 0; }
.onnight h2 { color: #fff; }
.onnight__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.onnight__lead p { color: #a9d3c1; margin: 12px 0 0; }
.onnight__row { display: grid; grid-template-columns: 42px 1fr; gap: 20px;
    padding: 24px 0; border-top: 1px solid rgba(255,255,255,.15); }
.onnight__row:first-child { border-top: 0; padding-top: 0; }
.onnight__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.12); color: #fff; font-size: 1rem; }
.onnight__row h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.onnight__row p { color: #b9dccb; margin: 0; }

/* Setup — a connected spine. The line is the point: setup is a real
   sequence, so the steps are nodes on it rather than three loose boxes. */
.setup { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: clamp(52px, 7vw, 92px) 0; }
.setup__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 68px); align-items: start; }
.setup__aside h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.setup__aside p { color: var(--muted); margin: 14px 0 26px; }
.setup__spine { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: step; }
.setup__spine::before { content: ""; position: absolute; left: 19px; top: 16px; bottom: 22px; width: 2px;
    background: linear-gradient(var(--accent), var(--accent-soft)); }
.setup__step { position: relative; counter-increment: step; padding: 0 0 30px 60px; }
.setup__step:last-child { padding-bottom: 0; }
.setup__step::before { content: counter(step); position: absolute; left: 0; top: -3px;
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 2px solid var(--accent); color: var(--accent-700); font-weight: 800; font-size: .95rem; }
.setup__step--done::before { content: "\2713"; background: var(--accent); border-color: var(--accent);
    color: #fff; font-size: 1.05rem; }
.setup__step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.setup__step p { color: var(--muted); margin: 0; }
.setup__step--done h3 { color: var(--accent-700); }

/* Phase 3 — two columns split by a rule, no card chrome. */
.after { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); }
.after__col h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800; margin-bottom: 12px; }
.after__col p { color: var(--muted); margin: 0; }
.after__col + .after__col { border-left: 1px solid var(--line); padding-left: clamp(30px, 5vw, 60px); }

@media (max-width: 980px) {
    .uc-hero .hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .nav__menu { display: none; }
    /* 6 cells into 2 columns = 3 full rows, so no span may survive here
       or the grid leaves a hole. */
    .bento--ops .cell--wide { grid-column: auto; }
    .bento--ops .cell--lead { grid-row: auto; }
    .onnight__grid { grid-template-columns: 1fr; gap: 30px; }
    .setup__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 820px) {
    .after { grid-template-columns: 1fr; }
    .after__col + .after__col { border-left: 0; padding-left: 0;
        border-top: 1px solid var(--line); padding-top: 30px; }
}
@media (max-width: 620px) {
    .nights__strip { grid-template-columns: repeat(3, 1fr); }
    .nights__strip div { height: 58px; }
    .onnight__row { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Use-case product mockups ──────────────────────────────────
   Hand-built product shots (no screenshots, so they never go stale
   against the real UI and stay crisp at any zoom). Same tokens as the
   rest of the page: accent green for healthy, red only for sold out. */
.shot {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow); overflow: hidden;
}
.shot__bar {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d3ddd7; display: block; }
.shot__title { font-size: .82rem; font-weight: 700; color: var(--ink); }
.shot__title span { color: var(--muted); font-weight: 600; }
.shot__pill {
    margin-left: auto; font-size: .7rem; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: var(--accent-700); background: var(--accent-soft);
    padding: 4px 10px; border-radius: 999px;
}

/* Per-night stock board */
.board { padding: 6px 0 0; }
.board__row {
    display: grid; grid-template-columns: 118px 1fr 92px 84px; align-items: center;
    gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--line);
}
.board__row:last-child { border-bottom: 0; }
.board__night { line-height: 1.25; }
.board__night strong { display: block; font-size: .86rem; }
.board__night span { font-size: .74rem; color: var(--muted); font-weight: 600; }
.board__track { height: 8px; border-radius: 999px; background: #eef2ef; overflow: hidden; }
.board__fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.board__row.is-out .board__fill { background: #d64545; }
.board__num { font-size: .82rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.board__num span { color: var(--muted); font-weight: 600; }
.board__state { text-align: right; font-size: .74rem; font-weight: 800; color: var(--accent-700); }
.board__row.is-out .board__state { color: #c0392b; }
.board__row.is-tight .board__state { color: #b26a00; }
.board__foot {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 13px 18px; background: var(--bg-soft); border-top: 1px solid var(--line);
    font-size: .8rem; color: var(--muted); font-weight: 600;
}
.board__foot b { color: var(--ink); }
.board__tag {
    font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    padding: 4px 9px; border-radius: 999px; background: #fdecec; color: #c0392b;
}
@media (max-width: 620px) {
    .board__row { grid-template-columns: 96px 1fr 76px; gap: 10px; padding: 10px 13px; }
    .board__state { display: none; }
}

/* Gate scanner phone */
.scan { width: 100%; max-width: 300px; margin: 0 auto; border-radius: 26px; }
.scan__bar { background: var(--accent-900); color: #fff; padding: 13px 16px; display: flex; align-items: center; gap: 10px; }
.scan__bar strong { font-size: .9rem; }
.scan__bar span { margin-left: auto; font-size: .72rem; color: #a9dcc4; font-weight: 700; }
.scan__lens {
    position: relative; height: 128px; background:
        repeating-linear-gradient(45deg, #10241c, #10241c 8px, #132b21 8px, #132b21 16px);
    display: grid; place-items: center;
}
.scan__frame { width: 84px; height: 84px; border-radius: 12px; border: 2px solid rgba(255,255,255,.35); }
.scan__frame::after {
    content: ""; display: block; height: 2px; margin-top: 40px;
    background: #48d29a; box-shadow: 0 0 12px #48d29a;
}
.scan__result { padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--line); }
.scan__ico { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; }
.scan__result--ok .scan__ico { background: var(--accent); }
.scan__result--no .scan__ico { background: #d64545; }
.scan__what strong { display: block; font-size: .88rem; }
.scan__what span { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.scan__result--no .scan__what strong { color: #c0392b; }

/* Small live tiles used beside the scanner */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px; box-shadow: var(--shadow-sm); }
.tile__k { font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tile__v { font-size: 1.45rem; font-weight: 800; margin-top: 5px; font-variant-numeric: tabular-nums; }
.tile__n { font-size: .75rem; color: var(--muted); font-weight: 600; }
.tile__n b { color: var(--accent-700); }

/* Multi-column "Use cases" dropdown (many verticals) */
.nav__drop--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 560px; }

/* "Powered by chatos" strip on use-case pages */
.powered-strip { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.powered-strip__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.powered-strip .tags { margin-top: 0; }
@media (max-width: 620px) {
    .nav__drop--grid { grid-template-columns: 1fr; min-width: 268px; }
}
