/* BeargrassAI 2.0.0 · page prototype: Booking and deposits (BEA-432). After /brand/tokens.css and /brand/base.css.
   The page's own: the table pinned under the first screen and the scene; five steps, each a line and the booking
   window's own words; the email at dawn; still words by day; the price. About: BGA 2.0.0-preview.7. Moving rules sit
   under .m, so reduced motion and scripts off show the first screen, then the five steps as a list. */

/* The wordmark link at a full 44px touch target (the kit's is 42 on phones; a kit wish, as on pricing). */
.site .mark { padding: 10px 0; }

/* 1 · The first screen, over the letters (hero-commerce-payments, BGA 75 and 63). The words sit on night (the veil);
   the folded card keeps the middle. */
.book { position: relative; background: var(--canvas); }
.book-track { position: relative; }
.actions .btn { min-width: 132px; }

/* The picture, one crop per size. veil-mid is the night over the table and lifts at first light; veil-ends holds the
   dark above and below, where words sit; the sun rises under both. */
.stage { background: var(--canvas); }
.art { position: relative; z-index: 0; height: 100vh; height: 100svh; min-height: 540px; max-height: 1100px; overflow: hidden; background: #101c3c; }
.art picture { display: contents; }
.art-img { position: absolute; z-index: 0; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.sunup { position: absolute; z-index: 1; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(closest-side, rgba(255, 222, 158, 0.7), rgba(255, 188, 112, 0.3) 42%, rgba(255, 170, 92, 0.08) 72%, rgba(255, 170, 92, 0)); will-change: opacity; }
.veil { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.veil-ends { z-index: 3; }
.veil-mid { background: rgba(8, 13, 32, 0.4); }
.veil-ends { background: linear-gradient(180deg, rgba(6, 10, 24, 0.86) 0%, rgba(6, 10, 24, 0.78) 14%, rgba(6, 10, 24, 0.6) 26%, rgba(6, 10, 24, 0.3) 36%, rgba(6, 10, 24, 0) 45%, rgba(6, 10, 24, 0) 68%, rgba(8, 13, 30, 0.62) 77%, rgba(10, 16, 36, 0.9) 88%, var(--canvas) 100%); }
.glow { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.art .brand { display: none; z-index: 5; top: 0; right: auto; left: 0; align-items: center; }
.art .brand.placed { display: flex; }
.art .brand .iron { width: 46px; height: 46px; }
.art .brand .b-label { padding: 3px 7px 4px; background: rgba(8, 13, 30, 0.84); text-align: center; }

/* 2 · The five steps, still: a numbered list on night, each step's line and the booking window's own words. */
.scene-in { position: relative; z-index: 3; width: min(100% - 32px, 760px); margin-inline: auto; padding: 40px 0 56px; }
.scene-k { color: var(--cream); }
.beat-ticks { display: none; }
.beats { display: grid; gap: 34px; margin-top: 22px; counter-reset: s; }
.beat { display: grid; gap: 14px; }
.bl { position: relative; padding-left: 46px; font: 400 clamp(26px, 7vw, 40px)/1.12 var(--display); color: var(--white); text-wrap: balance; }
.bl::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0.32em; width: 30px; height: 26px; border: 1px solid rgba(244, 196, 90, 0.7); font: 500 12px/24px var(--mono); text-align: center; color: var(--gold-bright); }

/* The booking window, as the guest reads it: night glass, square, its own words. Times and amounts are a sample. */
.win { position: relative; width: 100%; max-width: 440px; padding: 13px 15px 15px; background: rgba(11, 18, 37, 0.95); border: 1px solid rgba(240, 230, 207, 0.3); --cm: rgba(240, 230, 207, 0.55); color: var(--cream); font-size: 14.5px; line-height: 1.45; }
.w-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.w-t { font: 600 16px/1.3 var(--sans); color: var(--white); }
.w-s { flex: 0 0 auto; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-2); }
.w-lead { margin-top: 6px; color: var(--cream); }
.w-k { margin-top: 10px; font: 500 10px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-2); }
.w-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.w-chips li { padding: 8px 10px; border: 1px solid rgba(240, 230, 207, 0.32); font: 500 12px/1 var(--mono); color: var(--cream); white-space: nowrap; }
.w-chips li.on { border-color: var(--gold-bright); color: var(--gold-bright); box-shadow: inset 0 0 0 1px var(--gold-bright); }
.w-chips li.gone { color: rgba(240, 230, 207, 0.72); border-style: dashed; border-color: rgba(240, 230, 207, 0.28); text-decoration: line-through; }
.w-hint { margin-top: 8px; font: 400 12px/1.45 var(--mono); color: var(--cream-2); }
.w-rows { display: grid; gap: 5px; margin-top: 9px; }
.w-rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.w-rows dt { font-size: 13.5px; color: var(--cream-2); }
.w-rows dd { font: 500 12.5px/1.4 var(--mono); color: var(--cream); text-align: right; }
.w-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.w-fields span { display: block; padding: 14px 0 5px; border-bottom: 1px solid rgba(240, 230, 207, 0.5); font: 500 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-2); }
.w-status { margin-top: 10px; font: 500 13px/1.4 var(--mono); color: var(--gold-bright); }
.w-who { margin-bottom: 8px; padding-bottom: 7px; border-bottom: 1px solid var(--rule); font: 500 10px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-2); }
.w-err { margin-top: 8px; padding-left: 10px; border-left: 2px solid var(--barn); color: var(--white); }
.w-swap .w-lead { display: none; }
.m .w-swap { display: grid; margin-top: 6px; }
.m .w-swap > * { grid-area: 1 / 1; margin: 0; }
.m .w-swap .w-lead { display: block; }
.w-note { margin-top: 9px; color: var(--cream); }
.w-pol { margin-top: 9px; padding: 6px 9px 7px; border: 1px solid var(--rule); font-size: 13.5px; line-height: 1.4; color: var(--cream); }
.w-pol .w-k { display: block; margin: 0 0 1px; }
.w-pay { display: grid; justify-items: start; gap: 10px; margin-top: 10px; }
.w-pay .w-go { margin: 0; }
.w-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 10px 16px; border: 1px solid rgba(240, 230, 207, 0.72); font: 600 12px/1 var(--sans); font-stretch: 125%; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cream); white-space: nowrap; }
.w-ok { display: flex; align-items: center; gap: 9px; margin-top: 10px; font: 500 13px/1.4 var(--mono); color: var(--cream); }
.w-ok strong { font-weight: 600; color: var(--gold-bright); }
.w-ok .iron { width: 26px; height: 26px; flex: 0 0 auto; }
.w-ok .iron use { stroke-width: 10; }
.w-phase + .w-phase { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.win-other { border-style: dashed; }

/* The scene in motion: the stage pinned (base.css), the picture raised on phones so the box clears the words (page.js),
   one step at a time: its line at the top, its window below. */
.m .book-track { height: 620vh; }
.m .art { position: absolute; left: 0; right: 0; top: 0; height: 100%; min-height: 0; max-height: none; will-change: transform; }
.m .scene-in { position: absolute; inset: 0; z-index: 3; width: auto; margin: 0; padding: 0; pointer-events: none; }
.m .scene-k { position: absolute; left: var(--gut); top: calc(76px + env(safe-area-inset-top, 0px)); opacity: 0; }
.m .beat-ticks { display: flex; gap: 6px; position: absolute; left: var(--gut); top: calc(98px + env(safe-area-inset-top, 0px)); opacity: 0; }
.m .beat-ticks i { width: 18px; height: 3px; background: rgba(240, 230, 207, 0.24); transition: background-color 0.3s; }
.m .beat-ticks i.on { background: var(--gold-bright); }
.m .beats { position: absolute; inset: 0; display: block; margin: 0; }
.m .beat { position: absolute; inset: 0; display: block; opacity: 0; will-change: opacity, transform; }
.m .bl { position: absolute; left: var(--gut); right: var(--gut-r); top: calc(112px + env(safe-area-inset-top, 0px)); padding: 0; max-width: 17ch; font-size: clamp(27px, 7.6vw, 46px); line-height: 1.1; text-shadow: 0 2px 22px rgba(6, 10, 24, 0.9); }
.m .bl::before { content: none; }
.m .win { position: absolute; left: var(--gut); right: var(--gut-r); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: 460px; }
.m .win-other .w-err, .m .w-go, .m .w-booked { opacity: 0; }
.m .w-ok .iron { display: none; }
.m .w-chips li { transition: box-shadow 0.3s, color 0.3s, border-color 0.3s; }
.m .w-chips li.on.lit { box-shadow: inset 0 0 0 1px var(--gold-bright), 0 0 18px rgba(244, 196, 90, 0.5); }
.m .win-other .w-chips li.on { border-color: #dfe6fa; color: #eef2ff; box-shadow: inset 0 0 0 1px #dfe6fa, 0 0 16px rgba(214, 224, 250, 0.4); }
.m .w-btn { transition: border-color 0.25s, color 0.25s, box-shadow 0.25s; }
.m .w-btn.pressed { border-color: var(--gold-bright); color: var(--gold-bright); box-shadow: 0 0 18px rgba(244, 196, 90, 0.4); }
.m .w-pay > *, .m .w5 > .w-phase { grid-area: 1 / 1; }
.m .w-go { align-self: center; }
.m .w5 { display: grid; }
.m .w5 > .w-phase + .w-phase { margin: 0; padding: 0; border: 0; }

/* Short phones: the same thirds, set a little tighter so Start stays on the first screen and each window fits. */
@media (max-height: 760px) and (max-width: 899px) {
  .m .scene-k { top: calc(70px + env(safe-area-inset-top, 0px)); }
  .m .beat-ticks { top: calc(90px + env(safe-area-inset-top, 0px)); }
  .m .bl { top: calc(102px + env(safe-area-inset-top, 0px)); font-size: clamp(24px, 7vw, 34px); }
  .m .win { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 11px 13px 12px; font-size: 13.5px; }
  .m .w-hint, .m .w-pol { display: none; }
  .m .w-chips li { padding: 7px 9px; }
}
/* Phones and tablets (round 4): the portrait crop at the screen's width, its own height, its foot fading into the
   night; page.js seats it so the folded card sits between the headline and the lead. */
@media (max-width: 899px) {
  .art-img { height: auto; object-fit: fill; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
}
/* Phones: the review window drops When (beat 2 showed it) and the policy block (the day's words cover it). */
@media (max-width: 599px) { .m .w-when, .m .w-pol { display: none; } }
/* Narrow phones, and a phone at 125% page zoom (about 314px): Start and its link on one row, the window tighter. */
@media (max-width: 360px) {
  .actions .btn { min-width: 108px; padding-left: 18px; padding-right: 18px; }
  .actions .more { font-size: 15px; gap: 7px; }
  .w-fields { gap: 8px; }
  .w-btn { padding: 9px 12px; letter-spacing: 0.1em; }
  .m .w-chips li:first-child { display: none; }
}

/* Tablets: the same thirds; the window a little wider. */
@media (min-width: 600px) and (max-width: 899px) {
  .m .win { max-width: 480px; }
}

/* Laptop and up: the letters at the right, fading into night at their left edge; the words in a column at left. */
@media (min-width: 900px) {
  .art { background: linear-gradient(180deg, #0c1530 0%, #101d3e 40%, #0c1530 76%, var(--canvas) 100%); }
  /* The picture's place is the shared .edge-art rule. */
  .veil-mid { background: linear-gradient(90deg, rgba(6, 10, 24, 0.62) 0%, rgba(6, 10, 24, 0.5) 34%, rgba(8, 13, 32, 0.34) 48%, rgba(8, 13, 32, 0.34) 100%); }
  .veil-ends { background: linear-gradient(180deg, rgba(6, 10, 24, 0.5) 0%, rgba(6, 10, 24, 0) 18%, rgba(6, 10, 24, 0) 74%, rgba(10, 16, 36, 0.6) 88%, var(--canvas) 100%); }
  .art { min-height: 640px; }
  .art .brand .iron { width: 56px; height: 56px; }
  .scene-in { padding: 64px 0 80px; }
  .beat { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; column-gap: 40px; }
  .m .scene-k, .m .beat-ticks, .m .bl, .m .win { left: max(32px, env(safe-area-inset-left, 0px), calc((100% - var(--max)) / 2 + 32px)); }
  .m .scene-k { top: max(112px, 15vh); }
  .m .beat-ticks { top: calc(max(112px, 15vh) + 24px); }
  .m .bl { top: calc(max(112px, 15vh) + 44px); right: auto; width: min(520px, 40vw); max-width: none; font-size: clamp(40px, 3.6vw, 54px); }
  .m .win { top: calc(max(112px, 15vh) + 44px + var(--bl-h, 130px) + 30px); bottom: auto; right: auto; width: min(440px, 36vw); }
}

/* 3 · Dawn: the confirmation email, night glass swept to cardstock by the sunrise (sunrise-wipe). */
.mail-sec { position: relative; }
.mail-head { padding: 64px 0 30px; background: linear-gradient(180deg, var(--canvas) 0%, var(--night-2) 42%, #24364f 76%, var(--indigo) 100%); color: var(--cream); }
.mail-head h2 { max-width: 15ch; font-size: clamp(32px, 8.6vw, 58px); line-height: 1.06; color: var(--white); }
.mail-sec .dawn-art { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.mail-sec .dawn { padding-bottom: 40px; }
.mail-c { max-width: 100%; margin-inline: 0; }
.mail-card .face-day, .mail-card .face-night { display: block; }
.mail { padding: 18px 18px 20px; color: var(--ink); }
.mail-k { font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.mail-from { display: flex; gap: 12px; margin-top: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--rule-ink); font: 500 13.5px/1.4 var(--mono); color: var(--ink); }
.mail-from .mk { color: var(--ink-2); }
.mail-h { margin-top: 16px; font: 400 clamp(27px, 7.4vw, 36px)/1.08 var(--display); color: var(--ink); }
.mail-rows { display: grid; gap: 6px; margin-top: 14px; }
.mail-rows div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.mail-rows dt { font: 600 15px/1.4 var(--sans); color: var(--ink); }
.mail-rows dd { font: 500 13.5px/1.45 var(--mono); color: var(--ink); }
.mail-pol { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.mail-pol-t { margin-top: 5px; padding-left: 12px; border-left: 3px solid rgba(35, 31, 26, 0.22); font-size: 14.5px; color: var(--ink-2); }
.mail-foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--rule-ink); font: 400 12.5px/1.5 var(--mono); color: var(--ink-2); }
.face-night .mail, .face-night .mail-h, .face-night .mail-from, .face-night .mail-rows dt, .face-night .mail-rows dd { color: var(--cream); }
.face-night .mail-k, .face-night .mail-from .mk, .face-night .mail-pol, .face-night .mail-pol-t, .face-night .mail-foot { color: var(--cream-2); }
.face-night .mail-from, .face-night .mail-foot { border-color: var(--rule); }
.face-night .mail-pol-t { border-color: rgba(240, 230, 207, 0.25); }
.mail-say { position: relative; z-index: 2; max-width: 100%; margin: 24px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink); }

/* 4 · Day: what the owner sets and what comes to them, on cardstock over the contours. */
#day > .topo { -webkit-mask-image: linear-gradient(180deg, transparent 60px, #000 280px); mask-image: linear-gradient(180deg, transparent 60px, #000 280px); }
.facts-sec { position: relative; padding: 48px 0 20px; }
.facts-sec h2 { max-width: 16ch; }
.facts-live { max-width: 52ch; margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.facts { display: grid; gap: 18px; margin-top: 30px; }
.fact { padding: 18px 18px 20px; background: var(--paper-hi); border: 1px solid rgba(35, 31, 26, 0.3); }
.fact h3 { font: 400 clamp(23px, 6vw, 28px)/1.14 var(--display); color: var(--ink); text-wrap: balance; }
.fact p { margin-top: 8px; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.fact-a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; font-weight: 600; text-decoration-color: var(--barn); text-decoration-thickness: 2px; white-space: nowrap; }

/* The price, with its scope, and the one action. */
.price-sec { position: relative; padding: 44px 0 30px; }
.price-card { max-width: 780px; padding: 22px 20px 26px; background: var(--paper-hi); border: 1px solid rgba(35, 31, 26, 0.3); }
.price-n { margin-top: 12px; font: 500 clamp(40px, 11vw, 64px)/1.02 var(--mono); letter-spacing: -0.03em; color: var(--ink); }
.price-u { display: block; margin-top: 10px; font: 500 15px/1.45 var(--mono); letter-spacing: 0; color: var(--ink); }
.price-fine { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule-ink); font: 400 12.5px/1.55 var(--mono); color: var(--ink-2); }
.price-406 { margin-top: 16px; font: 400 clamp(28px, 7.2vw, 38px)/1.1 var(--display); color: var(--ink); }
.price-406 .n { font: 400 0.8em/1 var(--mono); letter-spacing: -0.02em; }
.price-say { max-width: 46ch; margin-top: 12px; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.price-act { margin-top: 22px; }
.price-act .btn { min-width: 170px; }
.seq { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 22px; }
.seq a { display: inline-flex; align-items: center; min-height: 44px; font: 600 15.5px/1.2 var(--sans); color: var(--ink); text-decoration-color: var(--barn); text-decoration-thickness: 2px; }

/* 5 · The AI box, the one piece of night in the day. */
.ai-sec { position: relative; padding: 34px 0 92px; }
.ai-in { max-width: 884px; }
.ai-sec .aibox { margin-top: 0; }

@media (min-width: 900px) {
  .mail-head { padding: 100px 0 40px; }
  .mail { padding: 26px 28px 26px; }
  .mail-say { font-size: 18px; }
  .facts-sec { padding: 84px 0 24px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .fact { padding: 24px 24px 26px; }
  .fact p { font-size: 17px; }
  .price-sec { padding: 56px 0 36px; }
  .price-card { padding: 30px 30px 32px; }
  .ai-sec { padding: 40px 0 130px; }
}
