@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 300 500;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --ink: #1a1a1a;
  --ink-2: #45453f;
  --muted: #76756e;
  --line: #e5e3dc;
  --accent: #1f4d3a;
  --accent-2: #2c6a50;
  --accent-soft: #e7efe9;
  --dark: #13221b;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 14px;
}

*, *::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: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--accent-soft); color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 22px/1 var(--serif); letter-spacing: -.01em; }
.brand__mark { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2.2; }
.brand__mark circle:last-of-type { fill: var(--accent); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none;
  font: 500 16px/1 var(--sans);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--small { padding: 11px 18px; font-size: 14px; }
.btn--tiny { padding: 8px 14px; font-size: 12.5px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 500; color: var(--accent); }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- type ---------- */
.eyebrow { font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
h2 { font: 400 clamp(34px, 4.6vw, 56px)/1.08 var(--serif); letter-spacing: -.02em; }
h3 { font: 500 20px/1.3 var(--sans); letter-spacing: -.01em; }

/* ---------- hero ---------- */
.hero { padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); }
.hero__title { font: 300 clamp(44px, 7.4vw, 96px)/1.02 var(--serif); letter-spacing: -.03em; margin-bottom: 40px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > * { display: inline-block; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hero__lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; justify-self: end; }
.creds { list-style: none; padding: 32px 0 0; margin: 56px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 14.5px; color: var(--muted); }
.creds li { display: flex; align-items: center; gap: 10px; }
.creds li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* load animation */
.load { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
.hero__title .load { transform: translateY(105%); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- hero flow ---------- */
.flow {
  margin: clamp(56px, 8vw, 88px) 0 0;
  display: grid; grid-template-columns: 1fr 72px 1.25fr 72px 1fr; align-items: center;
  padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, #fff, var(--bg-alt));
}
.flow__label { display: block; font: 500 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.flow__col { display: flex; flex-direction: column; gap: 8px; }
.chip { padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14.5px; color: var(--ink-2); }
.flow__wire { position: relative; height: 120px; }
.flow__wire::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed #c9c6bc; }
.flow__wire i { position: absolute; top: calc(50% - 3px); left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0; animation: travel 2.4s linear infinite; }
.flow__wire i:nth-child(2) { animation-delay: .8s; }
.flow__wire i:nth-child(3) { animation-delay: 1.6s; }
.flow__wire + .flow__core + .flow__wire i { animation-direction: reverse; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 6px); opacity: 0; } }
.core { border: 1px solid var(--accent); border-radius: var(--radius); background: #fff; padding: 20px; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 24px 48px -28px rgba(31, 77, 58, .35); }
.core__head { display: flex; align-items: center; gap: 10px; font: 500 15px/1 var(--sans); margin-bottom: 14px; }
.core__head svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2.2; }
.core__head svg circle:last-of-type { fill: var(--accent); }
.core__tools { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.core__tools code { display: block; font: 13px/1 var(--mono); background: var(--accent-soft); color: var(--accent); padding: 9px 10px; border-radius: 7px; }
.core__guard { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(31, 77, 58, .5); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 77, 58, .45); } 70% { box-shadow: 0 0 0 9px rgba(31, 77, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 77, 58, 0); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 72px); }
.section__head h2 + .section__lead { margin-top: 24px; }
.section__lead { font-size: 19px; color: var(--ink-2); }

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

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__col { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 18px; }
.compare__col h3 { margin-bottom: 22px; color: var(--muted); }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare__col li { position: relative; padding-left: 28px; color: var(--muted); }
.compare__col li::before { content: "–"; position: absolute; left: 4px; color: #b3b0a6; }
.compare__col--good { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), #fff 70%); }
.compare__col--good h3 { color: var(--accent); }
.compare__col--good li { color: var(--ink); }
.compare__col--good li::before { content: ""; top: .5em; left: 2px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 clamp(64px, 8vw, 96px); border-top: 1px solid var(--line); }
.stat { padding: 32px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat dt { white-space: nowrap; font: 300 clamp(40px, 4.4vw, 60px)/1 var(--serif); letter-spacing: -.03em; color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.stat dd { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 240px; }

/* ---------- case ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.case__text h3 { font: 400 clamp(26px, 2.6vw, 32px)/1.2 var(--serif); letter-spacing: -.015em; margin-bottom: 20px; }
.case__text > p { color: var(--ink-2); margin-bottom: 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* chat mock */
.chat { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 80px -48px rgba(19, 34, 27, .35); overflow: hidden; }
.chat__bar { display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat__bar span { width: 10px; height: 10px; border-radius: 50%; background: #e3e1da; }
.chat__bar em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 10px; }
.chat__body { padding: 22px; display: grid; gap: 14px; font-size: 14.5px; min-height: 440px; align-content: start; }
.msg { padding: 13px 16px; border-radius: 14px; max-width: 88%; }
.msg--user { justify-self: end; background: var(--dark); color: #fff; border-bottom-right-radius: 4px; }
.msg--ai { background: var(--bg-alt); display: grid; gap: 8px; border-bottom-left-radius: 4px; }
.check { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); }
.check span { color: var(--accent); font-weight: 600; }
.card { border: 1px solid var(--accent); border-radius: 12px; padding: 16px; }
.card__head { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 500; margin-bottom: 10px; font-size: 13.5px; }
.badge { font-size: 11.5px; font-weight: 500; color: var(--accent); background: var(--accent-soft); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.card table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.card td { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.card td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.card tr.sum td { border-bottom: 0; font-weight: 600; color: var(--ink); padding-top: 10px; }
.card__actions { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.card__actions .btn:hover { transform: none; }
.ghost { font-size: 13px; color: var(--muted); }
.chat__note { font-size: 12px; color: var(--muted); padding: 0 22px 16px; }
.js .chat .step { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .chat .step.is-on { opacity: 1; transform: none; }

/* ---------- features ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 32px 0 0; border-top: 1px solid var(--ink); }
.feature__n { display: block; font: 400 15px/1 var(--serif); color: var(--accent); margin-bottom: 22px; }
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--ink-2); font-size: 16px; }
#sikkerhet .grid { row-gap: 56px; column-gap: 40px; }

/* ---------- services ---------- */
.service { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.service:hover { transform: translateY(-4px); border-color: #cfccc2; box-shadow: 0 30px 60px -40px rgba(19, 34, 27, .3); }
.service h3 { font: 400 26px/1.2 var(--serif); margin-bottom: 14px; }
.service p { color: var(--ink-2); font-size: 16px; }
.usecases { margin-top: clamp(64px, 8vw, 96px); }
.usecases > h3 { font: 400 clamp(26px, 2.6vw, 32px)/1.2 var(--serif); margin-bottom: 32px; }
.usecases__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.uc { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.uc:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.uc h4 { font: 500 16px/1.3 var(--sans); margin-bottom: 8px; color: var(--accent); }
.uc p { font-size: 15px; color: var(--ink-2); }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 120px); }
.process__aside { position: sticky; top: 120px; align-self: start; }
.process__aside > p:not(.eyebrow) { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 420px; }
.process__rail { margin-top: 40px; height: 2px; background: var(--line); max-width: 320px; }
.process__rail span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--rail, 0)); }
.process__steps { list-style: none; margin: 0; padding: 0; }
.pstep { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.pstep:first-child { padding-top: 0; }
.pstep__n { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 400 20px/1 var(--serif); color: var(--muted); transition: all .5s var(--ease); }
.pstep.is-in .pstep__n { border-color: var(--accent); background: var(--accent); color: #fff; }
.pstep h3 { font: 400 26px/1.2 var(--serif); margin-bottom: 10px; }
.pstep p { color: var(--ink-2); }

/* ---------- projects ---------- */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.project--wide { grid-column: 1 / -1; }
.project__meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.tag { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.tag--live { border-color: transparent; background: var(--accent-soft); color: var(--accent); }
.project h3 { font: 400 26px/1.2 var(--serif); margin-bottom: 12px; }
.project p { color: var(--ink-2); font-size: 16px; }

.integrations { margin-top: clamp(64px, 8vw, 96px); }
.integrations > p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; gap: 12px; padding-right: 12px; animation: marquee 48s linear infinite; }
.marquee__track span { white-space: nowrap; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; color: var(--ink-2); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 112px); align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 20px; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 30% 20%, #2c6a50, var(--dark));
  color: rgba(255, 255, 255, .9); font: 300 clamp(64px, 8vw, 110px)/1 var(--serif); letter-spacing: -.04em;
  background-size: cover; background-position: center;
}
.about__portrait { position: sticky; top: 120px; }
.about__text > p:not(.eyebrow) { color: var(--ink-2); margin-top: 22px; font-size: 18px; }
.about__text h2 { margin-bottom: 4px; }
.timeline { list-style: none; margin: 40px 0 36px; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.timeline span { color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 8vw, 112px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 500 18px/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 40px 26px 0; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { background: var(--dark); color: #fff; padding: clamp(96px, 12vw, 160px) 0; }
.eyebrow--light { color: #8fc0a6; }
.contact h2 { font-size: clamp(38px, 5.6vw, 72px); max-width: 900px; }
.contact__lead { margin-top: 28px; font-size: 19px; color: rgba(255, 255, 255, .72); max-width: 620px; }
.contact__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 900px; }
.contact__item { display: block; padding: 32px 32px 32px 0; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .16); transition: color .3s; }
.contact__item + .contact__item { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .16); }
.contact__item span { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 12px; }
.contact__item strong { font: 300 clamp(24px, 2.8vw, 34px)/1.2 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact__item:hover strong { color: #8fc0a6; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.footer__inner p:last-child { margin-left: auto; }
.brand--footer { color: #fff; font-size: 18px; }
.brand--footer .brand__mark { stroke: #8fc0a6; width: 22px; }
.brand--footer .brand__mark circle:last-of-type { fill: #8fc0a6; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__inner .btn { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__cta { justify-self: start; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .flow__label { text-align: center; }
  .flow__col .flow__label { width: 100%; margin-bottom: 4px; }
  .flow__core { width: 100%; max-width: 520px; margin: 0 auto; }
  .flow__wire { height: 48px; width: 1px; margin: 8px auto; }
  .flow__wire::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dashed #c9c6bc; }
  .flow__wire i { left: -2.5px; animation-name: travel-y; }
  @keyframes travel-y { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 6px); opacity: 0; } }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 32px; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .case, .process, .about, .faq { grid-template-columns: 1fr; }
  .process__aside, .about__portrait { position: static; }
  .about__portrait { max-width: 360px; }
  .grid--3, .usecases__grid { grid-template-columns: 1fr 1fr; }
  .uc:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .uc:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .compare, .grid--3, .usecases__grid, .projects, .contact__links { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .uc:nth-child(2n) { padding-left: 0; border-left: 0; }
  .contact__item + .contact__item { padding-left: 0; border-left: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .footer__inner p:last-child { margin-left: 0; }
  .chat__body { min-height: 0; padding: 16px; }
  .msg { max-width: 100%; }
  .hero__cta { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .load, .js .reveal, .js .chat .step { opacity: 1 !important; transform: none !important; }
  .flow__wire i { display: none; }
}
.chip b { font-weight: 500; color: var(--ink); }
.portrait { overflow: hidden; background: var(--bg-alt); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
