/* rytmoapp.com. Tokens from docs/DESIGN.md; landing rules from docs/pesquisa/landing/.
   Monochrome, Inter 300/400/500, radii 4 / 8 / 20 / 24 / pill and no others, one ink card per page.
   Motion: entrances 500–700 ms with an expo-out curve, state changes 200–300 ms; nothing moves with reduced motion. */

@font-face { font-family: Inter; font-weight: 300; font-display: swap; src: url(/fonts/inter-light.woff) format('woff'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-regular.woff) format('woff'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-medium.woff) format('woff'); }

:root {
  --canvas: #fdfcfc;
  --surface: #f5f3f1;
  --stone: #ebe8e4;
  --ink: #000;
  --graphite: #44403b;
  --smoke: #777169;
  --ash: #a59f97;
  --button-border: #e5e5e5;
  --whisper: rgba(0, 0, 0, 0.4) 0 0 1px, rgba(0, 0, 0, 0.04) 0 1px 1px, rgba(0, 0, 0, 0.04) 0 2px 4px;
  --lift: rgba(0, 0, 0, 0.4) 0 0 1px, rgba(0, 0, 0, 0.05) 0 2px 4px, rgba(0, 0, 0, 0.06) 0 12px 32px -8px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1); /* DESIGN.md */
  --expo: cubic-bezier(0.16, 1, 0.3, 1); /* entrances */
  --fs-display: clamp(2.75rem, 1.4rem + 5vw, 5.5rem); /* 44 → 88 */
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); /* 32 → 56 */
  --track-display: -0.03em; /* Inter Light at display sizes; tighter glues rn/rm */
  --track-heading: -0.024em;
  --gutter: clamp(1rem, 4vw, 4rem);
  --section: clamp(5rem, 3rem + 6vw, 8rem); /* 80 → 128 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.5 Inter, system-ui, sans-serif;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 300; text-wrap: balance; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  appearance: none; border: 0; cursor: pointer; white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border-radius: 9999px;
  background: var(--ink); color: var(--canvas); font: 500 16px/1 Inter, system-ui, sans-serif; letter-spacing: 0;
  transition: transform 120ms var(--ease), opacity 120ms var(--ease), background-color 200ms var(--ease);
}
.btn:hover { background: #1c1a18; }
.btn:active { transform: scale(0.97); }
.btn[aria-busy='true'] { opacity: 0.6; cursor: progress; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
/* While the hero's form is on screen, the header's button steps back: one filled button at a time. */
.top.form-in-view .btn-sm { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--button-border); }
.top.form-in-view .btn-sm:hover { background: var(--surface); }

/* Header: fixed, blurred canvas and a hairline once the page scrolls ----- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 280ms var(--ease), box-shadow 280ms var(--ease), backdrop-filter 280ms var(--ease); }
.top.is-scrolled { background: rgba(253, 252, 252, 0.78); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--stone); }
.top-in { display: flex; align-items: center; height: 72px; gap: 40px; }
.logo { display: block; height: 28px; margin-right: auto; }
.logo svg { height: 28px; width: auto; display: block; }
.anchors { display: flex; gap: 4px; }
.anchors a { text-decoration: none; font-size: 14px; color: var(--graphite); padding: 8px 14px; border-radius: 9999px; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.anchors a:hover { color: var(--ink); background: var(--surface); }
main { padding-top: 72px; }

/* Hero ------------------------------------------------------------------ */
.hero { padding-top: clamp(3rem, 1rem + 5vw, 5.5rem); }
/* Headline on 8 columns; the lead and the form beside it on 4, on the headline's baseline. */
.hero-top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: end; }
.hero h1 { font-size: var(--fs-display); line-height: 1.06; letter-spacing: var(--track-display); }
.hero h1 .line { display: block; }
.hero h1 .quiet { color: var(--smoke); } /* 4.5:1 on canvas; ash would fail */
.hero .lead { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.25rem); line-height: 1.45; color: var(--graphite); max-width: 34ch; letter-spacing: 0; }
.hero .join { margin-top: 24px; }
/* The calendar breaks out of the text grid: almost the full width of the screen. */
.bleed { width: min(100vw - 48px, 1376px); margin-left: 50%; transform: translateX(-50%); }
.js .hero .bleed.rise { animation-name: rise-wide; }
@keyframes rise-wide { from { opacity: 0; transform: translateX(-50%) translateY(32px); } to { opacity: 1; transform: translateX(-50%); } }

/* The entrance: lines come into focus, then the lead and the form rise. */
@keyframes focus-in { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js .hero .line { animation: focus-in 900ms var(--expo) both; animation-delay: calc(80ms + var(--i) * 120ms); }
.js .hero .rise { animation: rise-in 700ms var(--expo) both; animation-delay: calc(280ms + var(--i) * 90ms); }

/* Waitlist form */
.join { max-width: 480px; }
.field { display: flex; gap: 4px; padding: 4px; border-radius: 9999px; background: var(--canvas); box-shadow: var(--whisper); transition: box-shadow 200ms var(--ease); }
.field input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 8px 0 20px;
  font: inherit; font-size: 16px; color: var(--ink); letter-spacing: 0.01em;
}
.field input::placeholder { color: var(--smoke); }
.field input:focus { outline: none; }
.field:focus-within { box-shadow: 0 0 0 1.5px var(--ink), var(--lift); }
.note { margin-top: 12px; font-size: 13px; color: var(--smoke); padding-left: 24px; }
.note a { color: inherit; text-underline-offset: 3px; }
.note[data-alert] { color: var(--ink); font-size: 14px; font-weight: 500; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (forced-colors: active) { .field { border: 1px solid CanvasText; } .field:focus-within { outline: 2px solid Highlight; } }

.joined { display: none; }
.join.is-done .field, .join.is-done .note { display: none; }
.join.is-done .joined { display: block; animation: rise-in 500ms var(--expo) both; }
.joined .ok { font-size: 18px; }
.joined .ask { margin-top: 16px; font-size: 14px; color: var(--graphite); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; padding: 0; }
.chip {
  appearance: none; font: 400 14px/1 Inter, system-ui, sans-serif; letter-spacing: 0.01em; color: var(--ink);
  height: 44px; padding: 0 18px; border-radius: 9999px; border: 1px solid var(--button-border); background: var(--canvas);
  cursor: pointer; transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}
.chip:hover { background: var(--surface); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.joined .thanks { margin-top: 12px; font-size: 14px; color: var(--graphite); min-height: 21px; }

/* Scroll reveals: once, short, a little blur ---------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--expo), transform 700ms var(--expo); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* The day: the calendar drawn like the app (TimeGrid), alive ---------- */
/* It leans back a little under the hero and straightens as the page scrolls (site.js sets the transform). */
.tilt { transform-origin: 50% 0; }
.day { margin: 0; background: var(--surface); border-radius: 24px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.day-main { min-width: 0; }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 4px 20px; }
.day-head .when { font-size: 16px; font-weight: 500; }
.day-head .when span { font-weight: 400; color: var(--graphite); margin-left: 8px; }
.day-head .count { font-size: 13px; color: var(--graphite); }
.day-grid { display: grid; grid-template-columns: 48px repeat(3, minmax(0, 1fr)); column-gap: 12px; }
.col-head { display: flex; align-items: center; gap: 8px; padding: 0 0 12px; font-size: 13px; font-weight: 500; }
.avatar { width: 24px; height: 24px; flex: none; border-radius: 9999px; background: var(--stone); display: grid; place-items: center; font-size: 12px; font-weight: 500; color: var(--graphite); letter-spacing: 0; }
.rail, .col { position: relative; height: calc(var(--minutes) * 1.6px); }
.rail span { position: absolute; left: 0; transform: translateY(-50%); font-size: 12px; color: var(--graphite); }
.col { border-left: 1px solid var(--stone); }
.hour { position: absolute; left: 0; right: 0; height: 1px; background: var(--stone); }
.b {
  position: absolute; left: 4px; right: 4px; border-radius: 8px; background: var(--canvas); border: 1px solid var(--button-border);
  box-shadow: var(--whisper); padding: 4px 8px; overflow: hidden; display: flex; flex-direction: column; gap: 1px;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.b .t { font-size: 12px; line-height: 16px; color: var(--graphite); }
.b .n { font-size: 13px; line-height: 18px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b .s { font-size: 13px; line-height: 18px; color: var(--graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b.block { background: transparent; box-shadow: none; border: 1px solid var(--stone); }
.b.block .n { font-weight: 400; color: var(--graphite); }
.pause { position: absolute; left: 4px; width: calc(45% - 4px); border-radius: 8px; border: 1px dashed var(--ash); padding: 6px 8px; font-size: 12px; line-height: 16px; color: var(--graphite); }
.b.half { left: calc(45% + 4px); }
.now { position: absolute; left: -6px; right: 0; height: 1px; background: var(--ink); z-index: 2; }
.now::before { content: ''; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 9999px; background: var(--ink); }
.js .now::before { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.6); opacity: 0.45; } }

/* Bookings that arrive while you watch: they come into focus where they belong. */
.js .b.live { opacity: 0; transform: translateY(-6px) scale(0.96); filter: blur(4px); transition: opacity 500ms var(--expo), transform 500ms var(--expo), filter 500ms var(--expo), border-color 300ms var(--ease); }
.js .b.live.on { opacity: 1; transform: none; filter: none; border-color: var(--ink); box-shadow: var(--lift); }
/* A reminder goes out: the booking it belongs to answers for a moment. */
.b.ping { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06), var(--whisper); }

/* Activity: what Rytmo did on its own this morning. New lines slide in at the top. */
.bleed { margin-top: clamp(3rem, 1.5rem + 4vw, 5rem); }
/* Activity rises above the calendar's edge: the one object that overlaps, so the one with the deeper shadow. */
.log { background: var(--canvas); border-radius: 20px; box-shadow: var(--lift); padding: 20px 20px 8px; margin-top: -56px; }
.log-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding-bottom: 12px; }
.live-dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--ink); }
.js .live-dot { animation: breathe 2.4s ease-in-out infinite; }
.log ol { list-style: none; margin: 0; padding: 0; }
.log li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--stone); font-size: 13px; line-height: 18px; overflow: hidden; }
.log .ago { color: var(--graphite); white-space: nowrap; }
.js .log li.live { max-height: 0; padding-top: 0; padding-bottom: 0; border-top-color: transparent; opacity: 0; transform: translateY(-6px);
  transition: max-height 400ms var(--expo), padding 400ms var(--expo), opacity 300ms var(--ease) 120ms, transform 400ms var(--expo), border-color 300ms var(--ease); }
.js .log li.live.on { max-height: 60px; padding-top: 12px; padding-bottom: 12px; border-top-color: var(--stone); opacity: 1; transform: none; }

/* Sections and cards ---------------------------------------------------- */
.section { padding-top: var(--section); }
.section > h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: var(--track-heading); max-width: 22ch; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 16px; margin-top: 56px; }
.tall { grid-row: span 2; }
.card.team { order: 1; }
.card { background: var(--surface); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 28px; overflow: hidden; min-height: 300px; }
.card .copy { display: flex; flex-direction: column; gap: 8px; max-width: 30ch; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--graphite); letter-spacing: 0.02em; }
.card .copy p { font-size: 18px; line-height: 1.4; color: var(--ink); letter-spacing: 0; }
.span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; }
.object { margin-top: auto; }

/* Phone with the public booking page: three screens that play in order. */
.card.booking { padding-bottom: 0; flex-direction: column; align-items: stretch; gap: 32px; }
.card.booking .copy { align-self: flex-start; }
.phone { position: relative; width: 100%; max-width: 360px; margin-top: auto; align-self: center; flex: 1 1 auto; min-height: 400px; max-height: 480px; height: auto !important; background: var(--canvas); border-radius: 24px 24px 0 0; box-shadow: var(--whisper); padding: 18px 20px 24px; height: 410px; overflow: hidden; display: flex; flex-direction: column; }
.steps { display: flex; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 12px; font-weight: 500; color: var(--ash); letter-spacing: 0.02em; }
.steps li { flex: 1; padding-top: 8px; border-top: 2px solid var(--stone); transition: color 300ms var(--ease), border-color 300ms var(--ease); }
.phone[data-step='0'] .steps [data-i='0'], .phone[data-step='1'] .steps [data-i='0'], .phone[data-step='1'] .steps [data-i='1'], .phone[data-step='2'] .steps li { color: var(--ink); border-color: var(--ink); }
.screens { position: relative; flex: 1; }
.screen { position: absolute; inset: 0; transition: opacity 400ms var(--expo), transform 500ms var(--expo), filter 400ms var(--expo); }
.js .screen { opacity: 0; transform: translateX(24px); filter: blur(4px); pointer-events: none; }
.js .phone[data-step='0'] [data-screen='0'], .js .phone[data-step='1'] [data-screen='1'], .js .phone[data-step='2'] [data-screen='2'] { opacity: 1; transform: none; filter: none; }
.js .phone[data-step='1'] [data-screen='0'], .js .phone[data-step='2'] [data-screen='0'], .js .phone[data-step='2'] [data-screen='1'] { transform: translateX(-24px); }
html:not(.js) .screen:not([data-screen='0']) { display: none; }
.phone .biz { font-size: 20px; font-weight: 300; letter-spacing: -0.02em; }
.phone .addr { font-size: 12px; color: var(--graphite); margin-top: 2px; }
.svc { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--stone); font-size: 14px; }
.svc:first-of-type { margin-top: 16px; border-top: 1px solid var(--stone); }
.svc.on { font-weight: 500; }
.svc small { display: block; font-size: 12px; color: var(--graphite); font-weight: 400; }
.week { display: flex; gap: 6px; margin-top: 18px; }
.week span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border-radius: 8px; font-size: 14px; font-weight: 500; }
.week small { font-size: 12px; font-weight: 400; color: var(--graphite); }
.week .on { background: var(--ink); color: var(--canvas); }
.week .on small { color: var(--ash); }
.times { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 14px; }
.times span { text-align: center; font-size: 13px; padding: 10px 0; border-radius: 9999px; border: 1px solid var(--button-border); transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease); }
.times .on { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.screen.done { display: flex; flex-direction: column; align-items: flex-start; padding-top: 8px; gap: 2px; }
.leaf { width: 76px; border-radius: 20px; border: 1px solid var(--stone); overflow: hidden; display: flex; flex-direction: column; align-items: center; margin-bottom: 16px; text-transform: capitalize; }
.leaf-top { width: 100%; text-align: center; background: var(--ink); color: var(--canvas); font-size: 12px; font-weight: 500; padding: 4px 0; }
.leaf-day { font-size: 28px; font-weight: 300; line-height: 1.1; padding-top: 6px; letter-spacing: -0.02em; }
.leaf-month { font-size: 12px; color: var(--graphite); padding-bottom: 8px; }
.phone .go { height: 42px; border-radius: 9999px; background: var(--ink); color: var(--canvas); display: grid; place-items: center; font-size: 14px; font-weight: 500; transition: transform 140ms var(--ease), opacity 300ms var(--ease); }
.phone.pressing .go { transform: scale(0.96); }
.phone[data-step='2'] .go { opacity: 0; }

/* The inbox: the confirmation from three days ago, and today's reminder arriving on top. */
.inbox { display: grid; }
.inbox > .mail { grid-area: 1 / 1; }
.mail.earlier { align-self: start; transform: translateY(-18px) scale(0.92); transform-origin: top center; opacity: 0.55; }
.mail { background: var(--canvas); border-radius: 20px; box-shadow: var(--whisper); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.js .mail:not(.earlier) { opacity: 0; transform: translateY(-16px); filter: blur(4px); transition: opacity 600ms var(--expo) 350ms, transform 700ms var(--expo) 350ms, filter 600ms var(--expo) 350ms; }
.js .in .mail:not(.earlier) { opacity: 1; transform: none; filter: none; }
.inbox > .mail:not(.earlier) { margin-top: 46px; }
.mail .from { display: flex; justify-content: space-between; font-size: 12px; color: var(--graphite); }
.mail .subject { font-size: 16px; font-weight: 500; }
.mail .body { font-size: 14px; color: var(--graphite); }
.mail .acts { display: flex; gap: 8px; margin-top: 10px; }
.mail .acts span { font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 9999px; border: 1px solid var(--button-border); }

/* The pause, as a strip of the day: it gets taken. */
.strip { display: grid; grid-template-columns: 3fr 4fr 3fr; gap: 6px; height: 88px; }
.strip > div { border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.strip .w { background: var(--canvas); box-shadow: var(--whisper); border: 1px solid var(--button-border); }
.strip .w b { font-weight: 500; font-size: 13px; }
.strip .gap { position: relative; border: 1px dashed var(--ash); color: var(--graphite); justify-content: center; text-align: center; font-size: 13px; padding: 0; }
.gap-fill { position: absolute; inset: 6px; border-radius: 8px; background: var(--canvas); border: 1px solid var(--ink); box-shadow: var(--lift); display: flex; flex-direction: column; justify-content: center; font-size: 12px; color: var(--graphite); }
.gap-fill b { font-weight: 500; color: var(--ink); font-size: 13px; }
.js .gap-fill { opacity: 0; transform: translateY(-8px) scale(0.94); transition: opacity 500ms var(--expo) 1800ms, transform 600ms var(--expo) 1800ms; }
.js .in .gap-fill { opacity: 1; transform: none; }
.js .gap-label { transition: opacity 300ms var(--ease) 1800ms; }
.js .in .gap-label { opacity: 0; }
html:not(.js) .gap-label { display: none; }

/* No commission: a fact, not a marketing number. */
.zero { font-size: clamp(6rem, 3rem + 9vw, 12.5rem); font-weight: 300; line-height: 0.82; letter-spacing: -0.04em; margin-bottom: -6px; }

/* The team. */
.people { list-style: none; margin: 0; padding: 0; background: var(--canvas); border-radius: 20px; box-shadow: var(--whisper); }
.people li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 14px; }
.people li + li { border-top: 1px solid var(--stone); }
.js .people li { opacity: 0; transform: translateX(-8px); transition: opacity 500ms var(--expo), transform 500ms var(--expo); transition-delay: calc(300ms + var(--i) * 90ms); }
.js .in .people li { opacity: 1; transform: none; }
.people .role { font-size: 12px; color: var(--graphite); border: 1px solid var(--button-border); border-radius: 9999px; padding: 3px 10px; }
.people .count { margin-left: auto; font-size: 12px; color: var(--graphite); }

/* Summary: the week as achromatic bars (DESIGN.md charts); they grow in. */
.chart { background: var(--canvas); border-radius: 20px; box-shadow: var(--whisper); padding: 20px 20px 16px; }
.chart-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--graphite); }
.chart-label span { color: var(--ink); font-weight: 500; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; height: 150px; margin-top: 16px; align-items: end; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar i { display: block; width: 100%; height: calc(var(--h) * 100px); min-height: 2px; border-radius: 6px 6px 2px 2px; background: var(--ash); transform-origin: bottom; }
.bar.max i { background: var(--ink); }
.bar-n { font-size: 12px; color: var(--graphite); }
.bar.max .bar-n { color: var(--ink); font-weight: 500; }
.bar-d { font-size: 12px; color: var(--graphite); }
.bar-d::first-letter { text-transform: uppercase; }
.js .bar i { transform: scaleY(0.02); transition: transform 900ms var(--expo); transition-delay: calc(250ms + var(--i) * 70ms); }
.js .bar .bar-n { opacity: 0; transition: opacity 400ms var(--ease); transition-delay: calc(700ms + var(--i) * 70ms); }
.js .in .bar i { transform: none; }
.js .in .bar .bar-n { opacity: 1; }

/* Four languages: the same page, saying "Book online" in each. */
.babel { padding: 0; }
.babel-biz { font-size: 12px; color: var(--graphite); }
.babel-say { position: relative; height: 1.15em; margin-top: 8px; font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.babel-say span { position: absolute; inset: 0; font-size: inherit; font-weight: 300; letter-spacing: var(--track-heading); line-height: 1.15; white-space: nowrap; opacity: 0; transform: translateY(10px); filter: blur(6px); transition: opacity 450ms var(--expo), transform 550ms var(--expo), filter 450ms var(--expo); }
.babel-say span.on { opacity: 1; transform: none; filter: none; }
.babel-codes { display: flex; gap: 6px; margin-top: 18px; }
.babel-codes span { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 9999px; color: var(--graphite); border: 1px solid var(--button-border); transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.babel-codes span.on { background: var(--ink); color: var(--canvas); border-color: var(--ink); }

/* Who it is for. */
.words { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 40px; list-style: none; padding: 0; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem); font-weight: 300; letter-spacing: var(--track-heading); line-height: 1.15; }
.words li:not(:last-child)::after { content: '·'; color: var(--ash); margin: 0 0.32em; }
.words li.soon { color: var(--smoke); }
.words li.soon small { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--graphite); margin-left: 8px; vertical-align: 0.9em; }
.js .words.reveal { opacity: 1; transform: none; }
.js .words.reveal li { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--expo), transform 500ms var(--expo); transition-delay: calc(var(--i) * 60ms); }
.js .words.reveal.in li { opacity: 1; transform: none; }
.who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; list-style: none; padding: 0; }
.who li { font-size: 16px; padding: 12px 20px; border-radius: 9999px; background: var(--surface); }
.who li a { text-decoration: none; }
.who li.soon { background: transparent; border: 1px dashed var(--ash); color: var(--graphite); }
.who li.soon span { font-size: 12px; margin-left: 6px; }

/* Closing: the only ink card on the page. */
.cta { margin-top: var(--section); background: var(--ink); color: var(--canvas); border-radius: 24px; padding: clamp(3.5rem, 2rem + 6vw, 7rem) 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta .mark { width: 32px; height: 32px; margin-bottom: 32px; }
.cta h2 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); line-height: 1.04; letter-spacing: var(--track-heading); }
.cta > p { margin-top: 14px; color: var(--ash); font-size: 18px; }
.cta :focus-visible { outline-color: var(--canvas); }
.cta .join { margin-top: 36px; width: 100%; text-align: left; }
.cta .field { background: rgba(253, 252, 252, 0.08); box-shadow: inset 0 0 0 1px rgba(253, 252, 252, 0.16); }
.cta .field:focus-within { box-shadow: inset 0 0 0 1.5px var(--canvas); }
.cta .field input { color: var(--canvas); }
.cta .field input::placeholder { color: var(--ash); }
.cta .btn { background: var(--canvas); color: var(--ink); }
.cta .btn:hover { background: #fff; }
.cta .note { color: var(--ash); }
.cta .note[data-alert] { color: var(--canvas); }
.cta .chip { background: transparent; color: var(--canvas); border-color: rgba(253, 252, 252, 0.24); }
.cta .chip:hover { background: rgba(253, 252, 252, 0.08); }
.cta .chip[aria-pressed='true'] { background: var(--canvas); color: var(--ink); }
.cta .joined .ask, .cta .joined .thanks { color: var(--ash); }

/* Footer --------------------------------------------------------------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 40px; padding-bottom: 48px; font-size: 13px; color: var(--graphite); }
.foot .mark { width: 16px; height: 16px; vertical-align: -3px; margin-right: 8px; }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.foot nav a { display: inline-block; padding: 12px 6px; }
.foot .sep { width: 1px; height: 14px; background: var(--stone); }
.foot a { text-decoration: none; transition: color 150ms var(--ease); }
.foot a:hover, .foot a[aria-current] { color: var(--ink); }

/* Privacy page */
.doc { max-width: 680px; }
.doc p { max-width: 65ch; }
.doc { padding-top: clamp(3rem, 2rem + 4vw, 5rem); }
.doc h1 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: var(--track-heading); }
.doc .updated { margin-top: 12px; font-size: 13px; color: var(--smoke); }
.doc section { padding: 24px 0; border-top: 1px solid var(--stone); }
.doc section:first-of-type { margin-top: 40px; }
.doc h2 { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.doc p { margin-top: 8px; color: var(--graphite); }
.doc .who { margin-top: 32px; }

/* Smaller screens ------------------------------------------------------ */
@media (max-width: 1100px) {
  /* The activity log goes under the calendar: it is where phones see what happens. */
  .day { grid-template-columns: minmax(0, 1fr); }
  .log { margin-top: 0; box-shadow: var(--whisper); }
  .hero-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 960px) {
  .span-8, .span-7, .span-5, .span-4, .span-3 { grid-column: span 12; }
  .tall { grid-row: auto; }
}
@media (max-width: 720px) {
  .anchors { display: none; }
  .bleed { width: auto; margin-left: 0; transform: none; }
  .js .hero .bleed.rise { animation-name: rise-in; }
  .top-in { height: 64px; }
  main { padding-top: 64px; }
  /* Phones: the field and the button as two pills, one under the other. */
  .field, .field:focus-within, .cta .field, .cta .field:focus-within { flex-direction: column; gap: 8px; padding: 0; background: transparent; box-shadow: none; }
  .field input { flex: none; height: 52px; padding: 0 20px; border-radius: 9999px; background: var(--canvas); box-shadow: var(--whisper); }
  .field input:focus { box-shadow: 0 0 0 1.5px var(--ink); }
  .cta .field input { background: rgba(253, 252, 252, 0.08); box-shadow: inset 0 0 0 1px rgba(253, 252, 252, 0.16); }
  .cta .field input:focus { box-shadow: inset 0 0 0 1.5px var(--canvas); }
  .join .btn { width: 100%; height: 52px; }
  .note { padding-left: 16px; }
  .day { padding: 16px; border-radius: 20px; }
  .day-grid { grid-template-columns: 40px minmax(0, 1fr); }
  .day-grid .extra { display: none; }
  .card { padding: 24px; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .line, .js .hero .rise { opacity: 1; transform: none; filter: none; }
}
