/* The Oktane for teams (/teams/). One dark, quiet page in the manner of a product site: a sentence with words to
   swap, product windows that do something, a light card to register. Brand colours: oxblood, phthalo, ink.
   No italics. Sans only. Sample data everywhere. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-latin-var.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/bricolage-grotesque-700.woff2) format("woff2"); }
:root {
  --bg: #161514; --bg2: #1E1D1B; --bg3: #262421; --line: rgba(255, 255, 255, 0.08); --line2: rgba(255, 255, 255, 0.14);
  --tx: #EDEAE4; --mu: #9C978F; --mu2: #6F6B65;
  --light: #F5F3EF; --ink: #171615; --ink2: #5A5650; --lline: rgba(23, 22, 21, 0.1);
  --ox: #9E2220; --ox-lt: #E08374; --ph: #0C8462; --ph-lt: #6CC7A6; --inkb: #1A2858; --amber: #C98A2E;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; --ui: "Geist", "Helvetica Neue", system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1); --gut: max(20px, env(safe-area-inset-left));
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 40px; }
body { background: var(--bg); color: var(--tx); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
em, i { font-style: normal; }
a { color: inherit; }
::selection { background: var(--ph); color: #fff; }
:focus-visible { outline: 2px solid var(--ph-lt); outline-offset: 3px; border-radius: 6px; }
.sr, .tw-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tw-skip:focus { position: fixed; top: 10px; left: 10px; z-index: 9; background: var(--light); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
@supports (corner-shape: squircle) { .win, .tile, .tw-card, .tw-box, .tw-btn, .chip, .fc, .w-side, .p-card, .bub, .w-tabs, .w-tabs button, .tw-mark { corner-shape: squircle; } }

/* top: two small links, like a quiet product page */
.tw-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 20px max(28px, var(--gut)); }
.tw-home svg { width: 34px; height: 21px; fill: var(--ox-lt); display: block; }
.tw-top nav { display: flex; gap: 26px; }
.tw-top nav a { font-size: 13px; color: var(--mu); text-decoration: none; transition: color 0.2s ease; }
.tw-top nav a:hover { color: var(--tx); }

/* 1. hero */
.tw-hero { min-height: 92svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px var(--gut) 80px; }
.tw-mark { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 16px; border: 2.5px solid var(--tx); border-radius: 999px; font: 600 19px/1 var(--ui); letter-spacing: -0.02em; }
.tw-sun { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(180deg, var(--ox-lt) 0 62%, transparent 62% 70%, var(--ox-lt) 70% 78%, transparent 78%); }
.tw-sent { max-width: 20ch; margin-top: 64px; font: 500 clamp(28px, 3.4vw, 44px)/1.32 var(--sans); letter-spacing: -0.025em; text-wrap: balance; }
.chip { display: inline-flex; align-items: center; gap: 8px; vertical-align: baseline; padding: 1px 12px 3px 6px; margin: 0 2px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; transition: background 0.2s ease, transform 0.16s var(--ease); }
.chip:hover { background: rgba(255, 255, 255, 0.12); }
.chip:active { transform: scale(0.97); }
.chip span { display: inline-block; transition: opacity 0.22s ease, filter 0.22s ease, transform 0.32s var(--ease); }
.chip.swap span { opacity: 0; filter: blur(4px); transform: translateY(6px); }
.ic { width: 1.05em; height: 1.05em; flex: none; border-radius: 0.3em; transform: translateY(0.12em); background: var(--c, var(--ox)); position: relative; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 10px -4px var(--c, var(--ox)); }
.ic::after { content: ""; position: absolute; inset: 22%; background: #fff; -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat; }
.ic-team { --c: var(--ox); --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='8' r='4'/%3E%3Ccircle cx='17' cy='9' r='3'/%3E%3Cpath d='M1 21c0-4 3-7 7-7s7 3 7 7zM15 21c0-2-.6-4-1.8-5.4C14.5 15.2 15.7 15 17 15c3 0 6 2 6 6z'/%3E%3C/svg%3E"); }
.ic-check { --c: var(--ph); --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }
.ic-ready { --c: #2C4AA0; --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h4v8H3zM10 8h4v13h-4zM17 3h4v18h-4z'/%3E%3C/svg%3E"); }
.tw-hint { margin-top: 34px; font-size: 14px; color: var(--mu2); }
.tw-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.tw-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 14px; background: var(--light); color: var(--ink); font: 500 15px/1 var(--sans); text-decoration: none; transition: transform 0.16s var(--ease), background 0.2s ease; }
.tw-btn:hover { background: #fff; }
.tw-btn:active { transform: scale(0.97); }
.tw-btn.ghost { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1px var(--line2); }
.tw-btn.ghost:hover { background: rgba(255, 255, 255, 0.06); }
.tw-btn.dark { width: 100%; height: 50px; border-radius: 16px; background: var(--ink); color: #fff; }
.tw-btn.dark:hover { background: #000; }
.tw-note { margin-top: 18px; font-size: 13px; color: var(--mu2); }

/* sections */
.tw-sec { width: min(1100px, 100% - 2 * var(--gut)); margin: 0 auto; padding: 120px 0 40px; }
.tw-h2 { text-align: center; font: 500 clamp(30px, 3.4vw, 46px)/1.14 var(--sans); letter-spacing: -0.03em; text-wrap: balance; }
.tw-lede { max-width: 50ch; margin: 22px auto 0; text-align: center; font-size: 17px; color: var(--mu); }
.tw-small { margin-top: 22px; text-align: center; font-size: 13px; color: var(--mu2); }

/* product windows */
.win { position: relative; margin-top: 56px; border-radius: 22px; background: var(--bg2); box-shadow: 0 0 0 1px var(--line), 0 60px 120px -50px rgba(0, 0, 0, 0.9); }
.w-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); font: 500 12px var(--ui); color: var(--mu); }
.w-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3733; }
.w-bar span { flex: 1; text-align: center; margin-right: 50px; }
.w-tabs { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: #2A2825; box-shadow: 0 0 0 1px var(--line2), 0 14px 30px -10px rgba(0, 0, 0, 0.7); }
.w-tabs button { appearance: none; border: 0; background: none; color: var(--mu); font: 500 13px/1 var(--ui); padding: 9px 14px; border-radius: 10px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.w-tabs button[aria-selected="true"] { background: #403C37; color: #fff; }
.w-tabs button:active { transform: scale(0.97); }

/* 2. bento */
.w-bento { display: grid; grid-template-columns: 1fr 260px; gap: 0; padding: 12px; background: #DAD6CF; color: var(--ink); font-family: var(--ui); }
.w-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(170px, auto); gap: 10px; padding-right: 10px; }
.tile { border-radius: 16px; background: var(--light); padding: 16px 18px; font-size: 13px; transition: opacity 0.35s ease, transform 0.5s var(--ease), filter 0.35s ease; }
.tile.dark { background: var(--ink); color: #F3F0EA; }
.tile.wide { grid-column: span 2; }
.w-bento .tile[data-v] { display: none; }
.w-bento[data-view="overview"] .tile[data-v="overview"], .w-bento[data-view="people"] .tile[data-v="people"], .w-bento[data-view="tests"] .tile[data-v="tests"] { display: block; animation: tilein 0.5s var(--ease) both; }
.w-bento .tile:nth-child(2) { animation-delay: 0.04s; } .w-bento .tile:nth-child(3) { animation-delay: 0.08s; } .w-bento .tile:nth-child(4) { animation-delay: 0.12s; }
@keyframes tilein { from { opacity: 0; transform: translateY(8px) scale(0.985); filter: blur(3px); } }
.tl { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink2); font-weight: 500; }
.tile.dark .tl, .tile.dark .sub, .tile.dark small { color: #A9A49B; }
.big { font: 700 30px/1.05 "Bricolage Grotesque", var(--ui); letter-spacing: -0.02em; margin-top: 10px; }
.big small { font: 400 14px var(--ui); color: var(--ink2); letter-spacing: 0; }
.sub { font-size: 12px; color: var(--ink2); margin-top: 8px; }
.ring-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.ring-row .big { margin: 0; }
.ring { width: 64px; height: 64px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke: #E6E2DB; stroke-width: 5; }
.ring circle.on { stroke: var(--ph); stroke-linecap: round; stroke-dasharray: calc(var(--p) * 1.131) 113.1; }
.bar { display: grid; grid-template-columns: 1fr 1.1fr 38px; gap: 10px; align-items: center; margin-top: 11px; }
.bar i { height: 7px; border-radius: 9px; background: #E9E5DE; overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: 9px; }
.bar b.g { background: var(--ph); } .bar b.a { background: var(--amber); }
.bar em, .pp em, .tbl .g, .tbl .a, .tbl .r { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.g { color: #13795B; } .a { color: #A5701F; } .r { color: #A33A2C; }
.tile.dark .g { color: var(--ph-lt); }
.row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 6px; }
.row b { font-weight: 500; }
.pp { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--lline); }
.tl + .pp, .sub + .pp { border-top: 0; margin-top: 6px; }
.tile.dark .pp { border-top-color: rgba(255, 255, 255, 0.08); }
.pp > span { flex: 1; line-height: 1.25; }
.pp small, .tbl small { display: block; font-size: 11px; color: var(--ink2); }
.av { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 10.5px; font-weight: 600; }
.clock { color: var(--ph-lt) !important; }
.mini-btn { font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--light); color: var(--ink); }
.tbl { margin-top: 10px; }
.tbl p { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 0.9fr; align-items: center; padding: 8px 0; border-top: 1px solid var(--lline); }
.tbl p.th { border-top: 0; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); }
.tbl span:not(:first-child) { text-align: right; }
.pill { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px; }
.pill.ok { background: #DDF0E7; color: #13795B; } .pill.mid { background: #F6EBD6; color: #8A5E17; } .pill.low { background: #F5DFDA; color: #973526; }
.q { margin-top: 12px; font-weight: 500; }
.qs { font-size: 12px; color: var(--ink2); }
.ans { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--ink); }
.marks { display: flex; gap: 6px; margin-top: 12px; }
.marks i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #ECE8E1; font-weight: 600; }
.marks i.on { background: var(--ink); color: #fff; }
.qr { width: 78px; height: 78px; fill: var(--ink); margin-top: 12px; }
.sw { position: relative; display: inline-block; width: 34px; height: 20px; border-radius: 99px; background: #4A4640; flex: none; }
.sw b { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.sw.on { background: var(--ph); } .sw.on b { left: 16px; }
.w-side { border-radius: 16px; background: #1F1E1C; color: var(--tx); padding: 16px; font-size: 13px; }
.sh { font-weight: 600; font-size: 14px; }
.lbl { margin-top: 16px; margin-bottom: 7px; font-size: 11.5px; color: var(--mu); }
.slider { position: relative; height: 34px; border-radius: 10px; background: #2C2A27; overflow: hidden; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; }
.slider i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: rgba(12, 132, 98, 0.35); border-right: 2px solid var(--ph-lt); }
.slider b { position: relative; font-weight: 500; }
.sel { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 12px; border-radius: 10px; background: #2C2A27; }
.sel i { width: 7px; height: 7px; border-right: 1.5px solid var(--mu); border-bottom: 1.5px solid var(--mu); transform: rotate(45deg) translateY(-2px); }
.tog { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.dots { display: flex; gap: 8px; }
.dots i { width: 26px; height: 26px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.dots i:first-child { box-shadow: 0 0 0 2px #1F1E1C, 0 0 0 3.5px var(--tx); }

/* 3. team group */
.w-group { width: min(640px, 100%); margin-left: auto; margin-right: auto; background: #1B1A18; }
.g-body { padding: 22px 22px 26px; font: 400 14px/1.5 var(--ui); min-height: 330px; }
.g-msg { display: inline-block; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #2C2A27; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ph-lt); animation: blink 1s steps(2) infinite; }
.w-group.typed .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.g-link { display: flex; flex-direction: column; width: min(300px, 85%); margin-top: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(12, 132, 98, 0.14); box-shadow: inset 0 0 0 1px rgba(108, 199, 166, 0.25); opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.g-link span { font-size: 12px; color: var(--mu); }
.g-feed { list-style: none; margin-top: 18px; }
.g-feed li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.g-feed li b { margin-left: auto; font-weight: 600; }
.g-feed li time { width: 44px; text-align: right; font-size: 12px; color: var(--mu2); }
.g-feed .g { color: var(--ph-lt); } .g-feed .a { color: #E2B062; }
.g-feed .g-done { color: var(--tx); font-weight: 500; justify-content: center; border-top: 0; margin-top: 8px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.w-group .on { opacity: 1; transform: none; }

/* 4. polish */
.w-polish { background: #1B1A18; }
.p-cols { display: grid; grid-template-columns: 0.85fr 1.4fr 0.8fr; min-height: 440px; }
.p-left { padding: 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; font: 400 13.5px/1.45 var(--ui); }
.p-who { font-size: 11px; color: var(--mu2); margin: 4px 0 6px; }
.p-who + .bub { margin-bottom: 12px; }
.bub { padding: 10px 13px; border-radius: 14px; background: #2A2825; min-height: 2.9em; }
.bub.guest { border-bottom-left-radius: 4px; }
.bub.draft { background: rgba(158, 34, 32, 0.16); box-shadow: inset 0 0 0 1px rgba(224, 131, 116, 0.3); border-bottom-right-radius: 4px; }
.p-checks { list-style: none; margin-top: 8px; }
.p-checks li { position: relative; padding: 5px 0 5px 24px; font-size: 12.5px; color: var(--mu); opacity: 0; transform: translateY(4px); transition: opacity 0.35s ease, transform 0.45s var(--ease); }
.p-checks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 6px; border-left: 2px solid var(--ph-lt); border-bottom: 2px solid var(--ph-lt); transform: rotate(-45deg); }
.p-checks li.on { opacity: 1; transform: none; }
.p-ask { margin-top: auto; padding: 12px 14px; border-radius: 14px; background: #24221F; box-shadow: inset 0 0 0 1px var(--line); color: var(--mu2); font-size: 13px; }
.p-mid { position: relative; background: var(--light); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 34px 60px; font-family: var(--ui); }
.p-state { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: #E9E5DE; font-size: 12px; font-weight: 500; }
.p-state span { padding: 5px 12px; border-radius: 8px; color: var(--ink2); transition: background 0.3s ease, color 0.3s ease; }
.w-polish:not(.after) .s-before, .w-polish.after .s-after { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.p-card { position: relative; width: 100%; max-width: 460px; margin-top: 22px; display: grid; }
.p-line { grid-area: 1 / 1; font: 500 22px/1.6 var(--sans); letter-spacing: -0.015em; text-align: center; transition: opacity 0.45s ease, filter 0.45s ease, transform 0.6s var(--ease); }
.p-line.after { opacity: 0; filter: blur(6px); transform: translateY(8px); }
.w-polish.after .p-line.before { opacity: 0; filter: blur(6px); transform: translateY(-8px); }
.w-polish.after .p-line.after { opacity: 1; filter: none; transform: none; }
.mk { position: relative; border-radius: 4px; padding: 0 1px; transition: background 0.35s ease, box-shadow 0.35s ease; }
.mk::after { content: attr(data-why); position: absolute; left: 50%; bottom: calc(100% - 2px); transform: translate(-50%, 4px); white-space: nowrap; font: 600 10.5px/1 var(--ui); letter-spacing: 0.02em; padding: 4px 7px; border-radius: 6px; color: #fff; opacity: 0; transition: opacity 0.3s ease, transform 0.4s var(--ease); pointer-events: none; }
.mk.bad::after { background: var(--ox); }
.mk.good::after { background: var(--ph); }
.w-polish.flag .mk.bad { background: rgba(158, 34, 32, 0.1); box-shadow: inset 0 -2px 0 var(--ox); }
.w-polish.flag .mk.bad::after, .w-polish.after .mk.good::after { opacity: 1; transform: translate(-50%, 0); }
.w-polish.after .mk.good { background: rgba(12, 132, 98, 0.1); box-shadow: inset 0 -2px 0 var(--ph); }
.p-toast { position: absolute; left: 50%; bottom: 40px; transform: translate(-50%, 10px); width: max-content; max-width: 86%; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #F3F0EA; font-size: 12.5px; opacity: 0; transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.p-toast b { color: var(--ph-lt); font-weight: 600; }
.w-polish.sent .p-toast { opacity: 1; transform: translate(-50%, 0); }
.p-right { padding: 18px; border-left: 1px solid var(--line); font: 400 13px/1.4 var(--ui); display: flex; flex-direction: column; }
.meter { height: 8px; border-radius: 9px; background: #2C2A27; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w, 12%); border-radius: 9px; background: var(--mc, var(--ox-lt)); transition: width 0.8s var(--ease), background 0.5s ease; }
.kv { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); }
.kv b { font-weight: 500; transition: color 0.4s ease; }
.kv b.bad { color: var(--ox-lt); } .kv b.ok { color: var(--ph-lt); }
.p-send { margin-top: auto; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #2C2A27; color: var(--mu2); font-weight: 500; transition: background 0.35s ease, color 0.35s ease, transform 0.16s var(--ease); }
.w-polish.ready .p-send { background: var(--ph); color: #fff; }
.w-polish.press .p-send { transform: scale(0.96); }

/* 5. features */
.tw-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 54px 64px; width: min(760px, 100%); margin: 72px auto 0; }
.tw-feats svg { width: 22px; height: 22px; fill: none; stroke: var(--tx); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.tw-feats div:nth-child(4n+1) svg { stroke: var(--ox-lt); } .tw-feats div:nth-child(4n+2) svg { stroke: var(--ph-lt); }
.tw-feats h3 { font-size: 15.5px; font-weight: 500; }
.tw-feats p { font-size: 15px; color: var(--mu); margin-top: 4px; max-width: 34ch; }

/* 6. box */
.tw-box { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line2); }
.tw-box div { padding: 30px 28px 34px; }
.tw-box div + div { border-left: 1px solid var(--line2); }
.tw-box h3 { font-size: 15.5px; font-weight: 500; }
.tw-box p { font-size: 15px; color: var(--mu); margin-top: 6px; }
.kbd { font: 500 12.5px var(--ui); color: var(--tx); padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); white-space: nowrap; }

/* 7. card */
.tw-card { width: min(420px, 100%); margin: 0 auto; padding: 42px 36px 34px; border-radius: 30px; background: var(--light); color: var(--ink); }
.tw-card h2 { font: 500 34px/1.1 var(--sans); letter-spacing: -0.03em; margin-bottom: 26px; text-align: center; }
.tw-card ul { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.tw-card li { position: relative; padding-left: 26px; font-size: 14.5px; }
.tw-card li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 6px; border-left: 1.6px solid var(--ph); border-bottom: 1.6px solid var(--ph); transform: rotate(-45deg); }
.tw-card-note { margin-top: 24px; font-size: 13px; color: var(--ink2); text-align: center; }

/* 8. faq */
.tw-faq { width: min(640px, 100% - 2 * var(--gut)); padding-top: 100px; }
.tw-faq details { border-bottom: 1px solid var(--line); }
.tw-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 15.5px; cursor: pointer; }
.tw-faq summary::-webkit-details-marker { display: none; }
.tw-faq summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: 5px; border-right: 1.5px solid var(--mu); border-bottom: 1.5px solid var(--mu); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.tw-faq details[open] summary::after { transform: rotate(-135deg); }
.tw-faq p { padding: 0 0 20px; color: var(--mu); font-size: 15px; max-width: 56ch; }

/* 9. fan */
.tw-fan { position: relative; height: 380px; margin-top: 90px; overflow: hidden; }
.fan { position: absolute; left: 50%; top: 40px; width: 0; height: 0; }
.fc { position: absolute; left: -95px; top: 0; width: 190px; height: 132px; padding: 16px; border-radius: 22px; background: var(--light); color: var(--ink); font-family: var(--ui); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(var(--a)) translateY(var(--y)); transform-origin: 50% 900px; transition: transform 0.6s var(--ease); }
.fan:hover .fc, .fc:hover { transition-duration: 0.45s; }
.fc:hover { transform: rotate(var(--a)) translateY(calc(var(--y) - 16px)); }
.fc .k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink2); }
.fc .t { font: 700 30px/1.05 "Bricolage Grotesque", var(--ui); letter-spacing: -0.02em; margin-top: 10px; }
.fc .t2 { font-size: 14px; line-height: 1.4; font-weight: 500; margin-top: 8px; }
.fc .s { font-size: 12px; color: var(--ink2); margin-top: 6px; }
.fc .ring { width: 42px; height: 42px; position: absolute; right: 14px; top: 14px; }
.c-ticket { background: #2F2B26; color: #F2ECE0; font-family: ui-monospace, Menlo, monospace; } .c-ticket .k, .c-ticket .s { color: #CFC7B8; } .c-ticket .t { font-family: "Bricolage Grotesque", sans-serif; }
.c-say { background: #CFE3D8; } .c-say .k { color: #1F4337; }
.c-timer { background: var(--ink); color: #fff; } .c-timer .k, .c-timer .s { color: #A9A49B; } .c-timer .t { color: var(--ph-lt); }
.c-polish { background: var(--ph); color: #fff; } .c-polish .k { color: rgba(255, 255, 255, 0.7); }
.c-streak { background: var(--ox); color: #fff; } .c-streak .k, .c-streak .s { color: rgba(255, 255, 255, 0.72); }
.sq { display: flex; gap: 5px; margin-top: 16px; } .sq i { width: 16px; height: 16px; border-radius: 4px; background: #fff; } .sq i.o { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.c-remind { background: #E3EEE8; color: #1F4337; }
.c-allerg .t { color: #13795B; }
.c-back { background: #1F1E1C; color: #fff; } .c-back .k, .c-back .s { color: #A9A49B; } .c-back .mini-btn { display: inline-block; margin-top: 14px; }
.fc:nth-child(1) { --a: -40deg; --y: 30px; } .fc:nth-child(2) { --a: -30deg; --y: 10px; } .fc:nth-child(3) { --a: -20deg; --y: 0px; }
.fc:nth-child(4) { --a: -10deg; --y: -6px; } .fc:nth-child(5) { --a: 0deg; --y: -10px; } .fc:nth-child(6) { --a: 10deg; --y: -6px; }
.fc:nth-child(7) { --a: 20deg; --y: 0px; } .fc:nth-child(8) { --a: 30deg; --y: 10px; } .fc:nth-child(9) { --a: 40deg; --y: 30px; }

/* footer */
.tw-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; width: min(1100px, 100% - 2 * var(--gut)); margin: 0 auto; padding: 30px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--mu); }
.tw-foot p:last-child { display: flex; gap: 20px; }
.tw-foot a { text-decoration: none; } .tw-foot a:hover { color: var(--tx); }

/* reveal */
.js [data-r] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 1s var(--ease); }
.js [data-r].in { opacity: 1; transform: none; }

/* tablets */
@media (max-width: 960px) {
  .w-bento { grid-template-columns: 1fr; }
  .w-grid { padding-right: 0; grid-template-columns: 1fr 1fr; }
  .w-side { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .w-side .sh { grid-column: 1 / -1; }
  .p-cols { grid-template-columns: 1fr 1.3fr; }
  .p-right { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 16px; }
  .p-right .sh, .p-right .p-send { grid-column: 1 / -1; }
  .p-right .lbl:nth-of-type(4), .p-right .kv { grid-column: 1 / -1; }
  .p-send { margin-top: 14px; }
}
/* phones: one column; the product windows stack, the fan gets tighter */
@media (max-width: 640px) {
  .tw-top { padding: 16px var(--gut); }
  .tw-top nav { gap: 18px; }
  .tw-top nav a:first-child { display: none; }
  .tw-hero { min-height: 88svh; padding-top: 110px; }
  .tw-mark { font-size: 17px; }
  .tw-sent { margin-top: 44px; font-size: 27px; line-height: 1.45; }
  .tw-ctas .tw-btn { flex: 1 1 100%; }
  .tw-sec { padding-top: 96px; }
  .win { margin-top: 40px; border-radius: 20px; }
  .w-bento { padding: 8px; }
  .w-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 8px; }
  .tile.wide { grid-column: auto; }
  .tbl p { grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr; } .tbl p > span:nth-child(3) { display: none; }
  .w-side { grid-template-columns: 1fr; margin-top: 8px; }
  .w-tabs { bottom: -20px; }
  .p-cols { grid-template-columns: 1fr; }
  .p-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .p-ask { display: none; }
  .p-mid { order: 2; padding: 34px 18px 70px; }
  .p-line { font-size: 19px; }
  .mk::after { font-size: 9.5px; padding: 3px 6px; }
  .p-right { order: 3; grid-template-columns: 1fr; padding-bottom: 34px; }
  .p-right .lbl { margin-top: 12px; }
  .tw-feats { grid-template-columns: 1fr; gap: 34px; margin-top: 52px; }
  .tw-box { grid-template-columns: 1fr; }
  .tw-box div + div { border-left: 0; border-top: 1px solid var(--line2); }
  .tw-card { padding: 34px 24px 28px; border-radius: 26px; }
  .tw-fan { height: 300px; margin-top: 60px; }
  .fc { width: 150px; height: 110px; left: -75px; padding: 13px; border-radius: 18px; transform-origin: 50% 700px; }
  .fc .t { font-size: 24px; } .fc .t2 { font-size: 12.5px; }
  .fc:nth-child(1), .fc:nth-child(9) { display: none; }
  .tw-foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r] { opacity: 1; transform: none; }
}
/* each view fills the same two rows, so the window never jumps when you switch tabs */
.nw { white-space: nowrap; }
.w-grid { grid-template-rows: repeat(2, minmax(170px, auto)); }
.t-people { grid-row: span 2; } .t-miss { grid-row: span 2; }
.t-test { grid-row: span 2; }
.t-week .row, .t-brief .row { border-top-color: var(--lline); }
.t-brief .row { border-top-color: rgba(255, 255, 255, 0.08); }
.t-test { order: 1; } .t-mark { order: 2; } .t-qr { order: 3; } .t-res { order: 4; }
.chip { padding: 0 11px 2px 6px; background: rgba(255, 255, 255, 0.06); }
@media (max-width: 960px) { .w-grid { grid-template-rows: none; } .t-people, .t-miss, .t-test { grid-row: auto; } .tile.wide { grid-column: span 2; } }
@media (max-width: 640px) { .tile.wide { grid-column: auto; } }
/* room between the lines, so each label sits in the gap above its words */
.p-line { line-height: 2.25; }
.mk::after { bottom: calc(100% + 1px); }
.p-card { margin-top: 30px; }
@media (max-width: 640px) { .p-line { line-height: 2.3; } }
/* phones: the manager window becomes a row of cards you swipe; the tabs still switch views */
@media (max-width: 640px) {
  .w-bento { padding: 8px 0 30px; }
  .w-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding: 0 8px; scrollbar-width: none; }
  .w-grid::-webkit-scrollbar { display: none; }
  .w-bento[data-view] .tile[data-v] { flex: 0 0 84%; min-height: 230px; scroll-snap-align: center; }
  .w-side { display: none; }
  .tw-swipe { display: block; }
}
.tw-swipe { display: none; margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--ink2); }
/* the labels as tags under the answer (phones); on wide screens they sit over the words */
.p-tags { display: none; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; min-height: 24px; }
.p-tags .tag { font: 600 11px/1 var(--ui); padding: 6px 9px; border-radius: 8px; color: #fff; animation: tilein 0.4s var(--ease) both; }
.p-tags .tag.bad { background: var(--ox); } .p-tags .tag.good { background: var(--ph); }
@media (max-width: 640px) {
  .mk::after { display: none; }
  .p-tags { display: flex; }
  .p-line { line-height: 1.6; }
  .p-mid { padding: 30px 18px 26px; }
  .p-toast { position: static; transform: translateY(6px); margin-top: 16px; max-width: 100%; }
  .w-polish.sent .p-toast { transform: none; }
}
@media (max-width: 640px) { .p-cols { grid-template-columns: minmax(0, 1fr); } .p-toast { width: auto; } .p-mid, .p-left, .p-right { min-width: 0; } }

/* how we build it with your venue: six steps on a line, each marked with who does it */
.tw-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 64px; counter-reset: s; }
.tw-steps li { position: relative; padding: 26px 24px 28px; border-radius: 20px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease), box-shadow 0.4s ease; }
@supports (corner-shape: squircle) { .tw-steps li { corner-shape: squircle; border-radius: 32px; } }
.tw-steps li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line2); }
.tw-steps .n { display: block; font: 700 34px/1 "Bricolage Grotesque", var(--ui); letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(237, 234, 228, 0.42); }
.tw-steps .who { position: absolute; top: 26px; right: 22px; font: 600 11px/1 var(--ui); letter-spacing: 0.02em; padding: 6px 9px; border-radius: 8px; }
.who.ox { background: rgba(158, 34, 32, 0.22); color: #F0A396; }
.who.you { background: rgba(255, 255, 255, 0.08); color: var(--tx); }
.who.both { background: rgba(12, 132, 98, 0.2); color: var(--ph-lt); }
.tw-steps h3 { margin-top: 26px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.tw-steps p { margin-top: 6px; font-size: 15px; color: var(--mu); }
/* the line that joins the steps, row by row */
.tw-steps li::after { content: ""; position: absolute; top: 43px; right: -14px; width: 14px; height: 1.5px; background: linear-gradient(90deg, var(--line2), rgba(108, 199, 166, 0.5)); }
.tw-steps li:nth-child(3n)::after { display: none; }
@media (max-width: 960px) {
  .tw-steps { grid-template-columns: 1fr 1fr; }
  .tw-steps li:nth-child(3n)::after { display: block; } .tw-steps li:nth-child(2n)::after { display: none; }
}
@media (max-width: 640px) {
  .tw-steps { grid-template-columns: 1fr; gap: 10px; margin-top: 44px; }
  .tw-steps li { padding: 22px 20px 24px 64px; }
  .tw-steps .n { position: absolute; left: 18px; top: 22px; font-size: 22px; }
  .tw-steps .who { top: 22px; right: 18px; }
  .tw-steps h3 { margin-top: 0; padding-right: 84px; }
  .tw-steps li::after { display: block !important; top: auto; bottom: -10px; right: auto; left: 30px; width: 1.5px; height: 10px; background: linear-gradient(180deg, var(--line2), rgba(108, 199, 166, 0.5)); }
  .tw-steps li:last-child::after { display: none !important; }
  .tw-top nav a:nth-child(3) { display: none; }
}

/* the opening sentence keeps the same four lines whichever words are showing */
.tw-sent { max-width: none; }
.tw-sent .ln { display: block; white-space: nowrap; }
.chip { justify-content: flex-start; overflow: hidden; white-space: nowrap; transition: width 0.38s var(--ease), background 0.2s ease, transform 0.16s var(--ease); }
.chip span { white-space: nowrap; }
@media (max-width: 640px) { .tw-sent { font-size: min(27px, 6.3vw); line-height: 1.55; } }
.chip { margin: 0 1px 0 2px; }

/* polish, 23 Nov 2026: bigger tap areas for the header links (same look) */
.tw-top nav a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.tw-foot a { display: inline-block; padding: 10px 0; }

/* ======================================================================
   Overnight polish, 23 Nov 2026: bold Helvetica titles, finer motion
   ====================================================================== */
.tw-h2 { font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; }
.tw-card h2 { font-weight: 700; letter-spacing: -0.04em; }
.tw-steps h3, .tw-feats h3, .tw-box h3 { font-weight: 600; letter-spacing: -0.015em; }
.tw-btn { transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1); }
.tw-btn:active { transform: scale(0.96); transition-duration: 0.08s; }
.tw-top nav a { position: relative; }
.tw-top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
.tw-top nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.js [data-r] { transition: opacity 0.9s ease, transform 1.05s cubic-bezier(0.23, 1, 0.32, 1); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.tw-home { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
/* the brand chip: fine hairline, like the home page */
.tw-mark { gap: 9px; height: 34px; padding: 0 16px 0 12px; border: 0; box-shadow: inset 0 0 0 1px rgba(243, 237, 227, 0.16); background: rgba(243, 237, 227, 0.05); font-size: 14px; font-weight: 500; letter-spacing: 0.01em; color: rgba(243, 237, 227, 0.84); }
.tw-mark .tw-sun { width: 13px; height: 13px; }
