/* Every page of sakosh.app (#84): the app's look, its two fonts served from here (subset to Latin; Fraunces
   fixed at 700 and soft), so the pages still load nothing from anywhere else. */
@font-face { font-family: Fraunces; src: url(/fonts/Fraunces.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Nunito; src: url(/fonts/Nunito.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }
:root { color-scheme: light; --paper: #FBF6EA; --card: #FFFDF6; --border: #E3D9BF; --ink: #2B3A33; --muted: #4D5D52; --primary: #2F5D3A; --sky: #A9DBF3; --sky-light: #DDF1FA; --step: #D9EDCB; --dash: #D3BD95; --transit: #2E5E8C; --draft: #F3E6C4; }
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper) linear-gradient(180deg, var(--sky) 0, var(--sky-light) 14rem, var(--paper) 34rem) no-repeat top / 100% 34rem; }
body { margin: 0; color: var(--ink); background: none; font: 17px/1.55 Nunito, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--primary); }
h1, h2, .serif { font-family: Fraunces, Georgia, serif; font-weight: 700; }
h2 { margin: 0; font-size: 2rem; line-height: 1.15; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.wrap { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.button:focus-visible { border-radius: 16px; }

/* Skip link, then one header on every page: Sakosh, the home page's sections, Open beta soon, EN/FR. */
.skip { position: absolute; left: 16px; top: -64px; z-index: 10; padding: 10px 16px; border-radius: 12px; background: var(--card); border: 1.5px solid var(--border); font-weight: 800; }
.skip:focus { top: 8px; }
.top { padding-top: 16px; display: flex; align-items: center; gap: 8px 20px; }
.brand { text-decoration: none; color: var(--ink); font-size: 24px; }
.top .links { margin-left: auto; display: flex; gap: 20px; font-weight: 700; font-size: 15px; }
.top .links a { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.top .links a:hover { color: var(--primary); }
.top .button { margin-left: 4px; }
.lang { display: flex; font-weight: 800; font-size: 15px; }
.lang a { text-decoration: none; display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }
.lang a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 400px) { .top { column-gap: 8px; } .top .button.compact { padding: 0 12px; } .brand { font-size: 22px; } }
@media (max-width: 760px) {
  .top .links { display: none; }
  .top .button { margin-left: auto; }
}

/* Buttons: side by side and the same width (the widest one's); full width and stacked on phones. */
.buttons { display: grid; grid-template-columns: 1fr 1fr; width: fit-content; max-width: 100%; gap: 12px; }
.button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; border-radius: 16px; border: 1.8px solid var(--ink); color: var(--ink); font-weight: 800; }
.button.primary { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.button.compact { min-height: 44px; padding: 0 16px; border-radius: 14px; font-size: 15px; white-space: nowrap; }
.button svg { flex: none; }
@media (max-width: 680px) { .buttons { grid-template-columns: 1fr; width: 100%; } }

/* The beta note (hero and last card): invite-only for now, so an "Open beta soon" badge instead of Join buttons */
.soon { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-weight: 700; }
.soon b { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--step); color: var(--primary); font-weight: 800; }

/* Hero: the promise beside the phone, both from the top; on phones the phone comes before the beta note,
   as in the markup, which the wide grid lays out in two columns. */
.hero { padding-top: 24px; padding-bottom: 8px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: repeat(6, auto) 1fr; gap: 16px 64px; align-items: start; }
.hero > * { grid-column: 1; min-width: 0; }
.hero > .dev { grid-column: 2; grid-row: 1 / -1; width: 100%; margin: 0; }
.hero > .eyebrow { margin-top: 32px; }
/* Beside the phone, How it works is compact: steps stacked, no boxes but the lit one */
@media (min-width: 861px) {
  .hero .how { padding-top: 20px; max-width: 37rem; }
  .hero .how h2 { font-size: 1.4rem; }
  .hero .band { grid-template-columns: minmax(0, 1fr); gap: 2px; margin-top: 8px; }
  .hero .band li { padding: 8px 12px 8px 8px; margin-left: -8px; border-color: transparent; background: none; }
  .hero .band li.on { background: var(--card); border-color: var(--primary); }
  .hero .band li > span { width: 28px; height: 28px; font-size: 15px; }
  .hero .band .point { gap: 0; }
  .hero .band .point strong { font-size: 1rem; }
  .hero .band .point .muted { font-size: 15px; line-height: 1.4; text-wrap: pretty; }
}
@media (min-width: 1160px) { .hero .band li { margin-left: -13.5px; padding-left: 12px; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding-top: 32px; }
  .hero > .dev { grid-column: 1; grid-row: auto; justify-self: center; max-width: 340px; margin: 16px 0 8px; }
  .hero > .eyebrow { margin-top: 0; }
}
.hero h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.02; }
.hero p { margin: 0; }
.eyebrow { font-weight: 800; font-size: 15px; }
.lead { font-size: 1.25rem; line-height: 1.45; max-width: 30rem; text-wrap: pretty; }
.trust { list-style: none; margin: 0 0 0 -20px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-weight: 700; clip-path: inset(0 0 0 20px); }
.trust li::before { content: "·"; display: inline-block; width: 20px; text-align: center; }

/* Phone mocks, drawn in HTML: a thin device bezel, no drop shadow (DESIGN.md). */
.phone, .dev, .lock { border: 6px solid var(--ink); border-radius: 44px; }
.phone { flex: 1 1 300px; max-width: 340px; margin: 0 auto; background: linear-gradient(180deg, var(--sky) 0, var(--sky-light) 8rem, var(--paper) 18rem); padding: 30px 16px 22px; display: flex; flex-direction: column; gap: 4px; }
.phone .trip { font-size: 14px; font-weight: 800; }
.phone .date { font-size: 12px; margin-top: -4px; }
.phone .when { font-size: 23px; line-height: 1.1; margin-top: 12px; }
.phone .where { font-size: 13px; margin-bottom: 10px; }
.card { background: var(--card); border: 1.5px solid var(--border); border-radius: 20px; }
.pass { border-radius: 24px; overflow: hidden; }
.pass img { display: block; width: 100%; height: 64px; object-fit: cover; }
.pass > div { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.ptop { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.route { display: flex; align-items: center; gap: 10px; font-size: 32px; }
.route i { flex: 1; border-top: 2px dashed var(--dash); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.facts span { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); }
.facts b { font-size: 15px; color: var(--ink); }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.actions span { min-height: 40px; border-radius: 12px; border: 1.5px solid var(--ink); display: grid; place-items: center; text-align: center; font-weight: 800; line-height: 1.2; padding: 4px; }
.actions span:first-child { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }

.point { display: flex; flex-direction: column; gap: 4px; }
.point strong { font-size: 1.1rem; }

/* The hero's one phone: the Now screen, then the trip building up (#92), then the Now screen again */
.dev { flex: 1 1 300px; max-width: 340px; height: 674px; margin: 0 auto; position: relative; overflow: hidden; background: var(--paper); }
.dev .screens { position: absolute; inset: 0; }
/* Pause/Play for the loop (home.js shows it): a small round button in the phone's bottom corner */
.pause { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.pause[hidden] { display: none; }
.pause::before { content: ""; width: 10px; height: 12px; border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; box-sizing: border-box; }
.pause[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.pause:focus-visible { border-radius: 50%; }
.dev .phone { position: absolute; inset: 0; max-width: none; margin: 0; border: 0; border-radius: 0; transition: opacity .4s; }
.dev .bphone { opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.dev.show-trip .bphone { opacity: 1; visibility: visible; }
.dev.show-trip .phone { opacity: 0; }
.dev.static .bphone { opacity: 1; visibility: visible; } /* the beta pages: the finished trip, no loop */
.then { font-size: 18px; margin-top: 14px; }
.thenrow { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 16px; margin-top: 6px; }
.thenrow > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.thenrow b { font-size: 13px; }
.thenrow > span:first-child b { font-size: 15px; }
.thenrow span span { font-size: 11px; color: var(--muted); }
.thenrow i { font-style: normal; color: var(--muted); font-size: 18px; }

/* How it works: three steps in a row under the hero; home.js lights the one the phone is showing */
.how { padding-top: 16px; }
.band { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.band li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--border); background: var(--card); transition: border-color .3s, box-shadow .3s; }
.band li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--step); display: grid; place-items: center; font-weight: 800; transition: background .3s, color .3s; }
.band li.on { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.band li.on > span { background: var(--primary); color: #FFFFFF; }

/* Made for the day itself: the lock screen */
.day { padding-top: 56px; display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: center; }
.day > div:first-child { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lock { flex: 0 1 340px; max-width: 340px; margin: 0 auto; padding: 36px 12px 64px; border-bottom: 0; border-radius: 44px 44px 0 0; -webkit-mask-image: linear-gradient(#000 calc(100% - 64px), transparent); mask-image: linear-gradient(#000 calc(100% - 64px), transparent); display: flex; flex-direction: column; align-items: center; color: #FFFFFF; background: linear-gradient(180deg, #2C5A8A 0, #5E93BF 55%, #A9DBF3 100%); }
.ldate { font-size: 15px; font-weight: 700; }
.ltime { font-family: Fraunces, Georgia, serif; font-size: 76px; line-height: 1; margin-bottom: 120px; }
@media (min-width: 761px) { .day .lock { order: -1; } }
.la { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px 12px; align-items: start; padding: 16px; border-radius: 22px; background: var(--card); color: var(--ink); }
.la > i { color: var(--transit); padding-top: 2px; }
.la-text, .la-end { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.la-text b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-text span, .la-end span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.la-end { align-items: flex-end; }
.la-end b { font-size: 17px; }
.la-end span { font-variant-numeric: tabular-nums; }
.la-bar { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgba(211, 189, 149, .4); }

/* Your trips stay yours: an email's path, then the policy */
.nowrap { white-space: nowrap; }
.fwd { padding-top: 72px; }
.fwd > p { margin: 8px 0 0; }
.fwd .more { margin-top: 24px; font-weight: 800; }
.mini { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 12px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.mini.primary { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.tag { flex: none; padding: 2px 10px; border-radius: 999px; background: #F3E6C4; font-size: 12px; font-weight: 800; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 9px 14px; background: var(--card); border: 1.5px solid var(--border); border-radius: 16px; font-size: 13px; }
.chip > b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip svg { flex: none; }
/* One footpath, a station per point (the app's timeline language), its bit of the app beside it */
.fa { list-style: none; margin: 28px 0 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 22px; }
.fa::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: calc((100% - 88px) / 2.4 + 24px + 15px); width: 10px; border-radius: 5px; background: #F3EAD5; box-shadow: inset 0 0 0 1.2px var(--dash); }
.fa li { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.4fr); gap: 24px; align-items: center; }
.fa-ui { justify-self: end; min-width: 0; max-width: 100%; display: flex; }
.fa i { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1.8px solid var(--ink); display: grid; place-items: center; }
.fa li:first-child i { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.fa .point > span { max-width: 36rem; }
@media (max-width: 760px) {
  .fa { gap: 20px; }
  .fa::before { left: 15px; }
  .fa li { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 14px; align-items: start; }
  .fa i { grid-row: 1 / span 2; }
  .fa .point { grid-column: 2; grid-row: 1; }
  .fa-ui { grid-column: 2; grid-row: 2; justify-self: start; }
  .fa .point span { font-size: 15px; }
  .fa li:not(:first-child) .fa-ui { display: none; } /* only the address illustration stays, so the section isn't a wall */
}

/* Questions: a chevron instead of the browser's triangle */
.faq { padding-top: 72px; }
.faq > div { margin-top: 20px; max-width: 46rem; display: flex; flex-direction: column; gap: 10px; }
.faq details { padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 1.05rem; min-height: 52px; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2.2px solid var(--primary); border-bottom: 2.2px solid var(--primary); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin: 0 0 16px; }

/* The last card: the bag, the promise again and the beta note */
.final { margin-top: 72px; }
.final .card { border-radius: 28px; padding: 28px 24px 32px; display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: center; }
.final img { flex: 1 1 200px; width: 100%; max-width: 300px; height: auto; margin: 0 auto; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.final .card > div { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.final p { margin: 0; }

/* One footer on every page */
.foot { margin-top: 64px; padding-top: 32px; padding-bottom: 48px; border-top: 1.5px solid var(--border); display: flex; flex-wrap: wrap; gap: 20px 40px; font-size: 15px; color: var(--muted); }
.fbrand { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; }
.fbrand .brand { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; }
.fbrand .brand img { border-radius: 22.4%; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.foot ul a { display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 680px) { .foot ul { flex: 1 1 40%; } }
@media (pointer: coarse) { .foot ul a { min-height: 44px; } }

/* #92 begin: a trip building up, the hero phone's second screen. Four forwarded emails drop in one
   by one and each booking slides into its place on the timeline. home.js adds .armed and plays it
   between two Now screens once the phone is in view. Without the script, or with reduced motion, the
   phone stays on the Now screen. The keyframes' positions follow the rows' heights below: change
   them together. */
.bphone { position: absolute; inset: 0; overflow: hidden; background: var(--paper); font-size: 14px; line-height: 1.4; }
.bhead { position: relative; height: 150px; padding: 22px 20px 0; background: linear-gradient(180deg, #91D9FC, #C9ECFC); }
.bhead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(180deg, rgba(251, 246, 234, 0), var(--paper)); }
.bhead img { position: absolute; left: 0; bottom: 0; width: 100%; height: 90px; object-fit: cover; object-position: 50% 0; }
.bhead nav { position: relative; display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; }
.btitle { position: relative; display: block; margin-top: 4px; font-size: 28px; line-height: 1.15; }
.bcount { position: relative; display: block; height: 18px; font-size: 12px; color: var(--muted); }
.bcount span { position: absolute; left: 0; white-space: nowrap; }
.bcount span:not(:last-child) { opacity: 0; }
.bempty { position: absolute; left: 0; right: 0; top: 190px; margin: 0; text-align: center; color: var(--muted); opacity: 0; }
.brows { position: relative; height: 496px; margin: 0 14px; }
.brows > div { position: absolute; left: 0; right: 0; top: 0; padding-left: 36px; }
.brows .bday { padding-top: 6px; color: var(--muted); }
.brows .bday b { font-family: Fraunces, Georgia, serif; font-size: 17px; color: var(--ink); }
.brows i { position: absolute; left: 1px; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 1.8px solid var(--ink); display: grid; place-items: center; }
.brows i.out { background: #2C5A8A; border: 0; color: #FFFFFF; }
.brows .when { display: block; height: 24px; line-height: 24px; font-size: 12px; color: var(--muted); }
.brows .when b { font-size: 14px; color: var(--ink); }
.bcard { display: flex; flex-direction: column; margin-top: 4px; padding: 9px 13px; background: var(--card); border: 1.5px solid var(--border); border-radius: 16px; }
.bcard small { float: right; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: var(--step); font-size: 11px; font-weight: 800; line-height: 18px; }
.bcard span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bflight { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; padding: 10px 14px; background: #D4ECF7; border-radius: 18px; font-size: 12px; }
.bflight span { display: flex; justify-content: space-between; }
.bflight .serif { font-size: 22px; }
.bflight .serif::after { content: "- - ·"; order: 1; flex: 1; text-align: center; color: #2C5A8A; font-size: 14px; letter-spacing: 3px; }
.bflight .serif b:last-child { order: 2; }
.bflight span:last-child { font-size: 11px; color: var(--muted); }
.brows > .bpath { position: absolute; left: 7px; right: auto; padding: 0; top: 66px; width: 12px; height: 398px; overflow: hidden; border-radius: 6px; background: #F3EAD5; box-shadow: inset 0 0 0 1.2px var(--dash); }
.brows > .bpath::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 600px; background: #A9D49A; box-shadow: inset 0 0 0 1.2px var(--dash); transform: translateY(262px); }
/* The app's card for an email being read (now_screen.dart): a progress ring, "Reading your email…" and the subject */
.bmail { position: absolute; left: 10px; right: 10px; top: 92px; z-index: 2; opacity: 0; display: flex; gap: 12px; align-items: center; padding: 11px 14px; background: var(--card); border: 1.5px solid var(--border); border-radius: 20px; }
.bmail > i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2.2px solid var(--primary); border-right-color: transparent; transform: rotate(-45deg); }
.bmail > span { min-width: 0; display: flex; flex-direction: column; }
.bmail b { font-size: 14px; }
.bmail span span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-day1 { transform: translateY(10px); }
.b-flight { transform: translateY(54px); }
.b-day2 { transform: translateY(176px); }
.b-car { transform: translateY(220px); }
.b-hotel { transform: translateY(316px); }
.b-dinner { transform: translateY(412px); }
.build.armed .bpath::before { animation: b-stay 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .bpath { animation: b-path 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-day1 { animation: b-day1 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-flight { animation: b-flight 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-day2 { animation: b-day2 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-car { animation: b-car 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-hotel { animation: b-hotel 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-dinner { animation: b-dinner 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-title { animation: b-title 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-empty { animation: b-empty 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-city { animation: b-city 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-mail1 { animation: b-mail1 16.3s cubic-bezier(.5, 0, .5, 1) both paused; }
.build.armed .b-count1 { animation: b-count1 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-mail2 { animation: b-mail2 16.3s cubic-bezier(.5, 0, .5, 1) both paused; }
.build.armed .b-count2 { animation: b-count2 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-mail3 { animation: b-mail3 16.3s cubic-bezier(.5, 0, .5, 1) both paused; }
.build.armed .b-count3 { animation: b-count3 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
.build.armed .b-mail4 { animation: b-mail4 16.3s cubic-bezier(.5, 0, .5, 1) both paused; }
.build.armed .b-count4 { animation: b-count4 16.3s cubic-bezier(.3, .7, .3, 1) both paused; }
@keyframes b-day1 { 0.0% { opacity: 0; transform: translateY(24px) } 19.6% { opacity: 0; transform: translateY(24px) } 22.7% { opacity: 1; transform: translateY(10px) } }
@keyframes b-flight { 0.0% { opacity: 0; transform: translateY(68px) } 19.6% { opacity: 0; transform: translateY(68px) } 22.7% { opacity: 1; transform: translateY(54px) } }
@keyframes b-day2 { 0.0% { opacity: 0; transform: translateY(190px) } 44.2% { opacity: 0; transform: translateY(190px) } 47.2% { opacity: 1; transform: translateY(176px) } }
@keyframes b-car { 0.0% { opacity: 0; transform: translateY(234px) } 68.7% { opacity: 0; transform: translateY(234px) } 71.8% { opacity: 1; transform: translateY(220px) } }
@keyframes b-hotel { 0.0% { opacity: 0; transform: translateY(234px) } 44.2% { opacity: 0; transform: translateY(234px) } 47.2% { opacity: 1; transform: translateY(220px) } 68.7% { opacity: 1; transform: translateY(220px) } 71.8% { opacity: 1; transform: translateY(316px) } }
@keyframes b-dinner { 0.0% { opacity: 0; transform: translateY(426px) } 93.3% { opacity: 0; transform: translateY(426px) } 96.3% { opacity: 1; transform: translateY(412px) } }
@keyframes b-path { 0.0% { height: 0 } 19.6% { height: 0 } 44.2% { height: 40px } 47.2% { height: 206px } 68.7% { height: 206px } 71.8% { height: 302px } 93.3% { height: 302px } 96.3% { height: 398px } }
@keyframes b-stay { 0.0% { opacity: 0; transform: translateY(166px) } 47.2% { opacity: 0; transform: translateY(166px) } 49.7% { opacity: 1; transform: translateY(166px) } 68.7% { opacity: 1; transform: translateY(166px) } 71.8% { opacity: 1; transform: translateY(262px) } }
@keyframes b-mail1 { 0.0% { opacity: 0; transform: translateY(-24px) } 2.5% { opacity: 0; transform: translateY(-24px) } 5.2% { opacity: 1; transform: none } 18.7% { opacity: 1; transform: none } 21.8% { opacity: 0; transform: translateY(150px) scale(.6) } }
@keyframes b-count1 { 0.0% { opacity: 0 } 19.6% { opacity: 0 } 22.7% { opacity: 1 } 44.2% { opacity: 1 } 47.2% { opacity: 0 } }
@keyframes b-mail2 { 0.0% { opacity: 0; transform: translateY(-24px) } 27.0% { opacity: 0; transform: translateY(-24px) } 29.8% { opacity: 1; transform: none } 43.3% { opacity: 1; transform: none } 46.3% { opacity: 0; transform: translateY(150px) scale(.6) } }
@keyframes b-count2 { 0.0% { opacity: 0 } 44.2% { opacity: 0 } 47.2% { opacity: 1 } 68.7% { opacity: 1 } 71.8% { opacity: 0 } }
@keyframes b-mail3 { 0.0% { opacity: 0; transform: translateY(-24px) } 51.5% { opacity: 0; transform: translateY(-24px) } 54.3% { opacity: 1; transform: none } 67.8% { opacity: 1; transform: none } 70.9% { opacity: 0; transform: translateY(150px) scale(.6) } }
@keyframes b-count3 { 0.0% { opacity: 0 } 68.7% { opacity: 0 } 71.8% { opacity: 1 } 93.3% { opacity: 1 } 96.3% { opacity: 0 } }
@keyframes b-mail4 { 0.0% { opacity: 0; transform: translateY(-24px) } 76.1% { opacity: 0; transform: translateY(-24px) } 78.8% { opacity: 1; transform: none } 92.3% { opacity: 1; transform: none } 95.4% { opacity: 0; transform: translateY(150px) scale(.6) } }
@keyframes b-count4 { 0.0% { opacity: 0 } 93.3% { opacity: 0 } 96.3% { opacity: 1 } }
@keyframes b-title { 0.0% { opacity: 0 } 19.6% { opacity: 0 } 22.7% { opacity: 1 } }
@keyframes b-empty { 0.0% { opacity: 1 } 19.6% { opacity: 1 } 21.5% { opacity: 0 } }
@keyframes b-city { 0.0% { opacity: 0 } 44.2% { opacity: 0 } 50.3% { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .build.armed *, .build.armed .brows > .bpath::before { animation: none; } }
/* #92 end */

/* Beta pages: the steps, the Now screen beside them on wide screens */
.beta { padding-top: 40px; padding-bottom: 8px; display: flex; gap: 48px; align-items: center; }
.beta > div:first-child { flex: 1 1 0; min-width: 0; max-width: 40rem; display: flex; flex-direction: column; gap: 20px; }
.beta h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; }
.beta .about { margin: -12px 0 0; font-weight: 700; }
.beta .dev { flex: none; width: 340px; margin: 0; }
@media (max-width: 900px) { .beta .dev { display: none; } }
.bsteps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bsteps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 20px; }
.bsteps li > span { width: 36px; height: 36px; border-radius: 50%; background: var(--step); display: grid; place-items: center; font-weight: 800; }
.bsteps li > p { margin: 5px 0 0; }
.bsteps li > div { display: flex; flex-direction: column; gap: 6px; padding-top: 5px; }
.bsteps li > div > p { margin: 0; }
.bsteps .join { margin-top: 10px; flex-wrap: wrap; gap: 16px 24px; }
.bsteps .qr { flex: 1 1 17rem; } /* beside the button when there is room, under it when not, so the caption keeps its width */
/* The icon each phone installs (app/ios AppIcon, app/android adaptive icon), shaped as the phone shows it */
.lookfor { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.lookfor p { margin: 0; }
.appicon { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.appicon img { display: block; width: 60px; height: 60px; }
.appicon.iphone img { border-radius: 22.4%; } /* close to iOS's rounded square */
.appicon.android img { border-radius: 50%; } /* the round mask most Android launchers use */
.bsteps li.next { background: none; border-style: dashed; }
.bsteps .next a { font-weight: 800; }
.beta .buttons { grid-template-columns: 1fr; }
.beta .back { margin: 0; font-weight: 700; }
/* The QR code (this page's own address, share/qr.py) only where a phone isn't in hand: a wide screen with a mouse */
.qr { display: none; }
@media (min-width: 900px) and (pointer: fine) {
  .join { display: flex; align-items: center; gap: 28px; }
  .join .buttons { flex: none; }
  .qr { display: flex; align-items: center; gap: 16px; margin: 0; }
  .qr img { flex: none; border-radius: 12px; border: 1.5px solid var(--border); }
  .qr figcaption { margin: 0; max-width: 15rem; }
}

/* Privacy policy, terms, not found */
.legal { max-width: 720px; padding-top: 40px; line-height: 1.6; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 2.8rem); line-height: 1.1; margin: 0 0 8px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 8px; scroll-margin-top: 16px; }
.legal .draft { background: var(--draft); border-radius: 14px; padding: 12px 16px; margin: 20px 0 8px; font-size: 15px; }
.legal .toc { margin: 24px 0 0; padding: 16px 20px 16px 40px; columns: 2 14rem; column-gap: 32px; font-weight: 700; font-size: 15px; }
.legal .toc li { break-inside: avoid; padding: 2px 0; }
.missing { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.missing h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.05; }
.missing p { margin: 0; }

/* Phones: the same sections, tighter */
@media (max-width: 680px) {
  .hero h1 { font-size: min(2.6rem, 10vw); }
  .day, .fwd, .faq { padding-top: 48px; }
  .band { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .band li { padding: 12px 14px; align-items: center; }
  .band .point .muted { display: none; }
  .final { margin-top: 56px; }
  .dev { zoom: .82; }
  .lock { padding: 24px 10px 56px; }
  .ltime { font-size: 64px; margin-bottom: 56px; }
  .day > div:first-child { gap: 14px; }
  .final .card { padding: 20px 20px 24px; }
  .final img { max-width: 150px; }
}
