/* =========================================================
   Workflow OS: landing page
   Tokens → base → components → sections → theme switcher
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --font-head: "Onest", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* palette */
  --bg: #f4f6fa;            /* page canvas */
  --surface: #ffffff;       /* cards */
  --surface-2: #f7f8fb;     /* alt rows, closed FAQ */
  --ink: #0b0d12;           /* text, icons */
  --muted: #646a78;         /* secondary text */
  --faint: #9aa0ad;         /* tertiary text */
  --border: #dde1e8;        /* frames + dividers */
  --accent: #2563ff;        /* CTAs + key highlights only */
  --on-accent: #ffffff;
  --accent-soft: rgba(37, 99, 255, .12);

  /* dark blocks (how it works, CTAs, table head, footer) */
  --dark: #0b0d12;
  --dark-2: #151821;
  --on-dark: #f3f5fa;
  --on-dark-muted: rgba(243, 245, 250, .55);
  --on-dark-faint: rgba(243, 245, 250, .32);
  --dark-border: rgba(255, 255, 255, .1);
  --accent-on-dark: #5b8cff;  /* accent text on dark surfaces */

  /* hero sky */
  --sky-1: #81abfe;
  --sky-2: #bdd4ff;
  --cloud: rgba(255, 255, 255, .85);

  /* scale */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-xl: 40px;
  --space-xs: 12px;
  --space-sm: 24px;
  --space-md: 40px;
  --space-lg: 80px;
  --space-xl: 132px;
  --container: 1176px;
  --inset: 24px;
}


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; } /* section links clear the fixed header */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + 32px); margin: 0 auto; padding: 0 16px; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
svg:has(> use) { stroke-width: 1.5; } /* Solar icons: 1.5 stroke on a 24px grid, as in weeks-demo */

/* type */
.h-xl, .h-lg, .h-md {
  font-family: var(--font-head);
  font-weight: 400;
  color: inherit;
}
.h-xl { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.08; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.03em; }
.h-md { font-size: clamp(22px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.02em; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.5; font-weight: 300; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.section-head .lead { margin-top: 18px; max-width: 420px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 22px;
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .2s ease, filter .2s ease, background-color .2s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { color: var(--muted); height: 40px; padding: 0 12px; border-radius: var(--radius-sm); }
.btn-ghost:hover { color: var(--ink); }

/* ---------- Logo mark ---------- */
.mark-tile {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent);
  flex: none;
}
.mark-tile svg { width: 64%; height: auto; aspect-ratio: 935 / 630; fill: currentColor; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -0.03em; font-family: var(--font-head); white-space: nowrap; flex-shrink: 0; }
/* logo: blue W on its own, no tile */
.brand .mark-tile { width: 30px; height: 30px; background: none; color: var(--accent); border-radius: 0; }
.brand .mark-tile svg { width: 100%; }
.footer .brand .mark-tile { color: var(--accent-on-dark); }


/* ---------- Image placeholders (swap for <img> later) ---------- */
.ph {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 20% 0%, var(--accent-soft), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--ink) 4%, transparent) 14px 15px),
    var(--surface-2);
  color: var(--muted);
  border: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
}
.ph-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; padding: 8px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.ph--dark {
  background:
    radial-gradient(120% 80% at 20% 0%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.04) 14px 15px),
    var(--dark-2);
  color: var(--on-dark-muted);
  border-color: rgba(255,255,255,.14);
}
.ph--dark .ph-label { background: rgba(0,0,0,.35); border-color: rgba(255,255,255,.12); color: var(--on-dark); }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   HEADER
   ========================================================= */
.hero-wrap { position: relative; isolation: isolate; padding-top: 76px; } /* room for the fixed header */
.sky {
  position: absolute; inset: 0 0 auto 0; height: 1100px; z-index: -1; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 45%, var(--bg) 92%);
  transition: background .4s ease;
}
/* Soft clouds: blurred ovals that drift left to right forever. Each has its own width (--w),
   speed (--t) and a negative delay (--d) so they start spread across the sky. */
.sky::before, .sky::after, .sky .cloud {
  content: ""; position: absolute; left: 0; border-radius: 50%; background: var(--cloud);
  filter: blur(40px); will-change: transform;
  animation: cloudDrift var(--t, 160s) linear var(--d, 0s) infinite;
}
@keyframes cloudDrift {
  from { transform: translateX(calc(-1 * var(--w) - 80px)); }
  to { transform: translateX(calc(100vw + 80px)); }
}
.sky::before { --w: 620px; width: var(--w); height: 220px; top: 120px; opacity: .8; --t: 170s; --d: -40s; }
.sky::after { --w: 760px; width: var(--w); height: 260px; top: 300px; opacity: .68; --t: 210s; --d: -150s; }
.sky .c1 { --w: 380px; width: var(--w); height: 140px; top: 40px; opacity: .75; filter: blur(34px); --t: 135s; --d: -95s; }
.sky .c2 { --w: 520px; width: var(--w); height: 180px; top: 520px; opacity: .66; --t: 185s; --d: -20s; }
.sky .c3 { --w: 440px; width: var(--w); height: 160px; top: 230px; opacity: .6; filter: blur(36px); --t: 150s; --d: -125s; }
.sky .c4 { --w: 340px; width: var(--w); height: 130px; top: 650px; opacity: .55; filter: blur(34px); --t: 125s; --d: -60s; }
@media (prefers-reduced-motion: reduce) { .sky::before, .sky::after, .sky .cloud { animation: none; } }

/* Header: fixed to the top */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; /* always above every other element */
  background: transparent;
  transition: backdrop-filter .25s ease, -webkit-backdrop-filter .25s ease;
}
/* once the page scrolls: blur only, no background colour */
.nav.is-scrolled { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 15px; color: color-mix(in srgb, var(--ink) 75%, transparent); transition: color .2s; }
.nav-link:hover { color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero { text-align: center; padding: 96px 0 0; }
.hero h1 { max-width: 900px; margin: 0 auto; text-wrap: balance; }
.hero .lead { max-width: 600px; margin: 26px auto 0; color: color-mix(in srgb, var(--ink) 72%, transparent); font-weight: 400; text-wrap: balance; }
.hero .btn { margin-top: 30px; }

/* app preview: wrapper */
.mock-wrap { margin-top: 84px; position: relative; max-width: calc(1120px + 32px); }

/* Weeks home screen, 1:1 with weeks-site .window (native 1280x800, scaled) */
.wk-stage { position: relative; z-index: 1; width: 100%; aspect-ratio: 1280 / 800; border-radius: 12px; overflow: hidden; box-shadow: 0 28px 60px -28px rgba(30, 50, 110, .22), 0 2px 8px rgba(30, 50, 110, .05); }
.wk-stage { transform: scale(var(--zoom, 1)); transform-origin: 50% 0%; will-change: transform; } /* --zoom set on scroll by script.js */
.wk { --wk-scale: 1; position: absolute; top: 0; left: 0; width: 1280px; height: 800px; transform: scale(var(--wk-scale)); transform-origin: top left; display: flex; background: #fff; color: #1d1d1f; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; letter-spacing: -0.017em; text-align: left; }
:is(.wk, .fx-win) *, :is(.wk, .fx-win) *::before, :is(.wk, .fx-win) *::after { box-sizing: border-box; }
:is(.wk, .fx-win) svg.i { width: 16px; height: 16px; flex-shrink: 0; }
:is(.wk, .fx-win) .muted { color: #6e6e73; }
:is(.wk, .fx-win) .t-xs { font-size: 12px; line-height: 1.3333; }
:is(.wk, .fx-win) .t-sm { font-size: 14px; line-height: 1.4286; }
:is(.wk, .fx-win) .medium { font-weight: 500; }
:is(.wk, .fx-win) .num { font-variant-numeric: tabular-nums; }
:is(.wk, .fx-win) .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(.wk, .fx-win) .tone-0 { background: oklch(68.5% 0.169 237.323 / .15); color: oklch(50% 0.134 242.749); }
:is(.wk, .fx-win) .tone-1 { background: oklch(60.6% 0.25 292.717 / .15); color: oklch(49.1% 0.27 292.581); }
:is(.wk, .fx-win) .tone-2 { background: oklch(69.6% 0.17 162.48 / .15); color: oklch(50.8% 0.118 165.612); }
:is(.wk, .fx-win) .tone-3 { background: oklch(76.9% 0.188 70.08 / .15); color: oklch(55.5% 0.163 48.998); }
:is(.wk, .fx-win) .tone-4 { background: oklch(64.5% 0.246 16.439 / .15); color: oklch(51.4% 0.222 16.935); }
:is(.wk, .fx-win) .tone-5 { background: oklch(70.4% 0.14 182.503 / .15); color: oklch(51.1% 0.096 186.391); }
:is(.wk, .fx-win) .tone-6 { background: oklch(58.5% 0.233 277.117 / .15); color: oklch(45.7% 0.24 277.023); }
:is(.wk, .fx-win) .tone-7 { background: oklch(70.5% 0.213 47.604 / .15); color: oklch(55.3% 0.195 38.402); }
.wk-avatar { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; background: #fff; }
.wk-avatar > span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; border-radius: inherit; }

.wk-rail { width: 64px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; border-right: 1px solid rgba(23, 22, 15, .07); background: #f7f7f7; }
.wk-rail-brand { height: 56px; width: 100%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(23, 22, 15, .07); }
.wk-rail-brand svg { width: 32px; height: 32px; }
.wk-rail-nav { flex: 1; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wk-group { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wk-sep { display: block; height: 1px; width: 24px; margin: 2px 0; background: rgba(23, 22, 15, .07); }
.wk-navlink { position: relative; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; color: #6e6c69; }
.wk-navlink.on { background: #e9e9ec; color: #1d1d1f; }
.wk-badge { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; height: 16px; min-width: 16px; padding: 0 4px; border-radius: 999px; background: #f43f5e; color: #fff; font-size: 10px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.wk-rail-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0; }
.wk-rail-foot .wk-avatar, .wk-rail-foot .wk-avatar > span { border-radius: 10px; }

.wk-feedcol { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.wk-header { flex-shrink: 0; border-bottom: 1px solid #e6e6e6; background: #fff; padding: 0 20px; }
.wk-header-row { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.wk-crumbs { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1; font-size: 14px; line-height: 1.4286; color: #6e6e73; }
.wk-crumbs svg.i { width: 14px; height: 14px; opacity: .6; }
.wk-crumbs b { font-weight: 500; color: #1d1d1f; }
.wk-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.wk-search { position: relative; width: 256px; }
.wk-search > svg.i { position: absolute; top: 50%; left: 10px; transform: translateY(-50%); color: #6e6e73; }
.wk-field { display: flex; align-items: center; height: 36px; width: 100%; border: 1px solid #e6e6e6; border-radius: 10px; padding: 0 12px; font-size: 14px; line-height: 1.4286; background: transparent; }
.wk-search .wk-field { padding: 0 36px 0 32px; color: #737378; }
.wk-kbd { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); display: inline-grid; place-items: center; height: 20px; min-width: 20px; padding: 0 6px; border: 1px solid #e6e6e6; border-radius: 4px; background: #f2f2f3; font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #6e6e73; }
.wk-select { width: 144px; justify-content: space-between; gap: 8px; white-space: nowrap; }
.wk-select svg.i { color: #6e6e73; }
.wk-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #e6e6e6; border-radius: 10px; background: #fff; }

.wk-feed { width: 100%; padding: 8px 20px 40px; }
.wk-post { padding: 24px 0; border-bottom: 1px solid #e6e6e6; }
.wk-post:first-child { padding-top: 12px; }
.wk-byline { display: flex; align-items: center; gap: 10px; }
.wk-byline .wk-avatar > span { font-size: 11px; font-weight: 500; }
.wk-byline-text { flex: 1; min-width: 0; line-height: 1.25; }
.wk-byline-text > span:first-child { display: block; font-size: 14px; font-weight: 500; }
.wk-byline-meta { margin-top: 2px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6e6e73; }
.wk-dot { width: 2.5px; height: 2.5px; border-radius: 999px; background: rgba(123, 123, 128, .6); flex-shrink: 0; }
.wk-pinned { display: flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 12px; line-height: 1.3333; color: #b45309; }
.wk-pinned svg.i { width: 14px; height: 14px; }
.wk-title { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 18px; line-height: 1.375; font-weight: 600; letter-spacing: -0.025em; }
.wk-status { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 8px; font-size: 12px; line-height: 1.3333; font-weight: 500; letter-spacing: -0.017em; }
.wk-status::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.wk-status.danger { background: #fff0f3; color: #be123c; }
.wk-body { margin: 6px 0 0; max-width: 70ch; font-size: 15px; line-height: 1.625; color: rgba(29, 29, 31, .8); white-space: pre-wrap; }
.wk-reactions { margin: 16px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.wk-reaction { display: flex; align-items: center; gap: 4px; height: 28px; padding: 0 9px; border-radius: 14px; background: #fff; color: #6e6e73; font-size: 12px; line-height: 1.3333; }
.wk-reaction svg.i { width: 14px; height: 14px; }
.wk-reaction.mine { background: #e9f0fb; color: #0047ab; }
.wk-reaction-add { display: flex; align-items: center; height: 28px; padding: 0 10px; border: 1px dashed #e6e6e6; border-radius: 14px; color: #6e6e73; font-size: 14px; }
/* acknowledge controls, trailing the reaction row (weeks-demo AcknowledgeRow) */
.wk-ack-row { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.wk-ack-count { font-size: 12px; line-height: 1.3333; color: #7b7b80; font-variant-numeric: tabular-nums; }
.wk-ack-done { display: flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 14px; background: #e8f8ef; color: #15803d; font-size: 12px; line-height: 1.3333; font-weight: 500; }
.wk-ack-btn { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border: 1px solid #e6e6e6; border-radius: 14px; background: #fff; color: #1d1d1f; font-size: 12.8px; font-weight: 500; white-space: nowrap; }
.wk-ack-done svg.i, .wk-ack-btn svg.i { width: 14px; height: 14px; }
.wk-reply { margin: 4px -10px 0; display: flex; align-items: center; gap: 8px; width: calc(100% + 20px); padding: 8px 10px; border-radius: 10px; }
.wk-reply-avatars { display: flex; flex-shrink: 0; }
.wk-reply-avatars .wk-avatar { width: 24px; height: 24px; box-shadow: 0 0 0 2px #fff; }
.wk-reply-avatars .wk-avatar + .wk-avatar { margin-left: -8px; }
.wk-reply-avatars .wk-avatar > span { font-size: 9px; font-weight: 500; letter-spacing: -0.025em; }
.wk-reply-text { flex: 1; min-width: 0; display: flex; gap: 6px; overflow: hidden; font-size: 14px; line-height: 1.4286; }
.wk-reply-text b { font-weight: 500; flex-shrink: 0; }
.wk-reply-count { flex-shrink: 0; font-size: 12px; line-height: 1.3333; font-weight: 500; color: #6d4df2; }
.wk-reply-only { margin: 4px -10px 0; display: inline-flex; padding: 8px 10px; border-radius: 10px; font-size: 14px; line-height: 1.4286; font-weight: 500; color: #6d4df2; }
.wk-compose { position: absolute; right: 40px; bottom: 40px; z-index: 3; padding: 12px; border-radius: 999px; background: #1f1f21; color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.wk-compose svg.i { width: 20px; height: 20px; }

.wk-aside { width: 336px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; padding: 16px; border-left: 1px solid #e6e6e6; overflow: hidden; }
.wk-divider { height: 1px; flex-shrink: 0; background: #e6e6e6; }
.wk-label { padding-bottom: 12px; font-size: 14px; line-height: 1.4286; font-weight: 500; }
.wk-timer-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 16px; }
.wk-checked { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.3333; color: #15803d; }
.wk-checked::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #22c55e; }
.wk-readout { display: flex; align-items: baseline; gap: 8px; }
.wk-big { font-size: 60px; line-height: 1; font-weight: 300; font-variant-numeric: tabular-nums; }
.wk-mid { font-size: 30px; line-height: 1; font-weight: 300; font-variant-numeric: tabular-nums; }
.wk-unit { font-size: 14px; line-height: 1.4286; font-weight: 500; color: #6e6e73; }
.wk-rail-btns { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.wk-railbtn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; border-radius: 8px; background: #f2f2f3; color: #1d1d1f; font-size: 14px; line-height: 1.4286; font-weight: 500; }
.wk-railbtn.danger { background: #fff0f3; color: #be123c; }
.wk-railbtn.clear { background: transparent; }
.wk-cal-head { margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.wk-cal-nav { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #6e6e73; }
.wk-cal { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.wk-cal .wd { padding-bottom: 4px; font-size: 12px; line-height: 1.3333; font-weight: 500; color: #6e6e73; }
.wk-cal .d { margin: 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-size: 14px; line-height: 1.4286; }
.wk-cal .other { color: #76767b; }
.wk-cal .off { color: #76767b; }
.wk-cal .holiday { background: #f1ecff; color: #6d4df2; font-weight: 500; }
.wk-cal .today { background: #1f1f21; color: #fff; font-weight: 500; }
.wk-total { display: flex; align-items: flex-end; gap: 8px; padding-bottom: 16px; }
.wk-total-unit { display: flex; flex-direction: column; }
.wk-faint { color: #737378; }
.wk-balances { display: flex; flex-direction: column; gap: 12px; }
.wk-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wk-balance-value { display: flex; align-items: baseline; gap: 4px; flex-shrink: 0; }
.wk-balance-value .v { font-size: 20px; line-height: 1.4; font-weight: 300; font-variant-numeric: tabular-nums; }
.wk-list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.wk-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px; border-radius: 10px; }
.wk-list li.center { align-items: center; }
.wk-list li > span:last-child { min-width: 0; flex: 1; }
.wk-list .title { display: block; font-size: 14px; line-height: 1.4286; font-weight: 500; }
.wk-list .sub { display: block; font-size: 12px; line-height: 1.3333; color: #6e6e73; }
.wk-agenda-dot { margin-top: 6px; width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.wk-list .wk-avatar { width: 28px; height: 28px; }
.wk-list .wk-avatar > span { font-size: 10px; }

/* logo strip */
.trusted { text-align: center; margin-top: 112px; }
.trusted p { color: var(--muted); font-size: 15px; }
.logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px 64px; margin-top: 26px; color: color-mix(in srgb, var(--ink) 75%, transparent); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.04em; font-family: var(--font-head); }
.logo { transition: color .2s; }
.logo:hover { color: var(--ink); }
.logo--octane { gap: 10px; font-weight: 600; letter-spacing: -0.03em; }
.logo-mark { width: 24px; height: 24px; filter: brightness(0); opacity: .75; transition: opacity .2s; } /* white source mark, tinted to match the text */
.logo:hover .logo-mark { opacity: 1; }
.logo--intellex { font-size: 18px; font-weight: 700; letter-spacing: .25em; }
.logo--shipmoth { font-family: Menlo, Consolas, "SFMono-Regular", monospace; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }

/* =========================================================
   DARK BLOCKS (shared)
   ========================================================= */
.block-dark {
  margin: 0 var(--inset);
  border-radius: var(--radius-xl);
  background: var(--dark); color: var(--on-dark);
  overflow: hidden; position: relative;
}

/* ---------- How it works ---------- */
.how { margin-top: 124px; padding: 120px 0; }
.how-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 656px); justify-content: space-between; gap: 48px; align-items: start; }
.how .lead { color: var(--on-dark-muted); margin-top: 20px; }
.steps { margin-top: 48px; }
.step-h, .qa-h { font: inherit; letter-spacing: inherit; } /* headings for SEO; the button inside carries the look */
.step { border-bottom: 1px solid var(--dark-border); position: relative; }
.step button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; text-align: left; font-family: var(--font-head); font-size: 22px; letter-spacing: -0.02em; color: var(--on-dark-faint); transition: color .25s; }
.step button:hover { color: var(--on-dark-muted); }
.step button:focus, .step button:focus-visible { outline: none; }
.step button:focus-visible { color: var(--on-dark); }
.step .pm { width: 18px; height: 18px; position: relative; flex: none; }
.step .pm::before, .step .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .25s; }
.step .pm::after { transform: rotate(90deg); }
.step.active button { color: var(--accent-on-dark); }
.step.active .pm::after { transform: rotate(0deg); }
.step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.step-body > div { overflow: hidden; }
.step-body p { color: var(--on-dark-muted); font-weight: 300; padding: 0 30px 22px 0; }
.step.active .step-body { grid-template-rows: 1fr; }
.step .bar { position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 0; background: var(--accent-on-dark); }
.step.active .bar { animation: fill var(--step-ms, 6000ms) linear forwards; }
.steps.paused .step.active .bar { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
/* Feature screens: an app window per step, recreated from weeks-demo at a native
   880px width and scaled by script.js (--fx-scale on .how-media) */
.how-media {
  --fx-scale: .65;
  position: relative; aspect-ratio: 656 / 570; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(60% 40% at 20% 15%, rgba(255,255,255,.9), transparent 70%),
    radial-gradient(50% 35% at 85% 70%, rgba(255,255,255,.75), transparent 70%),
    linear-gradient(165deg, #b9d0ff 0%, #d9e6ff 45%, #f1f5ff 100%);
}
@media (min-width: 1101px) {
  .how-grid { align-items: stretch; }
  .how-media { aspect-ratio: auto; height: 100%; min-height: 640px; }
}
.fx { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1), visibility .45s; }
.fx.active { opacity: 1; visibility: visible; transform: none; }
.fx-win {
  position: absolute; left: 8%; top: 64px; width: 880px; height: 1100px;
  transform: scale(var(--fx-scale)); transform-origin: top left;
  display: flex; overflow: hidden; text-align: left;
  background: #fff; color: #1d1d1f; border-radius: 14px; border: 1px solid rgba(23, 22, 15, .08);
  box-shadow: 0 24px 50px -26px rgba(30, 50, 110, .2), 0 2px 6px rgba(30, 50, 110, .05);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; letter-spacing: -0.017em;
}
.fx-win .wk-rail { width: 60px; }
.fx-win .wk-rail-brand { height: 52px; }
.fx-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fx-head { position: relative; z-index: 2; background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; padding: 0 20px; border-bottom: 1px solid #e6e6e6; }
.fx-crumbs { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #6e6e73; white-space: nowrap; }
.fx-crumbs svg.i { width: 14px; height: 14px; opacity: .6; }
.fx-crumbs b { font-weight: 500; color: #1d1d1f; }
.fx-actions { display: flex; align-items: center; gap: 8px; }
.fx-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.fx-btn svg.i { width: 15px; height: 15px; }
.fx-btn.outline { border: 1px solid #e6e6e6; background: #fff; }
.fx-btn.dark { background: #1f1f21; color: #fff; }
.fx-btn.sm { height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12.8px; }
.fx-iconbtn { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid #e6e6e6; border-radius: 10px; color: #1d1d1f; }
.fx-body { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; min-height: 0; }
.fx-seg { display: inline-flex; gap: 2px; width: fit-content; padding: 3px; border-radius: 10px; background: #f2f2f3; }
.fx-seg b { padding: 5px 12px; border-radius: 8px; font-weight: 400; color: #6e6e73; white-space: nowrap; }
.fx-seg b.on { background: #e3e3e6; color: #1d1d1f; font-weight: 500; }
.fx-seg.sm b { padding: 4px 10px; font-size: 13px; }
.fx-filters { display: flex; align-items: center; gap: 8px; }
.fx-field { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid #e6e6e6; border-radius: 10px; font-size: 14px; white-space: nowrap; }
.fx-field.search { width: 210px; color: #737378; }
.fx-field.search.wide { width: 262px; }
.fx-field.search svg.i { color: #6e6e73; }
.fx-field.select { width: 150px; justify-content: space-between; }
.fx-field.select svg.i { color: #6e6e73; }
.fx-kbd { margin-left: auto; display: inline-grid; place-items: center; height: 20px; min-width: 20px; padding: 0 6px; border: 1px solid #e6e6e6; border-radius: 4px; background: #f2f2f3; font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #6e6e73; }
.fx-table { border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; }
.fx-tr { display: grid; grid-template-columns: var(--cols); align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid #efefef; font-size: 14px; white-space: nowrap; }
.fx-tr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fx-th { border-top: 0; padding: 9px 16px; background: #fafafa; font-size: 12px; font-weight: 500; color: #6e6e73; }
.fx-tr .end { justify-self: end; overflow: visible; }
.fx-person { display: flex; align-items: center; gap: 10px; }
.fx-person b { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.fx-person small { display: block; font-size: 12px; color: #6e6e73; }
.fx-person .wk-avatar > span { font-size: 11px; font-weight: 500; }
.fx-person.sm .wk-avatar { width: 28px; height: 28px; }
.fx-person.sm .wk-avatar > span { font-size: 10px; }
.fx-tag { font-style: normal; font-size: 12px; font-weight: 500; padding: 1px 8px; border: 1px solid #e6e6e6; border-radius: 999px; }
.fx-tag.info { border-color: transparent; background: #e9f0fb; color: #0047ab; }
.fx-dept { font-style: normal; font-size: 12px; padding: 2px 6px; border-radius: 4px; background: #e9f0fb; color: #0047ab; }
.fx-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 500; }
.fx-badge::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.fx-badge.success { background: #e8f8ef; color: #15803d; }
.fx-badge.warning { background: #fff4e0; color: #b45309; }
.fx-badge.info { background: #e9f0fb; color: #0047ab; }
.fx-badge.muted { background: #f2f2f3; color: #7b7b80; }
.fx-badge.danger { background: #fff0f3; color: #e11d48; }
.fx-stack { display: flex; flex-direction: column; min-width: 0; }
.fx-stack b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-stack small { font-size: 12px; color: #6e6e73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-win .sm { font-size: 12px; }

/* attendance */
.fx-row-between { display: flex; align-items: center; justify-content: space-between; }
.fx-month { display: flex; align-items: center; gap: 8px; }
.fx-month b { font-size: 16px; font-weight: 500; margin-right: 6px; }
.fx-cal { border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; }
.fx-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; border-bottom: 1px solid #efefef; font-size: 12px; color: #6e6e73; }
.fx-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fx-win .st { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.st.p { background: #dcf5e6; color: #15803d; }
.st.lt { background: #ffedd5; color: #b45309; }
.st.a { background: #ffe4ea; color: #e11d48; }
.st.l { background: #ede9fe; color: #6d28d9; }
.st.h { background: #dfe9fa; color: #0047ab; }
.st.wo { background: #ececee; color: #6e6e73; }
.st.wfh { background: #dfe9fa; color: #0047ab; }
.fx-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.fx-cal-grid .wd { padding: 7px 0; text-align: center; font-size: 12px; color: #6e6e73; border-bottom: 1px solid #efefef; }
.fx-cal-grid .c { position: relative; height: 112px; padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid #efefef; border-bottom: 1px solid #efefef; }
.fx-cal-grid .c:nth-child(7n) { border-right: 0; }
.fx-cal-grid .c:nth-last-child(-n+7) { border-bottom: 0; }
.fx-cal-grid .c > b { font-weight: 400; font-size: 15px; }
.fx-cal-grid .c > b.dim { color: #8e8e93; }
.fx-cal-grid .c > b.other { color: #c7c7cc; }
.fx-cal-grid .c > b.today { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: #1d1d1f; color: #fff; font-weight: 500; font-size: 14px; }
.fx-cal-grid .c > .st, .fx-cal-grid .c > .sts { position: absolute; top: 8px; right: 8px; }
.fx-cal-grid .sts { display: flex; gap: 4px; }
.fx-cal-grid .c em { font-style: normal; font-weight: 600; font-size: 13px; }
.fx-cal-grid .c.p { background: #f1faf5; }
.fx-cal-grid .c.lt { background: #fff8ec; }
.fx-cal-grid .c.a { background: #fff2f5; }
.fx-cal-grid .c.wo { background: #f8f8f8; }
.fx-cal-grid .c.h { background: #f4f7fd; }

/* payroll */
.fx-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e6e6e6; border-radius: 12px; }
.fx-stats > div { padding: 12px 16px; border-right: 1px solid #efefef; }
.fx-stats > div:last-child { border-right: 0; }
.fx-stats small { display: block; font-size: 12px; color: #6e6e73; }
.fx-stats b { display: block; font-size: 22px; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fx-stats span { font-size: 12px; color: #6e6e73; }
/* eye toggle: hide / show an amount (demo cursor only) */
.fx-stats small { display: flex; align-items: center; gap: 6px; }
.fx-eye { display: inline-grid; place-items: center; width: 22px; height: 22px; margin: -3px 0; border-radius: 6px; color: #8e8e93; pointer-events: none; transition: background-color .15s, color .15s; } /* clicked only by the demo cursor */
.fx-eye.is-hover { background: #f2f2f3; color: #1d1d1f; }
.fx-eye svg.i { width: 15px; height: 15px; }
.fx-stats .amt { font-size: inherit; color: inherit; } /* not the small caption style */
.fx-amount.is-masked .amt { display: none; }
.fx-amount.is-masked b::after { content: "₹ ••••••"; letter-spacing: .04em; }

/* announcements */
.fx-feed { display: block; padding: 0 20px; max-width: 590px; } /* stays inside the visible part of the window */
.fx-feed .wk-post:last-child { border-bottom: 0; }
.fx-main > .wk-compose { right: 28px; bottom: 28px; }

/* tickets */
.fx-label { margin: 4px 0 -4px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #6e6e73; }
.fx-h { margin: 6px 0 -2px; font-size: 15px; font-weight: 600; }
.fx-win[data-rail="ticket"] .fx-body { max-width: 600px; } /* keep the status badges inside the visible part */
.fx-ticket { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #e6e6e6; border-radius: 12px; }
.fx-ticket .fx-stack { flex: 1; }
.fx-ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: #f2f2f3; color: #6e6e73; }
.fx-ico svg.i { width: 16px; height: 16px; }
.fx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fx-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border-radius: 12px; background: #f6f6f7; }
.fx-card .fx-ico { background: #fff; border: 1px solid #e9e9ec; }
.fx-card.line { background: #fff; border: 1px solid #e6e6e6; }
.fx-card.line .fx-ico { background: #f6f6f7; border-color: transparent; }


/* ---------- Demo cursor + the states it triggers ---------- */
.fx-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 24px; height: 24px; margin: -3px 0 0 -5px; pointer-events: none; opacity: 0; transition: transform 600ms cubic-bezier(.45, .05, .2, 1), opacity .3s; will-change: transform; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .28)); }
.fx-cursor.on { opacity: 1; }
.fx-cursor svg { width: 24px; height: 24px; fill: #111; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; transform-origin: 21% 12%; transition: transform .12s ease; }
.fx-cursor.down svg { transform: scale(.82); }
.fx-ripple { position: absolute; z-index: 5; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; pointer-events: none; border: 2px solid color-mix(in srgb, var(--accent) 50%, transparent); animation: fxRipple .5s ease-out forwards; }
@keyframes fxRipple { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }

.fx-win .is-press { transform: scale(.97); }
.fx-tr:not(.fx-th) { max-height: 80px; transition: background-color .2s, opacity .3s, max-height .45s ease, padding .45s ease, transform .12s; }
.fx-tr.is-hover { background: #f7f7f8; }
.fx-tr.is-selected { background: #f3f6fc; }
.fx-tr.fx-out { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-top-color: transparent; overflow: hidden; }
.fx-field { transition: border-color .2s, transform .12s; }
.fx-field.is-hover { border-color: #cfcfd4; }
.fx-field.select { position: relative; }
.fx-menu { position: absolute; top: calc(100% + 6px); left: -1px; z-index: 4; width: 210px; padding: 4px; display: flex; flex-direction: column; background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .2); opacity: 0; transform: translateY(-4px); transition: opacity .18s, transform .22s; }
.fx-menu.open { opacity: 1; transform: none; }
.fx-menu-item { padding: 7px 10px; border-radius: 8px; color: #1d1d1f; transition: background-color .15s; }
.fx-menu-item.is-hover { background: #f2f2f3; }

.fx-cal { position: relative; }
.fx-cal-grid .c { transition: background-color .2s, transform .12s; }
/* selected day: a deeper shade of its own status colour, no outline */
.fx-cal-grid .c.is-hover { background: #f2f2f4; }
.fx-cal-grid .c.p.is-hover { background: #d3efdf; }
.fx-cal-grid .c.lt.is-hover { background: #ffe9c7; }
.fx-cal-grid .c.a.is-hover { background: #ffdbe3; }
.fx-cal-grid .c.wo.is-hover { background: #ececee; }
.fx-cal-grid .c.h.is-hover { background: #e2eafa; }
.fx-pop { position: absolute; z-index: 3; width: 210px; padding: 12px; background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .22); opacity: 0; transform: translateY(4px) scale(.98); transform-origin: top left; transition: opacity .2s, transform .25s; }
.fx-pop.open { opacity: 1; transform: none; }
.fx-pop-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fx-pop-h b { font-size: 14px; font-weight: 600; }
.fx-pop-r { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12.5px; color: #6e6e73; }
.fx-pop-r span:last-child { color: #1d1d1f; font-weight: 500; }

.fx-expand { display: grid; grid-template-rows: 0fr; background: #fafafa; border-top: 1px solid #efefef; transition: grid-template-rows .45s ease; }
.fx-expand.open { grid-template-rows: 1fr; }
.fx-expand > div { overflow: hidden; }
.fx-kv { display: grid; grid-template-columns: repeat(4, 128px); gap: 12px; padding: 12px 16px; }
.fx-kv small { display: block; font-size: 12px; color: #6e6e73; }
.fx-kv b { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.fx-kv > div { padding: 4px 6px; margin: -4px -6px; border-radius: 8px; transition: background-color .2s; }
.fx-kv > div.is-hover { background: #efeff1; }

.fx-feed { transition: transform .9s cubic-bezier(.4, 0, .2, 1); }
.wk-reaction, .wk-ack-btn { transition: background-color .2s, color .2s, transform .12s; }
.wk-reaction.is-hover, .wk-ack-btn.is-hover { background: #f5f5f5; }
.wk-reaction.mine svg.is-heart { color: #f43f5e; } /* active heart: red icon on the usual blue 'mine' pill */
.wk-reaction .num { display: inline-block; }
.bump { animation: fxBump .35s ease-out; }
@keyframes fxBump { 50% { transform: scale(1.3); } }
.wk-ack-done.pop { animation: fxPop .35s ease-out; }
@keyframes fxPop { from { transform: scale(.85); opacity: 0; } }

.fx-card { transition: background-color .2s, transform .12s; }
.fx-card.is-hover { background: #ededf0; }
.fx-seg b { transition: background-color .2s, color .2s; }
.fx-seg b.is-hover:not(.on) { background: rgba(255, 255, 255, .75); color: #1d1d1f; }
.fx-btn { transition: background-color .2s, transform .12s; }
.fx-btn.dark.is-hover { background: #000; }
.fx-ticket { transition: background-color .2s; }
.fx-ticket.is-hover { background: #fafafa; }
.fx-ticket { max-height: 80px; transition: background-color .2s, max-height .45s ease, opacity .3s, padding .45s ease, margin .45s ease, border-width .45s; }
.fx-ticket.fx-out { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; border-width: 0; margin-bottom: -12px; overflow: hidden; } /* -12px cancels the list gap */
.fx-seg b.is-press { transform: scale(.96); }

/* ---------- CTA banners ---------- */
.cta { margin-top: 124px; min-height: 516px; display: flex; align-items: stretch; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 15% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; padding-left: max(16px, calc((100vw - var(--container)) / 2 - var(--inset))); }
.cta-copy { padding: 80px 0; max-width: 460px; }
.cta .lead { color: var(--on-dark-muted); margin-top: 18px; }
.cta .btn { margin-top: 32px; }
.cta-media { align-self: end; height: 440px; position: relative; }
.cta-media .ph { position: absolute; inset: 0 0 0 0; border-radius: 18px 0 0 0; border-right: 0; border-bottom: 0; }
/* real product view (Approvals) bleeding off the block's right and bottom edges */
.cta-app { --fx-scale: .8; position: absolute; inset: 0; overflow: hidden; border-radius: 18px 0 0 0; }
.cta-app .fx-win { left: 0; top: 0; height: 640px; box-shadow: none; border-color: rgba(255, 255, 255, .12); }
.fx-late { color: #b45309; font-weight: 500; }
.fx-acts { display: flex; gap: 6px; }
/* Team calendar timeline (final CTA) */
.tc-range { gap: 10px; }
.tc-range svg.i { color: #6e6e73; }
.fx-seg b i { font-style: normal; margin-left: 4px; padding: 0 5px; border-radius: 5px; font-size: 11px; background: rgba(0,0,0,.06); color: #6e6e73; }
.tc-row { display: grid; grid-template-columns: 150px repeat(12, minmax(0, 1fr)); align-items: stretch; border-top: 1px solid #efefef; min-height: 46px; }
.tc-row > .fx-person { grid-column: 1; grid-row: 1; padding: 0 12px; }
.tc-head { border-top: 0; min-height: 40px; background: #fafafa; font-size: 11px; color: #6e6e73; }
.tc-person { grid-column: 1; grid-row: 1; display: flex; align-items: center; padding: 0 14px; font-size: 12px; font-weight: 500; }
.tc-day { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; font-size: 11px; font-weight: 500; color: #1d1d1f; }
.tc-day small { font-size: 9.5px; font-weight: 400; color: #8e8e93; }
.tc-day.today { color: #fff; background: #1d1d1f; border-radius: 8px; margin: 5px 3px; }
.tc-day.today small { color: rgba(255,255,255,.7); }
.tc-cell, .tc-day { grid-row: 1; border-left: 1px solid #f2f2f3; }
.tc-cell.we, .tc-day.we { background: #f7f7f8; }
.tc-day.today { border-left: 0; }
.tc-bar { grid-row: 1; z-index: 1; align-self: center; margin: 0 3px; height: 26px; padding: 0 9px; display: flex; align-items: center; gap: 6px; border-radius: 8px; font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-bar::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.tc-bar.leave { background: #e9f0fb; color: #0047ab; }
.tc-bar.casual { background: #fff4e0; color: #b45309; }
.tc-bar.sick { background: #ffe4ea; color: #e11d48; }
.tc-bar.wfh { background: #e6f6ef; color: #15803d; }

/* ---------- Pricing ---------- */
.pricing { padding-top: 124px; }
.pricing-head { text-align: center; }
.muted-line { color: color-mix(in srgb, var(--ink) 45%, transparent); }
.bill-toggle { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 15px; }
.bill-label { color: var(--muted); cursor: pointer; transition: color .2s; }
.bill-label.is-on { color: var(--ink); }
.bill-label em { font-style: normal; margin-left: 2px; padding: 2px 7px; border-radius: 99px; font-size: 12px; font-weight: 500; background: var(--accent-soft); color: var(--accent); }
.bill-switch { position: relative; width: 44px; height: 26px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 12%, transparent); transition: background-color .25s; }
.bill-switch span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .3s cubic-bezier(.3,.7,.3,1); }
.bill-switch[aria-checked="true"] { background: var(--accent); }
.bill-switch[aria-checked="true"] span { transform: translateX(18px); }

.pricing .container { max-width: calc(1320px + 32px); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.plan > *:not(.plan-art) { position: relative; z-index: 1; }
.plan h3 { font-family: var(--font-head); font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.plan-top { display: flex; align-items: center; justify-content: space-between; }
.plan-tag { font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 99px; color: var(--accent); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.plan-fit { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.plan-fit .icon { width: 14px; height: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.price b { font-family: var(--font-head); font-size: 46px; font-weight: 400; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: 13px; color: var(--muted); }
.price-note { margin-top: 10px; min-height: 2.8em; font-size: 13px; line-height: 1.4; color: var(--muted); } /* 2 lines on every card so lists align */
.price-note span { color: var(--ink); font-weight: 500; }
.plan-list { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.plan-list .icon { width: 16px; height: 16px; margin-top: 1px; flex: none; color: var(--ink); stroke-width: 1.8; }
.plan .btn { width: 100%; height: 48px; }
.btn-outline { border: 1px solid var(--border); background: color-mix(in srgb, var(--surface-2) 60%, transparent); color: var(--ink); }
.btn-outline:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--ink) 18%, transparent); }

/* Popular plan: a patch of our sky with soft clouds bleeding in from the right */
.plan--popular { border-color: color-mix(in srgb, var(--accent) 22%, var(--border)); }
.plan-art {
  position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: 0;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, color-mix(in srgb, var(--sky-2) 40%, #fff) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 30%, #000 75%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 30%, #000 75%);
}
.plan-art .pc { position: absolute; border-radius: 50%; background: #fff; filter: blur(14px); opacity: .85; animation: planDrift 22s ease-in-out infinite alternate; }
.plan-art .c1 { width: 180px; height: 60px; top: 26%; right: -30px; }
.plan-art .c2 { width: 140px; height: 48px; top: 54%; right: 50px; opacity: .7; animation-duration: 28s; animation-delay: -8s; }
.plan-art .c3 { width: 200px; height: 70px; top: 76%; right: -50px; opacity: .8; animation-duration: 25s; animation-delay: -14s; }
@keyframes planDrift { to { transform: translateX(-36px); } }
/* hover: a breeze picks up. Uses `translate` so it layers on top of the slow drift (which uses `transform`) */
.plan-art { transition: filter .8s ease; }
.plan-art .pc { transition: translate 1.4s cubic-bezier(.22, .8, .25, 1), opacity .8s ease, scale 1.4s cubic-bezier(.22, .8, .25, 1); }
.plan--popular:hover .plan-art, .plan--popular:focus-within .plan-art { filter: brightness(1.06) saturate(1.12); }
.plan--popular:hover .c1, .plan--popular:focus-within .c1 { translate: -70px -4px; scale: 1.08; opacity: 1; }
.plan--popular:hover .c2, .plan--popular:focus-within .c2 { translate: -110px 6px; scale: 1.12; opacity: .9; }
.plan--popular:hover .c3, .plan--popular:focus-within .c3 { translate: -50px -6px; scale: 1.05; opacity: .95; }
@media (prefers-reduced-motion: reduce) { .plan-art .pc { animation: none; transition: none; } }

/* ---------- FAQ ---------- */
.faq { padding: 124px 0 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 666px); justify-content: space-between; gap: 48px; }
.faq .lead { margin-top: 22px; max-width: 350px; }
.socials { display: flex; gap: 12px; margin-top: 28px; }
.socials a { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); opacity: .8; transition: opacity .2s; }
.socials a:hover { opacity: 1; }
.socials svg:has(> use) { stroke-width: 2; } /* outline email icon, weighted to sit with the solid logos */
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.qa { display: flex; flex-direction: column; gap: 12px; }
.qa-item { border: 1px solid var(--border); border-radius: 18px; background: var(--surface-2); transition: background-color .25s; }
.qa-item.open { background: var(--surface); }
.qa-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 20px; text-align: left; font-size: 18px; letter-spacing: -0.015em; color: var(--muted); transition: color .2s; }
.qa-item.open button, .qa-item button:hover { color: var(--ink); }
.qa-item button:focus, .qa-item button:focus-visible { outline: none; }
.qa-item button:focus-visible { color: var(--ink); }
.qa-item .pm { width: 12px; height: 12px; position: relative; flex: none; }
.qa-item .pm::before, .qa-item .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.4px; background: currentColor; transition: transform .25s; }
.qa-item .pm::after { transform: rotate(90deg); }
.qa-item.open .pm::after { transform: rotate(0); }
.qa-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.qa-body > div { overflow: hidden; }
.qa-body p { padding: 0 24px 22px; color: var(--muted); font-weight: 300; }
.qa-item.open .qa-body { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final { margin-top: 160px; }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: 0; background: var(--dark); color: var(--on-dark); padding: 112px 0 0; overflow: hidden; }
.footer > .container { position: relative; z-index: 1; } /* links stay above the hills */
/* ground art: full width under the footer content */
.ground { position: relative; height: 340px; margin-top: -20px; } /* the svg's top band is clear sky */
.ground svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* light footer over the ground: dark text (the footer styles read these variables) */
.footer[data-tone="light"] { background: transparent; --on-dark: var(--ink); --on-dark-muted: var(--muted); --on-dark-faint: var(--faint); --dark-border: var(--border); --accent-on-dark: var(--accent); }

.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer .brand { color: var(--on-dark); }
.footer-about p { color: var(--on-dark-muted); font-size: 14px; font-weight: 300; margin-top: 18px; max-width: 270px; }
.footer-maker { color: var(--on-dark); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.footer-maker:hover { text-decoration-color: currentColor; }
.footer h6 { font-size: 14px; font-weight: 500; margin: 6px 0 16px; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--on-dark-muted); font-size: 14px; font-weight: 300; transition: color .2s; }
.footer li a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--on-dark-faint); }
/* copyright + legal row: sits on the front hill at the very bottom */
.footer-base { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 1; }
.footer-base .footer-bottom { color: rgba(255, 255, 255, .82); }
.footer-base .footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--on-dark); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }


/* ---------- Section blocks: "Haze" (light sky with soft white light), dark text ---------- */
.block-dark {
  background:
    radial-gradient(70% 90% at 15% 0%, #ffffff 0%, transparent 60%),
    radial-gradient(60% 80% at 100% 100%, #cfe0ff 0%, transparent 70%),
    #e3ecff;
  --on-dark: var(--ink); --on-dark-muted: var(--muted); --on-dark-faint: color-mix(in srgb, var(--ink) 38%, transparent);
  --dark-border: color-mix(in srgb, var(--ink) 10%, transparent); --accent-on-dark: var(--accent); --dark-2: #dfe7f7;
}
.block-dark .cta::before, .cta.block-dark::before { opacity: .35; }
.how-media { box-shadow: 0 0 0 1px rgba(13, 30, 80, .1); } /* edge so the panel doesn't melt into the block */

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid, .faq-grid { grid-template-columns: 1fr; }
  .how-media { max-width: 656px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --inset: 12px; --radius-xl: 28px; }
  .cta-inner { grid-template-columns: 1fr; padding: 0; }
  .cta-copy { padding: 56px 24px 8px; }
  .cta-media { height: 300px; margin-left: 24px; }
  .how { padding: 72px 0; margin-top: 88px; }
  .pricing, .faq { padding-top: 88px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { margin-top: 88px; }
  .final { margin-top: 104px; }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .ground { height: 220px; }
  .nav-actions { gap: 14px; }
  .nav-actions .btn { padding: 0 14px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand .mark-tile { width: 26px; height: 26px; }
  .hero { padding-top: 56px; }
  .hero h1 br { display: none; }
  .mock-wrap { margin-top: 56px; }
  .trusted { margin-top: 72px; }
  .wk-stage { border-radius: 6px; }
  .logo { font-size: 18px; }
  .logos { gap: 16px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ?static in the URL disables entrance animations (handy for screenshots) */
.no-reveal .reveal { opacity: 1; transform: none; transition: none; }
