/* Liquid Vision public site prototype. Breakpoints: tablet <= 1024px, phone <= 640px. */

/* Self-hosted fonts (the app's @fontsource files, OFL-1.1). No third-party font requests. */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-condensed-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-condensed-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-latin-700-normal.woff2) format('woff2'); }

:root {
  --pink: #e13292;
  --cyan: #0fc8e4;
  --grad: linear-gradient(90deg, #e13292, #0fc8e4);
  --btn-grad: linear-gradient(135deg, #c81f7d, #1386b4);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --num: 'Barlow', 'DIN Alternate', 'DIN Condensed', sans-serif;
  --maxw: 1216px;
  --gutter: 32px;
  --sec-pad: 110px;
}
@media (max-width: 1024px) { :root { --gutter: 28px; --sec-pad: 88px; } }
@media (max-width: 640px) { :root { --gutter: 16px; --sec-pad: 64px; } }

.t-light {
  --bg: radial-gradient(1100px 720px at 6% -12%, rgba(255,255,255,.95), rgba(255,255,255,0) 60%),
        radial-gradient(1500px 950px at 102% -4%, rgba(170,192,220,.55), rgba(170,192,220,0) 62%),
        radial-gradient(1100px 760px at -6% 104%, rgba(172,224,236,.4), rgba(172,224,236,0) 64%),
        linear-gradient(180deg, #eef1f5, #e3e8ee);
  --fg: #26262d; --mut: #575b69; --line: rgba(38,38,45,.14); --card: #ffffff; --tile: #1e1e27;
  --pinkt: #c81f7d; --cyant: #0fc0de; --link: #087f9c; --chip: rgba(38,38,45,.06); --field: #f6f8fb;
}
.t-dark {
  --bg: #1e1e27;
  --fg: #f4f4f6; --mut: #b3b5c2; --line: rgba(255,255,255,.13); --card: #2a2a36; --tile: #12121a;
  --pinkt: #ff5aa8; --cyant: #4cc9ec; --link: #4cc9ec; --chip: rgba(255,255,255,.07); --field: #1e1e27;
}
.t-grad {
  --bg: linear-gradient(120deg, #d0267f 0%, #8a4fc4 50%, #139cc4 100%);
  --fg: #fff; --mut: rgba(255,255,255,.9); --line: rgba(255,255,255,.3); --card: rgba(255,255,255,.14);
  --pinkt: #fff; --cyant: #fff; --link: #fff; --chip: rgba(255,255,255,.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 19px; line-height: 1.45; background: #1e1e27; color: #26262d; -webkit-font-smoothing: antialiased; }
@media (max-width: 640px) { body { font-size: 18px; } }
img, video { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h3 { font-weight: inherit; font-size: inherit; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: #1e1e27; color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.sec { background: var(--bg); color: var(--fg); padding: var(--sec-pad) 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.stack { display: flex; flex-direction: column; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); }
.serif { font-family: var(--serif); font-weight: 400; }
.pk { font-style: italic; color: var(--pinkt); }
.cy { font-style: italic; color: var(--cyant); }
.gtext { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .06em .08em .2em 0; margin-bottom: -.2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.t-grad .gtext { background: none; color: #fff; }
.mut { color: var(--mut); }
.link { color: var(--link); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 66px); line-height: 1.03; }
.lede { font-size: clamp(19px, 1.8vw, 22px); color: var(--mut); }
.num { font-family: var(--num); font-weight: 700; letter-spacing: -.015em; line-height: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 18px/1 var(--sans); letter-spacing: .02em; text-decoration: none; border: 0; cursor: pointer; }
.btn-g { background: var(--btn-grad); color: #fff; }
.btn-g:hover { filter: brightness(1.08); }
.t-grad .btn-g { background: #fff; color: #a01866; }
.btn-o { border: 1.5px solid var(--fg); color: var(--fg); background: transparent; }
.btn-o:hover { background: var(--chip); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Header and nav ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: var(--fg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.logo { display: block; height: 26px; width: auto; }
@media (max-width: 640px) { .logo { height: 20px; } }
.t-grad .logo, .t-grad .halftone { filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 18px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--pinkt); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 17px; }
.nav .signin { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--cyan); color: #0b0e18; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.nav a.signin:hover { background: #3fd6ec; color: #0b0e18; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--fg); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 76px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border-radius: 20px; background: #fff; color: #26262d; box-shadow: 0 30px 60px -20px rgba(20,24,40,.35); }
  .nav a:not(.btn) { padding: 14px 16px; border-radius: 12px; }
  .nav a:not(.btn):hover { background: rgba(38,38,45,.06); color: #26262d; }
  .nav .btn { margin-top: 6px; }
  .nav a.signin { margin-top: 6px; padding: 0 20px; border-radius: 999px; min-height: 48px; }
  .nav a.signin:hover { background: #3fd6ec; color: #0b0e18; }
  .site-header.open .nav { display: flex; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 88px; }
@media (max-width: 640px) { .hero { padding-top: 76px; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 40px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 5.6vw, 84px); line-height: 1; letter-spacing: -.02em; }
.hero .lede { max-width: 600px; font-size: clamp(19px, 2vw, 23px); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.halo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: 14px; max-width: 560px; justify-self: end; width: 100%; }
.halo .eyebrow { font-size: 13px; white-space: nowrap; }
.halo .top { grid-column: 2; grid-row: 1; }
.halo .left { grid-column: 1; grid-row: 2; writing-mode: vertical-rl; transform: rotate(180deg); }
.halo .art { grid-column: 2; grid-row: 2; width: 100%; height: auto; aspect-ratio: 1; display: block; }
.halo .right { grid-column: 3; grid-row: 2; writing-mode: vertical-rl; }
.halo .bottom { grid-column: 2; grid-row: 3; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
  .hero h1 { font-size: clamp(44px, 9vw, 72px); }
  .tool-head h1 { font-size: clamp(40px, 8vw, 68px); }
  .halo { justify-self: center; max-width: 440px; }
}
@media (max-width: 640px) {
  .halo { max-width: 340px; gap: 10px; }
  .halo .eyebrow { font-size: 11px; letter-spacing: .16em; }
}

/* ---------- Why now ---------- */
.why { padding-top: calc(var(--sec-pad) * .6); padding-bottom: calc(var(--sec-pad) * 1.1); }
.pill-label { align-self: center; border: 1px solid var(--line); padding: 10px 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split > div + div { border-left: 1px solid var(--line); padding-left: 56px; }
.split h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; }
.points { display: flex; flex-direction: column; gap: 18px; color: var(--mut); }
.points b { color: var(--fg); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 44px; }
}

/* ---------- Platform ---------- */
.platform { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.layer { display: grid; grid-template-columns: 220px minmax(0, 1fr) 90px; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.layer:first-child { border-top: 1px solid var(--line); border-bottom: 0; }
.layer .name { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.layer:first-child .name { color: var(--fg); }
.layer .depth { height: 8px; border-radius: 4px; background: var(--chip); overflow: hidden; }
.layer .depth span { display: block; height: 100%; background: var(--grad); }
.surface { display: flex; align-items: center; gap: 14px; padding: 6px 0; }
.surface::before { content: ""; flex: 1; height: 2px; background: var(--grad); }
.surface span { font-size: 12px; }
@media (max-width: 1024px) {
  .platform { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .layer { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .layer .depth { display: none; }
}

/* ---------- How we build ---------- */
.center { text-align: center; align-items: center; }
.two-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card .tag { font-size: 14px; font-weight: 600; letter-spacing: .16em; }
.card .serif { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; }
.ticks-labels { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.ticks { display: flex; align-items: flex-end; height: 46px; }
.ticks span { flex: 1; display: flex; justify-content: center; }
.ticks i { width: 1.5px; background: var(--mut); }
.ticks i.h { background: var(--fg); }
.gbar { height: 16px; border-radius: 3px; background: linear-gradient(90deg, #e13292, #8a5cc8, #0fc8e4); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--line); padding-top: 36px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat .num { font-size: clamp(38px, 4.4vw, 54px); }
.stat dd { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 8px; }
.step .n { font: 13px ui-monospace, Menlo, monospace; color: var(--link); }
.step h3 { font-size: 28px; line-height: 1.1; }
@media (max-width: 1024px) {
  .stats, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .two-cards { grid-template-columns: 1fr; }
  .ticks-labels span:nth-child(2) { display: none; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .stats { gap: 24px 16px; }
}

/* ---------- Marketplace ---------- */
.head-row { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; justify-content: space-between; }
.head-row > :first-child { flex: 1 1 520px; }
.head-row > p { flex: 1 1 340px; }
.filters { display: flex; gap: 10px; align-items: center; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--chip); color: var(--fg); font: 500 18px var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--card); }
.filters .note { flex: 0 0 auto; margin-left: auto; font-size: 15px; color: var(--mut); white-space: nowrap; padding-left: 12px; }
@media (max-width: 900px) { .filters .note { display: none; } }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.tool-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 16px; min-height: 300px; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.tool-card:hover { transform: translateY(-2px); border-color: var(--cyan); }
.tool-card[hidden] { display: none; }
.tool-card .top { display: flex; align-items: center; justify-content: space-between; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--tile); color: #7fe3f2; display: grid; place-items: center; flex: 0 0 auto; }
.badge { font-size: 14px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--chip); color: var(--mut); }
.tool-card strong.serif { font-size: 34px; line-height: 1; }
.tool-card .dept { font-size: 15px; color: var(--mut); letter-spacing: .04em; }
.tool-card .line { font-size: 20px; line-height: 1.35; flex: 1; }
.tool-card.build { background: transparent; border: 1.5px dashed var(--line); }
.tool-card.build .icon-tile { background: transparent; border: 1.5px dashed var(--line); color: var(--mut); }
@media (max-width: 640px) { .tool-card { min-height: 0; } }

/* ---------- Case study ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.ba > div { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.ba .before { background: var(--chip); }
.ba .after { background: linear-gradient(135deg, rgba(225,50,146,.22), rgba(15,200,228,.22)); }
.ba .label { font-size: 14px; font-weight: 600; letter-spacing: .2em; }
.ba .big { font-size: clamp(64px, 7.6vw, 108px); line-height: .95; }
.ba .before .big { color: var(--mut); text-decoration: line-through; text-decoration-thickness: 4px; }
.ba .after .big { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; margin-bottom: -.1em; }
.ba ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.ba .before ul { color: var(--mut); }
.case-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 28px; align-items: start; }
.case-stats .num { font-size: clamp(34px, 3.6vw, 44px); }
.case-stats .btn { align-self: center; }
@media (max-width: 900px) {
  .ba { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-stats .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .case-stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- CTA and footer ---------- */
.cta { text-align: center; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6vw, 80px); line-height: 1; }
.site-footer { padding: 56px 0 36px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 56px; justify-content: space-between; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 56px; font-size: 17px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--cyant); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: 15px; color: var(--mut); }

/* ---------- Product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 17px; color: var(--mut); }
.crumbs b { font-weight: 500; color: var(--fg); }
.tool-head { display: flex; flex-direction: column; gap: 16px; }
.tool-head .meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tool-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -.02em; }
.tool-head .lede { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 27px); line-height: 1.35; }
.depts { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.depts li { min-height: 30px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 999px; background: var(--chip); font-size: 16px; color: var(--mut); }

/* The app's three hero layouts (CommandCenterTool.tsx), chosen by container width. */
.tool-wrap { container-type: inline-size; }
.tool-layout { display: grid; gap: 36px; align-items: start; grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "cap" "card" "overview" "what" "who"; }
.a-media { grid-area: media; min-width: 0; }
.a-cap { grid-area: cap; min-width: 0; margin-top: -24px; }
.a-card { grid-area: card; display: flex; flex-direction: column; width: 100%; max-width: 28rem; }
.a-ov { grid-area: overview; min-width: 0; }
.a-what { grid-area: what; min-width: 0; }
.a-who { grid-area: who; min-width: 0; }
.need { min-height: 120px; resize: vertical; }
@container (min-width: 912px) {
  .tool-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 20rem; grid-template-areas: "media media media" "cap cap cap" "overview what card" "who who card"; }
  .a-card { max-width: none; }
}
@container (min-width: 1092px) {
  .tool-layout { grid-template-columns: repeat(3, minmax(0, 1fr)) 21rem; grid-template-areas: "media media media card" "cap cap cap ." "overview what who who"; }
  /* The video sets the row height; the card fills it exactly instead of stretching the row. */
  .a-card { align-self: stretch; position: relative; }
  .a-card .get { position: absolute; inset: 0; }
  .need { min-height: 40px; flex: 1 1 0; resize: none; }
}
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0b0e18; box-shadow: 0 30px 60px -30px rgba(5,7,15,.55); }
@media (max-width: 640px) { .frame { border-radius: 16px; } }
.frame video, .frame img { display: block; width: 100%; height: 100%; }
.frame video { object-fit: contain; background: #000; }
.frame img { object-fit: cover; }
.frame .placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; text-align: center; font: italic 24px/1.35 var(--serif); color: rgba(242,244,248,.75); }
@media (max-width: 640px) { .frame .placeholder { font-size: 17px; padding: 16px; } }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.arrow:hover { background: rgba(0,0,0,.65); }
.arrow.prev { left: 12px; } .arrow.next { right: 12px; }
@media (max-width: 640px) { .arrow { width: 36px; height: 36px; } .arrow.prev { left: 8px; } .arrow.next { right: 8px; } }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,.25); pointer-events: none; }
.progress i { display: block; height: 100%; background: #18c8e4; transform-origin: left; animation: media-progress 15s linear forwards; }
@keyframes media-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .progress { display: none; } }
.caption { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; font-size: 16px; color: var(--mut); }
.caption .title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dots { display: flex; align-items: center; }
.dot { height: 24px; padding: 0 3px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.dot span { display: block; height: 6px; width: 6px; border-radius: 3px; background: rgba(87,91,105,.35); transition: all .2s; }
.dot[aria-pressed="true"] span { width: 16px; background: #18c8e4; }
.pause { justify-self: end; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--mut); display: grid; place-items: center; cursor: pointer; }
.pause:hover { background: var(--chip); color: var(--fg); }
.get { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 20px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(30,44,70,.45); }
.get .get-title { font-size: 28px; line-height: 1.05; }
.get .field { gap: 4px; }
.get .field label { font-size: 14px; }
.get .field input, .get .field textarea { font-size: 16px; padding: 7px 12px; border-radius: 10px; }
.get .field input { min-height: 38px; }
.get .btn { min-height: 44px; }
.get form { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.grow { flex: 1; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea { font: inherit; font-size: 17px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--fg); width: 100%; }
.field input { min-height: 44px; }
.thanks { display: flex; gap: 8px; color: #0f7a4a; font-size: 17px; }
.detail h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.05; }
.detail p { font-size: 18px; line-height: 1.55; color: var(--mut); }
.benefit { display: flex; gap: 14px; align-items: baseline; }
.benefit .n { font: 11px ui-monospace, Menlo, monospace; letter-spacing: .12em; color: var(--mut); }
.benefit strong { font-size: 23px; line-height: 1.15; }
.benefit span.mut { font-size: 17px; }
.proof { font-size: 16px !important; border: 1px dashed var(--line); border-radius: 12px; padding: 12px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.three .label { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) { .three { grid-template-columns: 1fr; } }

/* ---------- Motion: subtle reveals on load and scroll. Only with html.motion (set when the
   visitor has not asked for reduced motion), so content is never hidden without JavaScript. ---------- */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .lines .w { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--ln, 0) * 110ms + var(--d, 0ms)); }
.motion .lines.in .w { opacity: 1; transform: none; }
.motion .halo.reveal { transform: translateY(12px) scale(.96); transition-duration: 1.2s; }
.motion .halo.reveal.in { transform: none; }
.motion .gbar { transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .2s; }
.motion .gbar.in { transform: none; }
.motion .ticks i { transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 18ms + 200ms); }
.motion .ticks.in i { transform: none; }
.motion .layer .depth span { transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0ms) * 2 + 350ms); }
.motion .layer.in .depth span { transform: none; }
.motion .surface::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .1s; }
.motion .surface.in::before { transform: none; }


/* ---------- FAQ ---------- */
.faq-title { max-width: 760px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.faq-item p { color: var(--mut); padding: 0 0 24px; max-width: 820px; }
.plus { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--fg); transform: translate(-50%, -50%); transition: transform .25s ease; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover h3 { color: var(--link); }

/* ---------- Company pages ---------- */
.card .n { font: 13px ui-monospace, Menlo, monospace; color: var(--link); }
.card h3.serif { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.08; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1024px) { .four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .four { grid-template-columns: 1fr; } }
ol.three { counter-reset: none; }

.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 40px; max-width: 1080px; width: 100%; margin: 0 auto; }
.logo-cell { display: flex; align-items: center; justify-content: center; height: 84px; }
.logo-cell img { max-width: 132px; width: auto; opacity: .8; transition: opacity .2s ease; }
.logo-cell img:hover { opacity: 1; }
@media (max-width: 640px) {
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; }
  .logo-cell { height: 64px; }
  .logo-cell img { max-width: 92px; height: auto; max-height: 44px; }
}

.labs-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px 64px; align-items: end; padding-top: 40px; }
#about-title, #labs-title, #contact-title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.2vw, 90px); line-height: 1; letter-spacing: -.02em; }
.purpose { border-left: 2px solid var(--fg); padding-left: 28px; display: flex; flex-direction: column; gap: 14px; }
.purpose p { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; }
@media (max-width: 900px) { .labs-hero { grid-template-columns: 1fr; } #about-title, #labs-title, #contact-title { font-size: clamp(42px, 9vw, 72px); } }

.then-now { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.then-now > div { border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.then-now .label { font-size: 14px; font-weight: 600; letter-spacing: .2em; }
.then-now h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.then { background: var(--chip); color: var(--mut); }
.now { background: linear-gradient(135deg, rgba(225,50,146,.24), rgba(15,200,228,.24)); }
.now .label { color: var(--cyant); }
@media (max-width: 760px) { .then-now { grid-template-columns: 1fr; } }

.gets { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 72px; align-items: start; }
.get-list > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.get-list dt { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyant); }
.get-list dd { color: var(--mut); }
@media (max-width: 900px) { .gets { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .get-list > div { grid-template-columns: 1fr; gap: 4px; } }

.beliefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.beliefs > div { border-top: 2px solid var(--fg); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.beliefs h3 { font-size: 28px; line-height: 1.1; }
.origin { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.25; border-top: 1px solid var(--line); padding-top: 32px; max-width: 960px; }
@media (max-width: 900px) { .beliefs { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 40px 90px -50px rgba(30,44,70,.45); }
.contact-card form { display: flex; flex-direction: column; gap: 22px; }
.topics { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.topics legend { font-size: 15px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 17px; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.topic span:hover { border-color: var(--cyan); }
.topic input:checked + span { background: var(--fg); color: var(--card); border-color: var(--fg); }
.topic input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field select { font: inherit; font-size: 17px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--fg); width: 100%; min-height: 46px; }
.field textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--mut); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: #c81f7d; }
.form-end { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.side-dark { background: #1e1e27; color: #f4f4f6; --mut: #b3b5c2; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.side-dark .eyebrow { color: #b3b5c2; }
.mail { font-size: 22px; font-weight: 600; color: #4cc9ec; text-decoration: none; word-break: break-all; }
.mail:hover { text-decoration: underline; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.side-card address { font-style: normal; font-size: 19px; line-height: 1.5; }
.sent { display: flex; flex-direction: column; gap: 14px; padding: 12px 0; }
.sent .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }
.sent h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; }

/* Contact forms: two-up name/company row, honeypot, inline send error */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; font-size: 15px; line-height: 1.4; color: #c2185b; }
.form-error a { color: inherit; text-decoration: underline; }
button[disabled] { opacity: .6; cursor: progress; }

/* Legal pages (Terms, Privacy, Security, SMS Terms): long-form reading text */
.legal-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 68px); line-height: 1.02; }
.legal-updated:empty { display: none; }
.legal { font-size: 18px; line-height: 1.6; color: var(--fg); max-width: 72ch; }
.legal > * + * { margin-top: 1em; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin-top: 2em; }
.legal h3 { font-size: 19px; font-weight: 600; margin-top: 1.6em; }
.legal h4 { font-size: 17px; font-weight: 600; margin-top: 1.4em; }
.legal p, .legal li { color: var(--mut); }
.legal strong { color: var(--fg); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li + li { margin-top: .4em; }
.legal a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--fg); font-weight: 600; }
.legal svg { display: none; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; }
.legal-nav a { color: var(--link); }
.legal-nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }
