/* ==========================================================================
   fAIvita — site styles
   Restrained, Apple-inspired system: white / #f5f5f7 / black surfaces,
   one accent colour, brand teal + navy reserved for the logo itself.
   ========================================================================== */

:root {
  --white: #ffffff;
  --gray: #f5f5f7;
  --black: #000000;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --hair: #d2d2d7;
  --accent: #0a7fa8;          /* brand blue, darkened for AA contrast on white */
  --accent-hover: #0b8cb8;
  --accent-on-dark: #4cc4e8;
  --teal: #1a9baa;            /* logo only */
  --navy: #16213d;            /* logo only */
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 980px;
  --wide: 1240px;
  --gutter: max(22px, 4vw);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", Helvetica,
    Arial, "Noto Sans", "Noto Sans Devanagari", "Noto Sans Tamil", "Noto Sans Bengali", "Noto Sans Telugu",
    "Noto Sans Kannada", "Noto Sans Malayalam", "Noto Sans Gujarati", "Noto Sans Gurmukhi", "Noto Sans Oriya", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--white); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.47059; letter-spacing: -0.022em; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(10, 127, 168, 0.18); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow { display: block; font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: 0.011em; color: var(--accent); margin-bottom: 10px; }
.h-hero { font-size: clamp(48px, 8vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.h-section { font-size: clamp(40px, 6vw, 64px); line-height: 1.0625; font-weight: 600; letter-spacing: -0.009em; margin: 0; }
.h-tile { font-size: clamp(36px, 4.6vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.003em; margin: 0; }
.h-card { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.14; font-weight: 600; letter-spacing: 0.007em; margin: 0; }
.sub { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.14; font-weight: 400; letter-spacing: 0.007em; margin: 8px 0 0; }
.lead { font-size: clamp(19px, 1.8vw, 21px); line-height: 1.38; letter-spacing: 0.011em; color: var(--ink-2); margin: 20px 0 0; max-width: 680px; }
.lead strong { color: var(--ink); font-weight: 600; }
.center .lead, .hero .lead, .phero .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-2); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 28px; padding: 11px 22px; border-radius: 980px; font-size: 17px; line-height: 1.18; font-weight: 400;
  background: var(--accent); color: #fff; border: 1px solid transparent; white-space: nowrap;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #333336; }
.btn-sm { font-size: 12px; padding: 4px 11px; line-height: 1.34; }
.btn-lg { font-size: 17px; padding: 14px 28px; }
.ctas { display: flex; gap: 14px 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.link { color: var(--accent); font-size: inherit; display: inline-flex; align-items: center; gap: 2px; }
.link:hover { text-decoration: underline; }
.link::after { content: "›"; font-size: 1.15em; line-height: 1; margin-left: 3px; transform: translateY(-.04em); }
.on-dark .link { color: var(--accent-on-dark); }
.on-dark .btn-outline { color: #fff; border-color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--ink); }

/* ---------- Global nav ---------- */
.gnav {
  position: sticky; top: 0; z-index: 60; height: 44px;
  background: rgba(255, 255, 255, 0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.gnav.with-line, .gnav.open { border-bottom: 1px solid rgba(0,0,0,.08); }
.gnav-inner { display: flex; align-items: center; justify-content: space-between; height: 44px; gap: 20px; max-width: calc(1024px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.gnav .brand img { height: 22px; width: auto; }
.gnav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: clamp(14px, 3vw, 34px); }
.gnav ul a { font-size: 12px; color: rgba(0,0,0,.8); letter-spacing: -0.01em; transition: color .2s; }
.gnav ul a:hover, .gnav ul a[aria-current="page"] { color: #000; }
.gnav ul a[aria-current="page"] { font-weight: 600; }
.gnav-right { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 32px; height: 32px; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 16px; height: 1.2px; background: var(--ink); position: relative; transition: transform .35s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { transform: translateY(-5px); }
.burger span::after { transform: translateY(5px); }
.gnav.open .burger span { background: transparent; }
.gnav.open .burger span::before { transform: rotate(45deg); }
.gnav.open .burger span::after { transform: rotate(-45deg); }
.mmenu { display: none; }
@media (max-width: 833px) {
  .gnav nav { display: none; }
  .burger { display: inline-flex; }
  .gnav.open { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mmenu { display: block; position: fixed; top: 44px; left: 0; right: 0; bottom: 0; z-index: 100; background: #fff; padding: 20px 44px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
  .gnav.open .mmenu { opacity: 1; visibility: visible; }
  .mmenu a { display: block; font-size: 28px; font-weight: 600; letter-spacing: .007em; padding: 8px 0; color: var(--ink); }
  .mmenu .btn { margin-top: 24px; font-size: 17px; font-weight: 400; padding: 11px 22px; display: inline-flex; color: #fff; }
}

/* ---------- Local nav (sub-pages) ---------- */
.lnav { position: sticky; top: 44px; z-index: 50; height: 52px; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.12); }
.lnav-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; max-width: calc(1024px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.lnav-title { font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.lnav-links { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.lnav-links a:not(.btn) { color: var(--ink); opacity: .88; }
.lnav-links a:not(.btn):hover { color: var(--accent); opacity: 1; }
@media (max-width: 640px) { .lnav-links a:not(.btn) { display: none; } .lnav-title { font-size: 19px; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 11vw, 140px) 0; }
.sec-tight { padding: clamp(56px, 7vw, 88px) 0; }
.bg-gray { background: var(--gray); }
.bg-black { background: var(--black); color: #f5f5f7; }
.bg-black .muted, .bg-black .lead { color: var(--ink-3); }
.bg-black .eyebrow { color: var(--accent-on-dark); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 100px); text-align: center; overflow: hidden; }
.mark-stage { position: relative; width: min(400px, 72vw); margin: 0 auto 36px; perspective: 900px; }
.mark-anim { width: 100%; height: auto; overflow: visible; transform-style: preserve-3d; transition: transform .6s var(--ease-out); will-change: transform; }
.mark-anim .seg { stroke-width: 2.2; stroke-linejoin: round; fill-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.7s var(--ease) forwards, fillin .9s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.16s + .15s), calc(var(--i) * 0.16s + 1.25s); }
.mark-anim .navy { fill: var(--navy); stroke: var(--navy); }
.mark-anim .teal { fill: var(--teal); stroke: var(--teal); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; stroke-width: 0; } }
.mark-anim .sheen { transform: translateX(-140%); animation: sheen 5.5s var(--ease) 3s infinite; }
@keyframes sheen { 0% { transform: translateX(-140%); } 35%, 100% { transform: translateX(140%); } }
.mark-floor { position: absolute; left: 12%; right: 12%; bottom: -26px; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(22,33,61,.16), transparent); filter: blur(4px); opacity: 0; animation: floor-in 1.2s var(--ease) 2s forwards; }
@keyframes floor-in { to { opacity: 1; } }
.mark-stage.idle .mark-anim { animation: hover-float 6s ease-in-out infinite; }
@keyframes hover-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.rotator { display: inline-grid; vertical-align: top; height: 1.38em; overflow: hidden; margin-top: .02em; }
.rotator > span { grid-area: 1/1; line-height: 1.38; color: var(--accent); white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform .8s var(--ease-out), opacity .5s; }
.rotator > span.in { transform: none; opacity: 1; }
.rotator > span.out { transform: translateY(-105%); opacity: 0; }

/* ---------- Home tiles ---------- */
.tiles { display: grid; gap: 12px; padding: 0 12px 12px; }
.tile { position: relative; overflow: hidden; text-align: center; padding: 56px 24px 0; min-height: 640px; display: flex; flex-direction: column; align-items: center; background: var(--gray); }
.tile.white { background: #fff; }
.tile.dark { background: #000; color: #f5f5f7; }
.tile .sub { max-width: 720px; }
.tile .ctas { margin-top: 18px; }
.tile .art { margin-top: auto; padding-top: 40px; width: 100%; display: flex; justify-content: center; }
.tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile-row .tile { min-height: 500px; }
.tile-row .art { margin: auto 0; padding: 36px 0 44px; }
.tile-row .art > * { padding-bottom: 0; margin-bottom: 0; }
.tile-row .h-tile { font-size: clamp(32px, 3.6vw, 40px); }
.tile-row .sub { font-size: clamp(19px, 1.8vw, 21px); line-height: 1.24; }
@media (max-width: 833px) { .tile-row { grid-template-columns: 1fr; } .tile { min-height: 520px; padding-top: 44px; } .tiles { padding: 0 0 12px; } }

/* tile art: composer preview */
.composer-art { width: min(720px, 100%); background: #fff; border-radius: 28px 28px 0 0; border: 1px solid var(--hair); border-bottom: 0; padding: 28px 28px 0; box-shadow: 0 -10px 60px rgba(0,0,0,.05); text-align: left; }
.composer-art .q { margin-left: auto; width: max-content; max-width: 80%; background: var(--gray); padding: 10px 16px; border-radius: 20px; font-size: 16px; }
.composer-art .a { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; font-size: 16px; color: var(--ink); line-height: 1.5; }
.composer-art .a img { width: 24px; height: auto; align-self: flex-start; flex-shrink: 0; margin-top: 2px; }
.composer-art .box { margin-top: 24px; border: 1px solid var(--hair); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 14px 16px 16px; }
.composer-art .ph { color: var(--ink-3); font-size: 16px; }
.composer-art .row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }

/* create tile art */
.create-art { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(820px, 100%); padding-bottom: 56px; }
.create-art figure { margin: 0; border-radius: 18px; overflow: hidden; background: #111; aspect-ratio: 3/4; position: relative; }
.create-art figure:nth-child(2) { transform: translateY(-24px); }
.create-art svg { width: 100%; height: 100%; }
.create-art figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12px; padding: 4px 10px; border-radius: 980px; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.big-num { font-size: clamp(120px, 16vw, 200px); line-height: .9; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.scripts-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; max-width: 520px; font-size: 28px; color: var(--ink-2); padding-bottom: 56px; }
.lock-art { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.08); margin-bottom: 64px; }
.lock-art svg { width: 56px; height: 56px; color: var(--ink); }
.price-art { font-size: clamp(64px, 8vw, 96px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; padding-bottom: 72px; }
.price-art small { font-size: 21px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.apps-art { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding-bottom: 72px; }

/* ---------- Store badges ---------- */
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #000; color: #fff; transition: opacity .2s; }
.store:hover { opacity: .85; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 10px; line-height: 1.1; opacity: .8; letter-spacing: 0; }
.store strong { display: block; font-size: 17px; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.store.ghost { background: #fff; color: var(--ink); border: 1px solid var(--hair); }

/* ---------- Page hero (sub-pages) ---------- */
.phero { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.phero .h-hero { max-width: 900px; margin: 0 auto; }

/* ---------- Chat demo ---------- */
.tabs { display: flex; gap: 4px; justify-content: center; margin: 0 auto 28px; padding: 4px; background: #e8e8ed; border-radius: 980px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 8px 18px; border-radius: 980px; font-size: 14px; color: var(--ink); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.tab.active { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); font-weight: 600; }
.app {
  max-width: 920px; margin: 0 auto; background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.08); box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 30px 80px -20px rgba(0,0,0,.18);
}
.app-bar { display: flex; align-items: center; height: 46px; padding: 0 16px; border-bottom: 1px solid rgba(0,0,0,.06); position: relative; }
.app-bar .dots { display: flex; gap: 7px; }
.app-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #e1e1e6; }
.app-bar .title { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.app-bar .title img { width: 18px; height: auto; }
.thread { height: 440px; padding: 28px clamp(16px, 5vw, 64px) 12px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.msg { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); }
.msg.show { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; max-width: 78%; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.msg.user .bubble { background: var(--gray); padding: 10px 16px; border-radius: 20px; font-size: 16px; }
.msg.user .atts { display: flex; gap: 8px; }
.msg.ai { align-self: flex-start; display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 16px; line-height: 1.55; max-width: 94%; }
.msg.ai .av img { width: 24px; height: auto; margin-top: 2px; }
.msg.ai .txt { white-space: pre-wrap; }
.caret { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-left: 4px; vertical-align: middle; animation: pulse-dot 1s infinite; }
@keyframes pulse-dot { 50% { opacity: .2; } }
.dots3 { display: inline-flex; gap: 4px; padding-top: 9px; }
.dots3 i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: d3 1.2s infinite; }
.dots3 i:nth-child(2) { animation-delay: .15s; } .dots3 i:nth-child(3) { animation-delay: .3s; }
@keyframes d3 { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.media { margin-top: 12px; border-radius: 16px; overflow: hidden; position: relative; width: min(400px, 100%); aspect-ratio: 16/10; background: #eee; }
.media svg { width: 100%; height: 100%; }
.media .after { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.6s var(--ease); }
.media.revealed .after { clip-path: inset(0 0 0 50%); }
.media .divider { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.3); transition: left 1.6s var(--ease); }
.media.revealed .divider { left: 50%; }
.media .lbl { position: absolute; top: 10px; font-size: 11px; padding: 3px 9px; border-radius: 980px; background: rgba(0,0,0,.55); color: #fff; }
.media .lbl.l { left: 10px; } .media .lbl.r { right: 10px; }
.media.vid { aspect-ratio: auto; background: #000; padding: 10px; display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: stretch; width: min(420px, 100%); }
.media.vid .frame { aspect-ratio: 9/16; border-radius: 10px; overflow: hidden; position: relative; }
.media.vid .frame .cap { position: absolute; left: 6px; right: 6px; bottom: 18px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.media.vid .info { color: #f5f5f7; font-size: 13px; display: flex; flex-direction: column; justify-content: space-between; padding: 4px 2px; }
.media.vid .strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; height: 34px; border: 2px solid #ffd60a; border-radius: 6px; overflow: hidden; }
.media.vid .strip i { display: block; }
.shimmer-box { position: absolute; inset: 0; background: linear-gradient(100deg, #eee 30%, #f8f8f8 50%, #eee 70%); background-size: 200% 100%; animation: shim 1.2s infinite; transition: opacity .6s; }
.media.done .shimmer-box { opacity: 0; }
@keyframes shim { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* composer */
.composer { margin: 0 clamp(12px, 4vw, 48px) 20px; border: 1px solid var(--hair); border-radius: 24px; padding: 12px 12px 10px 16px; position: relative; background: #fff; transition: border-color .3s, box-shadow .3s; }
.composer.enhancing { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10,127,168,.12); }
.att-row { display: flex; gap: 8px; margin-bottom: 10px; }
.att-row:empty { display: none; }
.att { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 12px; background: var(--gray); font-size: 13px; animation: pop .4s var(--ease-out); }
.att .thumb { width: 30px; height: 30px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.att .thumb svg { width: 100%; height: 100%; }
@keyframes pop { from { transform: scale(.8); opacity: 0; } }
.field { min-height: 48px; font-size: 16px; line-height: 1.5; color: var(--ink); padding-right: 6px; }
.field.ph { color: var(--ink-3); }
.field.rewrite { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 40%, var(--accent) 50%, var(--ink) 60%, var(--ink) 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sweep 1.1s linear infinite; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.tools { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.tool { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 980px; border: 1px solid var(--hair); font-size: 13px; color: var(--ink); background: #fff; white-space: nowrap; transition: background .25s, border-color .25s, color .25s, transform .2s; }
.tool svg { width: 16px; height: 16px; flex-shrink: 0; }
.tool.icon { width: 34px; padding: 0; justify-content: center; }
.tool.press { transform: scale(.94); }
.tool.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool .chev { width: 12px; height: 12px; opacity: .6; }
.tools .spacer { flex: 1; }
.send { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: opacity .2s, transform .2s; }
.send.off { opacity: .25; }
.send svg { width: 16px; height: 16px; }
.mic { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink-2); }
.mic svg { width: 18px; height: 18px; }
.model-menu { position: absolute; left: 56px; bottom: 54px; width: 250px; background: #fff; border-radius: 16px; padding: 6px; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 20px 50px rgba(0,0,0,.16); opacity: 0; transform: translateY(8px) scale(.98); transform-origin: bottom left; pointer-events: none; transition: opacity .25s, transform .3s var(--ease-out); z-index: 3; }
.model-menu.open { opacity: 1; transform: none; }
.model-menu div { display: grid; grid-template-columns: 1fr 16px; gap: 2px 8px; padding: 8px 10px; border-radius: 10px; font-size: 13px; transition: background .2s; }
.model-menu div b { font-weight: 600; }
.model-menu div span { grid-column: 1; color: var(--ink-2); font-size: 12px; }
.model-menu div svg { grid-row: 1 / 3; grid-column: 2; width: 14px; height: 14px; align-self: center; color: var(--accent); opacity: 0; }
.model-menu div.sel svg { opacity: 1; }
.model-menu div.hl { background: var(--gray); }
.legend { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend svg { width: 16px; height: 16px; color: var(--ink); }
@media (max-width: 640px) {
  .thread { height: 470px; }
  .msg.ai { grid-template-columns: 1fr; gap: 6px; }
  .tool .lbl-long { display: none; }
  .mic { display: none; }
  .model-menu { left: 12px; }
}

/* ---------- Feature rows / cards ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature.flip .feature-art { order: -1; }
.feature-art { border-radius: 28px; overflow: hidden; background: var(--gray); aspect-ratio: 1 / 1; position: relative; }
.bg-gray .feature-art { background: #fff; }
.feature-art svg { width: 100%; height: 100%; }
@media (max-width: 833px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-art { order: 0; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; border-radius: 28px; padding: 32px; }
.bg-white .card, .card.gray { background: var(--gray); }
.card .ic { width: 40px; height: 40px; color: var(--ink); margin-bottom: 20px; }
.card .ic svg { width: 100%; height: 100%; }
.card p { margin: 10px 0 0; color: var(--ink-2); }
@media (max-width: 833px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Before/after slider (photo edit) ---------- */
.ba { position: relative; width: 100%; height: 100%; }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); }
.ba .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 15px; color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.2); letter-spacing: 1px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Languages page ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lang { background: var(--gray); border-radius: 20px; padding: 22px 22px 18px; transition: background .3s; }
.lang:hover { background: #ebebf0; }
.lang .n { font-size: 30px; line-height: 1.3; font-weight: 500; }
.lang .e { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 900px) { .lang-grid { grid-template-columns: repeat(2, 1fr); } }
.mix { max-width: 680px; margin: 0 auto; display: grid; gap: 12px; }
.mix .b { padding: 12px 18px; border-radius: 20px; font-size: 18px; width: max-content; max-width: 100%; }
.mix .b.u { margin-left: auto; background: var(--accent); color: #fff; }
.mix .b.a { background: #fff; }

/* ---------- Statement (scroll-lit) ---------- */
.statement { height: 220vh; background: #000; }
.statement-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.statement p { margin: 0; font-size: clamp(32px, 5vw, 64px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.statement .w { color: #333336; transition: color .3s; }
.statement .w.lit { color: #f5f5f7; }

/* ---------- Privacy ---------- */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise .card { text-align: left; }
.promise .num { font-size: 64px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
@media (max-width: 833px) { .promise { grid-template-columns: 1fr; } }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; max-width: 900px; margin: 0 auto; }
.flow .node { background: #fff; border-radius: 20px; padding: 22px; text-align: center; font-size: 15px; }
.flow .node b { display: block; font-size: 17px; margin-bottom: 4px; }
.flow .arrow { color: var(--ink-3); font-size: 24px; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } .flow .arrow { transform: rotate(90deg); justify-self: center; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border-radius: 28px; padding: 36px 32px 32px; display: flex; flex-direction: column; border: 1px solid transparent; }
.plan.rec { border-color: var(--ink); }
.plan .tag { font-size: 12px; font-weight: 600; color: var(--accent); height: 18px; }
.plan h3 { margin: 8px 0 0; font-size: 28px; font-weight: 600; letter-spacing: .007em; }
.plan .for { color: var(--ink-2); margin: 4px 0 0; }
.plan .price { margin: 28px 0 0; font-size: 56px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.plan .price small { font-size: 17px; font-weight: 400; color: var(--ink-2); letter-spacing: -0.022em; }
.plan .btn { margin: 28px 0 0; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--hair); }
.plan li { padding: 14px 0; border-bottom: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.plan li b { font-weight: 600; text-align: right; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 12px; border-bottom: 1px solid var(--hair); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink); }
.compare thead th { font-size: 17px; font-weight: 600; border-bottom-color: var(--ink); }
.compare td { color: var(--ink-2); }
.compare .ck { color: var(--ink); }
.table-wrap { overflow-x: auto; }
.fine { font-size: 12px; line-height: 1.5; color: var(--ink-2); max-width: 800px; margin: 32px auto 0; }
.fine a { color: var(--accent); text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.faq-q .pm { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-item.open .pm::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 24px; color: var(--ink-2); max-width: 70ch; }
.faq-a a { color: var(--accent); }
.faq-group { font-size: 28px; font-weight: 600; margin: 64px auto 8px; max-width: 820px; }
.faq-group:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--gray); color: var(--ink-2); font-size: 12px; line-height: 1.34; letter-spacing: -0.01em; padding: 18px 0 22px; }
.footer .wrap { max-width: calc(980px + var(--gutter) * 2); }
.foot-note { padding: 16px 0 18px; border-bottom: 1px solid var(--hair); }
.foot-note p { margin: 0 0 8px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 0 8px; }
.foot-cols h4 { margin: 0 0 8px; color: var(--ink); font-size: 12px; font-weight: 600; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-cols a { color: #424245; }
.foot-cols a:hover { text-decoration: underline; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--hair); }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 4px 0; }
.foot-legal nav a { color: #424245; padding: 0 10px; border-left: 1px solid var(--hair); }
.foot-legal nav a:first-child { border-left: 0; padding-left: 0; }
.foot-legal nav a:hover { text-decoration: underline; }
@media (max-width: 833px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Legal ---------- */
.legal-hero { padding: 64px 0 32px; border-bottom: 1px solid var(--hair); }
.legal-hero p { color: var(--ink-2); margin: 12px 0 0; font-size: 14px; }
.legal-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.legal-tabs a { font-size: 14px; padding: 6px 14px; border-radius: 980px; border: 1px solid var(--hair); }
.legal-tabs a:hover { border-color: var(--ink-3); }
.legal-tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.legal-body { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 48px 0 120px; }
.toc { position: sticky; top: 116px; align-self: start; font-size: 14px; }
.toc h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 0 0 12px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a:hover { color: var(--accent); }
.prose { max-width: 720px; min-width: 0; }
.prose h2 { font-size: 24px; font-weight: 600; margin: 48px 0 12px; scroll-margin-top: 116px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #424245; font-size: 17px; line-height: 1.6; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose .callout { background: var(--gray); border-radius: 18px; padding: 20px 22px; margin: 0 0 24px; }
.prose .callout p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hair); color: #424245; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
@media (max-width: 833px) { .legal-body { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } }

/* ---------- Coming-soon modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s var(--ease); }
.modal.open .modal-bg { opacity: 1; }
.modal-card { position: relative; width: 100%; max-width: 400px; text-align: center; padding: 44px 32px 28px; border-radius: 28px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.25); transform: translateY(16px) scale(.97); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; }
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-card img { width: 72px; height: auto; margin: 0 auto; }
.modal-card h3 { margin: 22px 0 0; font-size: 28px; font-weight: 600; }
.modal-card .what { margin-top: 6px; color: var(--accent); font-weight: 600; font-size: 15px; }
.modal-card p { margin: 12px 0 0; color: var(--ink-2); }
.modal-card .btn { margin-top: 24px; width: 100%; }
.modal-card .mail { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.modal-card .mail a { color: var(--accent); }
.modal-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--gray); display: grid; place-items: center; }
.modal-x svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .statement { height: auto; } .statement-sticky { position: static; height: auto; padding: 120px 0; } .statement .w { color: #f5f5f7; }
}

/* ==========================================================================
   v3 additions: research, code, community, stories, packs, business
   ========================================================================== */
.tile-note { margin: 10px auto 0; max-width: 560px; color: var(--ink-2); font-size: 17px; }
.on-dark .tile-note { color: var(--ink-3); }

/* mini research checklist (home tile) */
.mini-report { width: min(380px, 100%); background: #fff; border-radius: 20px; padding: 18px; display: grid; gap: 10px; text-align: left; box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.mr-row { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.mr-row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-3); }
.mr-row.done { color: var(--ink); }
.mr-row.done svg { color: var(--accent); }

/* code blocks */
.code-art { margin: 0; text-align: left; width: min(440px, 100%); background: #1d1d1f; color: #f5f5f7; border-radius: 18px; padding: 20px 22px; font: 13px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0; white-space: pre; overflow-x: auto; }
.code-art.big { width: 100%; font-size: 14px; padding: 28px; }
.code-art .c { color: #8e8e93; }
.code-art .k { color: #ff7ab2; }
.code-art .f { color: #6bdfff; }
.code-art .s { color: #ffd27a; }
.code-art .n { color: #d9c97c; }
.card.dark { background: #1d1d1f; }
.card.dark .ic { color: #f5f5f7; }
.card.dark p { color: var(--ink-3); }

/* community feed mock */
.feed-art { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(1000px, 100%); padding-bottom: 56px; text-align: left; }
.feed-art.two { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
.post { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid rgba(0,0,0,.06); display: flex; flex-direction: column; }
.post .pm { aspect-ratio: 4/5; overflow: hidden; background: var(--gray); }
.post .pm svg { width: 100%; height: 100%; }
.pf { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 12px; color: var(--ink-2); }
.pf i, .rs-head i, .svc-row i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.pf b { display: block; color: var(--ink); font-size: 13px; font-weight: 600; }
.svc-card, .site-card { aspect-ratio: 4/5; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; background: var(--gray); }
.svc-card b, .site-card b { font-size: 17px; line-height: 1.25; color: var(--ink); }
.svc-card span:not(.chip):not(.btn), .site-card span:not(.btn):not(.bar) { font-size: 13px; color: var(--ink-2); }
.svc-card .btn, .site-card .btn { align-self: flex-start; margin-top: 6px; }
.site-card { background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.site-card .bar { display: flex; gap: 4px; margin-bottom: auto; }
.site-card .bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--hair); }
.chip { display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 980px; background: rgba(10,127,168,.1); color: var(--accent); }
@media (max-width: 833px) { .feed-art { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* story frame */
.story-art { position: relative; width: 190px; aspect-ratio: 9/16; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); margin-bottom: 56px; }
.story-art.lg { width: 46%; margin: 0; }
.story-art svg { width: 100%; height: 100%; }
.story-art .dur { position: absolute; top: 12px; right: 12px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 980px; background: rgba(0,0,0,.55); color: #fff; }

/* price strip (home) */
.price-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: min(820px, 100%); padding-bottom: 64px; }
.price-strip div { background: #fff; border-radius: 18px; padding: 20px 10px; }
.price-strip b { display: block; font-size: 15px; font-weight: 600; }
.price-strip span { display: block; margin-top: 6px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
@media (max-width: 640px) { .price-strip { grid-template-columns: repeat(2, 1fr); } .price-strip div:last-child { grid-column: span 2; } }

/* research report mock */
.report { background: #fff; border-radius: 28px; padding: 28px; display: grid; gap: 18px; }
.report-q { font-size: 17px; font-weight: 600; background: var(--gray); padding: 12px 16px; border-radius: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-2); }
.steps li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.report-out { border-top: 1px solid var(--hair); padding-top: 16px; }
.report-out p { margin: 6px 0 12px; color: var(--ink-2); font-size: 15px; }
.srcs { display: flex; gap: 6px; flex-wrap: wrap; }
.srcs span { font-size: 12px; padding: 4px 10px; border-radius: 980px; background: var(--gray); color: var(--ink-2); }

/* browser mock */
.browser { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 30px 70px -20px rgba(0,0,0,.18); }
.bg-gray .browser { border: 0; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--gray); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--hair); }
.browser-bar .url { flex: 1; text-align: center; font-size: 12px; color: var(--ink-2); background: #fff; border-radius: 8px; padding: 4px 10px; margin-right: 40px; }
.browser-body { padding: 36px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.browser-body b { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.browser-body > span:not(.btn) { color: var(--ink-2); }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 22px; }
.tiles3 i { aspect-ratio: 1; border-radius: 12px; background: var(--gray); }
.tiles3 i:nth-child(2) { background: #e8e8ed; }

/* ecosystem strip */
.eco { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.eco-item { background: #fff; border-radius: 22px; padding: 24px 20px; display: flex; flex-direction: column; gap: 4px; transition: transform .4s var(--ease-out); }
.eco-item:hover { transform: translateY(-3px); }
.eco-item svg { width: 28px; height: 28px; margin-bottom: 10px; color: var(--ink); }
.eco-item b { font-size: 19px; font-weight: 600; }
.eco-item span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .eco { grid-template-columns: repeat(2, 1fr); } .eco-item:last-child { grid-column: span 2; } }

/* resume / skills / services mocks */
.resume, .skills, .svc-list { background: #fff; border-radius: 28px; padding: 28px; display: grid; gap: 18px; }
.bg-white .resume, .sec:not(.bg-gray) .skills { background: var(--gray); }
.rs-head { display: flex; align-items: center; gap: 12px; }
.rs-head i { width: 44px; height: 44px; font-size: 17px; }
.rs-head b { display: block; font-size: 19px; font-weight: 600; }
.rs-head span:not(.chip) { font-size: 14px; color: var(--ink-2); }
.rs-head .chip { margin-left: auto; align-self: center; }
.rs-sec { display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--hair); padding-top: 14px; }
.rs-sec b { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 13px; padding: 5px 11px; border-radius: 980px; background: var(--gray); color: var(--ink); }
.sec:not(.bg-gray) .skills .chips span { background: #fff; }
.chips.big span { font-size: 15px; padding: 8px 14px; }
.resume .btn { justify-self: start; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; border-top: 1px solid var(--hair); padding-top: 16px; }
.stats b { display: block; font-size: 24px; font-weight: 600; }
.stats span { font-size: 13px; color: var(--ink-2); }
.svc-list { gap: 0; padding: 8px 20px; }
.svc-row { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.svc-row:last-child { border-bottom: 0; }
.svc-row div { flex: 1; min-width: 0; }
.svc-row b { display: block; font-size: 15px; font-weight: 600; }
.svc-row span { font-size: 13px; color: var(--ink-2); }
.svc-row .price { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.svc-row.need i { background: var(--accent); }

/* plans: four columns */
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans.four .plan { padding: 32px 26px 28px; }
.plans.four .plan .price { font-size: 48px; }
@media (max-width: 1100px) { .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; } }
@media (max-width: 640px) { .plans.four { grid-template-columns: 1fr; max-width: 480px; } }

/* packs */
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pack { background: var(--gray); border-radius: 28px; padding: 30px 26px; display: flex; flex-direction: column; }
.pack .ic { width: 36px; height: 36px; margin-bottom: 18px; }
.pack .ic svg { width: 100%; height: 100%; }
.pack h3 { margin: 0; font-size: 24px; font-weight: 600; }
.pprice { margin-top: 10px; font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.pprice small { font-size: 15px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.pack p { color: var(--ink-2); margin: 10px 0 0; font-size: 15px; }
.pack ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; font-size: 15px; }
.pack li::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 600; }
.pack .link { margin-top: auto; }
@media (max-width: 1100px) { .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .packs { grid-template-columns: 1fr; } }

/* enterprise */
.enterprise { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; background: var(--gray); border-radius: 32px; padding: clamp(32px, 6vw, 64px); }
.ent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ent-list li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.ent-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
@media (max-width: 833px) { .enterprise { grid-template-columns: 1fr; } }

/* chat demo: research steps + code reply */
.media.research { aspect-ratio: auto; background: var(--gray); padding: 14px 16px; display: grid; gap: 8px; width: min(420px, 100%); }
.media.research .st { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); transition: color .3s; }
.media.research .st svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .3; transition: opacity .3s, color .3s; }
.media.research .st.on { color: var(--ink); }
.media.research .st.on svg { opacity: 1; color: var(--accent); }
.media.code { aspect-ratio: auto; background: none; width: min(460px, 100%); }
.media.code pre { width: 100%; font-size: 12px; padding: 14px 16px; border-radius: 14px; min-height: 120px; }

.tile.compact { min-height: 0; }
.tile.compact .art { margin-top: 0; padding-top: 36px; }
.tile.compact .price-strip { padding-bottom: 56px; }

.gnav-signin { font-size: 12px; color: rgba(0,0,0,.8); }
.gnav-signin:hover { color: #000; }
@media (max-width: 833px) { .gnav-signin { display: none; } }
