/* Undeify website. Layout and sizes follow Vercel's home page as measured on 2026-10-16 (docs/DESIGN.md).
   Everything here is written from scratch; no Vercel code, copy, logos or artwork is used. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --fill: #f2f2f2;
  --ink: #171717;
  --ink-2: #4d4d4d;
  --ink-3: #737373;
  --line: #ebebeb;
  --line-2: #e0e0e0;
  --focus: hsl(212 100% 48%);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --margin: 24px;
  --max: 1392px;
  --header: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, pre { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--surface); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 8px 16px; background: var(--ink); color: var(--surface); border-radius: 999px; }
.skip:focus { top: 12px; }

.page { container: page / inline-size; overflow-x: clip; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--margin) * 2); margin-inline: auto; padding-inline: var(--margin); }
.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; font-weight: 500; font-size: 16px; line-height: 24px; white-space: nowrap; transition: background-color 150ms ease, box-shadow 150ms ease; }
.btn--sm { height: 32px; padding: 0 10px; font-size: 14px; line-height: 21px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: #383838; }
  .btn--light:hover { background: var(--fill); }
}

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 30; height: var(--header); background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: flex; align-items: center; padding-inline: 16px 24px; max-width: calc(var(--max) + 48px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; height: 34px; font-weight: 600; font-size: 18px; letter-spacing: -0.04em; }
.brand svg { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; margin-left: 12px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 14px; line-height: 20px; color: var(--ink-2); transition: color 150ms ease, background-color 150ms ease; }
.nav__link svg { width: 12px; height: 12px; transition: transform 200ms ease; }
.nav__item:hover .nav__link, .nav__item:focus-within .nav__link, .nav > a.nav__link:hover { color: var(--ink); background: var(--fill); }
.nav__item:hover .nav__link svg, .nav__item:focus-within .nav__link svg { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 8px); left: 0; min-width: 360px; padding: 8px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 8px 30px rgb(0 0 0 / 0.06); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 150ms ease, transform 150ms ease, visibility 0s 150ms; }
.drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover .drop, .nav__item:focus-within .drop { opacity: 1; visibility: visible; transform: none; transition: opacity 150ms ease, transform 150ms ease; }
.drop__title { padding: 8px 12px 4px; font-size: 12px; color: var(--ink-3); }
.drop a { display: grid; grid-template-columns: 32px 1fr; gap: 0 12px; align-items: center; padding: 8px 12px; border-radius: 8px; }
.drop a:hover { background: var(--fill); }
.drop .ico { grid-row: span 2; width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; background: var(--surface); }
.drop .ico svg { width: 16px; height: 16px; }
.drop b { font-weight: 500; font-size: 14px; line-height: 20px; }
.drop span:not(.ico) { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.header__actions { margin-left: auto; display: flex; gap: 12px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; margin-right: -10px; border-radius: 999px; place-items: center; }
.burger i, .burger i::before { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform 200ms ease; }
.burger i { transform: translateY(-3px); }
.burger i::before { content: ""; position: absolute; top: 6px; left: 0; }
[aria-expanded="true"] .burger i, .burger[aria-expanded="true"] i { transform: rotate(45deg); }
.burger[aria-expanded="true"] i::before { top: 0; transform: rotate(-90deg); }
.mmenu { position: fixed; inset: var(--header) 0 0 0; z-index: 29; overflow-y: auto; background: var(--bg); padding: 8px 24px 32px; display: none; }
.mmenu.is-open { display: block; }
.mmenu .btn { width: 100%; margin-top: 12px; }
.mmenu__group { padding-block: 16px; box-shadow: 0 1px 0 var(--line); }
.mmenu__group p { font-size: 14px; color: var(--ink-3); margin-bottom: 8px; }
.mmenu__group a { display: block; padding: 8px 0; font-size: 16px; }
.mmenu__actions { padding-top: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(calc(100svh - var(--header)), 900px); display: flex; flex-direction: column; }
.hero__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { max-width: 380px; font-size: 64px; line-height: 64px; font-weight: 400; letter-spacing: -0.06em; }
.typed { display: none; margin-top: 16px; min-height: 24px; font-family: var(--mono); font-size: 16px; line-height: 24px; color: var(--ink-2); }
.typed::after { content: ""; display: inline-block; width: 8px; height: 18px; margin-left: 2px; vertical-align: -3px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__actions { margin-top: 32px; display: flex; gap: 12px; }
.hero__side { justify-self: end; display: grid; gap: 4px; }
.hero__side a { font-size: 14px; line-height: 20px; color: var(--ink-2); padding: 2px 0; transition: color 150ms ease; }
.hero__side a:hover { color: var(--ink); }
.recap { display: flex; margin-bottom: 24px; }
.recap a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 6px 14px; border-radius: 999px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); font-family: var(--mono); font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: 0.02em; transition: background-color 150ms ease; }
.recap a:hover { background: var(--fill); }
.recap svg { width: 12px; height: 12px; }
.marks { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 72px 40px; }
.marks li { font-weight: 600; font-size: 17px; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.marks li.m { font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: 0; }


/* ---------- feature sections ---------- */
.features { margin-top: 208px; }
.feature + .feature { margin-top: 232px; }
.feature { display: grid; grid-template-columns: 921px minmax(0, 1fr); column-gap: 24px; }
.feature h2 { grid-column: 1 / -1; max-width: 921px; font-size: 56px; line-height: 56px; font-weight: 450; letter-spacing: -0.06em; text-wrap: balance; }
.feature__media { margin-top: 44px; }
.feature__aside { margin-top: 44px; align-self: center; justify-self: end; width: 333px; }
.feature--flip { grid-template-columns: minmax(0, 1fr) 921px; }
.feature--flip h2 { grid-column: 2; }
.feature--flip .feature__media { grid-column: 2; grid-row: 2; }
.feature--flip .feature__aside { grid-column: 1; grid-row: 2; justify-self: start; }
.shot { position: relative; height: 516px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.shot__caption { position: absolute; left: 16px; bottom: 12px; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-3); text-transform: uppercase; }
.stat { font-size: 24px; line-height: 32px; font-weight: 450; letter-spacing: -0.04em; color: var(--ink-2); }
.stat strong { color: var(--ink); font-weight: 450; }
.flist { margin-top: 40px; }
.flist li { font-size: 14px; line-height: 20px; font-weight: 500; }
.flist li + li { margin-top: 6px; }
.flist li:first-child { font-weight: 400; color: var(--ink-2); }
.flist__more { margin-top: 24px; display: inline-flex; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: #c4c4c4; text-underline-offset: 4px; }
.flist__more:hover { text-decoration-color: var(--ink); }

/* NOW illustration: places on a map */
.map { position: absolute; inset: 0; background-color: var(--surface); background-image: linear-gradient(var(--fill) 1px, transparent 1px), linear-gradient(90deg, var(--fill) 1px, transparent 1px); background-size: 44px 44px; }
.road { position: absolute; background: #ececec; }
.road--a { left: 0; right: 0; top: 47%; height: 12px; }
.road--b { top: 0; bottom: 0; left: 37%; width: 12px; }
.road--c { top: 0; bottom: 0; left: 71%; width: 10px; }
.road--d { left: 37%; right: 0; top: 78%; height: 8px; }
.place { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-7px, -50%); }
.place::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line-2); }
.place span { padding: 4px 10px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 14px; line-height: 20px; white-space: nowrap; }
.place em { font-style: normal; color: var(--ink-3); }
.place--a { left: 12%; top: 22%; } .place--b { left: 47%; top: 30%; } .place--c { left: 17%; top: 66%; } .place--d { left: 57%; top: 62%; } .place--e { left: 78%; top: 88%; }

/* ShiftOS illustration: a weekly rota */
.rota { position: absolute; inset: 28px 28px 56px; display: grid; grid-template-columns: 120px repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 8px; }
.rota > span { display: flex; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink-2); text-transform: uppercase; }
.rota > span.day { justify-content: center; }
.rota > b { border-radius: 6px; background: var(--fill); }
.rota > b.am { background: var(--ink); }
.rota > b.pm { background: #a3a3a3; }
.rota > b.leave { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.legend { position: absolute; right: 16px; bottom: 12px; display: flex; gap: 16px; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-2); text-transform: uppercase; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--ink); }
.legend i.pm { background: #a3a3a3; }
.legend i.leave { background: var(--surface); box-shadow: inset 0 0 0 1px #cfcfcf; }

/* Security illustration: the real security.txt and response headers */
.files { position: absolute; inset: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.file { border-radius: 8px; box-shadow: 0 0 0 1px var(--line); background: var(--bg); overflow: hidden; display: flex; flex-direction: column; }
.file__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; box-shadow: 0 1px 0 var(--line); background: var(--surface); font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.file__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.file pre { padding: 16px; font-family: var(--mono); font-size: 13px; line-height: 22px; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.file pre .k { color: var(--ink-3); }

/* ---------- recently shipped ---------- */
.shipped { margin-top: 232px; }
.shipped h2 { font-size: 56px; line-height: 56px; font-weight: 450; letter-spacing: -0.06em; }
.bento { margin-top: 81px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 280px 280px; gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: 6px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); transition: background-color 200ms ease; }
.tile--big { grid-row: span 2; }
a.tile:hover { background: var(--surface); }
.tile__head { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.tile__head h3 { font-size: 24px; line-height: 26.4px; font-weight: 450; letter-spacing: -0.04em; }
.tile__head p { font-size: 14px; line-height: 20px; color: var(--ink-2); max-width: 300px; }
.tile__art { position: absolute; inset: 0; }
.big-num { position: absolute; right: 32px; top: 24px; font-family: var(--mono); font-weight: 400; font-size: 220px; line-height: 1; letter-spacing: -0.08em; color: var(--ink); }
.big-list { position: absolute; left: 20px; top: 24px; display: grid; gap: 10px; font-family: var(--mono); font-size: 16px; line-height: 20px; color: var(--ink-2); }
.big-list li::before { content: "✓ "; color: var(--ink); }
.code-card { position: absolute; right: 20px; top: 20px; width: min(360px, 60%); border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); padding: 14px 16px; font-family: var(--mono); font-size: 12px; line-height: 20px; color: var(--ink-2); }
.code-card b { color: var(--ink); font-weight: 500; }

/* ---------- closing call ---------- */
.closing { margin-block: 276px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.closing h2 { font-size: 56px; line-height: 56px; font-weight: 450; letter-spacing: -0.06em; max-width: 680px; text-wrap: balance; }
.closing__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.copy { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 16px; font-weight: 500; }
.copy span.mono { font-size: 15px; }
.copy i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; transition: background-color 150ms ease; }
.copy:hover i { background: var(--fill); }
.copy svg { width: 15px; height: 15px; }
.copy[data-done] i::after { content: "Copied"; position: absolute; transform: translateY(-34px); padding: 2px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; }

/* ---------- footer ---------- */
.footer { box-shadow: 0 -1px 0 var(--line); padding-block: 52px 40px; font-size: 14px; line-height: 21px; }
.footer__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
.footer h2 { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; }
.footer li + li { margin-top: 10px; }
.footer li a, .footer li span { color: var(--ink-2); transition: color 150ms ease; }
.footer li a:hover { color: var(--ink); }
.footer__bottom { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-3); }
.footer__bottom .brand { color: var(--ink); }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .typed::after { animation: none; }
}

/* ---------- tablet: Vercel's layout steps down below about 1180px ---------- */
@container page (max-width: 1180px) {
  .hero__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__side { display: none; }
  .marks { flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
  .feature, .feature--flip { grid-template-columns: minmax(0, 1fr); }
  .feature h2, .feature--flip h2 { grid-column: 1; }
  .feature--flip .feature__media, .feature--flip .feature__aside { grid-column: 1; grid-row: auto; }
  .feature__aside, .feature--flip .feature__aside { justify-self: start; width: auto; max-width: 560px; margin-top: 40px; }
  .shot { height: auto; aspect-ratio: 921 / 516; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- phone ---------- */
@container page (max-width: 640px) {
  .header__in { padding-inline: 16px 24px; }
  .nav, .header__actions { display: none; }
  .burger { display: grid; }
  .hero { min-height: 0; padding-top: 72px; }
  .typed { display: block; }
  .hero__body { display: block; text-align: center; }
  .recap { justify-content: center; margin: 0 0 8px; }
  .hero h1 { max-width: none; }
  .hero { display: flex; flex-direction: column; }
  .hero h1 { font-size: 24px; line-height: 32px; letter-spacing: -0.04em; margin-top: 8px; }
  .typed { margin-top: 12px; }
  .hero__actions { flex-direction: column; margin-top: 28px; }
  .hero__actions .btn { width: 100%; }
  .marks { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 36px; margin: 24px 0 0; padding: 48px 0 8px; }
  .marks::-webkit-scrollbar { display: none; }
  .features { margin-top: 160px; }
  .feature + .feature { margin-top: 160px; }
  .feature h2, .shipped h2, .closing h2 { font-size: 32px; line-height: 40px; letter-spacing: -0.05em; }
  .feature__media { margin-top: 44px; }
  .shot { aspect-ratio: 342 / 273; }
  .place span { font-size: 12px; padding: 2px 8px; }
  .place em { display: none; }
  .rota { inset: 16px 14px 40px; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); gap: 4px; }
  .rota > span { font-size: 9px; }
  .legend { left: 14px; right: auto; gap: 10px; font-size: 10px; }
  .shot__caption { display: none; }
  .files { inset: 14px; grid-template-columns: 1fr; gap: 10px; }
  .file--headers { display: none; }
  .file pre { padding: 10px 12px; font-size: 11px; line-height: 18px; }
  .file__bar { height: 32px; font-size: 11px; }
  .flist { margin-top: 32px; }
  .shipped { margin-top: 160px; }
  .bento { margin-top: 81px; grid-template-columns: minmax(0, 1fr); grid-template-rows: 425px 191px 191px; }
  .tile--big { grid-row: auto; }
  .big-num { font-size: 140px; right: 20px; }
  .code-card { left: 20px; right: 20px; width: auto; top: 16px; padding: 10px 12px; font-size: 11px; line-height: 17px; }
  .tile__head h3 { font-size: 24px; }
  .closing { margin-block: 212px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- document pages: about, privacy, terms, security ---------- */
.doc { padding-block: 96px 160px; }
.doc > * { max-width: 704px; }
.doc h1 { font-size: 56px; line-height: 56px; font-weight: 450; letter-spacing: -0.06em; }
.doc .updated { margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); text-transform: uppercase; }
.doc h2 { margin-top: 48px; font-size: 24px; line-height: 32px; font-weight: 450; letter-spacing: -0.04em; }
.doc p, .doc ul { margin-top: 16px; color: var(--ink-2); }
.doc b, .doc strong { color: var(--ink); font-weight: 500; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: #c4c4c4; text-underline-offset: 4px; }
.doc a:hover { text-decoration-color: var(--ink); }
.doc .lede { margin-top: 24px; font-size: 24px; line-height: 32px; letter-spacing: -0.04em; color: var(--ink-2); }
.doc .lede strong { font-weight: 450; }
@container page (max-width: 640px) {
  .doc { padding-block: 56px 112px; }
  .doc h1 { font-size: 32px; line-height: 40px; letter-spacing: -0.05em; }
  .doc .lede { font-size: 20px; line-height: 28px; }
}

/* ---------- product mockups (illustrations, labelled as such on the page) ---------- */
.shot--panel { background: #f4f4f4; }
.win { position: absolute; left: 32px; top: 32px; bottom: 32px; width: 66%; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgb(0 0 0 / 0.05); overflow: hidden; display: flex; flex-direction: column; }
.win--wide { width: 72%; }
.win__bar { flex: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; box-shadow: 0 1px 0 var(--line); font-size: 13px; }
.win__bar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.win__bar b { margin-left: 8px; font-weight: 600; letter-spacing: -0.02em; }
.win__search { margin-left: auto; padding: 3px 10px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); color: var(--ink-3); font-size: 12px; }
.win__body { position: relative; flex: 1; }
.win__split { display: grid; grid-template-columns: 130px 1fr; }
.side { padding: 14px 10px; box-shadow: 1px 0 0 var(--line); font-size: 13px; color: var(--ink-2); }
.side li { padding: 6px 10px; border-radius: 6px; }
.side li.on { background: var(--fill); color: var(--ink); font-weight: 500; }
.win__split .rota { position: relative; inset: auto; margin: 16px; height: calc(100% - 32px); grid-template-columns: 84px repeat(7, minmax(0, 1fr)); gap: 6px; }
.phone { position: absolute; right: 32px; top: 64px; bottom: 32px; width: 27%; border-radius: 24px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 16px 40px rgb(0 0 0 / 0.08); padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.phone__title { font-weight: 600; font-size: 15px; letter-spacing: -0.02em; margin-bottom: 4px; }
.post { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); font-size: 12px; line-height: 16px; }
.post div { display: grid; min-width: 0; }
.post b { font-weight: 500; font-size: 13px; }
.post span { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post em { margin-left: auto; font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; white-space: nowrap; }
.post em.meh { background: var(--fill); color: var(--ink-2); }
.av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #d4d4d4; }
.av--2 { background: #a3a3a3; } .av--3 { background: #737373; }
.sq { flex: none; width: 10px; height: 28px; border-radius: 3px; background: var(--ink); }
.sq--pm { background: #a3a3a3; } .sq--leave { background: var(--surface); box-shadow: inset 0 0 0 1px #cfcfcf; }
@container page (max-width: 640px) {
  .win, .win--wide { left: 12px; top: 12px; bottom: 12px; width: calc(100% - 24px); }
  .phone { display: none; }
  .win__split { grid-template-columns: 1fr; }
  .side { display: none; }
  .win__split .rota { margin: 10px; }
  .win__search { display: none; }
}

/* Analytics consent: a small card, bottom left, until the visitor chooses */
.consent { position: fixed; z-index: 40; left: 16px; bottom: 16px; max-width: 400px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); color: var(--ink); border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 8px 30px rgba(0, 0, 0, 0.08); font-size: 14px; line-height: 21px; }
.consent__text .link { text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; justify-content: flex-end; gap: 8px; }
.footer li button { font: inherit; color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; transition: color 150ms ease; }
.footer li button:hover { color: var(--ink); }
@media (max-width: 520px) {
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .consent__actions .btn { flex: 1; }
}
