/* Blocks landing page, in the band-and-tab build Ronit approved on 30 Nov (docs/mockups/2026-11-29-measured-all,
   kit.css and band.css, Blocks colours). The language is the app's: navy ink words, never black; a cool white page;
   pale blue panels; the ink band with the page title in a light tab rising into it and one fact at its right; outline
   pills as the control; big rows on hairlines; nothing raised. Blue is the one highlight (the app's Add button);
   red only for overdue. Each section of the page opens the way a page of the app does: band, tab, fact. */

@font-face { font-family: "Inter Tight"; font-weight: 100 900; font-display: swap; src: url(intertight-latin.woff2) format("woff2"); }

:root {
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  /* colour: kit.css :root with band.css's cool family for Blocks colours */
  --ink: #131B5C; --muted: #4A5499; --page: #F4F6FC; --on-ink: #F4F6FC; --tint: #E2E7FB; --desk: #D9DDE8;
  --line: rgba(19, 27, 92, .13); --line-strong: rgba(19, 27, 92, .28);
  --blue: #3F5EF2; --overdue: #B52B15;
  /* radii: kit.css */
  --r-panel: 22px; --r-task: 14px; --r-pill: 999px; --r-stage: 28px;
  --wrap: 1180px; --gutter: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--page); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 50; padding: 10px 16px; border-radius: var(--r-pill); background: var(--page); color: var(--ink); }
.skip:focus { left: 12px; }

/* ---- the logo (locked: 38 / 4 / 18), all white on the band, and the wordmark ---- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-decoration: none; }

/* ---- pills: outline is the control; blue is the one highlight ---- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: none; font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer; }
.pill.is-sm { min-height: 32px; padding: 0 13px; font-size: 13px; font-weight: 400; }
.pill.is-blue { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.pill.is-blue:hover { background: #2C45CC; border-color: #2C45CC; }
.pill.on-ink { border-color: rgba(244, 246, 252, .7); color: var(--on-ink); }
.pill.on-ink:hover { background: rgba(244, 246, 252, .1); }

/* ---- the top: the ink band, as the app's window top ---- */
.top { background: var(--ink); color: var(--on-ink); }
/* the nav, after the portfolio's: clear over the band, a glass bar once past it; it steps away while you read
   down and comes back when you scroll up */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; color: var(--on-ink); transition: transform .45s var(--ease), color .3s; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(244, 246, 252, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 -1px var(--line); transition: opacity .35s; }
.nav.is-past { color: var(--ink); }
.nav.is-past::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-past .pill.on-ink { border-color: var(--ink); color: var(--ink); }
.nav-row { height: 76px; display: flex; align-items: center; gap: 30px; }
[id] { scroll-margin-top: 84px; }
.nav .links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav .links a { text-decoration: none; opacity: .78; }
.nav .links a:hover { opacity: 1; }
.hero { padding: 132px 0 0; text-align: center; }
/* labels in round brackets, as the portfolio's */
.label { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero .label { color: rgba(244, 246, 252, .7); }.hero h1 { max-width: 15ch; margin: 22px auto 0; font-size: clamp(44px, 6.6vw, 84px); font-weight: 600; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.hero .lead { max-width: 620px; margin: 24px auto 0; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: rgba(244, 246, 252, .82); text-wrap: pretty; }
.hero form { margin: 34px auto 0; justify-content: center; }
.hero .note { margin-top: 14px; font-size: 14px; color: rgba(244, 246, 252, .7); }
.hero .done { color: var(--on-ink); }

/* the sign-up: a page-coloured field and the blue pill */
.signup { display: flex; gap: 8px; max-width: 480px; }
.signup input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--page); color: var(--ink); font-size: 16px; }
.signup input::placeholder { color: var(--muted); }
.signup .pill { min-height: 52px; padding: 0 24px; font-size: 16px; }
.done { margin-top: 14px; font-size: 15px; font-weight: 600; }
.done:empty { display: none; }

/* the hero's picture: the Mac window rising out of the band, the iPhone in front of its corner */
.hero-art { position: relative; margin-top: 56px; }
.hero-art::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: var(--page); }
.hero-art .wrap { position: relative; }
.hero-art .mac-frame { position: relative; width: 88%; }
/* the window's own ink top meets the band, so its edge is drawn in light: the shot's window sits inside 40 / 20 / 60 px
   of clear margin on a 1360 by 860 picture, and its corners are 12 of its 1280 by 780 */
.hero-art .mac-frame::after { content: ""; position: absolute; left: 2.94%; right: 2.94%; top: 2.33%; bottom: 6.98%; border-radius: .94% / 1.54%; box-shadow: 0 0 0 1px rgba(244, 246, 252, .28); pointer-events: none; }
.hero-art .iphone { position: absolute; right: 0; bottom: -2%; width: 23.5%; }

/* ---- a chapter opens like a page of the app: the band, its title in the light tab, one fact at the right ---- */
.chapter { margin-top: 112px; background: var(--ink); color: var(--on-ink); }
.chapter .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; height: 112px; }
.chapter h2 { position: relative; flex: none; width: calc((100% - 2 * var(--gutter)) / 3); padding: 18px 24px 12px; border-radius: 18px 18px 0 0; background: var(--page); color: var(--ink); font-size: 40px; font-weight: 600; letter-spacing: -.025em; line-height: 1; }
.chapter h2::before, .chapter h2::after { content: ""; position: absolute; bottom: 0; width: 16px; height: 16px; }
.chapter h2::before { left: -16px; background: radial-gradient(circle at 0 0, transparent 15.5px, var(--page) 16px); }
.chapter h2::after { right: -16px; background: radial-gradient(circle at 100% 0, transparent 15.5px, var(--page) 16px); }
.chapter .fact { padding-bottom: 16px; font-size: 16px; text-align: right; }

/* ---- the grid under a band: three columns, as the app's fb-grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.body { padding-top: 32px; }
.say { font-size: clamp(28px, 3.1vw, 40px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.quiet { margin-top: 14px; color: var(--muted); font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.span-2 { grid-column: span 2; }
.point { align-self: center; }
.point .say { font-size: clamp(30px, 3.4vw, 44px); }
.span-3 { grid-column: 1 / -1; }

/* panels: one kind (when small, what big, one quiet line, a real thing at the foot) */
.panel { display: flex; flex-direction: column; min-width: 0; min-height: 224px; padding: 20px 22px 22px; border-radius: var(--r-panel); background: var(--tint); }
.panel .k { font-size: 14px; color: var(--muted); }
.panel .n { margin-top: 10px; font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.panel .q { margin-top: 10px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.panel .foot { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

/* big rows on hairlines */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row .m { font-size: 15px; color: var(--muted); }
.row b { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.row span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.row.no-lead { grid-template-columns: minmax(0, 1fr) auto; }
.row .end { font-size: 15px; color: var(--muted); white-space: nowrap; }

/* a desk the app pictures stand on, as on the mockup sheets */
.stage { display: flex; justify-content: center; align-items: flex-end; gap: 2%; padding: 40px 4% 0; border-radius: var(--r-stage); background: var(--desk); overflow: hidden; }
.stage .iphone { width: 31%; margin-bottom: -6%; }
.stage .mac { width: 100%; margin-bottom: -3%; }
.stage.is-mac { padding: 36px 5% 0; }

/* the to-do card, Fly's, for Capture's examples */
.task { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 13px 16px 13px 14px; border-radius: var(--r-task); background: var(--page); font-size: 16px; letter-spacing: -.01em; }
.task i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(19, 27, 92, .7); }

/* where your things come from */
.sources { padding-top: 24px; }

/* the strip of what Blocks works with, the portfolio's places strip: endless, edges faded, paused on hover */
.strip { padding: 56px 0 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } .marquee-list li:hover { color: var(--ink); } }
.marquee-list { display: flex; list-style: none; }
.marquee-list li { padding-inline: 34px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; color: var(--muted); white-space: nowrap; transition: color .2s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* one sentence that fills in, word by word, as it scrolls through (site.js) */
.statement { padding: 96px 0 8px; text-align: center; }
.fill { max-width: 22em; margin: 22px auto 0; font-size: clamp(28px, 3.8vw, 48px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.fill em { font-style: normal; color: var(--blue); }

/* the row nearest the middle of the screen is lit, the portfolio's Experience rows */
.js .rows.is-lit .row { opacity: .32; transition: opacity .4s, padding .4s var(--ease); }
.js .rows.is-lit .row.is-active { opacity: 1; padding-left: 14px; }

.gap-24 { margin-top: 24px; } .gap-28 { margin-top: 28px; } .gap-40 { margin-top: 40px; } .gap-56 { margin-top: 56px; }
.say.is-md { font-size: 28px; }
.quiet.is-tight { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* pricing */
.price { margin-top: 14px; font-size: 52px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.price small { margin-left: 6px; font-size: .33em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.ticks { margin-top: 18px; list-style: none; }
.ticks li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.panel.is-plus { background: var(--ink); color: var(--on-ink); }
.panel.is-plus .k, .panel.is-plus .q, .panel.is-plus .price small { color: rgba(244, 246, 252, .75); }
.panel.is-plus .ticks li { border-top-color: rgba(244, 246, 252, .18); }

/* questions: big rows that open */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 16px; padding: 20px 0; font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; justify-self: end; width: 9px; height: 9px; margin-top: -4px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { padding: 0 48px 22px 0; font-size: 17px; color: var(--muted); }

/* the last call: the band again */
.last { margin-top: 112px; background: var(--ink); color: var(--on-ink); }
.last .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 80px 0; }
.last h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
.last p { margin-top: 14px; font-size: 19px; color: rgba(244, 246, 252, .8); }
.last form { margin-top: 28px; }
.last .note { margin-top: 12px; font-size: 14px; color: rgba(244, 246, 252, .7); }
.last .done { color: var(--on-ink); }
.big-mark { padding: 0; border: 0; background: none; cursor: pointer; }
.big-mark .blocks { --s: 168px; }
/* the end's name across the width; its letters rise one after another as the band arrives (site.js) */
.last .end-wrap { display: block; padding: 0 0 28px; overflow: hidden; }
.last .end-name { margin: 0; color: var(--on-ink); }
.end-name { display: flex; justify-content: space-between; font-size: 100px; font-weight: 600; letter-spacing: -.045em; line-height: .78; padding-top: .12em; white-space: nowrap; }
.lt { display: inline-block; }
.lt:last-child { letter-spacing: 0; } /* its glyph keeps its own width, so the overflow never clips it */
.end-name.is-playing { clip-path: inset(-1em -1em 0); }
.foot-bar { border-top: 1px solid rgba(244, 246, 252, .14); }
.foot-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 28px 0 36px; font-size: 14px; color: rgba(244, 246, 252, .75); }
.foot-bar nav { display: flex; gap: 22px; margin-left: auto; }
.foot-bar a { text-decoration: none; }
.foot-bar a:hover { color: var(--on-ink); }

/* ---- smaller screens ---- */
@media (max-width: 960px) {
  .nav .links { display: none; }
  .js .rows.is-lit .row { opacity: .5; }
  .nav .pill { margin-left: auto; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .span-2, .span-3 { grid-column: auto; }
  .chapter { margin-top: 80px; }
  .chapter .wrap { height: 92px; }
  .chapter h2 { width: auto; min-width: 46%; font-size: 32px; padding: 16px 20px 10px; }
  .chapter .fact { font-size: 14px; max-width: 46%; }
  .panel { min-height: 0; }
  .stage .iphone { width: 44%; }
  .last .wrap { grid-template-columns: 1fr; padding: 56px 0; }
  .big-mark { display: none; }
  .hero-art .mac-frame { width: 92%; }
  .hero-art .iphone { width: 30%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 100px; }
  .marquee-list li { padding-inline: 22px; }
  .statement { padding-top: 64px; }
  .signup { flex-direction: column; }
  .signup input { flex: none; }
  .hero-art { margin: 40px 0 40px; }
  .hero-art .mac-frame { width: 100%; }
  .hero-art .iphone { width: 38%; right: -2%; bottom: -10%; }
  .stage { padding: 28px 3% 0; }
  .stage .iphone { width: 58%; }
  .stage .iphone + .iphone { display: none; }
  .chapter h2 { font-size: 28px; }
  .row b, .faq summary { font-size: 19px; }
  .foot-bar nav { margin-left: 0; }
}

/* ---- the mark as live blocks (the portfolio's mark): on a 60-unit grid, 38 / 4 / 18. A lap: each block moves one
   place clockwise, shrinking to a dot on the way, and takes the shape of the place it lands in. The four are one
   colour, so the mark looks the same when it ends. ---- */
.blocks { --s: 26px; --u: calc(var(--s) / 60); position: relative; display: block; width: var(--s); height: var(--s); flex: none; }
.b { position: absolute; background: currentColor; left: calc(var(--u) * var(--x)); top: calc(var(--u) * var(--y)); width: calc(var(--u) * var(--w)); height: calc(var(--u) * var(--h)); border-radius: calc(var(--u) * var(--r)); }
.b0 { --x: 0;  --y: 0;  --w: 38; --h: 38; --r: 7; --mx: 30; --my: 14; --x1: 42; --y1: 0;  --w1: 18; --h1: 38; --r1: 5; }
.b1 { --x: 42; --y: 0;  --w: 18; --h: 38; --r: 5; --mx: 46; --my: 30; --x1: 42; --y1: 42; --w1: 18; --h1: 18; --r1: 5; }
.b2 { --x: 42; --y: 42; --w: 18; --h: 18; --r: 5; --mx: 30; --my: 46; --x1: 0;  --y1: 42; --w1: 38; --h1: 18; --r1: 5; }
.b3 { --x: 0;  --y: 42; --w: 38; --h: 18; --r: 5; --mx: 14; --my: 30; --x1: 0;  --y1: 0;  --w1: 38; --h1: 38; --r1: 7; }
.blocks.is-lap .b { animation: lap 1.1s both; }
@keyframes lap {
  0%, 8% { left: calc(var(--u) * var(--x)); top: calc(var(--u) * var(--y)); width: calc(var(--u) * var(--w)); height: calc(var(--u) * var(--h)); border-radius: calc(var(--u) * var(--r)); animation-timing-function: cubic-bezier(.55, 0, .8, .3); }
  45% { left: calc(var(--u) * var(--mx)); top: calc(var(--u) * var(--my)); width: calc(var(--u) * 10); height: calc(var(--u) * 10); border-radius: calc(var(--u) * 5); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  92%, 100% { left: calc(var(--u) * var(--x1)); top: calc(var(--u) * var(--y1)); width: calc(var(--u) * var(--w1)); height: calc(var(--u) * var(--h1)); border-radius: calc(var(--u) * var(--r1)); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .blocks.is-lap .b { animation: none; }
  .nav, .nav::before { transition: none; }
}
