/* Team Flow showcase. Tokens follow the app (tailwind.config.ts, app/globals.css). */
:root {
  --canvas: #FAF8F4;
  --sand: #FBF6EE;
  --paper: #FFFFFF;
  --ink: #1C1A17;
  --hairline: #EBE5DB;
  --muted: #7C766C;          /* decorative and large text */
  --muted-text: #645E55;     /* body text: AA on canvas and white */
  --accent: 182 92 62;       /* warm clay */
  --accent-text: #9E4E31;    /* clay dark enough for small text */
  --accent-soft: #F3E2D8;
  --wave: #D67A58;
  --shadow: 83 55 40;
  --peach: #F7E4D2;
  --lav: #EAE4F6;
  --mint: #D6EEDD;
  --sky: #D7E8F4;
  --pink: #F7DCE5;

  --sh-card: 0 1px 1px rgb(var(--shadow) / .05), 0 2px 4px -1px rgb(var(--shadow) / .06), 0 10px 24px -12px rgb(var(--shadow) / .14), inset 0 1px 0 rgb(255 255 255 / .9);
  --sh-raised: 0 1px 2px rgb(var(--shadow) / .06), 0 6px 12px -4px rgb(var(--shadow) / .10), 0 22px 40px -18px rgb(var(--shadow) / .24), inset 0 1px 0 rgb(255 255 255 / .9);
  --sh-soft: 0 2px 6px -2px rgb(var(--shadow) / .08), 0 18px 40px -20px rgb(var(--shadow) / .22);
  --sh-pop: 0 4px 10px -4px rgb(var(--shadow) / .12), 0 28px 56px -24px rgb(var(--shadow) / .34);
  --sh-btn: 0 1px 1px rgb(var(--shadow) / .08), 0 2px 5px -2px rgb(var(--shadow) / .14), inset 0 1px 0 rgb(255 255 255 / .7);

  --sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "General Sans", "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 16px;
  --max: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: rgb(var(--accent)); color: #fff; }
:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: 3px; border-radius: 6px; }
.num { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; border-radius: 10px; }
.tf-mark { overflow: visible; flex-shrink: 0; }
.tf-mark .tf-tile { fill: var(--ink); }
.tf-mark .tf-stem, .tf-mark .tf-arm { stroke: #FBF6EE; }
.tf-mark .tf-wave { stroke: var(--wave); }
.tf-mark .tf-glint { stroke: #FFF4E8; stroke-dasharray: .14 1.6; stroke-dashoffset: .3; opacity: 0; }
.wordmark { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: 17px; white-space: nowrap; line-height: 1; }
.wordmark span { color: var(--accent-text); }

/* ---------- buttons, chips, cards ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background-color .2s, filter .2s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink) linear-gradient(to bottom, rgb(255 255 255 / .1), transparent); color: #fff; box-shadow: var(--sh-btn); }
.btn-primary:hover { background-color: #000; box-shadow: var(--sh-raised); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--hairline); box-shadow: var(--sh-btn); }
.btn-ghost:hover { background: var(--canvas); }
.btn-lg { min-height: 50px; padding: 13px 22px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }

.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.card {
  background: linear-gradient(to bottom, #fff, #FFFEFC); border: 1px solid rgb(235 229 219 / .8);
  border-radius: 20px; box-shadow: var(--sh-card);
}

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgb(250 248 244 / .85); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-color: var(--hairline); box-shadow: 0 8px 30px -18px rgb(var(--shadow) / .25); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) { display: none; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted-text); font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); background: rgb(255 255 255 / .7); }
@media (min-width: 820px) { .nav-links a:not(.btn) { display: inline-block; } }
.gh-label-long { display: none; }
@media (min-width: 420px) { .gh-label-long { display: inline; } .gh-label-short { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--hairline); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.blob-1 { width: 420px; height: 420px; left: -180px; top: -160px; background: var(--accent-soft); }
.blob-2 { width: 360px; height: 360px; right: -140px; top: 120px; background: rgb(247 228 210 / .6); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 56px 64px; align-items: center; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: .92fr 1.08fr; gap: 56px; padding-block: 88px 96px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--hairline); background: var(--paper); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; color: var(--muted-text); box-shadow: var(--sh-btn); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--accent)); }
.hero h1 { margin-top: 20px; font-size: clamp(2.5rem, 7.4vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 .accent { color: rgb(var(--accent)); position: relative; white-space: nowrap; display: inline-block; }
.hero h1 .underline { position: absolute; left: -2%; bottom: -.02em; width: 104%; height: .2em; overflow: visible; }
.hero h1 .underline path { fill: none; stroke: var(--wave); stroke-width: 5; stroke-linecap: round; opacity: .55; }
.lede { margin-top: 22px; max-width: 34rem; font-size: 18px; line-height: 1.6; color: var(--muted-text); }
.lede strong { color: var(--ink); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted-text); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.fine span { display: inline-flex; align-items: center; gap: 6px; }
.fine svg { width: 14px; height: 14px; color: rgb(var(--accent)); }

/* ---------- mock window frame ---------- */
.window { border-radius: 22px; background: var(--ink); padding: 7px; box-shadow: var(--sh-pop); }
.window-in { border-radius: 15px; background: var(--canvas); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--hairline); background: var(--sand); font-size: 12px; color: var(--muted-text); }
.win-bar .dots { display: flex; gap: 5px; }
.win-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #E2DACD; }
.win-bar .url { flex: 1; min-width: 0; text-align: center; font-family: var(--mono); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-body { padding: 16px; font-size: 12px; line-height: 1.4; }
@media (min-width: 640px) { .win-body { padding: 20px; } }
.mock-title { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.mock-sub { font-size: 11px; color: var(--muted-text); margin-top: 2px; }
.mock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.av { display: inline-grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; font-style: normal; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 70%, #fff)); }
.av-lg { width: 32px; height: 32px; font-size: 13px; }

/* hero timeline */
.hero-mock { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .hero-mock .window { animation: floaty 6s ease-in-out infinite alternate; }
}
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.tl-filters { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.tl-filters .chip { border: 1px solid var(--hairline); background: #fff; color: var(--muted-text); padding: 3px 9px; font-size: 11px; }
.tl-filters .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tl-card { margin-top: 12px; padding: 10px 10px 8px; border-radius: 14px; }
.tl {
  position: relative; display: grid;
  grid-template-columns: minmax(58px, 88px) repeat(14, minmax(0, 1fr));
  grid-template-rows: auto 20px 28px 28px 20px 28px 28px 28px 20px 28px auto;
  column-gap: 0; font-size: 11px;
}
.tl-day { grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding-bottom: 6px; font-family: var(--mono); color: var(--muted-text); z-index: 1; }
.tl-day b { font-weight: 500; font-size: 9px; }
.tl-day i { font-style: normal; font-size: 11px; color: var(--ink); }
.tl-day.we i { color: var(--muted-text); }
.tl-day.today i { background: rgb(var(--accent)); color: #fff; border-radius: 6px; padding: 0 3px; }
.tl-wk { grid-row: 1 / 12; background: repeating-linear-gradient(135deg, rgb(235 229 219 / .55) 0 2px, transparent 2px 6px); border-radius: 6px; }
.tl-hol { grid-row: 1 / 12; background: rgb(247 228 210 / .85); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.tl-hol span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A4A2C; }
.tl-today { grid-row: 2 / 11; justify-self: center; width: 2px; background: rgb(var(--accent)); border-radius: 2px; opacity: .65; z-index: 2; }
.tl-team { grid-column: 1 / -1; align-self: end; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-text); z-index: 1; }
.tl-name { grid-column: 1; display: flex; align-items: center; gap: 6px; font-weight: 500; z-index: 1; min-width: 0; }
.tl-name .av { width: 18px; height: 18px; font-size: 9px; }
.tl-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { align-self: center; height: 20px; margin-inline: 1px; border-radius: 6px; padding: 0 6px; display: flex; align-items: center; font-size: 10px; font-weight: 600; overflow: hidden; white-space: nowrap; z-index: 3; box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 1px 2px rgb(var(--shadow) / .12); }
.b-earned { background: #EFCDB9; color: #6E321C; }
.b-sick { background: var(--sky); color: #24465E; }
.b-comp { background: var(--lav); color: #4B3A73; }
.b-travel { background: var(--mint); color: #22573A; }
@media (max-width: 480px) { .bar { padding: 0; font-size: 0; } }
.tl-count { grid-row: 11; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--hairline); text-align: center; font-family: var(--mono); font-size: 11px; color: var(--ink); z-index: 1; }
.tl-count.label { grid-column: 1; text-align: left; font-family: var(--sans); font-size: 10px; font-weight: 600; color: var(--muted-text); }
.tl-count.zero { color: #B3ACA0; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; font-size: 10.5px; color: var(--muted-text); }
.tl-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tl-legend i { width: 10px; height: 10px; border-radius: 3px; }
.hero-note { position: absolute; right: -12px; bottom: -44px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; font-size: 12.5px; box-shadow: var(--sh-raised); max-width: 260px; }
.hero-note .ok { width: 26px; height: 26px; border-radius: 50%; background: #E1F2E6; color: #23774A; display: grid; place-items: center; flex-shrink: 0; }
.hero-note .ok svg { width: 15px; height: 15px; }
.hero-note small { display: block; color: var(--muted-text); font-size: 11px; }
@media (max-width: 640px) { .hero-note { position: relative; right: auto; bottom: auto; margin: 14px 0 0 auto; } }

/* ---------- facts strip ---------- */
.facts { border-bottom: 1px solid var(--hairline); background: var(--sand); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .facts ul { grid-template-columns: repeat(4, 1fr); } }
.facts li { padding: 22px 0 22px 16px; border-left: 1px solid var(--hairline); }
.facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
@media (min-width: 820px) { .facts li:nth-child(odd) { border-left: 1px solid var(--hairline); padding-left: 20px; } .facts li:first-child { border-left: 0; padding-left: 0; } .facts li { padding-left: 20px; } }
@media (max-width: 819px) { .facts li:nth-child(n+3) { border-top: 1px solid var(--hairline); } }
.facts .num { display: block; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 600; line-height: 1.1; }
.facts small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted-text); }

/* ---------- sections ---------- */
.section { padding-block: 80px; }
@media (min-width: 1000px) { .section { padding-block: 112px; } }
.kicker { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--accent-text); text-transform: uppercase; }
.section h2 { margin-top: 10px; font-size: clamp(2rem, 5vw, 2.9rem); letter-spacing: -.03em; max-width: 22ch; }
.section .intro { margin-top: 14px; max-width: 38rem; color: var(--muted-text); font-size: 17px; }

/* features bento */
.bento { margin-top: 44px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } }
@media (min-width: 680px) and (max-width: 999px) { .span-2, .span-3 { grid-column: span 2; } }
.feat { position: relative; padding: 24px; border-radius: 24px; border: 1px solid var(--hairline); background: var(--tint, #fff); transition: transform .3s var(--ease), box-shadow .3s var(--ease); overflow: hidden; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-soft); }
.feat .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgb(255 255 255 / .75); box-shadow: var(--sh-card); color: var(--ink); transition: transform .3s var(--ease); }
.feat:hover .ico { transform: rotate(-6deg) scale(1.08); }
.feat .ico svg { width: 22px; height: 22px; }
.feat .tag { margin-top: 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgb(28 26 23 / .62); }
.feat h3 { margin-top: 4px; font-size: 19px; letter-spacing: -.015em; }
.feat p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: rgb(28 26 23 / .74); max-width: 34rem; }
.feat .opt { position: absolute; top: 20px; right: 20px; background: rgb(255 255 255 / .8); color: var(--muted-text); border: 1px solid rgb(235 229 219 / .9); }
.feat ul.mini { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.feat ul.mini li { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / .72); border: 1px solid rgb(235 229 219 / .8); }
.feat-row { display: grid; gap: 20px; }
@media (min-width: 1000px) { .feat-row { grid-template-columns: 1fr 1fr 1fr; } }
.feat-row > div { display: flex; gap: 14px; align-items: flex-start; }
.feat-row h3 { margin-top: 2px; font-size: 17px; }
.feat-row p { margin-top: 4px; font-size: 14.5px; }

/* screens */
.screens { background: linear-gradient(to bottom, var(--canvas), var(--sand)); border-block: 1px solid var(--hairline); }
.shots { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.shot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; margin: 0; }
.shot > *, .hero-in > *, .band-grid > *, .faq-grid > * { min-width: 0; }
@media (min-width: 1000px) {
  .shot { grid-template-columns: 1fr 1.35fr; gap: 56px; }
  .shot.flip { grid-template-columns: 1.35fr 1fr; }
  .shot.flip figcaption { order: 2; }
}
.shot figcaption h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); letter-spacing: -.02em; }
.shot figcaption p { margin-top: 10px; color: var(--muted-text); max-width: 30rem; }
.shot figcaption ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.shot figcaption li { display: flex; gap: 10px; align-items: baseline; }
.shot figcaption li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--accent)); transform: translateY(-2px); }

/* travel mock */
.trip-ref { font-family: var(--mono); font-size: 11px; color: var(--muted-text); }
.route { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.route .arr { color: rgb(var(--accent)); padding-inline: 3px; }
.status { background: #FCEBD9; color: #7A3E14; }
.stepper { list-style: none; margin: 16px 0 0; padding: 14px 12px 12px; display: grid; grid-template-columns: repeat(6, 1fr); border-radius: 14px; }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 10px; color: var(--muted-text); }
.stepper li::before { content: ""; position: absolute; top: 10px; left: calc(-50% + 12px); right: calc(50% + 12px); height: 2px; background: var(--hairline); border-radius: 2px; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before { background: rgb(var(--accent)); }
.stepper .pip { position: relative; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--hairline); z-index: 1; }
.stepper .done .pip { background: rgb(var(--accent)); border-color: rgb(var(--accent)); color: #fff; }
.stepper .pip svg { width: 12px; height: 12px; }
.stepper .now .pip { border-color: rgb(var(--accent)); }
.stepper .now .pip::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--accent)); }
@media (prefers-reduced-motion: no-preference) { .stepper .now .pip::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(var(--accent) / .35); animation: ping 2s var(--ease) infinite; } }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 80%, 100% { transform: scale(1.25); opacity: 0; } }
.stepper .now b { color: var(--ink); }
.stepper b { font-weight: 600; display: block; color: var(--ink); font-size: 10px; line-height: 1.2; }
.stepper small { display: block; font-size: 9px; }
@media (max-width: 520px) { .stepper small { display: none; } .stepper b { font-size: 9px; } .stepper { padding-inline: 4px; } }
.legs { display: grid; gap: 8px; margin-top: 12px; }
.leg { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--hairline); background: #fff; }
.leg.pick { border-color: rgb(var(--accent) / .55); box-shadow: 0 0 0 3px rgb(var(--accent) / .1); }
.leg .mode { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--canvas); color: var(--ink); }
.leg .mode svg { width: 16px; height: 16px; }
.leg strong { display: block; font-size: 12px; }
.leg span { display: block; font-size: 10.5px; color: var(--muted-text); }
.radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--hairline); }
.radio.on { border: 5px solid rgb(var(--accent)); }
.mock-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.mbtn { display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; padding: 7px 12px; font-size: 11.5px; font-weight: 600; border: 1px solid var(--hairline); background: #fff; box-shadow: var(--sh-btn); }
.mbtn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.mbtn.ok { background: #1F7A4D; color: #fff; border-color: #1F7A4D; }

/* approvals mock */
.tabs { display: flex; gap: 4px; padding: 3px; border-radius: 11px; background: #F1ECE3; width: max-content; max-width: 100%; margin-top: 12px; }
.tabs span { padding: 5px 10px; border-radius: 8px; font-size: 11px; font-weight: 600; color: var(--muted-text); white-space: nowrap; }
.tabs span.on { background: #fff; color: var(--ink); box-shadow: var(--sh-card); }
.tabs .n { font-family: var(--mono); margin-left: 4px; color: rgb(var(--accent)); }
.inbox { display: grid; gap: 8px; margin-top: 12px; }
.req { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; padding: 12px; border-radius: 14px; }
.req-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.req strong { font-size: 12.5px; }
.req .meta { font-size: 11px; color: var(--muted-text); margin-top: 1px; }
.req .meta .num { color: var(--ink); }
.req .note { margin-top: 6px; font-size: 11px; color: var(--muted-text); font-style: italic; }
.req .row { grid-column: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.c-earned { background: #F6DDCE; color: #6E321C; }
.c-comp { background: var(--lav); color: #4B3A73; }
.c-travel { background: var(--mint); color: #22573A; }
.c-muted { background: #F1ECE3; color: var(--muted-text); }
.slack-hint { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11px; color: var(--muted-text); }
.slack-hint i { width: 6px; height: 6px; border-radius: 50%; background: #2BAC76; }

/* org chart mock */
.org { padding: 6px 0 2px; overflow: hidden; }
.org ul { list-style: none; margin: 0; padding: 18px 0 0; width: 100%; display: flex; justify-content: center; position: relative; }
.org > ul { padding-top: 0; }
.org li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 4px 0; flex: 1 1 0; min-width: 0; }
.org > ul > li { padding-top: 0; }
.org li::before, .org li::after { content: ""; position: absolute; top: 0; width: 50%; height: 18px; border-top: 2px solid #DCD3C4; }
.org li::before { right: 50%; }
.org li::after { left: 50%; border-left: 2px solid #DCD3C4; }
.org li:only-child::before, .org li:only-child::after { display: none; }
.org li:only-child { padding-top: 0; }
.org li:first-child::before, .org li:last-child::after { border: 0 none; }
.org li:last-child::before { border-right: 2px solid #DCD3C4; border-radius: 0 8px 0 0; }
.org li:first-child::after { border-radius: 8px 0 0 0; }
.org ul ul::before { content: ""; position: absolute; top: 0; left: 50%; height: 18px; border-left: 2px solid #DCD3C4; transform: translateX(-1px); }
.org > ul > li::before, .org > ul > li::after { display: none; }
.org li.hl::after, .org li.hl-l::before { border-color: rgb(var(--accent)); }
.org .hl-down::before { border-color: rgb(var(--accent)) !important; }
.node { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px; border-radius: 14px; min-width: 0; width: 100%; max-width: 132px; text-align: center; }
.node strong { font-size: 12px; line-height: 1.2; }
.node span { font-size: 10px; color: var(--muted-text); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.node.sel { box-shadow: 0 0 0 2px rgb(var(--accent)), var(--sh-raised); }
.node.appr { box-shadow: 0 0 0 2px rgb(var(--accent) / .35), var(--sh-card); }
.org-callout { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 11.5px; color: #5A2A18; }
.org-callout svg { width: 16px; height: 16px; flex-shrink: 0; color: rgb(var(--accent)); }
@media (max-width: 480px) { .node { padding: 8px 4px; } .node strong { font-size: 11px; } .node span { font-size: 9px; } .org li { padding-inline: 2px; } }

/* how it works */
.steps { margin-top: 48px; display: grid; gap: 16px; counter-reset: step; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { position: relative; padding: 26px 24px 24px; }
.step .n { display: flex; align-items: center; justify-content: space-between; }
.step .n b { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent-text); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; }
.step .n span { font-size: 12px; color: var(--muted-text); font-family: var(--mono); }
.step h3 { margin-top: 18px; font-size: 20px; letter-spacing: -.015em; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted-text); }
.step code { font-family: var(--mono); font-size: 13px; background: var(--canvas); border: 1px solid var(--hairline); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.steps-wave { display: none; }
@media (min-width: 900px) { .steps-wave { display: block; position: absolute; left: 6%; right: 6%; top: -26px; height: 30px; width: 88%; } .steps-wave path { fill: none; stroke: var(--wave); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 8; opacity: .6; } }
.steps-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; border: 1px dashed #DCD3C4; }
.steps-foot p { color: var(--muted-text); font-size: 15px; }
.steps-foot strong { color: var(--ink); }

/* audience band */
.band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.band .blob { background: rgb(var(--accent) / .28); width: 380px; height: 380px; right: -120px; top: -120px; filter: blur(70px); }
.band .kicker { color: #E9A487; }
.band h2 { color: #fff; }
.band .intro { color: rgb(255 255 255 / .72); }
.band-grid { position: relative; display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .band-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.who { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.who div { padding: 16px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.who strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; }
.who span { display: block; margin-top: 2px; font-size: 13.5px; color: rgb(255 255 255 / .7); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: 24px; overflow: hidden; background: rgb(255 255 255 / .12); }
.tiles div { background: var(--ink); padding: 24px 20px; }
.tiles .num { display: block; font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 600; line-height: 1.15; color: #fff; }
.tiles .num.sm { font-size: clamp(1.15rem, 2.6vw, 1.45rem); }
.tiles small { display: block; margin-top: 6px; font-size: 13px; color: rgb(255 255 255 / .68); line-height: 1.45; }
.band-note { margin-top: 18px; font-size: 14px; color: rgb(255 255 255 / .7); }

/* faq */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--hairline); box-shadow: var(--sh-card); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sh-raised); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--canvas); border: 1px solid var(--hairline); display: grid; place-items: center; transition: transform .25s var(--ease), background-color .2s; }
.faq summary .pm svg { width: 12px; height: 12px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--accent-soft); }
.faq .ans { padding: 0 20px 20px; color: var(--muted-text); font-size: 15.5px; }
.faq .ans a { color: var(--accent-text); font-weight: 600; }

/* closing cta */
.closing { text-align: center; border-top: 1px solid var(--hairline); }
.closing h2 { margin-inline: auto; max-width: 18ch; }
.closing .intro { margin-inline: auto; }
.closing .cta-row { justify-content: center; }
.closing .mark-big { margin: 0 auto 22px; width: 64px; height: 64px; }

/* footer */
.foot { border-top: 1px solid var(--hairline); background: var(--sand); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 28px; font-size: 14px; color: var(--muted-text); }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-in a { text-decoration: none; color: var(--muted-text); }
.foot-left span a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(124 118 108 / .5); }
.foot-in a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .tf-mark-anim .tf-tile { transform-box: fill-box; transform-origin: center; animation: tf-settle .55s var(--ease) both; }
  .tf-mark-anim .tf-stem, .tf-mark-anim .tf-arm, .tf-mark-anim .tf-wave { stroke-dasharray: 1; animation: tf-draw .45s cubic-bezier(.45,0,.25,1) both; }
  .tf-mark-anim .tf-stem { animation-delay: .18s; }
  .tf-mark-anim .tf-arm { animation-delay: .48s; animation-duration: .3s; }
  .tf-mark-anim .tf-wave { animation-delay: .6s; animation-duration: .75s; }
  .tf-mark-anim .tf-glint { animation: tf-glint 7s ease-in-out 2.2s infinite; }
  .logo-anim .wordmark { animation: tf-word .6s var(--ease) .3s both; }
  .hero h1 .underline path { stroke-dasharray: 1; animation: tf-draw 1s cubic-bezier(.45,0,.25,1) .9s both; }
  .js .hero-mock .bar { transform-origin: left center; animation: bar-in .6s var(--ease) both; animation-delay: calc(.6s + var(--i, 0) * 90ms); }
}
@keyframes bar-in { from { transform: scaleX(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tf-settle { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@keyframes tf-draw { from { stroke-dashoffset: 1; opacity: 0; } 10% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes tf-glint { 0% { stroke-dashoffset: .3; opacity: 0; } 3% { opacity: .8; } 19% { opacity: .8; } 22%, 100% { stroke-dashoffset: -1.4; opacity: 0; } }
@keyframes tf-word { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 404 */
.lost { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.lost h1 { margin-top: 22px; font-size: clamp(2rem, 6vw, 3rem); }
.lost p { margin: 12px auto 0; max-width: 28rem; color: var(--muted-text); }
.lost .cta-row { justify-content: center; }
.lost .code { font-family: var(--mono); color: var(--accent-text); font-size: 14px; margin-top: 28px; }

/* icons (sprite in index.html) */
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-fill { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
@media (max-width: 480px) {
  .tl { grid-template-columns: 54px repeat(14, minmax(0, 1fr)); }
  .tl-name { gap: 4px; font-size: 10.5px; }
  .tl-day b { font-size: 7.5px; }
  .tl-day i { font-size: 8.5px; letter-spacing: -.08em; }
  .tl-day.today i { padding: 0 1px; }
  .tl-count { font-size: 9.5px; }
}

/* Built to last: running costs */
.costs { margin-top: 28px; padding: 24px; overflow-x: auto; }
.costs h3 { font-family: var(--display); font-size: 20px; margin-bottom: 14px; }
.costs table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.costs th, .costs td { text-align: left; padding: 12px 10px; border-top: 1px solid var(--hairline); vertical-align: top; }
.costs thead th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-text); font-weight: 600; }
.costs tbody th { font-weight: 600; color: var(--ink); }
.costs td { color: var(--muted-text); }
.costs td.num { font-family: var(--mono); color: var(--ink); white-space: nowrap; font-weight: 600; }
.costs .fine { margin-top: 14px; font-size: 13px; color: var(--muted-text); max-width: 72ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
