@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: oklch(.975 .003 250);
  --surface: oklch(.93 .008 250);
  --ink: oklch(.21 .045 262);
  --divider: color-mix(in oklch, var(--ink) 40%, transparent);
  --accent: oklch(.69 .18 48);
  --accent-400: oklch(.78 .14 52);
  --accent-600: oklch(.63 .18 45);
  --accent-700: oklch(.52 .16 42);
  --on-accent: oklch(.19 .045 262);
  --n-300: oklch(.87 .022 258);
  --n-400: oklch(.78 .022 258);
  --n-500: oklch(.68 .022 258);
  --n-600: oklch(.58 .022 258);
  --n-700: oklch(.48 .022 258);
  --n-800: oklch(.38 .022 258);
  --n-900: oklch(.29 .022 258);

  --font: "Archivo", system-ui, sans-serif;
  --px: clamp(20px, 4.4vw, 56px);
  --maxw: 1440px;
  --gutter: max(var(--px), calc((100% - var(--maxw)) / 2));
  --r-btn: 10px;
  --r-frame: 16px;
  --rule: 2px solid var(--divider);
}

.theme-ink {
  --band-bg: var(--ink); --band-fg: var(--bg); --band-muted: var(--n-300); --band-rule: var(--n-800);
  --frame: var(--n-700); --url: var(--n-400); --live: var(--accent-400); --stage: var(--n-900);
  --tab-on: var(--bg); --tab-off: var(--n-400); --tab-bar: var(--n-800); --tab-meta: var(--n-500);
  --close-muted: var(--n-400); --outline: var(--n-600); --close-rule: 0;
}
.theme-light {
  --band-bg: var(--bg); --band-fg: var(--ink); --band-muted: var(--n-900); --band-rule: var(--divider);
  --frame: var(--ink); --url: var(--n-800); --live: var(--accent-700); --stage: var(--surface);
  --tab-on: var(--ink); --tab-off: var(--n-700); --tab-bar: var(--n-300); --tab-meta: var(--n-700);
  --close-muted: var(--n-800); --outline: var(--divider); --close-rule: 2px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-600); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: color-mix(in oklch, var(--accent) 30%, transparent); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
[hidden] { display: none !important; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--n-800); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--n-700); }
.eyebrow.accent { color: var(--accent-700); }

.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px 16px; border: 2px solid transparent; border-radius: var(--r-btn); font: 600 15px/1.2 var(--font); cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-600); color: var(--on-accent); }
.btn-primary:active { background: var(--accent-700); }
.btn-outline { border-color: var(--outline); color: var(--band-fg); }
.btn-outline:hover { border-color: var(--band-fg); color: var(--band-fg); background: color-mix(in oklch, var(--band-fg) 7%, transparent); }
.btn-block { display: flex; width: 100%; }

.line-link { display: flex; justify-content: space-between; max-width: 560px; font-weight: 600; font-size: 15px; padding-bottom: 6px; border-bottom: 2px solid currentColor; }
.line-link.inline { display: inline-flex; gap: 8px; align-self: flex-start; padding-bottom: 4px; }

.hero-band { background: var(--band-bg); color: var(--band-fg); }
.nav { display: flex; align-items: center; gap: 32px; padding: 20px var(--gutter); border-bottom: 2px solid var(--band-rule); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand:hover { color: inherit; }
.brand-mark { width: 20px; height: 20px; border-radius: 4px; background: var(--accent); flex: none; }
.brand-mark.small { width: 12px; height: 12px; border-radius: 3px; }
.brand-name { font-size: 24px; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.nav-links { display: flex; gap: 32px; font-size: 15px; color: var(--band-muted); }
.nav-links a[aria-current="page"] { color: var(--band-fg); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-cta { padding: 10px 16px; }

.menu-btn { width: 44px; height: 44px; border-radius: var(--r-btn); border: 2px solid var(--band-rule); background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; flex: none; }
.menu-btn { display: none; flex-direction: column; gap: 5px; }
.menu-btn span { width: 18px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; border-bottom: 2px solid var(--band-rule); }
.mobile-menu > a:not(.btn) { display: flex; justify-content: space-between; padding: 16px 0; font-size: 22px; font-weight: 700; letter-spacing: -.015em; border-bottom: 1px solid var(--band-rule); }
.mobile-menu > a:not(.btn) span { color: var(--accent); }
.mobile-menu .btn { margin-top: 20px; }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8.3%; align-items: start; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero-copy { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 40px); container-type: inline-size; }
.hero h1 { font-size: clamp(40px, 14.5cqi, 80px); line-height: .92; letter-spacing: -.04em; font-weight: 800; font-stretch: 112%; text-wrap: balance; }
.hero-lede { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 2px solid var(--band-rule); max-width: 560px; }
.hero-lede p { font-size: 16px; color: var(--band-muted); text-wrap: pretty; }
.hero-lede p.strong { color: var(--band-fg); font-weight: 600; }

.stage { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.shot { position: absolute; inset: 0; }
.frame-link { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 16px; }
.frame-link > span { padding: 10px 14px; border-radius: var(--r-btn); background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.frame-link:hover > span, .frame-link:focus-visible > span { opacity: 1; transform: none; }
.frame-link:focus-visible { outline-offset: -4px; }
@media (hover: none), (max-width: 900px) { .frame-link > span { display: none; } }

.device { --bezel: oklch(.15 .02 262); --bezel-edge: var(--n-800); position: relative; margin-inline: auto; }
.device-bezel { position: relative; background: var(--bezel); border: 2px solid var(--bezel-edge); }
.device-screen { position: relative; overflow: hidden; background: var(--stage); }
.device-screen iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; background: #fff; transform-origin: 0 0; }
.device-screen .ph { border-radius: inherit; }
.device-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--stage); }

.device.laptop { width: min(100%, calc((100svh - 200px) * 1.5)); }
.laptop .device-bezel { padding: 2.4%; border-radius: 16px; }
.laptop .device-bezel::before { content: ""; position: absolute; top: 1.1%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--n-800); }
.laptop .device-screen { aspect-ratio: 16 / 10; border-radius: 4px; }

.device.tablet { width: min(84%, 920px, calc((100svh - 200px) * 1.3)); }
.tablet .device-bezel { padding: 3.2%; border-radius: clamp(20px, 2.6vw, 34px); }
.tablet .device-bezel::before { content: ""; position: absolute; top: 50%; left: 1.3%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--n-800); }
.tablet .device-screen { aspect-ratio: 4 / 3; border-radius: 8px; }

.device.phone { width: min(60%, 300px); }
.phone .device-bezel { padding: 12px; border-radius: 44px; }
.phone .device-bezel::before { content: ""; position: absolute; top: 20px; left: 50%; z-index: 2; width: 26%; height: 22px; transform: translateX(-50%); background: var(--bezel); border-radius: 999px; }
.phone .device-screen { aspect-ratio: 9 / 19.5; border-radius: 32px; }

.project-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "title device" "info device"; column-gap: 4.5%; row-gap: 28px; align-items: start; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(32px, 4vw, 56px); }
.ph-title { grid-area: title; align-self: end; container-type: inline-size; }
.ph-title h1 { font-size: clamp(38px, 13cqi, 68px); line-height: .92; letter-spacing: -.04em; font-weight: 800; font-stretch: 112%; text-wrap: balance; }
.ph-device { grid-area: device; align-self: center; min-width: 0; }
.ph-device .device.laptop { width: min(100%, calc((100svh - 170px) * 1.55)); }
.ph-info { grid-area: info; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ph-action .note { font-size: 14px; color: var(--band-muted); }

.section.tight { padding-top: clamp(36px, 4.5vw, 60px); padding-bottom: clamp(28px, 3.5vw, 48px); }
.section.tight + .section.tight { padding-top: 0; }
.tight .split { padding: 18px 0 22px; }
.tight .prose li { padding: 10px 0; font-size: 15px; }
.tight .section-head { padding-bottom: 14px; }
.tight .section-head h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.025em; }
.cards.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.cards.compact .card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto auto 1fr; column-gap: 20px; row-gap: 6px; align-items: start; }
.cards.compact .card-media { grid-row: 1 / span 3; border-radius: var(--r-btn); }
.cards.compact .card h3 { font-size: 20px; }
.cards.compact .card p { font-size: 14px; }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 24px 32px; margin: 0 0 clamp(36px, 4vw, 52px); padding: clamp(24px, 3vw, 36px); background: var(--surface); border-radius: var(--r-frame); }
.glance-item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding-left: 16px; border-left: 2px solid var(--accent); }
.glance dd { font-size: clamp(34px, 3.8vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-stretch: 112%; color: var(--accent-700); font-variant-numeric: tabular-nums; }
.glance dt { font-size: 14px; line-height: 1.35; color: var(--n-800); }

.pbody { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 6%; align-items: start; }
.pbody h2 { margin-bottom: 14px; font-size: clamp(24px, 2.4vw, 30px) !important; letter-spacing: -.025em !important; line-height: 1.1 !important; }
.pbody-side { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 24px; }
.brief { font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.scope { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.scope li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 2px solid var(--divider); border-radius: var(--r-btn); font-size: 14px; font-weight: 600; line-height: 1.25; }
.scope li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.spec { margin: 0; border-top: var(--rule); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: var(--rule); font-size: 14px; }
.spec dt { color: var(--n-700); flex: none; }
.spec dd { font-weight: 600; text-align: right; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.feature { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 8px; padding: 26px 22px 28px; background: var(--ink); color: var(--bg); border-radius: var(--r-frame); transition: transform .25s ease; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.feature:hover { transform: translateY(-4px); }
.feature:hover::before { transform: scaleX(1); }
.feature:hover .feature-num { color: var(--accent); }
.feature-num { transition: color .18s; }
.feature-num { font-size: 13px; font-weight: 600; color: var(--accent-400); font-variant-numeric: tabular-nums; }
.feature h3 { font-size: 19px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.feature p { font-size: 15px; line-height: 1.55; color: var(--n-300); text-wrap: pretty; }

.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: clamp(36px, 4vw, 52px); }
.story-panel { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-frame); background: var(--surface); }
.story-panel p { font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.story-panel.built { background: var(--ink); color: var(--bg); }
.story-panel.built .eyebrow { color: var(--accent-400); }

.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.pcard { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 2px solid var(--divider); border-radius: var(--r-frame); transition: background .18s, color .18s, border-color .18s; }
.pcard.next { justify-content: flex-end; text-align: right; }
.pcard-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pcard strong { font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.pcard-arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 2px solid currentColor; border-radius: 50%; font-size: 17px; transition: background .18s, color .18s, border-color .18s; }
.pcard:hover, .pcard:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pcard:hover .eyebrow, .pcard:focus-visible .eyebrow { color: var(--n-400); }
.pcard:hover .pcard-arrow, .pcard:focus-visible .pcard-arrow { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.close-band.tight { padding-top: clamp(44px, 5vw, 64px); }
.close-band.tight .close-copy { gap: 18px; }
.close-band.tight .close-copy h2 { font-size: clamp(28px, 6.4cqi, 46px); }
.close-band.tight .footer { margin-top: clamp(36px, 4.5vw, 56px); }
.stage-screen { position: relative; aspect-ratio: 16 / 11.5; }
.stage-screen .shot { display: flex; align-items: center; justify-content: center; }
.stage-screen .device.laptop { width: 96%; }
.stage-screen .device.tablet { width: 80%; }
.stage-screen .device.phone { width: auto; height: 100%; aspect-ratio: 9.6 / 19.5; }

.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
.tab { font-family: inherit; text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 14px 0 0; border: 0; border-top: 2px solid var(--tab-bar); background: transparent; cursor: pointer; color: var(--tab-off); min-width: 0; transition: color .15s, border-color .15s; }
.tab:hover { color: var(--tab-on); }
.tab[aria-selected="true"] { color: var(--tab-on); border-top-color: var(--accent); }
.tab-name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.tab-meta { font-size: 13px; color: var(--tab-meta); }

.ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; font-size: 13px; font-weight: 600; color: var(--n-700); background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in oklch, var(--ink) 5%, transparent) 14px 15px); }
.theme-ink .hero-band .ph { color: var(--n-500); background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in oklch, var(--bg) 6%, transparent) 14px 15px); }
.ph.upcoming { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; }
.ph-badge { padding: 4px 10px; border-radius: var(--r-pill, 999px); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.btn-upcoming { opacity: .55; cursor: default; }
.btn-upcoming:hover { background: transparent; border-color: var(--outline); }
.ph-action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.section { padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 120px); }
.section + .section, .cases + .section { padding-top: 0; }
.section h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1; letter-spacing: -.035em; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; padding-bottom: 24px; }
.section-head .muted { font-size: 15px; }

.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule); }
.industry { width: 100%; font: inherit; color: inherit; text-align: left; background: transparent; border: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 150px; padding: 18px 18px 20px; border-bottom: var(--rule); transition: background .18s, color .18s; }
.industry:not(:nth-child(3n + 1)) { border-left: var(--rule); }
.industry-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; color: var(--n-700); font-variant-numeric: tabular-nums; transition: color .18s; }
.industry-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.industry .arrow { font-size: 18px; color: var(--n-600); transition: transform .18s, color .18s; }
.industry:hover, .industry:focus-visible { background: var(--ink); color: var(--bg); }
.industry:hover .industry-meta, .industry:focus-visible .industry-meta { color: var(--n-400); }
.industry:hover .arrow, .industry:focus-visible .arrow { color: var(--accent); transform: translateY(3px); }
.industry[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
.industry[aria-expanded="true"] .industry-meta { color: var(--n-400); }
.industry[aria-expanded="true"] .arrow { color: var(--accent); transform: rotate(180deg); }

.ind-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8.3%; padding: 32px 0 40px; border-bottom: var(--rule); scroll-margin-top: 24px; }
.ind-text { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.ind-text p { font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.ind-needs { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: var(--rule); }
.ind-needs span:last-child { font-size: 16px; font-weight: 600; }
.ind-projects { display: flex; flex-direction: column; gap: 14px; }
.ind-projects ul { margin: 0; padding: 0; list-style: none; border-top: var(--rule); }
.ind-projects li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: var(--rule); }
.ind-projects li a > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.ind-projects strong { font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.ind-projects li a > span:first-child > span { font-size: 14px; color: var(--n-700); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding-bottom: clamp(40px, 5vw, 64px); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 20px 20px 0 0; border-top: 2px solid var(--band-rule); }
.stat + .stat { padding-left: 20px; border-left: 2px solid var(--band-rule); }
.stat dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
.stat dd { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-stretch: 112%; font-variant-numeric: tabular-nums; }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); column-gap: 32px; border-top: var(--rule); }
.step { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 28px; }
.step-num { font-size: 13px; font-weight: 600; color: var(--accent-700); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.step p { font-size: 15px; line-height: 1.55; color: var(--n-800); text-wrap: pretty; }
.steps-stack { grid-template-columns: minmax(0, 1fr); }
.steps-stack .step { border-bottom: var(--rule); }

.faq { border-top: var(--rule); }
.faq-item { border-bottom: var(--rule); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 700; letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-700); }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item p { max-width: 720px; padding: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--n-800); text-wrap: pretty; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 32px; border-top: var(--rule); }
.principle { display: flex; flex-direction: column; gap: 8px; padding: 18px 0 24px; border-bottom: var(--rule); }
.principle h3 { font-size: 19px; font-weight: 800; letter-spacing: -.015em; }
.principle p { font-size: 15px; line-height: 1.55; color: var(--n-800); }
.prose strong { font-weight: 700; }
.prose a { border-bottom: 2px solid currentColor; }

.contact-head .hero-lede { margin-top: clamp(24px, 3vw, 36px); }
.contact-head .close-actions { align-self: end; }
.btn-label { display: inline-flex; align-items: center; gap: 10px; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.btn-icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.btn-icon svg { width: 100%; height: 100%; }
.contact-hint { margin-top: 8px; font-size: 14px; color: var(--band-muted); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8.3%; align-items: start; }
.form-title { margin-bottom: 24px; font-size: clamp(26px, 2.6vw, 34px) !important; line-height: 1.05 !important; }
.cform { display: flex; flex-direction: column; gap: 18px; }
.cform-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.optional { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--n-600); }
.input { width: 100%; padding: 13px 14px; border: 2px solid var(--divider); border-radius: var(--r-btn); background: var(--bg); color: var(--ink); font: 500 16px/1.4 var(--font); letter-spacing: 0; text-transform: none; transition: border-color .15s; }
.input:hover { border-color: var(--ink); }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--ink); }
.input::placeholder { color: var(--n-600); }
textarea.input { resize: vertical; min-height: 150px; }
.cform [aria-invalid="true"] { border-color: var(--accent-700); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }
.cform-foot .btn[disabled] { opacity: .6; cursor: progress; }
.cform-note { font-size: 14px; color: var(--n-700); }
.cform-status { padding: 14px 16px; border-radius: var(--r-btn); font-size: 15px; font-weight: 600; background: var(--surface); }
.cform-status.ok { background: color-mix(in oklch, var(--accent) 18%, var(--bg)); }
.cform-status.err, .cform-status.err-plain { border: 2px solid var(--accent-700); background: var(--bg); }
.cform-status a { border-bottom: 2px solid currentColor; }
.send-list { padding-top: 0; }
.send-list > .muted { font-size: 15px; margin: -12px 0 20px; }
.send-items { border-top: var(--rule); }
.send-item { display: flex; flex-direction: column; gap: 8px; padding: 18px 0 20px; border-bottom: var(--rule); }
.send-item p { font-size: 15px; line-height: 1.55; color: var(--n-800); text-wrap: pretty; }
.close-band.slim { padding-top: 0; }
.close-band.slim .footer { margin-top: 0; }

.cases { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 96px); padding-bottom: clamp(72px, 9vw, 120px); }
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 8.3%; align-items: start; }
.case-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface); border-radius: var(--r-frame); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 5%, 40px); }
.case-media .device.laptop { width: 100%; }
.case-media .device.phone { width: auto; height: 100%; aspect-ratio: 9.6 / 19.5; }
.case-media .phone .device-bezel { height: 100%; padding: 7px; border-radius: 26px; }
.case-media .phone .device-screen { height: 100%; aspect-ratio: auto; border-radius: 19px; }
.case-media .phone .device-bezel::before { top: 13px; height: 14px; }
.case-body { display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
.case-body p { font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.case-head { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: var(--rule); }
.case-head h3 { font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-stretch: 112%; }

.services-title { margin-bottom: 28px !important; line-height: 1.05 !important; max-width: 760px; text-wrap: balance; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 32px; border-top: var(--rule); }
.service { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 32px; border-bottom: var(--rule); }
.service h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.service p { font-size: 15px; line-height: 1.55; color: var(--n-800); text-wrap: pretty; }

.page-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8.3%; align-items: end; padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(44px, 5vw, 72px); }
.page-head > div:first-child { container-type: inline-size; }
.page-head h1 { font-size: clamp(38px, 13cqi, 76px); line-height: .92; letter-spacing: -.04em; font-weight: 800; font-stretch: 112%; text-wrap: balance; }
.crumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
.crumb a:hover { color: var(--band-fg); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-top: 2px solid var(--band-rule); }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 2px solid var(--band-rule); min-width: 0; }
.fact dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
.fact dd { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.fact dd a { border-bottom: 2px solid currentColor; }


.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--n-700); }
.select { position: relative; }
.select::after { content: "↓"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--n-700); font-size: 15px; letter-spacing: 0; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; padding: 13px 44px 13px 14px; border: 2px solid var(--divider); border-radius: var(--r-btn); background: var(--bg); color: var(--ink); font: 600 16px/1.4 var(--font); letter-spacing: 0; text-transform: none; cursor: pointer; transition: border-color .15s; }
.select select:hover { border-color: var(--ink); }
.filter-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; font-size: 15px; color: var(--n-800); }
.text-btn { font: 600 15px var(--font); color: var(--ink); background: none; border: 0; border-bottom: 2px solid currentColor; padding: 0 0 2px; cursor: pointer; }
.text-btn:hover { color: var(--accent-600); }

.plist { border-top: var(--rule); }
.prow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 28px 56px; align-items: center; padding: 32px 0; border-bottom: var(--rule); }
.prow:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.prow-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.prow-num { font-size: 13px; font-weight: 600; color: var(--accent-700); font-variant-numeric: tabular-nums; }
.prow-name { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-stretch: 108%; }
.prow-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.prow-link:focus-visible { outline: none; }
.prow-desc { max-width: 560px; font-size: 16px; line-height: 1.55; color: var(--n-800); text-wrap: pretty; }
.prow-tags { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--n-700); }
.prow-more { display: inline-flex; gap: 8px; margin-top: 6px; padding-bottom: 3px; border-bottom: 2px solid currentColor; font-size: 15px; font-weight: 600; }
.prow-more span { transition: transform .18s; }
.prow:hover .prow-name { color: var(--accent-700); }
.prow:hover .prow-more span { transform: translateX(4px); }
.prow-device { display: flex; justify-content: center; align-items: center; min-width: 0; }
.prow-device .device.laptop { width: min(100%, 460px); }
.prow-device .device.tablet { width: min(100%, 360px); }
.prow-device .device.phone { width: 150px; }
.prow-device .phone .device-bezel { padding: 7px; border-radius: 26px; }
.prow-device .phone .device-screen { border-radius: 19px; }
.prow-device .phone .device-bezel::before { top: 13px; height: 14px; }
.plist-empty { padding: 32px 0; font-size: 16px; color: var(--n-800); border-bottom: var(--rule); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface); border-radius: var(--r-frame); overflow: hidden; }
.card h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-stretch: 108%; }
.card:hover h3 { color: var(--accent-700); }
.card p { font-size: 15px; line-height: 1.55; color: var(--n-800); text-wrap: pretty; }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8.3%; align-items: start; padding: 28px 0 40px; border-top: var(--rule); }
.split h2 { font-size: clamp(24px, 2.4vw, 30px) !important; letter-spacing: -.025em !important; line-height: 1.1 !important; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.prose p { font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.prose ul { margin: 0; padding: 0; list-style: none; border-top: var(--rule); }
.prose li { padding: 14px 0; border-bottom: var(--rule); font-size: 16px; line-height: 1.5; }
.note { font-size: 14px; color: var(--n-800); }



.close-band { background: var(--band-bg); color: var(--band-fg); padding-top: clamp(64px, 8vw, 96px); padding-bottom: 28px; border-top: var(--close-rule); }
.close { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px 48px; align-items: end; }
.close-copy { display: flex; flex-direction: column; gap: 28px; container-type: inline-size; }
.close-copy p { font-size: 17px; line-height: 1.55; color: var(--close-muted); max-width: 560px; text-wrap: pretty; }
.close-copy h2 { font-size: clamp(32px, 8.5cqi, 64px); line-height: .98; letter-spacing: -.04em; font-stretch: 112%; text-wrap: balance; }
.close-actions { display: flex; flex-direction: column; gap: 8px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(64px, 8vw, 96px); padding-top: 22px; border-top: 2px solid var(--band-rule); font-size: 14px; color: var(--close-muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--band-fg); margin-right: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.theme-switch { display: flex; align-items: center; gap: 12px; }
.theme-switch button { font: inherit; color: var(--close-muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 2px; cursor: pointer; transition: color .15s, border-color .15s; }
.theme-switch button:hover { color: var(--band-fg); }
.theme-switch button[aria-pressed="true"] { color: var(--band-fg); border-bottom-color: var(--accent); }

@media (max-width: 1024px) {
  .hero, .case, .close, .page-head, .split, .ind-panel, .pbody, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .project-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "device" "info"; row-gap: 32px; }
  .hero, .page-head { gap: 40px; }
  .case, .ind-panel { gap: 28px; }
  .split { gap: 16px; }
  .contact-grid { gap: 56px; }
  .pbody-side { position: static; }
  .stage, .ph-device { width: 100%; max-width: 680px; }
}
@media (max-width: 760px) {
  .prow { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0; }
  .prow-device { order: -1; justify-content: flex-start; }
  .prow-device .device.laptop { width: min(100%, 360px); }
  .prow-device .device.tablet { width: min(100%, 300px); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav { gap: 12px; }
  .menu-btn { display: flex; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .cards, .cards.compact { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }
@media (max-width: 640px) {
  .industry { min-height: 128px; padding: 14px 14px 16px; }
  .brand-name { font-size: 21px; }
  .tab-meta { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .step { border-bottom: var(--rule); }
  .cards.compact .card { grid-template-columns: minmax(0, 1fr); }
  .cards.compact .card-media { grid-row: auto; }
}
@media (max-width: 560px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry:not(:nth-child(3n + 1)) { border-left: 0; }
  .industry:nth-child(2n) { border-left: var(--rule); }
}
@media (pointer: coarse) {
  .line-link, .brand { min-height: 44px; }
  .line-link { align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
