/* DigitAIse — public site. Self-hosted fonts: CSP is default-src 'self'. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0c1311;
  --ink-2: #131d1a;
  --ink-3: #1c2926;
  --paper: #f7f3ec;
  --cream: #efe8dc;
  --line: #ddd4c4;
  --text: #16201d;
  --muted: #5d6865;
  --muted-light: #a9b5b1;
  --teal: #0e716a; /* was #0f766e: 4.49:1 on cream, just under AA */
  --mint: #5eead4;
  --mint-2: #99f6e4;
  --lime: #bef264;
  --amber: #f59e0b;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
/* Two-tone ring: mint shows on dark sections, the ink inner ring on cream ones
   (mint alone was ~1.3:1 against cream, under the 3:1 non-text minimum). */
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 3px var(--ink); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* ── Type ─────────────────────────────────────────── */
.display, .h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; line-height: 1.02; font-variation-settings: "opsz" 144; }
.display { font-size: clamp(3rem, 8.4vw, 7.2rem); }
.h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
.display em, .h2 em { font-style: normal; font-weight: 400; color: var(--teal); }
/* Dark sections: the highlight half needs the light accent to stay readable. */
.display em, .section-head--light .h2 em { color: var(--mint); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
.eyebrow--light { color: var(--mint); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(190, 242, 100, .18); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; margin-top: 22px; }
.lede--light { color: var(--muted-light); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--light { color: var(--paper); }

/* ── Buttons ──────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: .98rem; letter-spacing: -.005em; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--mint { background: var(--mint); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(94, 234, 212, .6); }
.btn--mint:hover { background: var(--mint-2); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(94, 234, 212, .75); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--teal); }
.btn--line { background: transparent; border: 1.5px solid var(--text); color: var(--text); }
.btn--line:hover { background: var(--text); color: var(--paper); }
.btn--text { color: var(--muted); padding: 0 12px; }
.btn--text:hover { color: var(--text); }
.btn--tap { min-height: 44px; font-size: .92rem; }
.link-quiet { font-size: .94rem; font-weight: 500; color: rgba(255, 255, 255, .78); padding: 10px 6px; }
.link-quiet:hover { color: #fff; }

/* ── Nav ──────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav.is-solid { background: rgba(12, 19, 17, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.logo span { color: var(--mint); font-style: normal; }
.nav__links { display: flex; gap: 30px; flex: 1; }
.nav__links a { color: rgba(255, 255, 255, .72); font-size: .94rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }

/* ── Hero ─────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; padding: 120px 0 90px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.08); animation: kenburns 24s var(--ease) forwards; filter: saturate(1.05) contrast(1.05); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 80% at 15% 60%, rgba(12, 19, 17, .92) 0%, rgba(12, 19, 17, .6) 45%, rgba(12, 19, 17, .15) 100%),
  linear-gradient(to top, rgba(12, 19, 17, .95) 0%, rgba(12, 19, 17, 0) 40%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .12; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes kenburns { to { transform: scale(1); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: end; width: 100%; }
.hero__copy .display { text-wrap: balance; }
.hero__copy .display em { color: var(--mint); }
.hero__sub { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: rgba(255, 255, 255, .8); max-width: 54ch; margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__code { display: inline-block; margin-top: 14px; padding: 6px 0; color: #fff; font-size: .98rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero__code:hover { color: var(--mint); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .66); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.2 4.7-4.8' fill='none' stroke='%230c1311' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; flex: none; }
.hero__copy > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.hero__copy > :nth-child(2) { animation-delay: .1s; }
.hero__copy > :nth-child(3) { animation-delay: .25s; }
.hero__copy > :nth-child(4) { animation-delay: .4s; }
.hero__copy > :nth-child(5) { animation-delay: .5s; }
.hero__copy > :nth-child(6) { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.night { background: rgba(12, 19, 17, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 22px; backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(30px); animation: rise 1.1s .7s var(--ease) forwards; }
.night__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.night__live { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(190, 242, 100, .6); } 100% { box-shadow: 0 0 0 10px rgba(190, 242, 100, 0); } }
.night__tag { font-size: .72rem; color: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 3px 10px; }
.night__log { display: grid; gap: 4px; }
.night__log li { display: grid; grid-template-columns: 50px 1fr; gap: 12px; padding: 10px 0; font-size: .92rem; color: rgba(255, 255, 255, .82); border-top: 1px solid rgba(255, 255, 255, .07); line-height: 1.4; }
.night__log li::before { content: attr(data-t); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .45); font-size: .84rem; padding-top: 1px; }
.night__log li b { color: #fff; font-weight: 600; }
.js .night__log li { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .night__log li.on { opacity: 1; transform: none; }
.night__foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px; background: rgba(94, 234, 212, .1); border: 1px solid rgba(94, 234, 212, .28); border-radius: var(--r-sm); }
.night__time { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--mint); font-variant-numeric: tabular-nums; }
.night__msg { font-size: .94rem; color: rgba(255, 255, 255, .85); }
.night__msg b { color: #fff; }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolly 2s infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── Marquee ──────────────────────────────────────── */
.trades { background: var(--mint); color: var(--ink); padding: 18px var(--gutter); border-block: 1px solid rgba(0, 0, 0, .1); }
.trades__list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.trades__list li { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 600; font-size: clamp(.9rem, 1.15vw, 1.05rem); letter-spacing: -.01em; padding: 7px 13px; border: 1.5px solid rgba(12, 19, 17, .55); border-radius: 10px; background: rgba(255, 255, 255, .28); white-space: nowrap; }

/* ── Second shift ─────────────────────────────────── */
.shift { padding: clamp(56px, 7vw, 96px) 0; }
.shift__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.shift__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(12, 19, 17, .55); }
.shift__media img { width: 100%; height: 100%; object-fit: cover; }
.shift__stamp { position: absolute; top: 22px; left: 22px; font-family: var(--serif); font-style: normal; font-size: 1.3rem; color: #fff; background: rgba(200, 40, 40, .88); padding: 6px 18px; border-radius: 999px; transform: rotate(-6deg); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.clock { margin-top: 38px; border-top: 1px solid var(--line); }
.clock li { display: grid; grid-template-columns: 76px 1fr; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.06rem; }
.clock time { font-family: var(--serif); font-size: 1.3rem; color: var(--teal); font-variant-numeric: tabular-nums; }
.clock li:last-child { color: var(--muted); }

/* ── Memory lane ──────────────────────────────────── */
/* Patrick Hand: upright handwriting (no italics on this site). SIL OFL 1.1, self-hosted. */
@font-face { font-family: "Patrick Hand"; src: url("/assets/fonts/patrickhand-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.lane { --hand: "Patrick Hand", "Segoe Print", "Comic Neue", var(--sans); --biro: #23345a; --tape: rgba(250, 238, 200, .62);
  position: relative; isolation: isolate; overflow: hidden; background: var(--cream); padding: clamp(56px, 7vw, 96px) 0; }
.lane::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lane::after { content: ""; position: absolute; z-index: -1; width: 1100px; height: 900px; right: -260px; top: 50%; translate: 0 -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 251, 242, .95), rgba(255, 251, 242, 0)); }
.lane__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-areas: "copy album" "end album"; column-gap: clamp(32px, 6vw, 88px); row-gap: 0; }
.lane__copy { grid-area: copy; align-self: end; }
.album { grid-area: album; align-self: center; }
.lane__end { grid-area: end; align-self: start; }
.lane__copy .lede { max-width: 44ch; }
.lane__trades { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.lane__chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(22, 32, 29, .25); background: rgba(255, 255, 255, .55); font-size: .94rem; font-weight: 600; color: var(--text); transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.lane__chip:hover { border-color: var(--text); background: #fff; }
.lane__chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.lane__chip:active { transform: scale(.96); }
.lane__end { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.lane__turn { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 500; font-variation-settings: "opsz" 144; text-wrap: balance; }
.lane__turn span { display: block; }
.lane__turn-b { position: relative; width: fit-content; color: var(--teal); font-weight: 400; }
.lane__turn-b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 10px; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7c60-5 130-6 296-3' fill='none' stroke='%235eead4' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.lane.is-done .lane__turn-b::after { transform: none; }
.lane__small { margin: 16px 0 26px; color: var(--muted); max-width: 46ch; font-size: 1rem; }

/* The album: a table of polaroids. Slot positions are % of the table so it scales. */
.album { position: relative; }
.album__table { position: relative; aspect-ratio: 10 / 9; }
.pol { --w: 33%; position: absolute; width: var(--w); left: var(--x); top: var(--y); rotate: var(--r); translate: var(--dx, 0px) var(--dy, 0px);
  background: #fdfcf8; padding: 4.2% 4.2% 0; border-radius: 3px;
  box-shadow: 0 1px 1px rgba(60, 40, 10, .08), 0 14px 26px -12px rgba(60, 40, 10, .38), 0 34px 60px -34px rgba(60, 40, 10, .45);
  transition: rotate .45s var(--ease), scale .45s var(--ease), translate .45s var(--ease), box-shadow .45s, opacity .45s; }
.pol::before { content: ""; position: absolute; top: -12px; left: 50%; width: 38%; height: 24px; translate: -50% 0; rotate: var(--tr, -4deg); background: var(--tape);
  border-left: 1px dashed rgba(120, 100, 60, .18); border-right: 1px dashed rgba(120, 100, 60, .18); box-shadow: 0 1px 2px rgba(60, 40, 10, .12); }
.pol[data-slot="m1"] { --x: 1%; --y: 4%; --r: -7deg; z-index: 1; }
.pol[data-slot="m2"] { --x: 34%; --y: 0%; --r: 3deg; --tr: 5deg; z-index: 2; }
.pol[data-slot="m3"] { --x: 65%; --y: 7%; --r: 7deg; --tr: -2deg; z-index: 1; }
.pol[data-slot="a1"] { --x: 7%; --y: 45%; --r: -5deg; --tr: 3deg; z-index: 4; }
.pol[data-slot="a2"] { --x: 45%; --y: 50%; --r: 4deg; --tr: -6deg; z-index: 5; }
.pol__photo { position: relative; aspect-ratio: 1; overflow: hidden; background: #2a2a28; transition: filter 1.2s var(--ease); }
.pol__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform-origin: var(--pos, 50% 50%); transform: scale(var(--zoom, 1)); filter: brightness(var(--b, 1)) saturate(1.06); pointer-events: none; user-select: none; }
.pol__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 0 40px rgba(40, 25, 5, .22); }
.pol__stamp { position: absolute; right: 8%; bottom: 7%; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; font-variant-numeric: tabular-nums; color: #ffb067; text-shadow: 0 0 1px #ff8a3d, 0 0 6px rgba(255, 120, 40, .8), 0 1px 3px rgba(0, 0, 0, .75), 0 0 10px rgba(0, 0, 0, .35); }
.pol figcaption, .pol__cap { display: grid; gap: 1px; padding: 9px 2px 12px; min-height: 64px; align-content: center; }
.pol__when { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a8478; }
.pol__note { font-family: var(--hand); font-size: clamp(1.02rem, 1.45vw, 1.24rem); line-height: 1.15; color: var(--biro); }
.pol--mem:hover { scale: 1.05; rotate: calc(var(--r) * .4); z-index: 6; box-shadow: 0 1px 1px rgba(60, 40, 10, .08), 0 30px 50px -18px rgba(60, 40, 10, .5); }

/* Admin polaroids: drained, dull, piled on top. */
.pol--admin { background: #e9e7e1; cursor: grab; touch-action: pan-y; --tape: rgba(210, 208, 200, .7); }
.pol--admin .pol__photo { background: #dcdad4; filter: grayscale(1); }
.pol--admin .pol__note { color: #5f6266; }
.pol--admin:hover { scale: 1.03; }
.pol--admin.is-drag { transition: none; cursor: grabbing; scale: 1.06; z-index: 9; box-shadow: 0 40px 60px -20px rgba(30, 30, 30, .45); }
.inbox, .todo { position: absolute; inset: 7%; font-size: .68rem; line-height: 1.3; color: #6d6f72; }
.inbox { background: #f3f2ee; border-radius: 6px; padding: 8% 7%; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.inbox__bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 7px; margin-bottom: 4px; border-bottom: 1px solid #d6d4cd; font-size: .78rem; color: #55585c; }
.inbox__bar span { background: #8d8f92; color: #f3f2ee; font-weight: 700; font-size: .66rem; border-radius: 999px; padding: 1px 7px; }
.inbox__list li { padding: 5px 0 5px 12px; position: relative; border-bottom: 1px solid #e3e1db; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #9a9c9f; }
.todo { background: repeating-linear-gradient(#f4f3ef 0 21px, #d9d7d0 21px 22px); border-radius: 2px; padding: 8% 9%; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.todo__h { font-family: var(--hand); font-size: 1.15rem; color: #55585c; line-height: 1.1; margin-bottom: 4px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.todo__list li { font-family: var(--hand); font-size: .98rem; line-height: 22px; color: #6d6f72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo__list li::before { content: "☐ "; font-family: var(--sans); font-size: .8rem; }
.pol__give { position: absolute; right: -6%; bottom: -16px; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--mint); color: var(--ink); font-size: .86rem; font-weight: 700; white-space: nowrap; rotate: calc(var(--r) * -1);
  box-shadow: 0 10px 22px -8px rgba(15, 118, 110, .6), 0 0 0 3px rgba(255, 255, 255, .9); transition: background .2s, transform .2s var(--ease); }
.pol__give:hover { background: var(--mint-2); transform: translateY(-2px); }
.pol[data-slot="a1"] .pol__give { right: auto; left: -6%; }
.pol__give .i { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* Colour drains from the memories while admin sits on them. */
.album[data-admin="2"] .pol--mem .pol__photo { filter: grayscale(.95) sepia(.18) contrast(.86) brightness(1.04); }
.album[data-admin="1"] .pol--mem .pol__photo { filter: grayscale(.5) sepia(.08) contrast(.94); }
.album[data-admin="2"] .pol--mem .pol__note { color: #7d7a72; }
.album[data-admin="1"] .pol--mem .pol__note { color: #4f5870; }
.pol__note { transition: color 1s; }

.album__note { position: absolute; font-family: var(--hand); line-height: 1; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.album__note--crept { right: 0; top: 66%; width: 6.4em; font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: #6d6f72; text-align: right; rotate: 6deg; z-index: 6; translate: 0 8px; }
.album__arrow { display: block; width: 64px; height: 44px; margin: 6px 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
.album__note--back { left: 50%; bottom: 8%; translate: -50% 10px; font-size: clamp(2rem, 3.6vw, 3rem); color: var(--teal); rotate: -4deg; white-space: nowrap; }
.album.is-crept:not([data-admin="0"]) .album__note--crept { opacity: 1; translate: 0 0; }
.album.is-clear .album__note--back { opacity: 1; translate: -50% 0; }

.tray { display: flex; align-items: center; gap: 14px; margin: 26px 0 0 auto; width: min(100%, 380px); padding: 12px 14px; border-radius: 18px; background: var(--ink); color: var(--paper);
  box-shadow: 0 24px 50px -24px rgba(12, 19, 17, .6); transition: transform .35s var(--ease), box-shadow .35s; }
.tray__icon { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--ink); background: radial-gradient(circle at 30% 30%, var(--mint-2), var(--mint) 60%, #14b8a6); box-shadow: 0 0 24px rgba(94, 234, 212, .35); }
.tray__icon .i { width: 22px; height: 22px; fill: currentColor; }
.tray__text { flex: 1; display: grid; line-height: 1.3; font-size: .9rem; color: var(--muted-light); }
.tray__text b { color: #fff; font-size: 1rem; }
.tray__count { font-family: var(--serif); font-size: 1.3rem; color: var(--mint); font-variant-numeric: tabular-nums; }
.tray.is-hot { transform: scale(1.04); box-shadow: 0 0 0 3px var(--mint), 0 24px 50px -20px rgba(15, 118, 110, .7); }
.tray.bump { animation: trayBump .5s var(--ease); }
@keyframes trayBump { 40% { transform: scale(1.06); } }
.lane__again { display: block; margin: 14px 0 0 auto; min-height: 44px; padding: 0 6px; font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.lane__again:hover { color: var(--text); }
.lane__again[hidden] { display: block; visibility: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Motion (JS adds .is-armed, then .is-live as the album scrolls in, then .is-crept). */
.album.is-armed .pol { opacity: 0; translate: 0 -70px; rotate: calc(var(--r) - 16deg); scale: 1.12; }
.album.is-live .pol--mem { opacity: 1; translate: var(--dx, 0px) var(--dy, 0px); rotate: var(--r); scale: 1; transition: rotate 1s var(--ease) var(--d, 0s), translate 1s var(--ease) var(--d, 0s), scale 1s var(--ease) var(--d, 0s), opacity .5s var(--d, 0s), box-shadow .45s; }
.album.is-crept .pol--admin { opacity: 1; translate: var(--dx, 0px) var(--dy, 0px); rotate: var(--r); scale: 1; transition: rotate .7s cubic-bezier(.3, 1.4, .5, 1) var(--d, 0s), translate .7s cubic-bezier(.3, 1.4, .5, 1) var(--d, 0s), scale .7s cubic-bezier(.3, 1.4, .5, 1) var(--d, 0s), opacity .3s var(--d, 0s), box-shadow .45s; }
.album .pol--mem.is-out { opacity: 0; translate: 0 26px; rotate: calc(var(--r) + 8deg); scale: .96; transition: all .28s ease-in; }
.album .pol--admin.is-handed { opacity: 0; translate: var(--fx) var(--fy); rotate: 28deg; scale: .16; pointer-events: none; transition: translate .75s cubic-bezier(.5, 0, .3, 1), scale .75s cubic-bezier(.5, 0, .3, 1), rotate .75s, opacity .3s .5s; }
.album .pol--admin.is-gone { visibility: hidden; }
.album.is-clear .pol--mem { transition: top 1.1s var(--ease), rotate .45s var(--ease), scale .45s var(--ease), translate .45s var(--ease), box-shadow .45s; }
.album.is-clear .pol[data-slot="m1"] { --y: 15%; }
.album.is-clear .pol[data-slot="m2"] { --y: 10%; }
.album.is-clear .pol[data-slot="m3"] { --y: 18%; }
.album.is-clear .pol--mem .pol__photo img { filter: brightness(var(--b, 1)) saturate(1.14); }

/* ── Team ─────────────────────────────────────────── */
.team { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.team::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; background: radial-gradient(closest-side, rgba(94, 234, 212, .16), transparent); pointer-events: none; }
.team__stage { display: grid; gap: 28px; justify-items: stretch; }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 680px; margin: 0 auto; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); }
.orbit__ring--1 { inset: 33%; border-color: rgba(94, 234, 212, .4); }
.orbit__ring--2 { inset: 23%; border-color: rgba(165, 180, 252, .32); }
.orbit__ring--3 { inset: 13.5%; border-color: rgba(253, 186, 116, .3); }
.orbit__ring--4 { inset: 4.5%; border-color: rgba(255, 255, 255, .2); }
.orbit__core { position: absolute; inset: 40%; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: clamp(1.1rem, 2.6vw, 1.7rem); font-style: normal; color: var(--ink); background: radial-gradient(circle at 30% 30%, var(--mint-2), var(--mint) 55%, #14b8a6); box-shadow: 0 0 0 10px rgba(94, 234, 212, .08), 0 0 70px rgba(94, 234, 212, .4); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 18px rgba(94, 234, 212, .05), 0 0 100px rgba(94, 234, 212, .5); } }
.orbit__spin { position: absolute; inset: 0; animation: spin 120s linear infinite; }
.orbit__spin span { position: absolute; left: calc(50% + var(--r) * sin(var(--a))); top: calc(50% - var(--r) * cos(var(--a))); translate: -50% -50%; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .16); color: var(--paper); white-space: nowrap; animation: counter 120s linear infinite; }
.orbit__spin .o-starter { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.orbit__spin .o-business { background: #232b4a; border-color: rgba(165, 180, 252, .55); color: #dfe3ff; }
.orbit__spin .o-ops { background: #3a2a1a; border-color: rgba(253, 186, 116, .55); color: #ffe6cc; }
.orbit__spin .o-addon { background: var(--ink-2); border-style: dashed; border-color: rgba(255, 255, 255, .4); }
.orbit__spin .o-soon { opacity: .6; }
.orbit__key { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: .86rem; color: var(--muted-light); }
.orbit__key li { display: inline-flex; align-items: center; gap: 8px; }
.orbit__key i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); }
.orbit__key .k-starter { background: var(--mint); border-color: var(--mint); }
.orbit__key .k-business { background: #232b4a; border-color: rgba(165, 180, 252, .8); }
.orbit__key .k-ops { background: #3a2a1a; border-color: rgba(253, 186, 116, .8); }
.orbit__key .k-addon { border-style: dashed; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes counter { to { rotate: -360deg; } }

.roster { display: grid; gap: 14px; grid-auto-rows: 1fr; }
.roster--core { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.roster--addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roster__divider { display: flex; align-items: center; gap: 18px; margin: 14px 0 -2px; color: var(--muted-light); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.roster__divider::before, .roster__divider::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }
.card-h { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-sm); padding: 20px; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.card-h:hover { border-color: rgba(94, 234, 212, .45); transform: translateY(-3px); background: var(--ink-3); }
.card-h__top { display: flex; align-items: center; gap: 12px; }
.card-h h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.15; }
.card-h p { font-size: .93rem; color: var(--muted-light); line-height: 1.55; }
.card-h--soon { opacity: .6; }
.tag { grid-column: 2; justify-self: start; }
.card-h h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; flex: 1; }
.card-h p { font-size: .93rem; color: var(--muted-light); line-height: 1.55; }
.card-h--soon { opacity: .6; }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--muted-light); white-space: nowrap; }
.tag--add { background: rgba(94, 234, 212, .14); color: var(--mint); }
.tag--soon { background: rgba(245, 158, 11, .14); color: #fbbf24; }
.av { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: .95rem; color: var(--ink); }
.av--sm { width: 30px; height: 30px; border-radius: 9px; font-size: .8rem; }
.av .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.av--sm .i { width: 16px; height: 16px; }
.av--nova { background: var(--mint); }
.av--email { background: #fcd34d; }
.av--bookings { background: #a5b4fc; }
.av--opps { background: #bef264; }
.av--reviews { background: #fda4af; }
.av--social { background: #f0abfc; }
.av--training { background: #fdba74; }
.av--compliance { background: #93c5fd; }
.av--chat { background: #67e8f9; }
.av--phone { background: #d6d3d1; }
.av--website { background: #c4b5fd; }
.av--receipt { background: #fcd34d; }

/* ── Morning deck ─────────────────────────────────── */
.morning { padding: clamp(56px, 7vw, 96px) 0; background: var(--cream); }
.morning__wide { max-width: 1640px; }
.morning__head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.morning__head .lede { margin-inline: auto; }
.morning__hint { justify-content: center; }
.morning__panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.mpanel { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mpanel__label { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.mpanel__label b { color: var(--text); font-size: 1rem; }
.mpanel__label span:last-child { margin-left: auto; font-size: .82rem; }
.mpanel > .deck, .mpanel > .app { flex: 1; }
.morning__hint { margin-top: 22px; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.kbd { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--mint); padding: 4px 9px; border-radius: 6px; }
.deck { position: relative; background: var(--paper); border-radius: 28px; padding: 18px; box-shadow: 0 50px 100px -40px rgba(12, 19, 17, .45), 0 0 0 1px rgba(12, 19, 17, .06); min-height: 470px; }
.deck__bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 16px; font-weight: 600; }
.deck__count { min-width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--mint); font-size: .9rem; font-variant-numeric: tabular-nums; transition: transform .3s var(--ease); }
.deck__count.bump { transform: scale(1.25); }
.tap { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 12px; transition: transform .55s var(--ease), opacity .45s, max-height .5s var(--ease) .15s, margin .5s var(--ease) .15s, padding .5s var(--ease) .15s; max-height: 320px; overflow: hidden; }
.tap header { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.tap header b { color: var(--text); }
.tap__body { font-size: .98rem; line-height: 1.55; border-radius: 10px; padding: 2px 4px; margin: 0 -4px 14px; transition: background .2s, box-shadow .2s; }
.tap__body[contenteditable="true"] { background: #f0fdfa; box-shadow: 0 0 0 2px var(--mint); outline: none; }
.tap footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tap.is-gone { transform: translateX(110%) rotate(6deg); opacity: 0; max-height: 0; margin: 0; padding-block: 0; border-width: 0; }
.tap.is-skip { transform: translateX(-110%) rotate(-6deg); opacity: 0; max-height: 0; margin: 0; padding-block: 0; border-width: 0; }
.tap .sent { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 600; font-size: .9rem; }
.deck__done { text-align: center; padding: 70px 20px; animation: rise .7s var(--ease) both; }
.deck__done-big { font-family: var(--serif); font-size: 3.2rem; font-style: normal; color: var(--teal); line-height: 1; margin-bottom: 10px; }
.deck__done p:not(.deck__done-big) { color: var(--muted); margin-bottom: 26px; }


/* Interactive app demos: mirror the real dashboard (same tokens, structure and wording). */
.app { --a-bg: #fff; --a-canvas: #f6f2ea; --a-border: #ece5d8; --a-light: #f0ebe1; --a-strong: #e0d7c7; --a-fg: #1f2a37; --a-dim: #5b6573; --a-muted: #97a1ad; --a-primary: #0d9488; --a-primary-dark: #0f766e; --a-soft: #e6f4f1; --a-alert: #ef4444; --a-ok: #0f9d6b;
  background: var(--a-canvas); color: var(--a-fg); border-radius: 28px; padding: 16px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; line-height: 1.45; box-shadow: 0 50px 100px -40px rgba(12, 19, 17, .45), 0 0 0 1px rgba(12, 19, 17, .06); min-width: 0; }
.app .i { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app h3, .app h4 { font-family: var(--sans); letter-spacing: -.01em; }
.app__head { display: flex; align-items: flex-start; gap: 10px; }
.app__head h3 { font-size: 17px; font-weight: 700; margin-bottom: 1px; }
.app__head p { color: var(--a-dim); font-size: 12.5px; }
.app__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.app__ico .i { width: 18px; height: 18px; }
.app__ico--violet { background: #8b5cf626; color: #8b5cf6; }
.app__ico--amber { background: #f59e0b26; color: #d97706; }
.app .card { background: var(--a-bg); border: 1px solid var(--a-border); border-radius: 16px; box-shadow: 0 1px 3px rgba(31, 41, 55, .06); min-width: 0; }
.app .abtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 12px; font-size: 12.5px; font-weight: 600; background: var(--a-bg); border: 1.5px solid var(--a-strong); color: var(--a-fg); transition: opacity .2s, transform .15s; }
.app .abtn:active { transform: scale(.97); }
.app .abtn--primary { background: var(--a-primary); border-color: var(--a-primary); color: #fff; }
.app .abtn--primary:disabled { opacity: .5; cursor: not-allowed; }
.app .abtn--sm { min-height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12px; }
.app .abtn--icon { width: 40px; padding: 0; flex: none; }
.app .lnk { font-size: 12px; font-weight: 600; min-height: 28px; padding: 0 2px; }
.app .lnk--alert { color: var(--a-alert); }
.app :focus-visible { outline-color: var(--a-primary); box-shadow: none; }
.wd__bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--a-light); }
.wd__publish { margin-left: auto; }
.fld { display: flex; flex-direction: column; gap: 3px; }
.fld > span { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #97a1ad; }
.fld select { background: #fff; border: 1.5px solid var(--a-strong); border-radius: 10px; padding: 6px 8px; font: inherit; font-size: 12.5px; color: var(--a-fg); }
.seg { display: flex; border-radius: 12px; padding: 2px; background: var(--a-canvas); }
.seg button { display: flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 9px; font-size: 12.5px; color: var(--a-dim); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--a-fg); box-shadow: 0 1px 2px rgba(31, 41, 55, .08); }
.app [hidden] { display: none !important; }
.wd__confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; background: var(--a-soft); font-size: 12.5px; }
.wd__confirm span { flex: 1 1 100%; font-weight: 600; }
.wd__msg { padding: 8px 12px; font-size: 12.5px; color: var(--a-primary-dark); font-weight: 600; }
.wd__stage { padding: 10px; background: var(--a-canvas); border-radius: 0 0 16px 16px; display: flex; justify-content: center; }
.site { width: 100%; max-width: 100%; background: #fff; border-radius: 10px; border: 1px solid var(--a-strong); overflow: hidden; transition: width .35s var(--ease); --sa: #0d9488; --sb: #e6f4f1; font-size: 11px; color: #222; }
.site[data-device="mobile"] { width: 168px; }
.site[data-accent="warm"] { --sa: #c8502a; --sb: #fbeae3; }
.site__nav { display: flex; gap: 12px; align-items: center; padding: 8px 12px; border-bottom: 1px solid #eee; }
.site__nav b { margin-right: auto; font-family: var(--serif); font-size: 13px; }
.site__nav span { color: #777; }
.site__hero { padding: 18px 14px 16px; background: var(--sb); display: grid; gap: 8px; justify-items: start; transition: background .3s; }
.site__hero h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.2; }
.site__hero p { color: #555; }
.site__btn { background: var(--sa); color: #fff; font-weight: 600; padding: 6px 12px; border-radius: 999px; transition: background .3s; }
.site__hours { padding: 8px 14px 10px; font-size: 11px; color: #444; }
.site__hours b { display: block; color: #111; }
.site[data-device="mobile"] .site__nav span { display: none; }
.site[data-device="mobile"] .site__hero h4 { font-size: 15px; }
.wd__chat header { padding: 10px 12px; border-bottom: 1px solid var(--a-light); }
.wd__chat header h3 { font-size: 14px; font-weight: 700; }
.wd__chat header p { font-size: 11.5px; color: var(--a-dim); }
.wd__log { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; max-height: 190px; overflow-y: auto; }
.bub { border-radius: 16px; padding: 7px 11px; max-width: 90%; font-size: 12.5px; }
.bub--ai { background: var(--a-canvas); border: 1px solid var(--a-light); align-self: flex-start; }
.bub--me { background: var(--a-soft); align-self: flex-end; }
.ver { font-family: ui-monospace, monospace; font-size: 11px; color: var(--a-muted); align-self: flex-start; }
.wd__try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 12px 8px; font-size: 11.5px; color: var(--a-muted); }
.wd__try button { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--a-strong); font-size: 11.5px; font-weight: 600; color: var(--a-primary-dark); background: #fff; }
.wd__try button:hover { background: var(--a-soft); }
.wd__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--a-light); }
.wd__form textarea { flex: 1; min-width: 0; resize: none; background: #fff; border: 1.5px solid var(--a-strong); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 12.5px; color: var(--a-fg); }
/* Get Paid */
.cc__sum { padding: 14px 16px; }
.cc__owed { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.cc__owed strong { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cc__owed span { color: var(--a-dim); font-size: 13px; }
.cc__owed em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--a-muted); }
.cc__buckets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; text-align: center; }
.cc__buckets b { display: block; font-size: 13px; font-variant-numeric: tabular-nums; }
.cc__buckets span { font-size: 10px; color: var(--a-dim); }
.cc__sec { display: flex; flex-direction: column; gap: 6px; }
.cc__sec h4 { font-size: 13.5px; font-weight: 700; }
.cc__conn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cc__conn > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border: 1px solid var(--a-border); background: #fff; border-radius: 12px; padding: 8px 10px; }
.cc__conn > div > span { font-weight: 600; font-size: 12.5px; }
.cc__conn .is-on { color: var(--a-ok); font-weight: 600; font-size: 12px; min-height: 28px; display: inline-flex; align-items: center; }
.cc__note { font-size: 12px; color: var(--a-dim); }
.cc__soon > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--a-border); background: #fff; border-radius: 12px; padding: 8px 12px; }
.cc__soon p { min-width: 0; }
.cc__soon b { display: block; font-size: 12.5px; }
.cc__soon span { display: block; font-size: 11.5px; color: var(--a-dim); overflow-wrap: anywhere; }
.cc__list { display: flex; flex-direction: column; border: 1px solid var(--a-border); border-radius: 12px; background: #fff; overflow: hidden; }
.inv { padding: 9px 12px; display: grid; gap: 4px; border-top: 1px solid var(--a-light); transition: opacity .3s, transform .3s; }
.inv:first-child { border-top: 0; }
.inv.is-out { opacity: 0; transform: translateX(30px); }
.inv__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.inv__who { min-width: 0; }
.inv__who b { display: block; font-weight: 600; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv__who span { font-size: 11px; color: var(--a-dim); }
.inv__who code { font-family: ui-monospace, monospace; font-size: 11px; }
.inv__amt { font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pill { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pill--proposed { background: rgba(217, 119, 6, .12); color: #b45309; }
.pill--approved { background: #e6f7f0; color: #0f9d6b; }
.pill--paused { background: var(--a-canvas); color: var(--a-muted); }
.pill--disputed { background: rgba(248, 113, 113, .12); color: var(--a-alert); }
.inv__acts { display: flex; gap: 12px; }
.inv__acts .lnk { min-height: 24px; }
.cc__empty { font-size: 12.5px; color: var(--a-dim); }
.cc__list:empty { display: none; }

/* ── Street (showcase) ────────────────────────────── */
/* Carousel: the rail is exactly the content column wide, so the first card sits
   on the left content edge and three (two on tablet, one on phone) fill it evenly. */
.street { padding: 0 0 clamp(56px, 7vw, 96px); }
.street__head { display: flex; justify-content: center; text-align: center; gap: 20px; margin-bottom: 40px; }
.street__rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; padding: 4px 0 8px; scrollbar-width: none; cursor: grab; }
.street__rail::-webkit-scrollbar { display: none; }
.street__rail:focus-visible { outline-offset: -3px; border-radius: 0; }
.street__rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.shop { scroll-snap-align: start; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); user-select: none; }
.shop img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.shop:hover img { transform: scale(1.06); }
/* Fixed-height caption block so every title sits on the same line. */
.shop figcaption { position: absolute; inset: auto 0 0 0; height: 13.4em; padding: 4.2em 22px 20px; color: #fff; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; font-size: 1rem;
  background: linear-gradient(to top, rgba(12, 19, 17, .94) 0%, rgba(12, 19, 17, .82) 55%, rgba(12, 19, 17, 0) 100%); }
.shop figcaption b { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.shop figcaption span { font-size: .92rem; color: rgba(255, 255, 255, .84); line-height: 1.45; }
.street__foot { display: flex; align-items: center; gap: 24px; margin-top: 26px; }
.street__progress { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.street__progress span { position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: 3px; background: var(--text); transition: transform .2s linear; }
.street__nav { display: flex; gap: 10px; flex: none; }
.round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--text); font-size: 1.2rem; transition: background .2s, color .2s, opacity .2s, border-color .2s; }
.round:hover:not(:disabled) { background: var(--text); color: var(--paper); }
.round:disabled { opacity: .3; cursor: default; }

/* ── Trust ────────────────────────────────────────── */
.trust { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); overflow: hidden; }
.rule { background: var(--ink); padding: 34px 30px; transition: background .3s; }
.rule:hover { background: var(--ink-2); }
.rule__i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(94, 234, 212, .12); color: var(--mint); font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.rule h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin-bottom: 8px; }
.rule p { color: var(--muted-light); font-size: .96rem; }

/* ── Pricing ──────────────────────────────────────── */
.pricing { padding: clamp(56px, 7vw, 96px) 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(12, 19, 17, .3); }
.plan h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
.plan__for { color: var(--muted); font-size: .94rem; margin-top: 4px; }
.plan__price { font-family: var(--serif); font-size: clamp(2.6rem, 3.4vw, 3.6rem); white-space: nowrap; font-weight: 400; letter-spacing: -.03em; margin: 26px 0 22px; line-height: 1; }
.plan__price .cur { font-size: .5em; vertical-align: .6em; margin-right: 2px; }
.plan__price small.vat, .addon__price small.vat { margin-left: 4px; }
.plan__price small { font-family: var(--sans); font-size: .95rem; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan ul { display: grid; gap: 12px; align-content: start; margin-bottom: 30px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .97rem; }
.plan li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; flex: none; border-radius: 50%; background: #ccfbf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.5L13 6.3' fill='none' stroke='%230f766e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan--hero { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 40px 80px -30px rgba(12, 19, 17, .6); }
.plan--hero .plan__for, .plan--hero .plan__price small { color: var(--muted-light); }
.price__was { font-family: var(--sans); font-size: .32em; letter-spacing: 0; color: var(--muted); vertical-align: .9em; margin-right: 8px; text-decoration-thickness: 1.5px; }
.addon__price .price__was { font-size: .6em; vertical-align: .15em; margin-right: 4px; }
.plan--hero .price__was { color: var(--muted-light); }
.price__promo { display: block; white-space: normal; font-family: var(--sans); font-style: normal; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-top: 10px; }
.plan--hero .price__promo { color: var(--lime); }
.plan--hero li::before { background-color: rgba(94, 234, 212, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.5L13 6.3' fill='none' stroke='%235eead4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__flag { position: absolute; top: -13px; left: 30px; background: var(--lime); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan__cta { min-height: 88px; }
.plan__start-now { display: block; text-align: center; margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.plan__start-now:hover { color: var(--text); }
.plan--hero .plan__start-now { color: var(--muted-light); }
.plan--hero .plan__start-now:hover { color: #fff; }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.pricing__usage { margin-top: 20px; font-size: .92rem; color: var(--muted); text-align: center; }
.addon { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--r); border: 1.5px dashed var(--line); background: var(--cream); }
.addon div { flex: 1; display: grid; }
.addon div span { font-size: .86rem; color: var(--muted); }
.addon__price { font-family: var(--serif); font-size: 1.6rem; }
.addon__price small { font-family: var(--sans); font-size: .82rem; color: var(--muted); }
.addon--soon { opacity: .65; }

/* Server-rendered price variants: the section's data-vat / data-interval
   (set by site.js, default ex VAT / monthly) pick which one shows. Without
   JavaScript the defaults apply, so prices are always readable. */
.pricing .pv { display: none; }
.pricing[data-vat="ex"][data-interval="month"] .pv--ex-month,
.pricing[data-vat="inc"][data-interval="month"] .pv--inc-month,
.pricing[data-vat="ex"][data-interval="year"] .pv--ex-year,
.pricing[data-vat="inc"][data-interval="year"] .pv--inc-year { display: inline; }
.plan__allow { font-size: .93rem; color: var(--muted); margin: -4px 0 20px; line-height: 1.5; }
.plan__allow strong { color: var(--text); font-weight: 700; }
.plan--hero .plan__allow { color: var(--muted-light); }
.plan--hero .plan__allow strong { color: #fff; }
.pricing__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin: 0 0 32px; }
.pricing__controls[hidden] { display: none; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.seg button { font: inherit; font-size: .92rem; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button em { font-style: normal; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-left: 6px; }
.seg button[aria-pressed="true"] em { color: var(--lime); }
.seg button:focus-visible, .vatsw:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.vatsw { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: .92rem; font-weight: 600; color: var(--text); background: none; border: 0; padding: 6px 2px; cursor: pointer; }
.vatsw__track { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #cbd5d1; transition: background .2s; }
.vatsw__track i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.vatsw[aria-checked="true"] .vatsw__track { background: var(--teal); }
.vatsw[aria-checked="true"] .vatsw__track i { transform: translateX(18px); }
@media (prefers-reduced-motion: reduce) { .vatsw__track, .vatsw__track i { transition: none; } }

/* ── About ────────────────────────────────────────── */
.about { padding: 0 0 clamp(56px, 7vw, 96px); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 6; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__copy p { color: var(--muted); font-size: 1.08rem; margin-top: 20px; max-width: 56ch; }
.about__copy .h2 { margin-bottom: 8px; }
.about__sign { font-family: var(--serif); font-style: normal; color: var(--text) !important; font-size: 1.15rem !important; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 28px !important; }

/* ── FAQ ──────────────────────────────────────────── */
.faq { padding: clamp(56px, 7vw, 96px) 0; background: var(--cream); }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
.qa details { border-top: 1px solid var(--line); }
.qa details:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; min-height: 56px; font-size: clamp(1rem, 1.4vw, 1.14rem); font-weight: 600; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--text); font-weight: 400; font-size: 1.3rem; transition: transform .3s var(--ease), background .3s, color .3s; }
.qa details[open] summary::after { transform: rotate(45deg); background: var(--text); color: var(--paper); }
.qa details p { color: var(--muted); padding: 0 20px 24px 0; font-size: 1.02rem; }

/* ── Final ────────────────────────────────────────── */
.final { position: relative; background: var(--ink); color: #fff; text-align: center; padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg at 50% 50%, rgba(94, 234, 212, .0), rgba(94, 234, 212, .22), rgba(190, 242, 100, .12), rgba(94, 234, 212, 0) 60%); animation: spin 28s linear infinite; filter: blur(40px); }
.final__inner { display: grid; justify-items: center; gap: 26px; }
.display--final { font-size: clamp(2.6rem, 7vw, 6rem); text-wrap: balance; }
.display--final em { color: var(--mint); }
.final p { color: rgba(255, 255, 255, .72); font-size: 1.15rem; }

/* ── Footer ───────────────────────────────────────── */
.foot { background: var(--ink); color: var(--muted-light); border-top: 1px solid rgba(255, 255, 255, .08); padding: 64px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: .93rem; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav a:hover { color: #fff; }
.logo--foot { display: inline-block; margin-bottom: 10px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }

/* ── Mobile dock ──────────────────────────────────── */
.dock { display: none; }

/* ── Reveal ───────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1100px) {
  .lane__copy { max-width: 640px; width: 100%; margin-inline: auto; }
  .lane__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "album" "end"; }
  .album { width: 100%; max-width: 640px; margin: 48px auto 0; }
  .lane__end { max-width: 640px; width: 100%; margin-inline: auto; }
}
@media (max-width: 1180px) {
  .morning__panels { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .night { max-width: 520px; }
  .roster--core { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .qa { grid-template-columns: 1fr; }
  .qa details:nth-last-child(-n+2) { border-bottom: 0; }
  .qa details:last-child { border-bottom: 1px solid var(--line); }
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__inner { gap: 12px; }
  .nav__cta { gap: 4px; }
  .nav__cta .link-quiet { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; white-space: nowrap; }
  .shift__grid, .morning__grid, .about__grid { grid-template-columns: 1fr; }
  .shift__media { aspect-ratio: 4 / 3; }
  .about__media { aspect-ratio: 16 / 10; order: 2; }
  .plans { grid-template-columns: 1fr; }
  .plan__cta { min-height: 0; }
  .plan--hero { order: -1; }
  .addons { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .street__rail { grid-auto-columns: calc((100% - 14px) / 2); gap: 14px; }
  .round { width: 46px; height: 46px; }
  .dock { display: block; position: fixed; inset: auto 0 0 0; z-index: 40; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(12, 19, 17, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, .08); transform: translateY(110%); transition: transform .4s var(--ease); }
  .dock.show { transform: none; }
  .dock .btn { min-height: 52px; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  .nav__cta .link-quiet { padding: 0 6px; }
  .street__rail { grid-auto-columns: 100%; }
  .album { margin-top: 40px; }
  .album__table { aspect-ratio: 10 / 15.6; }
  .pol { --w: 47%; }
  .pol[data-slot="m1"] { --x: 0%; --y: 1.5%; --r: -5deg; }
  .pol[data-slot="m2"] { --x: 52%; --y: 0%; --r: 4deg; }
  .pol[data-slot="m3"] { --x: 22%; --y: 24%; --r: -2deg; z-index: 3; }
  .pol[data-slot="a1"] { --x: 0%; --y: 48%; --r: -4deg; }
  .pol[data-slot="a2"] { --x: 53%; --y: 53%; --r: 4deg; }
  .pol figcaption, .pol__cap { min-height: 54px; padding: 7px 0 9px; }
  .pol__note { font-size: 1rem; }
  .pol__when { font-size: .58rem; }
  .pol__stamp { font-size: .6rem; }
  .pol::before { height: 18px; top: -9px; }
  .inbox, .todo { font-size: .6rem; inset: 7%; }
  .inbox__list li { padding: 3px 0 3px 10px; }
  .todo { background: repeating-linear-gradient(#f4f3ef 0 17px, #d9d7d0 17px 18px); }
  .todo__h { font-size: .95rem; }
  .todo__list li { font-size: .82rem; line-height: 18px; }
  .pol__give, .pol[data-slot="a1"] .pol__give { left: 50%; right: auto; translate: -50% 0; bottom: -26px; font-size: .78rem; gap: 5px; padding: 0 12px 0 9px; }
  .pol--admin .pol__cap { padding-bottom: 22px; }
  .tray__text { font-size: .84rem; }
  .album__note--crept { top: auto; bottom: -1%; right: auto; left: 0; width: auto; text-align: left; rotate: -3deg; font-size: 1.05rem; }
  .album__note--crept .album__arrow { display: none; }
  .album__note--back { bottom: 0; }
  .album.is-clear .pol[data-slot="m1"] { --y: 2%; }
  .album.is-clear .pol[data-slot="m2"] { --y: 5%; }
  .album.is-clear .pol[data-slot="m3"] { --y: 47%; }
  .tray { width: 100%; margin-top: 30px; }
  .lane__end { margin-top: 36px; }
  .lane__end .btn { width: 100%; white-space: normal; text-align: center; }
}
@media (max-width: 560px) {
  .trades { padding: 14px 12px; }
  .trades__list { gap: 6px; }
  .trades__list li { font-size: .8rem; padding: 5px 9px; border-radius: 8px; }
  .roster { grid-auto-rows: auto; }
  .roster--core, .roster--addons { grid-template-columns: 1fr; }
  .orbit { max-width: 100%; }
  .orbit__spin span { font-size: .64rem; padding: 3px 7px; }
  .orbit__core { font-size: 1rem; }
  .hero { padding: 100px 0 80px; align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .rules { grid-template-columns: 1fr; }
  .night__log li { font-size: .88rem; }
  .qa details p { padding-right: 0; }
  .cc__conn { grid-template-columns: 1fr; }
  .cc__conn > div { flex-direction: row; align-items: center; justify-content: space-between; }
  .deck { padding: 12px; border-radius: 22px; }
  .tap footer .btn--ink { flex: 1 1 100%; }
  .tap footer .btn--line { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__bg img { transform: none; }
  .lane__turn-b::after { transition: none; }
}
/* Phones under ~420px: header fits logo + Sign in + Start free inside the
   gutters, and the hero buttons fill the row and may wrap, so their nowrap
   width can't push the copy column past the side gutter (UAT4, 320px). */
@media (max-width: 420px) {
  .nav__inner { gap: 8px; }
  .nav .logo { font-size: 1.4rem; }
  .nav__cta .btn--sm { padding-inline: 14px; }
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; padding-inline: 20px; }
}
