/* Hollingsworks — v7
   Light gray canvas, squared-off sheets, soft 3D tiles and keycaps built in
   CSS, one vermilion accent. Type: Archivo throughout — stretched wide and
   heavy for display, normal width for reading (the width axis does the work
   a second family would). Body copy never drops below 17px. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #E7E7EA;
  --sheet: #F4F4F6;
  --white: #FFFFFF;
  --ink: #0E1218;
  --ink-soft: #3A3F47;
  --muted: #5B616B;
  --dim: #7D828C;            /* second tone of display headlines (large text only) */
  --line: #DDDDE2;
  --line-soft: #E9E9EC;
  --dark: #0E1218;
  --dark-2: #171C24;
  --dark-3: #222833;
  --on-dark: #F2F3F5;
  --on-dark-soft: #A9AFB9;
  --on-dark-dim: #6E7580;
  --accent: #D9391A;
  --accent-deep: #B8321A;
  --accent-on-dark: #FF6A4D;
  --accent-soft: #FCEDE9;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --max: 1200px;
  --gutter: 40px;
  --frame: 12px;             /* gap between sheets and the canvas edge */
  --sheet-r: 22px;
  --card-r: 14px;
  --radius: 10px;
  --pill: 10px;              /* buttons, nav, chips: squared, not pills */
  --band: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-lg: 0 1px 2px rgba(14,18,24,.06), 0 12px 28px -8px rgba(14,18,24,.18), 0 40px 80px -24px rgba(14,18,24,.22);
  --shadow-md: 0 1px 2px rgba(14,18,24,.06), 0 8px 20px -8px rgba(14,18,24,.16);
  /* names the sample mockups on /examples rely on */
  --serif: var(--display);
  --paper: var(--sheet); --stone: #ECECEF; --bg: var(--white); --bg-warm: #F1F1F3; --surface: var(--white); --surface-2: #F8F8F9;
  --muted-soft: #9A9FA7; --line-strong: #C9CBD1; --mist: #D9DEE3; --mist-2: #A9AFB9; --navy-900: var(--ink); --navy-950: var(--dark);
  color-scheme: light;
}
@media (max-width: 1000px) { :root { --band: 88px; --gutter: 28px; --sheet-r: 18px; } }
@media (max-width: 640px) { :root { --band: 64px; --gutter: 20px; --frame: 8px; --sheet-r: 16px; --card-r: 12px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font: 400 18px/1.6 var(--sans); color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (max-width: 640px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: #fff; }
.container { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
p { max-width: 64ch; }
strong { font-weight: 600; }

/* Type system (the written version is at /brand). One family, Archivo; the width axis does the work.
   Display    800, wdth 125, -0.02em   h1, h2, big numbers. Second tone = .dim (weight 300), never gray
   Heading    700, wdth 112, -0.01em   h3 22px (20 on phones); card titles 24-28px
   Lead       400, wdth 100, 21px      (18.5 on phones), ink-soft
   Body       400, wdth 100, 18px      17px in cards and lists, 15px small print; lines under ~64ch
   Label      700, wdth 118, 13px, +.10em, uppercase, with the vermilion dash: section eyebrows
   Meta       600, 13px, +.06em, uppercase: card kickers, list headings
   Tag        600, 12px, +.08em, uppercase: SAMPLE chips
   Interface  12.5-16px, only inside the demo app windows
   Vermilion text: large sizes only; small red text uses --accent-deep (4.5:1 on white). */
h1, h2 { font-family: var(--display); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(40px, 3.8vw + 12px, 74px); line-height: 1; }
h2 { font-size: clamp(32px, 2.3vw + 14px, 52px); line-height: 1.04; margin-bottom: 20px; }
h3 { font: 700 22px/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink); margin-bottom: 8px; }
/* the width axis: wide for display, a touch wide for secondary display text */
h1, h2, .logo, .statement, .field-row output b, .result-big span:first-child, .result-grid .value,
.plan-price, .profile-name, .footer-word, .founder-chip .tile, .profile-photo .tile-lg { font-variation-settings: 'wdth' 125; }
h3, .faq summary, .commitments strong, .mobile-nav a, .marquee-track li, .result-big .unit { font-variation-settings: 'wdth' 112; }
@media (max-width: 640px) { h3 { font-size: 20px; } }
.dim { font-weight: 300; }

.label { display: inline-flex; align-items: center; gap: 12px; font: 700 13px/1.4 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.label::before { content: ''; width: 22px; height: 3px; background: var(--accent); }
.lead { font-size: 21px; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 640px) { .lead { font-size: 18.5px; } }

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

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 14px 30px 14px 26px; border-radius: var(--pill); background: var(--accent); color: #fff; border: 0; font: 600 18px/1.2 var(--sans); text-decoration: none; text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 0 rgba(0,0,0,.14), 0 1px 2px rgba(120,24,6,.3), 0 10px 24px -8px rgba(217,57,26,.6); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn:hover { background: var(--accent-deep); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 0 rgba(0,0,0,.14), 0 1px 2px rgba(120,24,6,.3), 0 16px 30px -10px rgba(217,57,26,.7); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn .btn-ic { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -10px; border-radius: 7px; background: rgba(255,255,255,.18); }
.btn .btn-ic svg { width: 17px; height: 17px; }
.btn-dark { background: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(0,0,0,.3), 0 10px 24px -10px rgba(14,18,24,.6); }
.btn-dark:hover { background: #262C36; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(0,0,0,.3), 0 16px 30px -12px rgba(14,18,24,.7); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-ghost.copied { box-shadow: inset 0 0 0 1.5px #8FD6AA; color: #8FD6AA; }
.btn-header { white-space: nowrap; min-height: 46px; padding: 8px 20px; font-size: 16px; background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 14px -6px rgba(14,18,24,.5); }
.btn-header:hover { background: #262C36; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 18px -8px rgba(14,18,24,.6); }
.more, .arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; color: var(--ink); text-decoration: none; }
.more .arr, .arrow-link .arr { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 16px; transition: transform .2s var(--ease); }
.more:hover, .arrow-link:hover { color: var(--accent-deep); }
.more:hover .arr, .arrow-link:hover .arr { transform: translateX(4px); background: var(--accent); }

/* ---------- Soft 3D objects (all CSS) ---------- */
.tile { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: linear-gradient(180deg, #FFFFFF 0%, #F1F1F4 60%, #E6E6EA 100%); box-shadow: inset 0 2px 1px #fff, inset 0 -4px 8px rgba(14,18,24,.07), 0 1px 1px rgba(14,18,24,.08), 0 8px 16px -6px rgba(14,18,24,.2), 0 28px 50px -18px rgba(14,18,24,.35); flex-shrink: 0; }
.tile::after { content: ''; position: absolute; inset: 3px 6px auto; height: 42%; border-radius: 22px 22px 40% 40%; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0)); pointer-events: none; }
.tile svg { position: relative; z-index: 1; width: 44%; height: 44%; }
.tile-sm { width: 56px; height: 56px; border-radius: 18px; }
.tile-sm::after { border-radius: 15px 15px 40% 40%; }
.tile-lg { width: 112px; height: 112px; border-radius: 34px; }
.tile-lg::after { border-radius: 30px 30px 40% 40%; }
.tile-accent { background: linear-gradient(180deg, #FF7654 0%, #E5421F 55%, #C9321A 100%); box-shadow: inset 0 2px 1px rgba(255,255,255,.5), inset 0 -4px 8px rgba(90,14,0,.25), 0 1px 1px rgba(90,14,0,.2), 0 8px 16px -6px rgba(217,57,26,.45), 0 28px 50px -18px rgba(217,57,26,.55); color: #fff; }
.tile-accent::after { background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); }
.tile-dark { background: linear-gradient(180deg, #3A414D 0%, #1B2029 60%, #11151B 100%); box-shadow: inset 0 1px 1px rgba(255,255,255,.25), inset 0 -4px 8px rgba(0,0,0,.4), 0 8px 16px -6px rgba(0,0,0,.4), 0 28px 50px -18px rgba(0,0,0,.6); color: #fff; }
.tile-dark::after { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0)); }

.key { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: linear-gradient(180deg, #FFFFFF, #EEEEF1); color: var(--ink); font: 600 15px/1 var(--sans); font-variation-settings: 'wdth' 118; box-shadow: inset 0 1px 0 #fff, 0 1px 0 #D0D1D6, 0 3px 0 #C3C5CC, 0 4px 0 #B6B8C0, 0 10px 16px -6px rgba(14,18,24,.35); transition: transform .12s, box-shadow .12s; }
.key-accent { background: linear-gradient(180deg, #FF7654, #E0401D); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 1px 0 #B8321A, 0 3px 0 #A22B14, 0 4px 0 #8E2410, 0 12px 20px -6px rgba(217,57,26,.6); }



.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 5px; background: #ECECEF; color: var(--ink-soft); font: 600 12px/1.3 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.tag-dark { background: rgba(255,106,77,.14); color: var(--accent-on-dark); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: calc(var(--frame) + 8px) calc(var(--frame) + 8px) 0; pointer-events: none; }
.header-inner { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: calc(var(--max) + 64px); margin: 0 auto; min-height: 68px; padding: 10px 10px 10px 22px; border-radius: 16px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 1px 2px rgba(14,18,24,.05), 0 10px 30px -12px rgba(14,18,24,.18); transition: box-shadow .3s; }
.scrolled .header-inner { box-shadow: 0 1px 2px rgba(14,18,24,.06), 0 16px 40px -14px rgba(14,18,24,.28); }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.01em; }
.logo:hover { color: var(--ink); }
.logo { gap: 11px; }
.logo .logo-mark { flex: none; width: 34px; height: 34px; filter: drop-shadow(0 3px 5px rgba(14,18,24,.25)); }
.logo .logo-word { display: block; height: 23px; width: auto; aspect-ratio: 8.4784; }
.main-nav ul { display: flex; gap: 2px; list-style: none; padding: 4px; border-radius: var(--pill); background: rgba(14,18,24,.04); }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--pill); color: var(--ink-soft); font: 500 16px/1 var(--sans); text-decoration: none; transition: background-color .2s, color .2s; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(14,18,24,.08), 0 4px 10px -4px rgba(14,18,24,.12); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: var(--pill); background: rgba(14,18,24,.06); color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close, .nav-open .menu-toggle .icon-menu { display: none; }
.nav-open .menu-toggle .icon-close { display: block; }
.mobile-nav { display: none; }
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { position: fixed; top: calc(var(--frame) + 86px); left: calc(var(--frame) + 8px); right: calc(var(--frame) + 8px); z-index: 49; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); }
  .nav-open .mobile-nav { display: block; animation: drop .25s var(--ease); }
  .mobile-nav ul { list-style: none; }
  .mobile-nav a { display: flex; align-items: center; min-height: 56px; padding: 0 18px; border-radius: 10px; color: var(--ink); font: 500 20px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
  .mobile-nav a:hover, .mobile-nav a[aria-current] { background: var(--sheet); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 460px) { .logo { font-size: 18px; gap: 9px; } .logo .logo-mark { width: 30px; height: 30px; } .logo .logo-word { height: 19px; } .btn-header { min-height: 44px; padding: 8px 15px; font-size: 15px; } .header-inner { padding-left: 14px; gap: 10px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; } .header-actions { gap: 6px; } }
@media (max-width: 360px) { .logo .logo-word { height: 16px; } }

/* ---------- Sheets ---------- */
main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--frame); padding: var(--frame); } /* minmax keeps sections from growing to fit wide content */
.site-header + main, .site-header + .mobile-nav + main { margin-top: calc(-68px - var(--frame) - 8px); }
.sheet { position: relative; border-radius: var(--sheet-r); background: var(--sheet); padding: var(--band) 0; overflow: hidden; overflow: clip; } /* clip, not hidden: hidden would stop sticky children (demo windows, profile, FAQ heading) from sticking */
.sheet-white { background: var(--white); }
.sheet-dark { background: radial-gradient(120% 80% at 80% 0%, #1E2530 0%, var(--dark) 55%); color: var(--on-dark); }
.sheet-dark h2, .sheet-dark h3 { color: #fff; }
.sheet-dark .dim { color: inherit; }
.sheet-dark .lead { color: var(--on-dark-soft); }
.sheet-dark .label { color: var(--on-dark-soft); }
.sheet-dark .label::before { background: var(--accent-on-dark); }
.sheet-bare { background: transparent; padding: 28px 0; }
.section-head { max-width: 820px; margin-bottom: 56px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.section-head.split .lead { padding-bottom: 8px; }
@media (max-width: 900px) { .section-head.split { grid-template-columns: minmax(0, 1fr); } }
.band-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 36px; }
.band-foot p { font-size: 16px; color: var(--muted); }

/* reveal on scroll (only when JS has marked the page). Uses `translate`, not
   `transform`, so tilted notes and hover lifts keep their own transforms. */
.js .rv { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; translate: none; transition: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.hero { min-height: max(720px, min(920px, calc(100svh - var(--frame) * 2))); padding: calc(68px + 8px + var(--frame) + 44px) 0 64px; display: grid; align-items: center; background:
  radial-gradient(42% 55% at 80% 58%, rgba(255,106,77,.11) 0%, rgba(255,106,77,0) 70%),
  radial-gradient(55% 60% at 18% 30%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 70%),
  linear-gradient(180deg, #F7F7F9, #ECECEF); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-tagline { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 6px 16px 6px 8px; border-radius: var(--pill); background: #fff; box-shadow: var(--shadow-md); font: 500 16px/1.3 var(--sans); color: var(--ink-soft); white-space: nowrap; }
.hero-tagline b { padding: 3px 10px; border-radius: var(--pill); background: var(--ink); color: #fff; font: 600 12px/1.4 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 440px) { .hero-tagline b { display: none; } .hero-tagline { padding-left: 16px; } }
.hero h1 { font-size: clamp(38px, 2.9vw + 16px, 66px); max-width: 11.5em; margin-bottom: 26px; }
.hero h1 .struck { position: relative; color: var(--dim); white-space: nowrap; }
.hero h1 .struck svg { position: absolute; left: -1%; top: 50%; width: 102%; height: .34em; margin-top: -.1em; overflow: visible; }
.hero h1 .struck path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s 1s var(--ease) forwards; }
.hero h1 .two { color: var(--accent); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .struck path { animation: none; stroke-dashoffset: 0; } }
.hero-lead { font-size: 22px; line-height: 1.5; color: var(--ink-soft); max-width: 29em; margin-bottom: 34px; }
.hero-note { margin-top: 16px; font-size: 16px; color: var(--muted); }
@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .deck { max-width: 640px; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(68px + 8px + var(--frame) + 36px); padding-bottom: 40px; }
  .hero-lead { font-size: 19px; }
  .hero .btn { width: 100%; max-width: 420px; }
}

/* the desk: a small working window where a cursor does a chore by hand, then
   with the shortcut. Four sample chores. Plain, flat software UI on purpose. */
.desk { position: relative; z-index: 1; container-type: inline-size; padding: 14px 16px 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); }
.desk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 4px 12px; }
.desk-title { font: 700 16px/1.2 var(--sans); color: var(--ink); }

.desk-win { position: relative; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.desk-scene { display: none; }
.desk-scene.on { display: block; }
.desk-tabs { display: flex; gap: 2px; padding: 6px 6px 0; background: #EEEEF1; border-bottom: 1px solid var(--line); }
.desk-tab { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px 10px; margin-bottom: -1px; border-radius: 8px 8px 0 0; font: 600 13.5px/1 var(--sans); color: var(--muted); white-space: nowrap; transition: background-color .2s, color .2s; }
.desk-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
.desk-tab.on { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 #fff; }
.desk-tab.done::after { content: ''; width: 14px; height: 14px; margin-left: -1px; flex-shrink: 0; border-radius: 50%; background: #1F9D55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m3.8 7.2 2.2 2.2 4.2-4.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; animation: badge .35s var(--ease) both; }
@keyframes badge { from { transform: scale(0); } }
.desk-body { position: relative; height: 340px; }
.desk-app { position: absolute; inset: 0; padding: 14px 16px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.desk-app.on { opacity: 1; visibility: visible; }
/* a program that takes its time */
.desk-app.loading > * { visibility: hidden; }
.desk-app.loading::after { content: 'Loading\2026'; position: absolute; inset: 0; display: grid; place-items: center; padding-top: 44px; font: 600 14px/1 var(--sans); color: var(--muted); }
.desk-app.loading::before { content: ''; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -26px 0 0 -13px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink-soft); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* shared bits */
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; }
.app-head b { min-width: 0; margin-right: auto; overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.app-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 6px; background: var(--ink); color: #fff; font: 600 13.5px/1 var(--sans); white-space: nowrap; transition: transform .1s, filter .1s; }
.app-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.app-go { min-height: 38px; background: var(--accent); }
.app-red { background: #C62828; }
.desk-win .hit { transform: scale(.95); filter: brightness(.88); }
.app-rows > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 8px; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-soft); }
.app-rows em { font-style: normal; font-size: 13px; color: var(--muted); }
.fld { display: flex; align-items: center; min-height: 34px; padding: 0 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-strong); font: 400 14px/1.3 var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; }
.fld.filled { animation: filled .7s ease-out; }
@keyframes filled { from { background: #CFE0FF; } }
.fld.typing { box-shadow: inset 0 0 0 2px #2563EB; }
.fld.typing::after { content: ''; flex-shrink: 0; width: 1.5px; height: 1.1em; margin-left: 1px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.fld.messy { font: 400 16px/1.2 Georgia, 'Times New Roman', serif; color: #1D4ED8; text-decoration: underline; }
.fld.selall { background: #CFE0FF; }
.fld-pick { color: var(--muted); }
.fld-pick.filled { color: var(--ink); }
.ok-line { display: none; align-items: center; gap: 8px; margin-top: 12px; font: 600 14px/1.3 var(--sans); color: #17703F; }
.ok-line::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; background: #1F9D55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m3.8 7.2 2.2 2.2 4.2-4.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.av { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: #fff; font: 700 10.5px/1 var(--sans); }

/* email */
.mail-row { display: grid; grid-template-columns: 9.6em minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 11px 10px; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-soft); }
.mail-row span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mail-row em { font-style: normal; font-size: 13px; color: var(--muted); }
.mail-row b { font-weight: 700; color: var(--ink-soft); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mail-row.unread b { color: var(--ink); }
.mail-row.unread b::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px -2px; border-radius: 50%; background: #2563EB; }
.mail-open { display: none; }
.opened .mail-list { display: none; }
.opened .mail-open { display: block; }
.mail-from { font-size: 13.5px; color: var(--muted); }
.mail-from b { color: var(--ink); }
.mail-subj { margin: 2px 0 8px; font: 700 16.5px/1.3 var(--sans); color: var(--ink); }
.mail-text { font-size: 14.5px; color: var(--ink-soft); }
.mail-card { margin-top: 10px; padding: 9px 12px; border-radius: 6px; background: #F4F4F6; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.mail-card .sel { background: #CFE0FF; box-shadow: 0 0 0 2px #CFE0FF; }
.mail-shortcut { display: none; margin-top: 12px; }
.desk-scene.short .mail-shortcut { display: block; }
.mail-found { margin-bottom: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.mail-found em { font-style: normal; font-weight: 700; color: var(--accent-deep); margin-right: 6px; }
.added .mail-done { display: flex; }
.added .mail-shortcut { display: none; }
.compose { display: none; gap: 7px; }
.composing .compose { display: grid; }
.composing .mail-inbox, .composing .drafts, .composing .rollup-view { display: none; }
.compose label { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); align-items: center; gap: 8px; font: 600 12.5px/1 var(--sans); color: var(--muted); }
.compose .fld { min-height: 30px; }
.fld-body { display: block; min-height: 78px; padding: 7px 10px; white-space: normal; line-height: 1.45; }
.fld-body.typing::after { display: inline-block; vertical-align: -2px; }
.compose-bar { display: flex; align-items: center; gap: 8px; }
.compose-bar [data-t="send"] { margin-left: auto; }
.file-chip:empty { display: none; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; background: #FDECEA; color: #9A2A16; font: 600 12.5px/1 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-chip::before { content: 'PDF'; font-size: 10px; letter-spacing: .04em; }
.file-chip.xls { background: #E3F4EA; color: #17703F; }
.file-chip.xls::before { content: 'XLS'; }
.desk-toast { position: absolute; left: 50%; bottom: 12px; z-index: 4; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 13.5px/1.2 var(--sans); white-space: nowrap; opacity: 0; translate: -50% 8px; pointer-events: none; transition: opacity .2s, translate .25s var(--ease); }
.desk-toast.show { opacity: 1; translate: -50% 0; }

/* client scene */
.app-rows .app-added { display: none; background: #FFF6CF; color: var(--ink); font-weight: 600; }
.desk-app.saved .app-added { display: flex; animation: fade .4s both; }
.app-form { display: none; gap: 9px; justify-items: start; }
.desk-app.form .app-form { display: grid; }
.desk-app.form .app-rows { display: none; }
.app-form label, .export-box label { display: grid; gap: 4px; width: 100%; font: 600 12.5px/1.2 var(--sans); color: var(--muted); }
.app-form-3 { gap: 7px; }

/* invoices scene */
.inv-row { display: grid; grid-template-columns: minmax(0, 1fr) 3.4em 4.4em 7em; gap: 10px; align-items: baseline; padding: 10px 8px; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-soft); }
.inv-row b { font-weight: 600; color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.inv-row em { font-style: normal; font-size: 13px; color: var(--muted); text-align: right; }
.inv-row .late { visibility: hidden; }
.aged .inv-row .late { visibility: visible; color: #B3261E; font-weight: 700; }
.aged .inv-row[data-t] { background: #FFF4F2; }
.inv-detail { display: none; }
.inv-open .inv-list { display: none; }
.inv-open .inv-detail { display: block; }
.inv-title { font: 700 16px/1.3 var(--sans); color: var(--ink); }
.inv-due { margin: 4px 0 12px; font-size: 14px; color: var(--ink-soft); }
.inv-due b { color: var(--ink); }
.inv-due em { font-style: normal; color: #B3261E; font-weight: 600; margin-left: 6px; }
.inv-lines span { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-soft); }
.inv-lines em { font-style: normal; color: var(--ink); }
.inv-bar { display: flex; gap: 8px; margin-top: 14px; }
.drafts { display: none; }
.desk-scene.short .drafts { display: block; }
.desk-scene.short .mail-inbox, .desk-scene.short .composing .drafts { display: none; }
.clip { color: #9A2A16 !important; font-weight: 700; }
.drafts-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.desk-scene:not(.short) [data-t="sendall"], .desk-scene.short [data-t="compose"] { display: none; }
.sent-line { margin-top: 0; }
.all-sent .drafts, .all-sent .compose { display: none !important; }
.all-sent .sent-line { display: flex; }

/* hours scene */
.export-box { display: none; gap: 9px; justify-items: start; margin-top: 4px; }
.exporting .export-box { display: grid; }
.exporting .app-rows { display: none; }
.tools { display: flex; gap: 4px; }
.tools .app-btn { min-height: 28px; padding: 0 9px; font-size: 12.5px; }
.grid-empty { display: grid; place-items: center; height: 200px; border-radius: 6px; background: #F7F7F8; font-size: 14px; color: var(--muted); }
.grid { display: none; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.file-open .grid-empty { display: none; }
.file-open .grid, .grid-done { display: block; }
.g-row { display: grid; grid-template-columns: 1fr 1.4fr 3.4em; border-top: 1px solid var(--line-soft); font-size: 13px; }
.g-row:first-child { border-top: 0; }
.g-row span { padding: 4px 8px; border-left: 1px solid var(--line-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-row span:first-child { border-left: 0; }
.g-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.g-head { background: #F4F4F6; font-weight: 700; color: var(--muted); }
.g-sub { background: #F7F7F8; font-weight: 700; }
.g-row.picked { box-shadow: inset 0 0 0 2px #2563EB; }
.g-row.flag { background: #FDE2DD; color: #8E2410; font-weight: 700; }
.mail-row.rollup { display: none; }
.desk-scene.short .mail-row.rollup.arrived { display: grid; background: #FFF6CF; animation: fade .4s both; }
.desk-scene.short .mail-row.rollup b { color: var(--ink); }
.rollup-view { display: none; }
.rolled .mail-inbox { display: none; }
.rolled .rollup-view { display: block; }
.rollup-view .ok-line { display: flex; }

/* dispatch scene */
.chat { position: absolute; inset: 0; display: grid; grid-template-columns: 7.2em minmax(0, 1fr); }
.chat-list { border-right: 1px solid var(--line-soft); background: #FAFAFB; padding: 8px 6px; }
.chat-who { display: flex; align-items: center; gap: 8px; padding: 8px 6px; border-radius: 8px; font-size: 14px; }
.chat-who.on { background: #fff; box-shadow: 0 1px 2px rgba(14,18,24,.1); }
.chat-thread { display: flex; flex-direction: column; min-width: 0; padding: 10px 12px; }
.chat-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.chat-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 8px 0; overflow: hidden; }
.bubble { max-width: 85%; padding: 7px 11px; border-radius: 14px; font-size: 13.5px; line-height: 1.35; animation: fade .3s both; }
.bubble.me { align-self: flex-end; background: #2563EB; color: #fff; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: #EEEEF1; color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.wait { color: var(--muted); font-style: italic; }
.chat-input { display: flex; gap: 6px; }
.chat-input .fld { flex: 1; min-width: 0; }
.chat-calling { position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 14px; background: rgba(14,18,24,.92); color: #fff; font: 600 16px/1.3 var(--sans); }
.calling .chat-calling { display: grid; }
.board { display: grid; gap: 8px; }
.b-row { display: grid; grid-template-columns: auto 4.2em minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px; border-radius: 8px; background: #F7F7F8; font-size: 14px; }
.b-row .pill { display: none; }
.desk-scene.short .b-row .fld { display: none; }
.desk-scene.short .b-row .pill { display: block; justify-self: start; padding: 5px 10px; border-radius: 6px; background: #E7F0FF; color: #1D4ED8; font: 600 13px/1.3 var(--sans); transition: background-color .3s, color .3s; }
.b-row .pill.changed { animation: filled .8s ease-out; }
.b-row .pill.late { background: #FDE2DD !important; color: #8E2410 !important; }
.b-row .pill.done { background: #E3F4EA !important; color: #17703F !important; }
.desk-scene.short [data-t="saveboard"] { display: none; }
.b-detail { display: none; padding: 2px 8px; font-size: 13.5px; color: var(--ink-soft); }
.b-open .b-detail { display: block; animation: fade .3s both; }

/* keys, cursor */
.desk-keys { position: absolute; right: 16px; bottom: 14px; z-index: 4; display: flex; gap: 6px; opacity: 0; transition: opacity .15s; }
.desk-keys.show { opacity: 1; }
.desk-keys .key { height: 34px; min-width: 34px; padding: 0 10px; font-size: 13px; }
.desk-keys.show .key { animation: keypress .5s ease-in-out both; }
.desk-keys.show .key + .key { animation-delay: .1s; }
@keyframes keypress { 40%, 60% { translate: 0 3px; box-shadow: inset 0 1px 0 #fff, 0 1px 0 #C3C5CC, 0 3px 6px -3px rgba(14,18,24,.35); } }
.desk-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; margin: -4px 0 0 -6px; opacity: 0; pointer-events: none; transform: translate(420px, 320px); transition: transform .5s cubic-bezier(.45, .05, .2, 1), opacity .3s; }
.desk.playing .desk-cursor { opacity: 1; }
.desk-cursor svg { position: relative; width: 22px; height: 22px; fill: var(--ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.desk-cursor i { position: absolute; left: 6px; top: 4px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent); opacity: 0; }
.desk-cursor.press i { animation: ripple .45s ease-out; }
.desk-cursor.press svg { animation: tap .2s ease-out; }
@keyframes ripple { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.2); } }
@keyframes tap { 50% { scale: .85; } }

/* the tally underneath */
.desk-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 18px; align-items: center; padding: 14px 4px 2px; }
.desk-count { display: flex; align-items: baseline; gap: 8px; }
.desk-num { min-width: 1.25ch; font: 800 56px/.9 var(--sans); font-variation-settings: 'wdth' 125; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--ink); }
.desk-num.tick { animation: tick .25s var(--ease); }
@keyframes tick { from { translate: 0 -6px; opacity: .4; } }
.desk.short .desk-num { color: var(--accent); }
.desk-count span { font: 600 15px/1 var(--sans); color: var(--muted); }
.desk-step { min-height: 2.8em; font: 600 16px/1.4 var(--sans); color: var(--ink); } /* room for two lines, so the card never jumps */
.desk-meta { margin-top: 2px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.desk-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.desk-modes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: #F0F0F2; }
.desk-modes button { min-height: 40px; padding: 0 14px; border-radius: 7px; font: 600 15px/1 var(--sans); color: var(--muted); transition: background-color .2s, color .2s; }
.desk-modes button:hover { color: var(--ink); }
.desk-modes button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14,18,24,.1), 0 4px 10px -6px rgba(14,18,24,.25); }

/* "How it works": only offered once a shortcut version is on screen; a popover
   beside the demo (over it on smaller screens), so the layout never moves */
.how-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 4px; font: 600 15px/1.2 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; opacity: 0; visibility: hidden; translate: -6px 0; transition: opacity .25s, translate .3s var(--ease), visibility .25s, color .2s; }
.desk.short .how-btn { opacity: 1; visibility: visible; translate: 0 0; }
.how-btn span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; font: 700 14px/1 var(--sans); text-decoration: none; }
.how-btn:hover, .how-btn[aria-expanded="true"] { color: var(--accent-deep); text-decoration-color: currentColor; }
.how-pop { position: absolute; z-index: 10; top: 0; right: 100%; width: min(380px, 42vw); padding-right: 14px; opacity: 0; visibility: hidden; translate: 8px 0; transition: opacity .2s, translate .25s var(--ease), visibility .2s; }
.desk.how-open { z-index: 5; }
.desk.how-open .how-pop { opacity: 1; visibility: visible; translate: 0 0; }
.how-card { padding: 20px 20px 16px; border-radius: 16px; background: var(--ink); color: var(--on-dark); box-shadow: 0 24px 60px -20px rgba(14,18,24,.55); }
.how-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.how-title { font: 700 17px/1.3 var(--sans); color: #fff; }
.how-x { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; color: var(--on-dark-soft); }
.how-x:hover { background: rgba(255,255,255,.1); color: #fff; }
.how-x svg { width: 18px; height: 18px; }
.how-steps { list-style: none; counter-reset: how; display: none; gap: 14px; }
.how-steps { display: grid; }
.how-steps li { counter-increment: how; position: relative; padding-left: 38px; }
.how-steps li::before { content: counter(how); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.1); color: #fff; font: 700 13px/1 var(--sans); }
.how-steps li:last-child::before { background: var(--accent); }
.how-steps b { display: block; font: 700 16px/1.3 var(--sans); color: #fff; }
.how-steps span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--on-dark-soft); }
.how-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: var(--on-dark-dim); }
@media (max-width: 1100px) {
  .how-pop { top: auto; bottom: 60px; left: 12px; right: 12px; width: auto; padding: 0; translate: 0 8px; }
}

@container (max-width: 470px) {
  .desk-tab { padding: 9px 9px 10px; font-size: 13px; }
  .desk-tab svg { display: none; }
  .desk-tab.done::after { position: absolute; top: -5px; right: -5px; width: 13px; height: 13px; margin: 0; box-shadow: 0 0 0 2px #EEEEF1; }
  .desk-body { height: 380px; }
  .desk-app { padding: 12px 12px; }
  .mail-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .mail-row span { grid-column: 1 / -1; grid-row: 2; }
  .mail-row em { grid-column: 2; grid-row: 1; }
  .inv-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .inv-row span:nth-of-type(1) { display: none; }
  .inv-row em { grid-column: 1 / -1; text-align: left; }
  .app-head b { font-size: 14px; }
  .sheet-head b { display: none; }
  .tools { margin-left: auto; }
  .chat { grid-template-columns: 5.4em minmax(0, 1fr); }
  .chat-who { gap: 6px; padding: 7px 4px; font-size: 13px; }
  .chat-who .av { width: 22px; height: 22px; font-size: 9.5px; }
  .desk-num { font-size: 46px; }
  .desk-foot { grid-template-columns: minmax(0, 1fr); }
  .desk-controls { justify-self: stretch; }
  .desk-modes { flex: 1 1 100%; }
  .desk-modes button { flex: 1; padding: 0 8px; }
}
@container (max-width: 300px) {
  .desk-body { height: 410px; }
  .desk-tab { min-width: 0; padding: 9px 7px 10px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
  .inv-bar { flex-wrap: wrap; }
  .tools .app-btn { padding: 0 6px; font-size: 12px; }
  .chat { grid-template-columns: 4.6em minmax(0, 1fr); }
  .chat-thread { padding: 8px; }
  .chat-top { font-size: 13.5px; }
  .chat-top .app-btn { padding: 0 8px; }
  .b-row { grid-template-columns: auto minmax(0, 1fr); gap: 4px 8px; padding: 7px; font-size: 13px; }
  .b-row .fld, .desk-scene.short .b-row .pill { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .desk { padding: 12px 12px 12px; border-radius: 14px; } }

/* the deck: four sample chores stacked like cards. Only the front one plays;
   the ones behind peek out so it's clear there are more. Nothing rotates on
   its own — the arrows, dots, a swipe or the arrow keys move it. */
.deck { --step: 12px; position: relative; z-index: 1; }
.deck.has-how { z-index: 5; }
.deck-nav { display: flex; align-items: center; gap: 12px; margin: 0 var(--step) 14px 0; }
.deck-arrow { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14,18,24,.08), 0 6px 16px -8px rgba(14,18,24,.3); transition: background-color .2s, color .2s; }
.deck-arrow:hover { background: var(--ink); color: #fff; }
.deck-arrow svg { width: 22px; height: 22px; }
.deck-where { flex: 1; display: grid; justify-items: center; gap: 6px; min-width: 0; }
.deck-label { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 10px; text-align: center; }
.deck-label b { font: 800 19px/1.2 var(--sans); font-variation-settings: 'wdth' 118; color: var(--ink); }
.deck-label span { font: 600 14px/1.2 var(--sans); color: var(--muted); }
.deck-dots { display: flex; gap: 2px; }
.deck-dots button { display: grid; place-items: center; width: 26px; height: 22px; }
.deck-dots button::before { content: ''; width: 9px; height: 9px; border-radius: 99px; background: var(--line-strong); transition: width .25s var(--ease), background-color .25s; }
.deck-dots button[aria-current="true"]::before { width: 22px; background: var(--accent); }
.deck-cards { display: grid; padding: 0 calc(var(--step) * 2) calc(var(--step) * 2) 0; touch-action: pan-y; }
.deck-card { --rel: 0; grid-area: 1 / 1; transform-origin: 0 0; transform: translate(calc(var(--rel) * var(--step)), calc(var(--rel) * var(--step))) scale(calc(1 - var(--rel) * .03)); z-index: calc(10 - var(--rel)); transition: transform .5s var(--ease), opacity .35s, filter .35s; }
.deck-card:not(.is-active) { filter: saturate(.5) brightness(.985); }
.deck-card.far { opacity: 0; }
.deck-card.how-open { z-index: 20; }
.deck-card.leaving { animation: deck-leave .5s var(--ease); }
@keyframes deck-leave { 45% { transform: translateX(-70px) rotate(-2.5deg); opacity: .5; } }
.deck-card.arriving { animation: deck-arrive .5s var(--ease); }
@keyframes deck-arrive { from { transform: translateX(70px) rotate(2.5deg); opacity: .4; } }
@media (max-width: 640px) { .deck { --step: 8px; } .deck-arrow { width: 44px; height: 44px; } .deck-label b { font-size: 17px; } }

/* load choreography */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .3s; }
  .deck { animation: rise 1s .15s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) { .desk-cursor { display: none; } .desk *, .desk *::before, .desk *::after { animation: none !important; transition: none !important; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 12px; list-style: none; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px 0 14px; border-radius: var(--pill); background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); font: 500 18px/1 var(--display); letter-spacing: -0.01em; color: var(--ink-soft); white-space: nowrap; }
.marquee-track li i { width: 9px; height: 9px; margin-left: 6px; border-radius: 2px; background: var(--line-strong); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 60s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; } .marquee-track [aria-hidden] { display: none; } .marquee { -webkit-mask-image: none; mask-image: none; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- Statement ---------- */
.statement { font: 700 clamp(28px, 2vw + 13px, 46px)/1.15 var(--display); letter-spacing: -0.015em; color: var(--ink); max-width: 21em; text-wrap: pretty; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px 80px; align-items: end; }
@media (max-width: 960px) { .statement-grid { grid-template-columns: minmax(0, 1fr); } }
.founder-chip { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--card-r); background: var(--sheet); }
.founder-chip .tile { font: 600 20px/1 var(--display); letter-spacing: -0.03em; }
.founder-chip p { font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.founder-chip strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }

/* ---------- What we do (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; border-radius: var(--card-r); background: #fff; padding: 32px; box-shadow: 0 1px 2px rgba(14,18,24,.04); overflow: hidden; }
.card p { color: var(--ink-soft); font-size: 17px; }
.card .tile { margin-bottom: 28px; }
.bento .svc { grid-column: span 4; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.bento .svc .tile { margin-bottom: 0; }
.bento .svc-wide { grid-column: span 12; }
@media (max-width: 1000px) { .bento .svc { grid-column: span 12; flex-direction: row; } }
@media (max-width: 560px) { .bento .svc { flex-direction: column; } .card { padding: 24px; } }

.commitments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.commitments > div { display: flex; gap: 16px; align-items: flex-start; }
.commitments .tile { margin: 0; }
.commitments strong { display: block; font: 600 19px/1.3 var(--display); letter-spacing: -0.015em; margin-bottom: 4px; }
.commitments p { font-size: 17px; }
@media (max-width: 900px) { .commitments { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---------- Samples ---------- */
.ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .ideas { grid-template-columns: minmax(0, 1fr); } }
.idea { display: flex; flex-direction: column; padding: 12px; border-radius: 18px; background: var(--sheet); box-shadow: 0 1px 2px rgba(14,18,24,.04); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.js .idea.rv { transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), box-shadow .35s var(--ease); }
.idea:hover { box-shadow: var(--shadow-lg); }
.idea-shot { position: relative; border-radius: 10px; overflow: hidden; }
.idea-shot .clip { border-radius: 10px; }
.idea-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 6px; }
.idea-head .idea-type { display: flex; align-items: center; gap: 10px; margin-bottom: 0; }
.idea-head .tag { padding: 3px 8px; }
.tally-sm { gap: 8px; font-size: 30px; }
.tally-sm s { text-decoration-thickness: 3px; }
.tally-sm .tally-to { font-size: 18px; }
.tally-sm small { font-size: 14px; }
.idea-shot .tag { position: absolute; top: 14px; right: 14px; }
.idea-body { padding: 22px 14px 12px; }
.idea-type { font: 600 13px/1.4 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.idea h3 { font-size: 25px; margin-bottom: 14px; }
.idea dl { display: grid; gap: 10px; }
.idea dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.idea dt { font: 600 13px/1.6 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.idea dd { font-size: 17px; color: var(--ink-soft); }
.idea .after dt { color: var(--ink); }
.idea .after dd { color: var(--ink); font-weight: 500; }
@media (max-width: 480px) { .idea dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }


/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-form { display: grid; gap: 34px; padding: 36px; border-radius: var(--card-r); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.field-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.field-row label { font: 500 18px/1.35 var(--sans); color: #fff; }
.field-row label small { display: block; font-size: 15px; color: var(--on-dark-soft); margin-top: 4px; font-weight: 400; }
.field-row output { flex-shrink: 0; display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
.field-row output b { font: 600 26px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.field-row output span { font-size: 14px; color: var(--on-dark-soft); }
input[type="range"] { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--accent-on-dark) var(--fill), rgba(255,255,255,.12) var(--fill)); }
input[type="range"]::-moz-range-track { height: 12px; border-radius: 99px; background: rgba(255,255,255,.12); }
input[type="range"]::-moz-range-progress { height: 12px; border-radius: 99px; background: var(--accent-on-dark); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -11px; border-radius: 50%; background: linear-gradient(180deg, #fff, #E4E5E9); border: 0; box-shadow: inset 0 1px 0 #fff, 0 2px 0 #B6B8C0, 0 8px 16px -4px rgba(0,0,0,.6); }
input[type="range"]::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, #fff, #E4E5E9); border: 0; box-shadow: inset 0 1px 0 #fff, 0 2px 0 #B6B8C0, 0 8px 16px -4px rgba(0,0,0,.6); }
input[type="range"]:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 4px; }
.calc-result { display: flex; flex-direction: column; padding: 36px; border-radius: var(--card-r); background: linear-gradient(180deg, #fff, #F4F4F6); color: var(--ink); }
.result-label { font: 600 13px/1.4 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.result-big { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 6px; }
.result-big span:first-child { font: 600 clamp(96px, 8vw + 30px, 156px)/0.85 var(--display); letter-spacing: -0.06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.result-big .unit { font: 500 28px/1 var(--display); color: var(--dim); }
.result-main p { color: var(--ink-soft); font-size: 17px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 24px; }
.result-grid > div { padding: 18px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(14,18,24,.06), 0 6px 16px -10px rgba(14,18,24,.2); }
.result-grid .value { font: 600 34px/1.1 var(--display); letter-spacing: -0.03em; margin: 6px 0 2px; }
.result-grid p { font-size: 15px; color: var(--muted); }
@media (max-width: 480px) { .result-grid { grid-template-columns: 1fr; } .calc-form, .calc-result { padding: 24px; } }
.calc-note { margin-top: auto; padding: 18px 20px; border-radius: 10px; background: #FFF7D6; color: #4A3F1A; font-size: 16px; line-height: 1.5; }
.calc-note strong { color: #2E2A1E; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1240px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--card-r); background: var(--sheet); }
.plan-step { display: flex; align-items: center; justify-content: space-between; font: 600 13px/1.4 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.plan-step span { padding: 3px 10px; border-radius: var(--pill); background: #fff; color: var(--ink-soft); }
.plan-step .plan-num { padding: 0; background: none; color: var(--muted); }
.plan-featured .plan-step .plan-num { background: none; color: var(--accent-on-dark); }
.plan-num { font: 600 15px/1 var(--sans); font-variation-settings: 'wdth' 118; }
.plan h3 { font-size: 28px; margin-bottom: 4px; }
.plan-price { font: 600 clamp(26px, 1.2vw + 14px, 31px)/1.15 var(--display); white-space: nowrap; letter-spacing: -0.035em; color: var(--ink); margin-top: 18px; }
.plan-price small { font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan-meta { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.plan > p:not([class]) { font-size: 17px; color: var(--ink-soft); margin-bottom: 20px; }
.checks { list-style: none; display: grid; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.checks li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.4; }
.checks li::before { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgba(14,18,24,.12); }
.checks li::after { content: ''; position: absolute; left: 7px; top: 5px; width: 8px; height: 5px; border-left: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: rotate(-45deg); }
.plan-featured { background: radial-gradient(100% 70% at 100% 0%, #2A313D, var(--dark) 65%); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.plan-featured h3, .plan-featured .plan-price { color: #fff; }
.plan-featured .plan-step, .plan-featured .plan-meta { color: var(--on-dark-soft); }
.plan-featured > p:not([class]) { color: var(--on-dark-soft); }
.plan-featured .checks { border-top-color: rgba(255,255,255,.12); }
.plan-featured .checks li::before { background: rgba(255,255,255,.1); box-shadow: none; }
.plan-featured .checks li::after { border-color: var(--accent-on-dark); }
.plan-featured .plan-step span { background: var(--accent); color: #fff; }
.plans-note { margin-top: 24px; font-size: 16px; color: var(--muted); }

/* ---------- Where we work ---------- */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .area { grid-template-columns: minmax(0, 1fr); } }
.lists { display: grid; gap: 26px; margin-top: 32px; }
.area > .lists { margin-top: 0; padding: 28px; border-radius: var(--card-r); background: #fff; }
.lists h3 { font: 600 13px/1.4 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); background: #fff; box-shadow: 0 1px 2px rgba(14,18,24,.06); font-size: 17px; }
.chips li.soft { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
@media (max-width: 960px) { .about { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.profile { position: sticky; top: 110px; border-radius: 18px; background: var(--sheet); padding: 14px; box-shadow: 0 1px 2px rgba(14,18,24,.04); }
@media (max-width: 960px) { .profile { position: static; max-width: 460px; } }
.profile-photo { position: relative; aspect-ratio: 4 / 4.2; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(80% 60% at 50% 30%, #fff, #E6E6EA); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .tile-lg { width: 140px; height: 140px; border-radius: 42px; font: 600 50px/1 var(--display); letter-spacing: -0.04em; }
.profile-photo .tile-lg::after { border-radius: 38px 38px 40% 40%; }
.profile-body { padding: 20px 12px 8px; }
.profile-name { font: 600 24px/1.2 var(--display); letter-spacing: -0.025em; }
.profile-role { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.profile dl { display: grid; gap: 0; }
.profile dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.profile dt { font: 600 13px/1.9 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.profile dd { font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.about-body > p:not(.label) { font-size: 20px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 18px; }
.about-body > p:first-of-type:not(.label) { color: var(--ink); }
.honest-note { max-width: 540px; margin-top: 40px; padding: 26px 28px 24px; border-radius: var(--radius); background: #FFF6CF; box-shadow: inset 0 0 0 1px #EFDD95; font-size: 17px; line-height: 1.55; }
.honest-note h3 { font-size: 21px; color: #2E2A1E; margin-bottom: 8px; }
.honest-note p { color: #3D3622; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.faq-wrap > div:first-child { position: sticky; top: 110px; }
@media (max-width: 960px) { .faq-wrap > div:first-child { position: static; } }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--sheet); transition: background-color .25s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow-md); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 72px; padding: 16px 76px 16px 26px; font: 600 19px/1.35 var(--display); letter-spacing: -0.015em; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
/* smooth open/close where the browser can animate to height: auto */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
    .faq details[open]::details-content { height: auto; }
  }
}
.faq summary::before { content: ''; position: absolute; right: 18px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(14,18,24,.1), 0 4px 10px -4px rgba(14,18,24,.15); transition: background-color .25s; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; width: 40px; margin-top: -14px; text-align: center; font: 400 26px/1 var(--sans); color: var(--ink); transition: transform .3s var(--ease), color .25s; }
.faq details[open] summary::before { background: var(--ink); }
.faq details[open] summary::after { transform: rotate(45deg); color: #fff; }
.faq summary:hover { color: var(--accent-deep); }
.faq .answer { padding: 0 76px 24px 26px; color: var(--ink-soft); font-size: 17px; }
@media (max-width: 600px) { .faq summary { font-size: 17px; padding-right: 68px; padding-left: 20px; } .faq .answer { padding: 0 20px 22px; } }

/* ---------- Contact ---------- */
.contact { text-align: center; padding-bottom: 72px; }
.contact .container { position: relative; z-index: 1; }
.contact-art { position: relative; width: 150px; height: 130px; margin: 0 auto 30px; }
.contact-art .tile-lg { position: absolute; left: 50%; top: 0; margin-left: -56px; }
.contact-art .tile-lg svg { width: 46%; height: 46%; }
.contact-art .key { position: absolute; bottom: 0; right: -18px; transform: rotate(10deg); }
@media (prefers-reduced-motion: no-preference) { .contact-art .tile-lg { animation: bob 6s ease-in-out infinite; } }
.contact-tagline { font: 700 15px/1.3 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-on-dark); margin: 0 auto 14px; }
.contact h2 { font-size: clamp(40px, 3.8vw + 12px, 76px); line-height: 1; max-width: 13ch; margin: 0 auto 22px; }
.contact-lead { font-size: 21px; color: var(--on-dark-soft); margin: 0 auto 36px; max-width: 36em; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 560px) { .contact-actions .btn { width: 100%; } .contact-lead { font-size: 18.5px; } }
.next-steps-title { justify-content: center; max-width: none; margin-top: 88px; margin-bottom: 22px; }
.next-steps { list-style: none; counter-reset: next; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
@media (max-width: 860px) { .next-steps { grid-template-columns: minmax(0, 1fr); } }
.next-steps li { counter-increment: next; padding: 28px; border-radius: var(--card-r); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.next-steps li::before { content: '0' counter(next); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 10px; background: linear-gradient(180deg, #3A414D, #1B2029); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 16px -6px rgba(0,0,0,.5); font: 600 15px/1 var(--sans); font-variation-settings: 'wdth' 118; color: var(--accent-on-dark); }
.next-steps h3 { font-size: 21px; }
.next-steps p { font-size: 17px; color: var(--on-dark-soft); }
.contact-fine { margin: 36px auto 0; font-size: 16px; color: var(--on-dark-soft); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 0; color: var(--ink-soft); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { font-size: 17px; margin-top: 14px; max-width: 32ch; }
.footer-col h2 { font: 600 13px/1.4 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { font-size: 17px; line-height: 1.5; padding: 4px 0; }
.footer-col li:has(a) { padding: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--accent-deep); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-top: 40px; padding: 14px 0; border-top: 1px solid var(--line-strong); font-size: 15px; color: var(--muted); }
.footer-bottom a { color: var(--ink-soft); display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-word { font: 600 clamp(44px, 16vw, 270px)/.78 var(--display); letter-spacing: -0.06em; text-align: center; margin-top: 12px; color: transparent; user-select: none; white-space: nowrap; }

/* ---------- Inner pages ---------- */
.page-hero { padding: calc(68px + 8px + var(--frame) + 64px) 0 64px; border-radius: var(--sheet-r); background:
  radial-gradient(60% 70% at 80% 0%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
  linear-gradient(180deg, #F7F7F9, #EDEDF0); }
.page-hero h1 { font-size: clamp(42px, 4vw + 14px, 76px); max-width: 16ch; margin-bottom: 18px; }
.page-hero p { font-size: 21px; color: var(--ink-soft); }
.page-hero .label { margin-bottom: 18px; }
.prose-sheet { border-radius: var(--sheet-r); background: #fff; }
.prose { padding: 64px 0 96px; max-width: 72ch; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.not-found { padding-top: calc(68px + 8px + var(--frame) + 96px); padding-bottom: 120px; min-height: 80svh; }
.not-found h1 { max-width: 14ch; margin-bottom: 20px; }
.not-found p { font-size: 21px; color: var(--ink-soft); margin-bottom: 28px; }
.not-found .links { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* legacy band wrappers still used on /examples */
.band { padding: var(--band) 0; border-radius: var(--sheet-r); }
.band-paper { background: var(--sheet); }
.band-white { background: #fff; }
.band-navy { background: radial-gradient(120% 80% at 80% 0%, #1E2530 0%, var(--dark) 55%); color: var(--on-dark); }
.band-navy h2, .band-navy h3 { color: #fff; }

@media print {
  .site-header, .mobile-nav, .skip-link, .footer-word { display: none; }
  .sheet-dark, .band-navy, .plan-featured { background: #fff !important; color: #000; }
}

.hero .not-found { padding: 0; min-height: 0; }
.prose-sheet .prose { padding-top: 72px; }

/* ---------- Toolbox page ---------- */
.tools-sheet > .container { padding-top: 56px; padding-bottom: 88px; }
.honesty-line { max-width: 780px; margin-bottom: 36px; padding: 16px 20px; border-radius: var(--radius); background: #FFF6CF; box-shadow: inset 0 0 0 1px #EFDD95; }
.honesty-line p { font-size: 17px; line-height: 1.55; color: #3D3622; }
.honesty-line strong { color: #2E2A1E; }
.toolkit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tool-group { padding: 30px 30px 24px; border-radius: var(--card-r); background: var(--sheet); }
.tool-group-wide { grid-column: 1 / -1; }
.tool-group-wide dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.tool-num { margin-bottom: 14px; font: 700 14px/1 var(--sans); font-variation-settings: 'wdth' 118; letter-spacing: .06em; color: var(--muted); }
.tool-group h2 { font-size: clamp(24px, 1vw + 16px, 30px); margin-bottom: 10px; }
.tool-lead { margin-bottom: 18px; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.tool-group dl { display: grid; }
.tool-group dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.tool-group dt { font: 700 17px/1.35 var(--sans); color: var(--ink); }
.tool-group dd { margin-top: 2px; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.tool-when { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #fff; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.tool-when b { display: block; font: 700 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tools-cta { margin-top: 48px; padding: 40px 36px; border-radius: var(--card-r); background: radial-gradient(120% 90% at 85% 0%, #1E2530 0%, var(--dark) 60%); color: var(--on-dark); }
.tools-cta h2 { color: #fff; font-size: clamp(28px, 1.6vw + 18px, 40px); margin-bottom: 10px; }
.tools-cta p { font-size: 18px; color: var(--on-dark-soft); margin-bottom: 24px; }
@media (max-width: 860px) { .toolkit, .tool-group-wide dl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .tool-group { padding: 24px 22px 20px; } .tools-cta { padding: 30px 22px; } .tools-cta .btn { width: 100%; } }
/* very narrow phones: ease the display stretch so long words like "dashboards" fit */
@media (max-width: 420px) { h1, .page-hero h1 { font-variation-settings: 'wdth' 108; } }
.cost { display: inline-flex; align-items: center; vertical-align: 2px; margin-left: 6px; padding: 2px 8px; border-radius: 5px; font: 700 12px/1.35 var(--sans); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.cost.free { background: var(--ink); color: #fff; }
.cost.included { background: #DDDDE2; color: var(--ink); }
.cost.tier { background: #DDDDE2; color: var(--ink); }
.cost.low { background: transparent; box-shadow: inset 0 0 0 1.5px #C9CBD1; color: var(--ink-soft); }
.cost.paid { background: transparent; box-shadow: inset 0 0 0 1.5px #C9CBD1; color: var(--ink-soft); }
.cost-key { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 32px; list-style: none; font-size: 15px; color: var(--ink-soft); }
.cost-key li { display: inline-flex; align-items: center; gap: 8px; }
.cost-key .cost { margin-left: 0; }
/* homepage sample cards: the click tally */
.tally { display: flex; align-items: baseline; gap: 12px; font: 800 64px/1 var(--sans); font-variation-settings: 'wdth' 125; letter-spacing: -0.02em; }
.tally s { color: var(--dim); text-decoration-color: var(--accent); text-decoration-thickness: 5px; }
.tally-to { font: 400 30px/1 var(--sans); color: var(--muted); }
.tally b { color: var(--accent); }
.tally small { font: 600 16px/1 var(--sans); letter-spacing: 0; color: var(--muted); }
.idea-link { margin-top: 12px; }
@media (max-width: 480px) { .tally { font-size: 48px; gap: 8px; } .tally-to { font-size: 24px; } .tally-sm { font-size: 26px; } .tally-sm .tally-to { font-size: 16px; } }

/* ---------- Contact form ---------- */
.contact-form { max-width: 640px; margin: 8px auto 0; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; margin-bottom: 7px; font: 600 15px/1.3 var(--sans); color: var(--on-dark); }
.form-field input, .form-field textarea { width: 100%; padding: 14px 16px; border: 0; border-radius: var(--radius); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: #fff; font: 400 17px/1.5 var(--sans); transition: box-shadow .2s, background-color .2s; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,.4); }
.form-field input:focus, .form-field textarea:focus { outline: none; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px var(--accent-on-dark); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { width: 100%; margin-top: 4px; }
.contact-form .btn[disabled] { opacity: .75; cursor: wait; }
.form-note { margin-top: 14px; padding: 14px 18px; border-radius: var(--radius); font-size: 16px; line-height: 1.55; }
.form-note.ok { background: rgba(143,214,170,.1); box-shadow: inset 0 0 0 1px rgba(143,214,170,.35); color: #B9EDCF; }
.form-note.err { background: rgba(255,106,77,.1); box-shadow: inset 0 0 0 1px rgba(255,106,77,.4); color: #FFC2B5; }
.contact-alt { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin-top: 24px; font-size: 16px; color: var(--on-dark-soft); }
.contact-alt a { color: #fff; font-weight: 600; }
.copy-inline { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); color: #fff; font: 600 14px/1 var(--sans); }
.copy-inline:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.copy-inline svg { width: 15px; height: 15px; }
.copy-inline.copied { box-shadow: inset 0 0 0 1.5px #8FD6AA; color: #8FD6AA; }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* Footer wordmark: letters rise in when the footer comes into view */
.footer-word span { display: inline-block; color: transparent; background: linear-gradient(180deg, rgba(14,18,24,.14), rgba(14,18,24,0) 88%); -webkit-background-clip: text; background-clip: text; }
.js .footer-word { clip-path: inset(-0.6em -0.2em -0.3em -0.2em); }
.js .footer-word span { transform: translateY(0.95em); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 45ms); }
.js .footer-word.in span { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .footer-word span { transform: none; transition: none; } }

/* Clips: short Remotion animations (see motion/). Each plays once when it's mostly on screen,
   stops on its result, and offers "Play again". With reduced motion they show the result frame. */
.clip { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #F4F4F6; box-shadow: inset 0 0 0 1px var(--line-soft); }
.clip video { display: block; width: 100%; height: auto; }
.clip-replay { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 8px; background: rgba(255,255,255,.94); box-shadow: 0 1px 2px rgba(14,18,24,.12), 0 6px 14px -8px rgba(14,18,24,.3); font: 600 14px/1 var(--sans); color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.clip-replay svg { width: 14px; height: 14px; }
.clip.done:hover .clip-replay, .clip.done .clip-replay:focus-visible { opacity: 1; pointer-events: auto; }
@media (hover: none) { .clip.done .clip-replay { opacity: 1; pointer-events: auto; } }
.clip-center { max-width: 520px; margin: -36px auto 32px; }
.clip-wide { margin: -8px 0 28px; }
@media (max-width: 700px) { .clip-wide { display: none; } .clip-center { margin-top: -20px; } }
.bento .svc .clip { width: 100%; }
@media (max-width: 1000px) { .bento .svc .clip { flex: 0 0 42%; width: auto; } }
@media (max-width: 560px) { .bento .svc .clip { width: 100%; flex-basis: auto; } }
.page-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 56px; align-items: center; }
.page-split .clip { box-shadow: 0 1px 2px rgba(14,18,24,.06), 0 18px 40px -18px rgba(14,18,24,.3); }
@media (max-width: 1000px) { .page-split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .page-split .clip { max-width: 560px; } }
