/* FleekApps — site styles
   Cream canvas, ink type, plum + lavender color blocks, lime/sun/sky accents. */

:root {
  --cream: #F0EFE6;
  --paper: #F8F7F1;
  --white: #FFFFFF;
  --ink: #13160F;
  --ink-2: #2A2D25;
  --muted: #5E6157;
  --line: rgba(19, 22, 15, .14);
  --plum: #4B2F63;
  --lavender: #A07EEA;
  --lilac: #DCD0F7;
  --lime: #A6E27F;
  --sun: #FFCB45;
  --sky: #A3D4F2;
  --pink: #F5BCD9;
  --coral: #F9A37E;
  --ok: #2E7D1A;

  --font: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 3.2vw, 48px);
  --radius: clamp(18px, 2vw, 28px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--cream); scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .7s var(--ease);
  overflow-x: clip;
}
.js body[data-bg="lavender"] { background: var(--lavender); }
.js body[data-bg="plum"] { background: var(--plum); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 16px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display-xl, .display-l, .display-m, .statement__text, .foot-cta__title {
  font-weight: 500; letter-spacing: -.045em; line-height: .94; text-wrap: balance;
}
.display-xl { font-size: clamp(3.4rem, 11.2vw, 12.5rem); }
.display-l { font-size: clamp(2.8rem, 7.6vw, 8.5rem); line-height: .96; }
.display-m { font-size: clamp(2.1rem, 4.6vw, 5rem); line-height: 1; letter-spacing: -.04em; }
.lead { font-size: clamp(1.125rem, 1.45vw, 1.45rem); line-height: 1.45; letter-spacing: -.01em; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .875rem; font-weight: 500; letter-spacing: -.005em; color: var(--muted); margin-bottom: 1.1rem; }
.eyebrow .dot { width: .55em; height: .55em; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(166, 226, 127, .25); }
.prose p + p { margin-top: 1em; }
.prose .lead { margin-bottom: 1.25em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .95em 1.55em; border-radius: 999px;
  font-weight: 500; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--plum); }
.btn--ghost { border-color: rgba(19, 22, 15, .25); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--lime); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: inherit; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); }
.btn--sm { padding: .75em 1.15em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 500; text-decoration: none; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, color .2s; }
.round-btn:hover { background: var(--ink); color: var(--cream); }

/* ---------- Tones ---------- */
.tone-plum, .tone-violet { background: var(--plum); color: #fff; }
.tone-lavender { background: var(--lavender); color: #fff; }
.tone-lilac { background: var(--lilac); color: var(--ink); }
.tone-lime { background: var(--lime); color: var(--ink); }
.tone-sun { background: var(--sun); color: var(--ink); }
.tone-sky { background: var(--sky); color: var(--ink); }
.tone-pink { background: var(--pink); color: var(--ink); }
.tone-coral { background: var(--coral); color: var(--ink); }
.tone-ink { background: var(--ink); color: var(--cream); }
.tone-violet-soft { background: var(--lilac); }
.tone-lime-soft { background: #E2F5D5; }
.tone-sun-soft { background: #FFEFC2; }
.tone-sky-soft { background: #DCEFFA; }
.tone-pink-soft { background: #FBE0EE; }
.tone-coral-soft { background: #FDE3D6; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 40; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.logo__mark { width: 26px; height: 26px; color: var(--ink); --mark-dot: var(--lime); }
.logo__word { font-weight: 600; font-size: 1.3rem; letter-spacing: -.045em; }
.site-header__brand { text-decoration: none; }
.site-header__cta { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 500; font-size: .9375rem; }
.site-header__mark { width: 38px; height: 38px; color: var(--lime); --mark-dot: var(--ink); transition: transform .5s var(--ease); }
.site-header__cta:hover .site-header__mark { transform: rotate(-12deg) scale(1.08); }
.site-header__cta-label { opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s var(--ease); }
.site-header__cta:hover .site-header__cta-label, .site-header__cta:focus-visible .site-header__cta-label { opacity: 1; transform: none; }

.pillnav { position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%); padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(19, 22, 15, .04), 0 8px 30px -12px rgba(19, 22, 15, .25); }
.pillnav ul { display: flex; position: relative; }
.pillnav > ul > li > a { position: relative; z-index: 1; display: block; padding: .62rem 1.05rem; border-radius: 999px; font-size: .9375rem; font-weight: 500; text-decoration: none; letter-spacing: -.01em; transition: color .3s; }
.pillnav > ul > li > a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.pillnav__ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--ink); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .2s; }
.js .pillnav.is-ready > ul > li > a[aria-current="page"] { background: none; color: inherit; }
.js .pillnav.is-ready .pillnav__ind { opacity: 1; }
.js .pillnav.is-ready > ul > li > a.is-ind { color: var(--cream); }

.menu-btn { display: none; position: fixed; z-index: 60; top: 14px; right: var(--gutter); align-items: center; gap: .6rem; padding: .7rem 1.05rem; border-radius: 999px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-weight: 500; font-size: .9375rem; box-shadow: 0 8px 30px -12px rgba(19, 22, 15, .25); }
.menu-btn__bars { display: grid; gap: 4px; width: 16px; }
.menu-btn__bars i { display: block; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--cream); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: translateY(2.8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { transform: translateY(-2.8px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--cream); padding: 96px var(--gutter) 32px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__main a { display: block; font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; text-decoration: none; padding: .1em 0; }
.mobile-menu__main a[aria-current="page"]::after { content: ''; display: inline-block; width: .22em; height: .22em; margin-left: .2em; border-radius: 50%; background: var(--lime); vertical-align: middle; }
.mobile-menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2.2rem 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.mobile-menu__cols .eyebrow { margin-bottom: .6rem; }
.mobile-menu__cols li + li { margin-top: .4rem; }
.mobile-menu__cols a { text-decoration: none; font-size: .975rem; }
.menu-open { overflow: hidden; }
.mobile-menu.is-open .mobile-menu__main li { animation: rise-in .6s var(--ease) both; }
.mobile-menu.is-open .mobile-menu__main li:nth-child(2) { animation-delay: .04s; }
.mobile-menu.is-open .mobile-menu__main li:nth-child(3) { animation-delay: .08s; }
.mobile-menu.is-open .mobile-menu__main li:nth-child(4) { animation-delay: .12s; }
.mobile-menu.is-open .mobile-menu__main li:nth-child(5) { animation-delay: .16s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } }

@media (max-width: 860px) {
  .pillnav, .site-header__cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(150px, 26vh, 300px); padding-bottom: clamp(56px, 10vh, 120px); }
.hero__title { font-size: clamp(2.4rem, 12vw, 14rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.07; font-kerning: normal; }
.hero__line { display: block; white-space: nowrap; padding-bottom: .16em; margin-bottom: -.16em; }
.js .hero__line {
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: line-reveal 1.3s cubic-bezier(.45, .05, .25, 1) forwards; animation-delay: calc(var(--n) * .45s + .15s);
}
@keyframes line-reveal { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* ---------- Showreel ---------- */
.reel { --p: 0; position: relative; }
.reel__frame {
  position: relative; height: min(100svh, 920px); min-height: 520px; background: var(--plum); color: #fff; overflow: hidden;
  clip-path: inset(0 calc(var(--gutter) * (1 - var(--p))) round calc(var(--radius) * (1 - var(--p)) + 0.01px));
}
.reel__scene { position: absolute; inset: 0; --mx: 0; --my: 0; }
.reel__grid { position: absolute; inset: -2px; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 75%); }
.reel__mark { position: absolute; left: 50%; top: 50%; width: clamp(150px, 24vw, 330px); translate: calc(-50% + var(--mx) * -10px) calc(-50% + var(--my) * -10px); }
.reel__svg { width: 100%; height: auto; color: #fff; --mark-dot: var(--lime); overflow: visible; }
.reel__svg rect, .reel__svg circle { transform-box: fill-box; transform-origin: center; }
.reel__svg rect:nth-of-type(1) { animation: bar-v 6s var(--ease) infinite; }
.reel__svg rect:nth-of-type(2) { animation: bar-h 6s var(--ease) infinite; transform-origin: left center; }
.reel__svg rect:nth-of-type(3) { animation: bar-h2 6s var(--ease) infinite; transform-origin: left center; }
.reel__svg circle { animation: dot 6s var(--ease) infinite; }
@keyframes bar-v { 0%, 6% { transform: scaleY(.15); opacity: 0; } 16%, 88% { transform: none; opacity: 1; } 100% { transform: scaleY(.15); opacity: 0; } }
@keyframes bar-h { 0%, 12% { transform: scaleX(0); } 24%, 86% { transform: none; } 98%, 100% { transform: scaleX(0); } }
@keyframes bar-h2 { 0%, 18% { transform: scaleX(0); } 30%, 84% { transform: none; } 96%, 100% { transform: scaleX(0); } }
@keyframes dot { 0%, 28% { transform: scale(0); } 36% { transform: scale(1.35); } 42%, 60% { transform: scale(1); } 64% { transform: scale(1, .15); } 68%, 82% { transform: scale(1); } 92%, 100% { transform: scale(0); } }

.float { position: absolute; z-index: 2; display: grid; gap: .45em; padding: .95em 1.1em; border-radius: 18px; background: #fff; color: var(--ink); font-size: clamp(.75rem, .95vw, .975rem); font-weight: 500; line-height: 1.25; box-shadow: 0 30px 60px -24px rgba(10, 4, 20, .55); animation: bob 7s ease-in-out infinite; translate: calc(var(--mx) * var(--z, 20) * 1px) calc(var(--my) * var(--z, 20) * 1px); white-space: nowrap; }
.float__app { display: inline-flex; align-items: center; gap: .5em; font-size: .85em; color: var(--muted); }
.float__icon { width: 1.5em; height: 1.5em; }
.float__row b { display: inline-block; min-width: 3.2em; font-family: var(--mono); font-size: .82em; color: var(--plum); }
.float__bars { display: grid; gap: .3em; width: 13em; }
.float__bars i { display: block; height: .55em; width: var(--w); border-radius: 999px; background: var(--lime); }
.float__bars i.is-out { background: var(--pink); }
.float__spark { color: var(--lavender); }
.float__ok { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--lime); font-size: .8em; }
.float--c, .float--d { display: flex; align-items: center; gap: .55em; }
.float--chip { padding: .7em 1.2em; border-radius: 999px; font-weight: 600; background: var(--sun); }
.float--a { left: 7%; top: 16%; --z: 26; }
.float--b { right: 7%; top: 13%; --z: 34; animation-delay: -2s; }
.float--c { left: 11%; bottom: 17%; --z: 18; animation-delay: -4s; }
.float--d { right: 9%; bottom: 21%; --z: 30; animation-delay: -1s; }
.float--e { left: 32%; top: 9%; --z: 12; animation-delay: -3s; }
.float--f { right: 27%; bottom: 8%; --z: 14; background: var(--sky); animation-delay: -5s; }
.float--g { left: 30%; bottom: 33%; --z: 10; background: var(--lime); animation-delay: -6s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-12px) rotate(.6deg); } }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; background: currentColor; vertical-align: -.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.reel__pause { position: absolute; z-index: 3; right: clamp(16px, calc(var(--gutter) + 16px), 64px); bottom: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); transition: background .2s; }
.reel__pause:hover { background: rgba(255, 255, 255, .26); }
.reel__pause-off { display: none; }
.reel.is-paused .reel__pause-on { display: none; }
.reel.is-paused .reel__pause-off { display: block; }
.reel.is-paused *, .reel.is-paused *::before { animation-play-state: paused !important; }
@media (max-width: 860px) {
  .reel__frame { height: 78svh; min-height: 460px; }
  .float--e, .float--f, .float--g { display: none; }
  .float--a { left: 5%; top: 9%; }
  .float--b { right: 5%; top: auto; bottom: 30%; }
  .float--c { left: 5%; bottom: 9%; }
  .float--d { display: none; }
}

/* ---------- Statement + marquee ---------- */
.statement { background: var(--lavender); color: #fff; padding-block: clamp(96px, 18vh, 220px) clamp(64px, 10vh, 120px); }
.js .statement[data-bg], .js .work[data-bg] { background: transparent; }
.statement__text { font-size: clamp(2.2rem, 5.4vw, 6.2rem); line-height: 1.02; text-align: center; max-width: 16ch; margin-inline: auto; }
.statement__text .w { transition: opacity .25s linear; }
.statement__foot { display: grid; justify-items: center; gap: 1.6rem; max-width: 62ch; margin: clamp(40px, 6vw, 72px) auto 0; text-align: center; }
.statement__foot p { font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.5; color: var(--ink); }
.statement__foot .btn-row { justify-content: center; }
.js .statement__text .w { opacity: var(--o, .32); }
.statement--block { margin-block: clamp(32px, 6vw, 80px); padding: clamp(64px, 10vw, 160px) clamp(24px, 6vw, 96px); border-radius: var(--radius); max-width: calc(1760px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }

.statement--block .statement__text { font-size: clamp(1.9rem, 4.2vw, 4.6rem); max-width: 20ch; }
.marquee { display: flex; overflow: hidden; margin-top: clamp(56px, 10vh, 120px); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; flex: none; gap: clamp(2.5rem, 5vw, 5rem); padding-right: clamp(2.5rem, 5vw, 5rem); animation: marquee 38s linear infinite; }
.marquee li { font-size: clamp(1.15rem, 1.9vw, 1.75rem); font-weight: 600; letter-spacing: -.035em; white-space: nowrap; opacity: .92; }
.marquee li::before { content: '✳'; margin-right: .6em; font-size: .7em; vertical-align: .2em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Work cards ---------- */
.work { background: var(--lavender); color: #fff; padding-block: clamp(48px, 8vh, 96px) clamp(96px, 14vh, 180px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .eyebrow { color: inherit; opacity: .75; }
.section-head__text { max-width: 44ch; color: var(--muted); }
.work .section-head .link-arrow { color: #fff; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; isolation: isolate; }
.card--full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(280px, 34%) 1fr; min-height: clamp(420px, 46vw, 760px); }
.card--half { min-height: clamp(420px, 44vw, 720px); }
.card__media { position: relative; flex: 1; container-type: inline-size; overflow: hidden; padding: 7% 7% 0; display: flex; justify-content: center; align-items: flex-start; }
.card--full .card__media { order: 2; padding: 6% 0 0 0; justify-content: flex-start; }
.card__media .mock { width: 100%; transition: transform .9s var(--ease); }
.card--full .card__media .mock { width: 108%; }
.card:hover .card__media .mock { transform: translateY(-10px) scale(1.015); }
.card__cap { position: relative; padding: clamp(20px, 2.6vw, 40px); display: grid; gap: .7rem; align-content: end; }
.card--full .card__cap { order: 1; }
.card__title { display: flex; align-items: center; gap: .6rem; font-size: clamp(1.5rem, 2.4vw, 2.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.card__icon { width: 1.15em; height: 1.15em; }
.card__plus { display: grid; place-items: center; width: 1.15em; height: 1.15em; border-radius: 30%; background: var(--lime); color: var(--ink); }
.card__plus .icon { width: .7em; height: .7em; }
.card__cap p { max-width: 38ch; opacity: .85; }
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .card--full { display: flex; }
  .card--full .card__media { order: 0; padding: 7% 0 0 7%; }
  .card--full .card__cap { order: 1; }
  .card--full, .card--half { min-height: 0; }
  .card__media { min-height: 260px; }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: .875rem; font-weight: 600; pointer-events: none; transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0); transition: transform .35s var(--ease); }
.cursor.is-on { transform: translate3d(var(--cx), var(--cy), 0) scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Mocks (decorative product UI) ---------- */
.mock { --m-line: #E7E5DC; --m-soft: #F4F3EC; background: #fff; color: var(--ink); border-radius: 1em; font-size: clamp(9px, 1.32cqi, 15px); line-height: 1.3; box-shadow: 0 2.5em 5em -2em rgba(19, 22, 15, .45), 0 0 0 1px rgba(19, 22, 15, .06); overflow: hidden; text-align: left; letter-spacing: -.005em; }
.app-visual__frame .mock, .about-home__demo .mock { font-size: clamp(9px, 1.25cqi, 15px); }
.mock__bar { display: flex; align-items: center; gap: .9em; padding: .85em 1.1em; border-bottom: 1px solid var(--m-line); font-size: .92em; }
.mock__dots { display: flex; gap: .35em; }
.mock__dots i { width: .62em; height: .62em; border-radius: 50%; background: #DAD7CC; }
.mock__title { color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__pill { margin-left: auto; flex: none; padding: .32em .75em; border-radius: 999px; background: #E2F5D5; color: var(--ok); font-weight: 600; font-size: .86em; }
.mock__label { font-size: .78em; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: .2em 0 .55em; }

.mock-ff__body { display: grid; grid-template-columns: 9.5em 1fr 15em; min-height: 26em; }
.mock-ff__side { display: grid; align-content: start; gap: .3em; padding: 1.1em .8em; border-right: 1px solid var(--m-line); font-weight: 500; }
.mock-ff__side span { padding: .55em .8em; border-radius: .6em; color: var(--muted); }
.mock-ff__side .is-on { background: var(--ink); color: #fff; }
.mock-ff__main { padding: 1.2em; display: grid; gap: 1em; align-content: start; }
.mock-ff__prompt { display: flex; align-items: center; gap: .6em; padding: .55em .55em .55em .9em; border: 1px solid var(--m-line); border-radius: .8em; font-weight: 500; }
.mock-ff__spark { color: var(--lavender); font-size: 1.15em; }
.mock-ff__ptext { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-ff__prompt b { padding: .5em .9em; border-radius: .6em; background: var(--ink); color: #fff; font-weight: 500; }
.mock-ff__rule { padding: 1em; border-radius: .9em; background: var(--m-soft); }
.mock-ff__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; }
.mock-ff__row span, .mock-ff__row b { padding: .45em .75em; border-radius: .55em; background: #fff; border: 1px solid var(--m-line); font-weight: 500; }
.mock-ff__row em { font-style: normal; color: var(--muted); }
.mock-ff__row b { background: var(--lilac); border-color: transparent; color: var(--plum); font-weight: 600; }
.mock-ff__row--then b { background: var(--lime); color: var(--ink); }
.mock-ff__row + .mock__label { margin-top: 1em; }
.mock-ff__and { margin: .5em 0; font-size: .75em; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mock-ff__test { padding: 1.2em; border-left: 1px solid var(--m-line); display: grid; align-content: start; gap: .7em; }
.mock-ff__cart { font-weight: 600; }
.mock-ff__test ul { display: grid; gap: .55em; }
.mock-ff__test li { display: flex; gap: .5em; color: var(--ink-2); }
.mock-ff__test li i { font-style: normal; display: inline-grid; place-items: center; flex: none; width: 1.35em; height: 1.35em; border-radius: 50%; background: #E2F5D5; color: var(--ok); font-size: .82em; font-weight: 700; }
.mock-ff__publish { justify-self: start; margin-top: .4em; padding: .6em 1.2em; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
@container (max-width: 620px) {
  .mock-ff__body { grid-template-columns: 1fr; }
  .mock-ff__side, .mock-ff__test { display: none; }
}

.mock-ss__rules { display: flex; flex-wrap: wrap; gap: .45em; padding: .9em 1.1em 0; }
.mock-ss__rules span { display: inline-flex; align-items: center; gap: .45em; padding: .35em .7em; border-radius: 999px; background: var(--m-soft); font-weight: 500; font-size: .9em; }
.mock-ss__rules i { width: .6em; height: .6em; border-radius: 50%; }
.mock-ss__rules .tone-sun { background: var(--sun); } .mock-ss__rules .tone-sky { background: var(--sky); } .mock-ss__rules .tone-lime { background: var(--lime); } .mock-ss__rules .tone-pink { background: var(--pink); }
.mock-ss__grid { --gap: .8em; position: relative; margin: 1em 1.1em 1.2em; aspect-ratio: 4 / 2.7; }
.mock-ss__tile { --x: var(--ax); --y: var(--ay); position: absolute; left: 0; top: 0; width: calc((100% - 3 * var(--gap)) / 4); height: calc((100% - var(--gap)) / 2); display: flex; flex-direction: column; gap: .4em; padding: .45em; border-radius: .8em; background: var(--m-soft); transform: translate(calc(var(--x) * (100% + var(--gap) * 1.333)), calc(var(--y) * (100% + var(--gap) * 2))); transition: transform 1.1s var(--ease), opacity .6s; }
.is-sorted .mock-ss__tile { --x: var(--bx); --y: var(--by); }
.mock-ss__img { flex: 1; border-radius: .55em; display: grid; place-items: center; background: #E9E6DA; }
.mock-ss__img span { width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(19, 22, 15, .1); }
.mock-ss__tile:nth-child(8n+1) .mock-ss__img { background: #EBDDD3; }
.mock-ss__tile:nth-child(8n+2) .mock-ss__img { background: #E0DBEE; }
.mock-ss__tile:nth-child(8n+3) .mock-ss__img { background: #DDE7DA; }
.mock-ss__tile:nth-child(8n+4) .mock-ss__img { background: #EFE5CC; }
.mock-ss__tile:nth-child(8n+5) .mock-ss__img { background: #D8E5EE; }
.mock-ss__tile:nth-child(8n+6) .mock-ss__img { background: #EAD9E3; }
.mock-ss__tile:nth-child(8n+7) .mock-ss__img { background: #E3E1D6; }
.mock-ss__tile:nth-child(8n+8) .mock-ss__img { background: #D9E2D1; }
.mock-ss__name { font-weight: 600; font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-ss__badge { position: absolute; top: .85em; left: .85em; padding: .25em .6em; border-radius: 999px; font-size: .78em; font-weight: 700; background: #fff; }
.mock-ss__tile--sold { opacity: .6; } .mock-ss__tile--sold .mock-ss__badge { background: var(--pink); }
.mock-ss__tile--best .mock-ss__badge { background: var(--lime); }
.mock-ss__tile--new .mock-ss__badge { background: var(--sky); }
.mock-ss__tile--feat .mock-ss__badge { background: var(--sun); }

.mock-code { background: #1C1F18; color: #E9E7DD; box-shadow: 0 2.5em 5em -2em rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.mock-code .mock__bar { border-color: rgba(255, 255, 255, .08); }
.mock-code .mock__dots i { background: #3A3E34; }
.mock-code .mock__title { color: #9DA192; font-family: var(--mono); font-size: .9em; }
.mock-code pre { margin: 0; padding: 1.3em 1.4em 1.8em; font-family: var(--mono); font-size: 1.02em; line-height: 1.65; white-space: pre; overflow: hidden; }
.mock-code .c { color: #7D8274; } .mock-code .k { color: #C9B3FF; } .mock-code .f { color: var(--lime); } .mock-code .s { color: var(--sun); } .mock-code .t { color: var(--sky); }

/* ---------- AI demo ---------- */
.ai-demo { container-type: inline-size; background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(18px, 2.4vw, 32px); box-shadow: 0 30px 60px -30px rgba(19, 22, 15, .4); display: grid; gap: .9rem; }
.ai-demo__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: .95rem; }
.ai-demo__head > span:first-child { display: inline-flex; align-items: center; gap: .55rem; }
.ai-demo__icon { width: 28px; height: 28px; }
.ai-demo__label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: .5rem; }
.ai-demo__prompt { font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; min-height: 2.3em; }
.ai-demo__out { border-radius: 16px; background: #F4F3EC; padding: 1rem 1.1rem; display: grid; gap: .7rem; transition: opacity .4s, transform .4s var(--ease); }
.ai-demo__out.is-hidden { opacity: 0; transform: translateY(8px); }
.ai-demo__kind { font-weight: 600; font-size: .9rem; }
.ai-demo__out ul { display: grid; gap: .45rem; }
.ai-demo__out li { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .925rem; }
.ai-demo__k { font-family: var(--mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; padding: .3em .6em; border-radius: 6px; background: var(--ink); color: var(--cream); min-width: 4.4em; text-align: center; }
.ai-demo__out li em { font-style: normal; color: var(--muted); }
.ai-demo__out li b { padding: .25em .6em; border-radius: 6px; background: var(--lilac); color: var(--plum); font-weight: 600; }
.ai-demo__ok { font-size: .85rem; color: var(--ok); font-weight: 500; }

/* ---------- About (home) ---------- */
.about-home { padding-block: clamp(96px, 16vh, 200px) clamp(64px, 10vh, 120px); }
.about-home__title { max-width: 13ch; margin-bottom: clamp(48px, 7vw, 110px); }
.inline-pill { display: inline-grid; place-items: center; width: 1.25em; height: .78em; vertical-align: .02em; border-radius: 999px; background: var(--lime); color: var(--ink); transition: transform .5s var(--ease); }
.inline-pill .icon { width: .5em; height: .5em; stroke-width: 2.4; animation: spin-arrow 4s var(--ease) infinite; }
@keyframes spin-arrow { 0%, 70% { transform: none; } 85%, 100% { transform: rotate(360deg); } }
.about-home__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.about-home__copy > p { max-width: 50ch; margin-bottom: 1.1rem; }
.about-home__copy .btn { margin: .6rem 0 clamp(40px, 5vw, 72px); }
.about-home__demo { background: var(--lime); border-radius: var(--radius); padding: clamp(20px, 4vw, 64px); position: sticky; top: 100px; }
@media (max-width: 960px) { .about-home__grid { grid-template-columns: 1fr; } .about-home__demo { position: static; } }

.stats { display: grid; }
.stats__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 1.5rem; padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.stats__item:first-child { border-top: 1px solid var(--line); }
.stats__num { order: -1; font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats__label { font-size: 1.05rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.split .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2.5rem; border-top: 1px solid var(--line); }
.split .stats__item { grid-template-columns: 1fr; gap: .6rem; padding: 1.4rem 1.2rem 0 0; border: 0; }
.split .stats__num { font-size: clamp(2.2rem, 3.4vw, 3.4rem); }
.split .stats__label { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .split .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Services list ---------- */
.services-home { padding-block: clamp(64px, 10vh, 140px); }
.svc-list { border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list__row { display: grid; grid-template-columns: 3.2rem minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; padding-block: clamp(20px, 2.6vw, 36px); text-decoration: none; position: relative; }
.svc-list__num { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.svc-list__title { font-size: clamp(1.6rem, 3.3vw, 3.3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; transition: transform .5s var(--ease); }
.svc-list__desc { color: var(--muted); max-width: 46ch; }
.svc-list__arrow { width: clamp(48px, 4.5vw, 64px); height: clamp(48px, 4.5vw, 64px); border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--ink); border: 1px solid var(--line); transition: background .3s, transform .5s var(--ease), border-color .3s; }
.svc-list__arrow.tone-violet { color: var(--ink); }
.svc-list__row:hover .svc-list__title { transform: translateX(14px); }
.svc-list__row:hover .svc-list__arrow { transform: rotate(45deg); border-color: transparent; }
.svc-list__row:hover .tone-violet { background: var(--lavender); color: #fff; }
.svc-list__row:hover .tone-lime { background: var(--lime); }
.svc-list__row:hover .tone-sun { background: var(--sun); }
.svc-list__row:hover .tone-pink { background: var(--pink); }
.svc-list__row:hover .tone-sky { background: var(--sky); }
.svc-list__row:hover .tone-coral { background: var(--coral); }
.svc-list .svc-list__arrow:not(:hover) { background-color: transparent; }
@media (max-width: 860px) {
  .svc-list__row { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .svc-list__desc { grid-column: 2 / 3; grid-row: 2; font-size: .95rem; }
  .svc-list__arrow { grid-row: 1 / span 2; grid-column: 3; }
}

/* ---------- Use-case rail ---------- */
.rail-sec { padding-block: clamp(64px, 10vh, 140px); }
.rail-ctrl { display: flex; gap: .6rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 360px); gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); padding-bottom: 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.ucard { scroll-snap-align: start; }
.ucard__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 4.6; border-radius: var(--radius); padding: 1.4rem; text-decoration: none; overflow: hidden; }
.ucard__media::after { content: ''; position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: transform .8s var(--ease); }
.ucard:hover .ucard__media::after { transform: scale(1.25); }
.ucard__tag { position: absolute; left: 1rem; bottom: 1rem; padding: .4em .85em; border-radius: 999px; background: rgba(19, 22, 15, .78); color: #fff; font-size: .8125rem; font-weight: 500; }
.tone-plum .ucard__tag, .tone-violet .ucard__tag, .tone-ink .ucard__tag { background: rgba(255, 255, 255, .2); }
.ucard__rule { display: grid; gap: .5rem; position: relative; z-index: 1; transition: transform .6s var(--ease); }
.ucard:hover .ucard__rule { transform: translateY(-6px) rotate(-1.5deg); }
.ucard__rule span { display: block; padding: .6em .9em; border-radius: 12px; background: #fff; color: var(--ink); font-family: var(--mono); font-size: clamp(.78rem, .95vw, .9rem); font-weight: 500; box-shadow: 0 12px 30px -16px rgba(19, 22, 15, .45); white-space: nowrap; }
.ucard__rule span:nth-child(2) { margin-left: 1.6rem; }
.ucard__app { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.ucard__title { font-size: 1.25rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; margin-top: .25rem; }
.ucard__title a { text-decoration: none; }
.ucard__title a:hover { text-decoration: underline; }
.ucard__text { color: var(--muted); font-size: .975rem; margin-top: .3rem; }

/* ---------- FAQ ---------- */
.faq-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); padding-block: clamp(64px, 10vh, 140px); }
.faq-sec__head { position: sticky; top: 100px; align-self: start; }
.faq-sec__head p:last-child { margin-top: 1.4rem; color: var(--muted); }
@media (max-width: 960px) { .faq-sec { grid-template-columns: 1fr; } .faq-sec__head { position: static; } }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.4rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.faq__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .4s var(--ease), background .3s; }
.faq[open] .faq__icon { transform: rotate(45deg); background: var(--lime); border-color: transparent; }
.faq summary:hover .faq__icon { background: var(--ink); color: var(--cream); }
.faq__a { padding: 0 3.5rem 1.6rem 0; color: var(--ink-2); max-width: 70ch; }
.faq[open] .faq__a { animation: fade-up .5s var(--ease); }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-top: clamp(96px, 14vh, 180px); overflow: hidden; }
.foot-cta__title { font-size: clamp(3rem, 8.4vw, 9.5rem); line-height: .98; }
.foot-cta__l1, .foot-cta__l2 { display: block; }
.foot-cta__arrow { display: inline-grid; place-items: center; width: .82em; height: .82em; margin-left: .06em; vertical-align: -.04em; color: var(--lime); text-decoration: none; transition: transform .5s var(--ease); }
.foot-cta__arrow .icon { width: 100%; height: 100%; stroke-width: 2.4; }
.foot-cta__arrow:hover { transform: translateX(.12em); }
.rotator { display: inline-block; height: 1.04em; overflow: hidden; vertical-align: top; }
.rotator__track { display: flex; flex-direction: column; animation: rotate-words 12.5s var(--ease) infinite; }
.rotator__track span { display: block; height: 1.04em; line-height: 1.04; }
@keyframes rotate-words {
  0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-1.04em); } 40%, 56% { transform: translateY(-2.08em); }
  60%, 76% { transform: translateY(-3.12em); } 80%, 96% { transform: translateY(-4.16em); } 100% { transform: translateY(-5.2em); }
}
.foot-cta__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem; margin-top: clamp(48px, 7vw, 96px); position: relative; z-index: 2; }
.foot-cta__contact { display: grid; gap: .65rem; align-content: start; font-weight: 500; }
.foot-cta__line { display: flex; align-items: center; gap: .5rem; }
.foot-cta__mail { font-size: 1.15rem; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.foot-links .eyebrow { margin-bottom: .7rem; }
.foot-links li + li { margin-top: .35rem; }
.foot-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 860px) { .foot-cta__grid { grid-template-columns: 1fr; } .foot-links { grid-template-columns: 1fr 1fr; } }

.shapes { position: relative; height: clamp(300px, 34vw, 480px); margin-top: -40px; display: flex; flex-wrap: wrap-reverse; align-content: flex-start; justify-content: center; gap: 6px; padding: 0 var(--gutter); }
.shape { display: inline-flex; align-items: center; justify-content: center; padding: .55em 1.15em; border-radius: 999px; font-weight: 600; font-size: clamp(1rem, 2.1vw, 1.9rem); letter-spacing: -.035em; white-space: nowrap; user-select: none; -webkit-user-select: none; transform: rotate(calc((var(--i) - 6) * 3deg)); }
.shape--round { border-radius: .45em; }
.shape--dot { width: clamp(52px, 5.5vw, 84px); height: clamp(52px, 5.5vw, 84px); padding: 0; border-radius: 50%; }
.shape--violet { background: var(--lavender); color: #fff; } .shape--lime { background: var(--lime); } .shape--sun { background: var(--sun); } .shape--sky { background: var(--sky); }
.shape--pink { background: var(--pink); } .shape--coral { background: var(--coral); } .shape--lilac { background: var(--lilac); } .shape--ink { background: var(--ink); color: var(--cream); }
.shapes.is-physics { display: block; padding: 0; touch-action: pan-y; }
.shapes.is-physics .shape { position: absolute; left: 0; top: 0; transform: translate(-200vw, 0); will-change: transform; cursor: grab; }
.shapes.is-physics .shape:active { cursor: grabbing; }
.foot-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.4rem 1.8rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.foot-bar .logo__mark { width: 20px; height: 20px; }
.foot-bar .logo__word { font-size: 1.05rem; color: var(--ink); }
.foot-bar a { text-decoration: none; }
.foot-bar__social { display: flex; gap: 1.2rem; margin-left: auto; }
.foot-bar__social a::before { content: ''; display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--lime); margin-right: .45em; }

/* ---------- Inner pages ---------- */
.page-hero { padding-top: clamp(130px, 20vh, 220px); padding-bottom: clamp(40px, 7vh, 88px); }
.page-hero .display-l { max-width: 14ch; }
.page-hero__lead { max-width: 60ch; margin-top: clamp(1.4rem, 3vw, 2.4rem); color: var(--ink-2); }
.page-hero__sub { margin-top: 1.2rem; font-size: clamp(1.5rem, 2.8vw, 2.8rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; max-width: 24ch; color: var(--ink-2); }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero__note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.page-hero--404 .display-xl { max-width: none; }
.crumbs { margin-bottom: 1.6rem; font-size: .875rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.app-chip { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .45rem; border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 500; margin-bottom: 1.4rem; box-shadow: 0 1px 0 rgba(19, 22, 15, .05); }
.app-chip__icon { width: 30px; height: 30px; }

.app-visual { margin-bottom: clamp(32px, 6vw, 80px); }
.app-visual__frame { border-radius: var(--radius); padding: clamp(24px, 6vw, 96px) clamp(16px, 6vw, 96px) 0; overflow: hidden; container-type: inline-size; max-height: 860px; }
.app-visual__frame .mock { max-width: 1240px; margin-inline: auto; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.app-visual__frame--sm { padding: 6% 6% 0; }
.js .app-visual__frame .mock { opacity: 0; transform: translateY(60px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .app-visual__frame.is-in .mock { opacity: 1; transform: none; }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(32px, 5vw, 96px); padding-block: clamp(48px, 7vw, 112px); border-top: 1px solid var(--line); }
.split__label { position: sticky; top: 100px; align-self: start; }
.split__num { font-family: var(--mono); font-size: .85rem; color: var(--muted); margin-bottom: .7rem; }
.split__label h2 { font-size: clamp(1.7rem, 2.8vw, 2.8rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; max-width: 14ch; }
.split__body { min-width: 0; display: grid; gap: 2rem; align-content: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__label { position: static; } }

.tldr { padding: clamp(20px, 3vw, 40px); border-radius: var(--radius); background: var(--lilac); }
.tldr .eyebrow { color: var(--plum); }
.tldr__text { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.4; letter-spacing: -.015em; }
.tldr__meta { margin-top: 1.2rem; font-size: .875rem; color: var(--plum); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; border-top: 1px solid var(--line); }
.facts > div { padding-block: 1.05rem; border-bottom: 1px solid var(--line); display: grid; gap: .25rem; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

.benefits, .included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 2rem; }
.benefit, .included__item { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.benefit__num, .included__num { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.benefit h3, .included__item h3 { font-size: clamp(1.3rem, 1.9vw, 1.75rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; margin: .5rem 0 .6rem; }
.benefit p, .included__item p { color: var(--ink-2); }
@media (max-width: 700px) { .benefits, .included { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 1100px) { .two-col { grid-template-columns: 1fr; } }

.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.group { padding: clamp(20px, 2.4vw, 36px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.group h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; font-weight: 500; letter-spacing: -.035em; }
.group__dot { width: .7em; height: .7em; border-radius: 50%; }
.group p { margin: .7rem 0 1rem; color: var(--ink-2); }
.group ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.group li { padding: .4em .8em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .875rem; }
@media (max-width: 700px) { .groups { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: .975rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1.05rem 1rem 1.05rem 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .8125rem; color: var(--muted); font-weight: 500; border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 600; white-space: nowrap; }
.compare--2 tbody th { width: 30%; }
.compare tbody tr:first-child th, .compare tbody tr:first-child td { border-top: 1px solid var(--line); }
.compare thead + tbody tr:first-child th, .compare thead + tbody tr:first-child td { border-top: 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem 1.5rem; counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.steps__num { display: block; font-size: clamp(2.2rem, 3vw, 3rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--lavender); margin-bottom: 1rem; }
.steps h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.03em; margin-bottom: .45rem; }
.steps p { color: var(--ink-2); font-size: .975rem; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.checklist .icon { width: 1.5em; height: 1.5em; padding: .3em; border-radius: 50%; background: var(--lime); stroke-width: 3; margin-top: -.05em; }
@media (max-width: 700px) { .checklist { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); font-size: .9375rem; font-weight: 500; background: rgba(255, 255, 255, .5); }
.chips--sm li { font-size: .8125rem; padding: .35em .8em; }
.chips--lg li { font-size: clamp(1rem, 1.4vw, 1.25rem); padding: .6em 1.15em; }
.chips--glass li { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); font-size: .875rem; }
.chips--check li { background: #fff; border-color: transparent; }
.chips--check li::before { content: '✓'; color: var(--ok); margin-right: .45em; font-weight: 700; }

.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); justify-self: start; }
.billing-toggle button { padding: .6rem 1.1rem; border-radius: 999px; font-weight: 500; font-size: .9375rem; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.billing-toggle span { margin-left: .3em; padding: .1em .45em; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .8em; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.plan { position: relative; display: flex; flex-direction: column; gap: .8rem; padding: clamp(20px, 2.2vw, 30px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.plan--popular { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.plan__flag { position: absolute; top: 18px; right: 18px; padding: .3em .75em; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .75rem; font-weight: 600; }
.plan__name { font-size: 1.35rem; font-weight: 500; letter-spacing: -.03em; }
.plan__price { font-size: clamp(2.2rem, 3vw, 3rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.plan__price small { font-size: .9rem; letter-spacing: 0; font-weight: 400; opacity: .7; margin-left: .2em; }
.plan__note { font-size: .85rem; opacity: .7; min-height: 1.3em; }
.plan ul { display: grid; gap: .55rem; margin: .4rem 0 1.2rem; flex: 1; }
.plan li { display: flex; gap: .5rem; font-size: .95rem; }
.plan li .icon { color: var(--ok); stroke-width: 2.6; margin-top: .15em; }
.plan--popular li .icon { color: var(--lime); }
.plan--popular .btn--ink { background: var(--lime); color: var(--ink); }
.plans__note { font-size: .9rem; color: var(--muted); }

.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.rel-card { position: relative; display: grid; align-content: start; gap: .4rem; padding: clamp(20px, 2.2vw, 30px) clamp(20px, 2.2vw, 30px) 4.5rem; border-radius: var(--radius); text-decoration: none; min-height: 240px; transition: transform .5s var(--ease); }
.rel-card:hover { transform: translateY(-4px); }
.rel-card .eyebrow { margin-bottom: .2rem; }
.rel-card h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.rel-card p { color: var(--ink-2); font-size: .95rem; }
.rel-card--app { background: var(--paper); border: 1px solid var(--line); }
.rel-card__icon { width: 44px; height: 44px; margin-bottom: .6rem; }
.rel-card__arrow { position: absolute; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); transition: transform .5s var(--ease); }
.rel-card:hover .rel-card__arrow { transform: rotate(45deg); }
.split__body > .svc-list .svc-list__title { font-size: clamp(1.3rem, 2.2vw, 2.1rem); }

.svc-banner__inner { position: relative; overflow: hidden; display: grid; align-content: end; gap: 1.5rem; min-height: clamp(320px, 38vw, 560px); padding: clamp(24px, 4vw, 64px); border-radius: var(--radius); }
.svc-banner__text { position: relative; z-index: 1; max-width: 22ch; font-size: clamp(1.8rem, 3.8vw, 4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.svc-banner__mark { position: absolute; right: -4%; top: -12%; width: clamp(200px, 36vw, 560px); opacity: .18; animation: drift 14s ease-in-out infinite; }
.svc-banner__mark .mark { width: 100%; height: auto; color: currentColor; }
@keyframes drift { 50% { transform: translate(-3%, 4%) rotate(-6deg); } }
.svc-banner__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .45rem; }
.svc-banner__chips li { padding: .45em .95em; border-radius: 999px; background: rgba(255, 255, 255, .5); font-size: .875rem; font-weight: 500; }
.tone-violet .svc-banner__chips li, .tone-plum .svc-banner__chips li { background: rgba(255, 255, 255, .16); }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.who__card { padding: clamp(20px, 2.2vw, 30px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.who__card h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.03em; margin-bottom: .5rem; }
.who__card p { color: var(--ink-2); font-size: .975rem; }

.cta-band { padding-block: clamp(48px, 7vw, 112px); }
.cta-band__inner { position: relative; overflow: hidden; display: grid; gap: 1.4rem; justify-items: start; padding: clamp(32px, 6vw, 104px); border-radius: var(--radius); }
.cta-band__inner h2 { max-width: 16ch; position: relative; z-index: 1; }
.cta-band__inner p { max-width: 52ch; opacity: .85; position: relative; z-index: 1; }
.cta-band__inner .btn-row { position: relative; z-index: 1; margin-top: .6rem; }
.cta-band__mark { position: absolute; right: -3%; bottom: -14%; width: clamp(180px, 30vw, 460px); opacity: .14; }
.cta-band__mark .mark { width: 100%; height: auto; --mark-dot: var(--lime); }
.tone-ink .cta-band__mark { opacity: .2; color: var(--lime); }

/* Apps index */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.filters button { padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: .9375rem; transition: background .2s, color .2s; }
.filters button span { margin-left: .35em; opacity: .55; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(12px, 1.4vw, 20px); padding-bottom: clamp(48px, 7vw, 112px); }
.app-card { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.app-card[hidden] { display: none; }
.app-card__top { display: flex; align-items: center; gap: .9rem; }
.app-card__icon { width: 56px; height: 56px; flex: none; }
.app-card__name { font-size: 1.6rem; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.app-card__name a { text-decoration: none; }
.app-card__name a:hover { text-decoration: underline; }
.app-card__cat { font-size: .875rem; color: var(--muted); }
.app-card__ai { margin-left: auto; align-self: flex-start; padding: .3em .7em; border-radius: 999px; background: var(--lilac); color: var(--plum); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.app-card__tagline { font-size: 1.1rem; letter-spacing: -.015em; line-height: 1.35; }
.app-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.app-card__meta dt { font-size: .8rem; color: var(--muted); }
.app-card__meta dd { font-size: .925rem; font-weight: 500; }
.app-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.app-card--custom { background: var(--ink); color: var(--cream); border-color: var(--ink); justify-content: flex-end; min-height: 320px; }
.app-card__bigplus { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--lime); color: var(--ink); margin-bottom: auto; }
.app-card__bigplus .icon { width: 28px; height: 28px; }
.services-index { padding-bottom: clamp(32px, 5vw, 64px); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; gap: clamp(32px, 5vw, 96px); padding-bottom: clamp(48px, 7vw, 112px); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; align-content: start; gap: 2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; align-content: start; gap: .3rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span em { font-style: normal; opacity: .7; }
.field > span, .field legend { font-size: .875rem; font-weight: 500; color: var(--muted); padding: 0; }
.field legend { margin-bottom: .8rem; }
.field input, .field select, .field textarea { width: 100%; padding: .7rem 0; border: 0; border-bottom: 1px solid rgba(19, 22, 15, .3); border-radius: 0; background: transparent; font-size: 1.2rem; letter-spacing: -.015em; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313160F' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 18px; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #9A9C93; }
.pick { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .45rem; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-block; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line); font-size: .9375rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.pick input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__status { font-weight: 500; }
.contact__aside { display: grid; gap: clamp(10px, 1.2vw, 16px); align-content: start; position: sticky; top: 100px; }
@media (max-width: 960px) { .contact__aside { position: static; } }
.contact__card { padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.contact__card--next { background: var(--plum); color: #fff; border-color: var(--plum); }
.contact__card--next .eyebrow { color: var(--lime); }
.mini-steps { counter-reset: m; display: grid; gap: 1rem; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 2rem 1fr; gap: .3rem; line-height: 1.45; }
.mini-steps b { font-weight: 600; }
.mini-steps li::before { content: counter(m, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; opacity: .8; padding-top: .2em; }
.contact__mail { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -.03em; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .hero__line { -webkit-mask-image: none; mask-image: none; }
  .reel__svg rect, .reel__svg circle { animation: none !important; }
  .marquee ul { animation: none; }
  .rotator__track { animation: none; }
}

/* App icon tiles on dark cards */
.tone-plum .card__icon rect:first-child, .tone-plum .app-chip__icon rect:first-child { fill: var(--lavender); }
.tone-ink .card__icon rect:first-child { fill: #2A2D25; }

/* ---------- Mega menu (Apps) ---------- */
.mega {
  position: absolute; z-index: -1; top: -5px; left: 50%; width: min(1000px, calc(100vw - 32px)); translate: -50% 0;
  padding: calc(var(--pill-h, 54px) + 26px) 34px 32px; background: #fff; border-radius: 28px;
  box-shadow: 0 40px 90px -40px rgba(19, 22, 15, .45);
  clip-path: inset(0 calc((100% - var(--pill-w, 600px)) / 2) calc(100% - var(--pill-h, 54px)) round 999px);
  visibility: hidden; transition: clip-path .45s var(--ease), visibility 0s .45s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  clip-path: inset(0 0 0 0 round 28px); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s;
}
.has-mega.is-closed:hover .mega, .has-mega.is-closed:focus-within .mega {
  clip-path: inset(0 calc((100% - var(--pill-w, 600px)) / 2) calc(100% - var(--pill-h, 54px)) round 999px); visibility: hidden;
}
.mega__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 28px; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .4s var(--ease); }
.has-mega:hover .mega__grid, .has-mega:focus-within .mega__grid { opacity: 1; transform: none; transition-delay: .12s; }
.has-mega.is-closed .mega__grid { opacity: 0; }
.mega__title { font-size: .9375rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: .8rem; color: var(--ink); }
.mega ul { display: grid; gap: 2px; }
.mega a { display: flex; align-items: center; gap: .6rem; padding: .48rem .55rem; margin-left: -.55rem; border-radius: 12px; font-size: .9rem; font-weight: 450; color: var(--muted); text-decoration: none; transition: background .2s, color .2s; }
.mega a:hover, .mega a:focus-visible { background: var(--cream); color: var(--ink); }
.mi { width: 17px; height: 17px; flex: none; }
.mi--violet { color: #7B55D9; } .mi--sky { color: #3C9BD6; } .mi--sun { color: #E0A100; } .mi--pink { color: #D9579B; }
.mi--lime { color: #4FA82A; } .mi--coral { color: #E2683A; } .mi--ink { color: var(--ink); }
.mega__app { align-items: center; }
.mega__icon { width: 38px; height: 38px; flex: none; }
.mega__app span { display: grid; line-height: 1.2; }
.mega__app b { font-weight: 600; color: var(--ink); font-size: .95rem; }
.mega__app small { font-size: .8125rem; color: var(--muted); }

/* ---------- Thinking: cards ---------- */
.thinking-home { padding-block: clamp(64px, 10vh, 140px) 0; }
.post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid, .post-grid--3 { grid-template-columns: 1fr; } }
.post-card__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.post-card__tag { position: absolute; left: 14px; bottom: 14px; padding: .4em .85em; border-radius: 999px; background: rgba(19, 22, 15, .78); color: #fff; font-size: .8125rem; font-weight: 500; }
.post-card__meta { margin-top: 1rem; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-card__title { margin-top: .35rem; font-size: clamp(1.1rem, 1.35vw, 1.3rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; color: var(--muted); }
.post-card__title a { text-decoration: none; }
.post-card__title .t1 { color: var(--ink); }
.post-card__title a:hover .t1 { text-decoration: underline; text-underline-offset: .15em; }
.tag-pill { display: inline-block; padding: .3em .8em; margin-right: .4em; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: .8125rem; font-weight: 500; }

.post-art { position: relative; display: grid; place-content: center; justify-items: center; gap: .7rem; aspect-ratio: 4 / 4.4; padding: 1.4rem; overflow: hidden; font-size: clamp(.8rem, 1vw, .95rem); transition: transform .8s var(--ease); }
.post-card__media:hover .post-art { transform: scale(1.03); }
.post-art::after { content: ''; position: absolute; right: -18%; bottom: -26%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.tone-ink.post-art::after { background: rgba(166, 226, 127, .12); }
.post-art > * { position: relative; z-index: 1; }
.post-art--lg { aspect-ratio: 16 / 7; font-size: clamp(.95rem, 1.6vw, 1.35rem); border-radius: var(--radius); }
.pa-chip { padding: .7em 1.1em; border-radius: 14px; background: #fff; font-family: var(--mono); font-weight: 500; box-shadow: 0 14px 30px -18px rgba(19, 22, 15, .5); white-space: nowrap; }
.pa-chip--old { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); rotate: -3deg; }
.pa-chip--new { background: var(--ink); color: var(--cream); rotate: 2deg; }
.pa-chip--new i { font-style: normal; color: var(--lime); margin-left: .3em; }
.pa-arrow { font-size: 1.6em; line-height: 1; }
.pa-big { font-size: 3.6em; font-weight: 500; letter-spacing: -.05em; line-height: .9; white-space: nowrap; }
.pa-pill { padding: .5em 1em; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 600; rotate: -4deg; }
.pa-bubble { display: block; padding: .8em 1.05em; border-radius: 18px; max-width: 15em; box-shadow: 0 14px 30px -18px rgba(19, 22, 15, .5); }
.pa-bubble--me { justify-self: end; background: var(--ink); color: var(--cream); border-bottom-right-radius: 6px; font-weight: 500; }
.pa-bubble--ai { justify-self: start; display: grid; gap: .25em; background: #fff; border-bottom-left-radius: 6px; }
.pa-bubble--ai span { color: var(--muted); font-size: .9em; }
.pa-bubble--ai em { justify-self: start; margin-top: .35em; padding: .3em .8em; border-radius: 999px; background: var(--lime); font-style: normal; font-weight: 600; font-size: .85em; }
.post-art--agentic { justify-items: stretch; }
.pa-code { font-family: var(--mono); color: var(--cream); white-space: nowrap; justify-self: start; }
.pa-code i { font-style: normal; color: var(--lime); margin-right: .5em; }
.post-art--dev { justify-items: start; }

/* Thinking index */
.feature-post { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding-bottom: clamp(40px, 6vw, 96px); }
.feature-post__media { display: block; border-radius: var(--radius); overflow: hidden; }
.feature-post__media .post-art--lg { aspect-ratio: 16 / 10; }
.feature-post__title { margin: .6rem 0 1rem; font-size: clamp(1.8rem, 3.2vw, 3.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.feature-post__title a { text-decoration: none; }
.feature-post__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.feature-post__text > p:not(.post-card__meta) { color: var(--ink-2); max-width: 46ch; margin-bottom: 1.4rem; }
@media (max-width: 900px) { .feature-post { grid-template-columns: 1fr; } }
.thinking-list, .thinking-more { padding-bottom: clamp(32px, 5vw, 64px); }
.thinking-more { padding-top: clamp(48px, 7vw, 112px); border-top: 1px solid var(--line); }

/* Article */
.post__head { padding-top: clamp(130px, 20vh, 220px); padding-bottom: clamp(28px, 4vw, 56px); }
.post__meta { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
.post__title { max-width: 20ch; font-size: clamp(2.3rem, 5.4vw, 5.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
.post__lead { max-width: 58ch; margin-top: clamp(1.2rem, 2.4vw, 2rem); color: var(--ink-2); }
.post__art { margin-bottom: clamp(40px, 6vw, 96px); }
.post__layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 96px); padding-bottom: clamp(48px, 7vw, 112px); }
.post__aside { position: sticky; top: 100px; align-self: start; font-size: .925rem; }
.post__aside ol { display: grid; gap: .5rem; counter-reset: toc; }
.post__aside li { counter-increment: toc; display: grid; grid-template-columns: 1.8rem 1fr; }
.post__aside li::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: .75rem; color: var(--muted); padding-top: .2em; }
.post__aside a { text-decoration: none; color: var(--muted); }
.post__aside a:hover { color: var(--ink); text-decoration: underline; }
.post__by { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 900px) { .post__layout { grid-template-columns: 1fr; } .post__aside { position: static; } }
.post__body { max-width: 760px; font-size: 1.125rem; line-height: 1.65; }
.post__body > * + * { margin-top: 1.15em; }
.post__body h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; scroll-margin-top: 100px; }
.post__body .bullets li, .post__body .numbered li { position: relative; padding-left: 1.8rem; }
.post__body .bullets li + li, .post__body .numbered li + li { margin-top: .7em; }
.post__body .bullets li::before { content: ''; position: absolute; left: .3rem; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lavender); }
.post__body .numbered { counter-reset: n; }
.post__body .numbered li { counter-increment: n; }
.post__body .numbered li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: .75rem; font-weight: 600; }
.post__body .note { padding: 1.1rem 1.3rem; border-radius: 16px; background: #E2F5D5; font-size: 1.05rem; }
.takeaways { padding: clamp(20px, 2.6vw, 32px); border-radius: var(--radius); background: var(--lilac); }
.takeaways .eyebrow { color: var(--plum); }
.takeaways ul { display: grid; gap: .75rem; }
.takeaways li { display: grid; grid-template-columns: 1.5em 1fr; gap: .6rem; font-size: 1.05rem; line-height: 1.5; }
.takeaways .icon { width: 1.5em; height: 1.5em; padding: .3em; border-radius: 50%; background: #fff; color: var(--plum); stroke-width: 3; margin-top: .05em; }
.post__links { margin-top: 2.2em !important; }
.post__links a { text-decoration: none; }
.post__faq h2, .sources h2 { margin-bottom: .6em; }
.post__faq .faq__a { font-size: 1.05rem; }
.sources ol { counter-reset: s; display: grid; gap: .6rem; font-size: .975rem; }
.sources li { counter-increment: s; display: grid; grid-template-columns: 1.8rem 1fr; }
.sources li::before { content: '[' counter(s) ']'; font-family: var(--mono); font-size: .8rem; color: var(--muted); padding-top: .2em; }
.sources a { color: var(--ink-2); word-break: break-word; }
.post-card__media:has(.tone-ink) .post-card__tag { background: rgba(255, 255, 255, .16); }
