/* Self-hosted fonts (SIL Open Font License, see assets/fonts/LICENSE.md).
   Variable fonts: one file per family covers every weight we use. */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-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: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-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;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-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: #f5f5f3;
  --surface: #ffffff;
  --ink: #0f0f0f;
  --ink-2: #4a4a48;
  --muted: #696966;          /* 5:1 on the page background (WCAG AA) */
  --line: #e2e2de;
  --accent: #ff5a1f;         /* decorative: dots, markers, borders */
  --accent-button: #cc4410;  /* white text on it is 4.8:1 (WCAG AA) */
  --accent-ink: #c43d0b;
  --dark: #0e0e0e;
  --dark-2: #1a1a1a;
  --dark-line: #2a2a2a;
  --radius: 14px;
  --max: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-button); color: #fff; }
.btn-primary:hover { background: #b33b0d; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 243, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav.on-dark { background: rgba(14, 14, 14, 0.85); border-bottom-color: var(--dark-line); }
.nav.on-dark .logo img { filter: brightness(0) invert(1); }
.nav.on-dark .nav-links { color: #a3a3a0; }
.nav.on-dark .nav-links a:hover { color: #fff; }
.nav.on-dark .menu-btn span { background: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav .logo { display: flex; }
.nav .logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 72px); margin: 20px 0 24px; text-wrap: balance; }
.hero h1 .soft { color: var(--muted); }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.hero .ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.stage { position: relative; height: 480px; }
.card {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(0,0,0,.18);
}
.browser { inset: 0 60px 120px 0; overflow: hidden; }
.browser .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser .url { margin-left: 10px; flex: 1; height: 10px; border-radius: 6px; background: var(--bg); }
.browser .url { font-family: var(--mono); font-size: 11px; color: var(--muted); height: auto; padding: 1px 10px; line-height: 1.4; }
.phone-shot { right: 0; bottom: 0; width: 170px; height: 360px; }
.chat { left: -12px; bottom: 0; width: 270px; padding: 14px; font-size: 13.5px; }
.chat .who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.chat .who .av { width: 24px; height: 24px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 11px; }
.bubble { padding: 9px 12px; border-radius: 12px; line-height: 1.45; max-width: 88%; }
.bubble.q { background: var(--bg); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.a { background: var(--dark); color: #fff; margin-top: 8px; border-bottom-left-radius: 4px; }

/* Industries strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.strip .wrap { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.strip .items { display: flex; gap: 36px; flex-wrap: wrap; font-weight: 600; color: var(--ink-2); font-size: 15px; }

/* Sections */
section.block { padding: 120px 0; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.head h2 { font-size: clamp(36px, 4.4vw, 56px); margin-top: 16px; }
.head > p { color: var(--ink-2); font-size: 18px; max-width: 480px; }
.head.compact { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 28px; }
.wrap.narrow { max-width: 1100px; }
.posts.two { grid-template-columns: repeat(2, 1fr); }
.head.compact h2 { font-size: clamp(28px, 3vw, 36px); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; min-height: 360px;
  transition: border-color .2s ease, transform .2s ease;
}
.pillar:hover { border-color: var(--ink); transform: translateY(-2px); }
.pillar .num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.pillar h3 { font-size: 28px; margin: 18px 0 12px; }
.pillar p { color: var(--ink-2); }
.pillar ul { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--line); }
.pillar li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.pillar li:last-child { border-bottom: 0; padding-bottom: 0; }
.pillar li a { display: flex; justify-content: space-between; width: 100%; transition: color .15s ease; }
.pillar li a:hover { color: var(--accent-ink); }
.pillar li a:hover span { color: var(--accent-ink); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 600; font-size: 15px; }
.more:hover { color: var(--accent-ink); }
.more:hover .arrow { transform: translateX(3px); }
.more .arrow { transition: transform .15s ease; }
.ai .more { color: #fff; }
.ai .more:hover { color: var(--accent); }
.pillar li span { color: var(--muted); font-weight: 400; }
.pillar.dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.pillar.dark p, .pillar.dark .num, .pillar.dark li span { color: #a3a3a0; }
.pillar.dark ul, .pillar.dark li { border-color: var(--dark-line); }

/* Service rows */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.svc .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; margin-bottom: 22px; }
.svc .ico svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 22px; margin-bottom: 10px; }
.svc p { color: var(--ink-2); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tags span { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }

/* Systems split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split .list { display: grid; gap: 16px; margin-top: 36px; }
.split .item { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.split .item h3 { font-size: 21px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.split .item h3 .k { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent-ink); background: #fff0ea; padding: 2px 8px; border-radius: 6px; }
.split .item p { color: var(--ink-2); font-size: 16px; }

.app { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 32px 64px -32px rgba(0,0,0,.25); }
.app .top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.app .top b { font-size: 14px; }
.app .top .search { width: 160px; height: 28px; border-radius: 8px; background: var(--bg); }
.app .body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.app .side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 4px; align-content: start; font-size: 13px; color: var(--ink-2); }
.app .side div { padding: 7px 10px; border-radius: 8px; }
.app .side .on { background: var(--bg); color: var(--ink); font-weight: 600; }
.app .main { padding: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.kpi div { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.tbl { margin-top: 14px; width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); font-family: var(--mono); font-size: 11px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.st { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.st.ok { background: #e3f4ea; color: #1d7a46; }
.st.wait { background: #fff0ea; color: var(--accent-ink); }
.st.rev { background: #e8edf5; color: #2c4f86; }

/* AI dark */
.ai { background: var(--dark); color: #fff; }
.ai .eyebrow { color: #8b8b88; }
.ai .head p { color: #a3a3a0; }
.silver {
  background: linear-gradient(180deg, #ffffff 0%, #b9b9b6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 32px; }
.ai-card .tag { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.ai-card h3 { font-size: 30px; margin: 14px 0 12px; }
.ai-card > p { color: #a3a3a0; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-top: 1px solid var(--dark-line); font-size: 15px; color: #d6d6d3; }
.steps li b { font-family: var(--mono); font-weight: 500; color: #6e6e6b; font-size: 13px; padding-top: 2px; }

.phone { margin-top: 28px; background: #121212; border: 1px solid var(--dark-line); border-radius: 16px; padding: 16px; font-size: 14px; }
.phone .ph-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--dark-line); margin-bottom: 14px; font-size: 13px; }
.phone .ph-head .av { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.phone .ph-head small { display: block; color: #6e6e6b; font-family: var(--mono); font-size: 11px; }
.msg { padding: 10px 13px; border-radius: 14px; max-width: 82%; line-height: 1.45; margin-top: 8px; }
.msg.in { background: #262626; border-bottom-left-radius: 4px; }
.msg.out { background: #fff; color: var(--ink); margin-left: auto; border-bottom-right-radius: 4px; }
.handoff { margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: #8b8b88; text-align: center; }
.ai-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.fact { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 22px 24px; }
.fact b { display: block; font-size: 20px; margin-bottom: 4px; }
.fact span { color: #a3a3a0; font-size: 15px; }
.ai-data { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-top: 16px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 32px; }
.ai-data .tag { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.ai-data h3 { font-size: 30px; margin: 14px 0 12px; }
.ai-data p { color: #a3a3a0; }
.ai-data ul { list-style: none; margin: 0; padding: 0; align-self: center; }
.ai-data li { padding: 16px 0; border-top: 1px solid var(--dark-line); }
.ai-data li:first-child { border-top: 0; }
.ai-data li b { display: block; font-size: 17px; margin-bottom: 4px; }
.ai-data li span { color: #a3a3a0; font-size: 15px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 28px 24px 0 0; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); }
.step h3 { font-size: 22px; margin: 14px 0 10px; }
.step p { color: var(--ink-2); font-size: 16px; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 80px; }
.why div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.why b { display: block; font-size: 19px; margin-bottom: 6px; }
.why span { color: var(--ink-2); font-size: 16px; }

/* Contact */
.contact { padding: 0 0 120px; }
.cta-box { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cta-box h2 { font-size: clamp(36px, 4.4vw, 56px); margin: 16px 0 20px; }
.cta-box .lead { color: var(--ink-2); font-size: 18px; }
form { display: grid; gap: 14px; }
form label { font-size: 13px; font-weight: 600; display: grid; gap: 6px; }
form input, form select, form textarea {
  font: inherit; font-size: 15px; padding: 13px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; background: #fff; }
form textarea { min-height: 110px; resize: vertical; }
form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .btn { justify-content: center; border: 0; cursor: pointer; margin-top: 6px; }

/* Footer */
footer { background: var(--dark); color: #a3a3a0; padding: 72px 0 40px; font-size: 15px; }
footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
footer .logo-inv { height: 52px; width: auto; }
footer h4 { color: #fff; font-size: 14px; margin: 0 0 16px; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a:hover { color: #fff; }
footer .tagline { margin-top: 20px; max-width: 280px; }
footer .bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 13px; }

/* Service pages */
.svc-hero { padding: 48px 0 104px; }
.svc-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.svc-hero h1 { font-size: clamp(40px, 5vw, 66px); margin: 18px 0 22px; text-wrap: balance; }
.svc-hero .lead { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.svc-hero .ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.crumbs { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.svc-hero.ai { padding-top: 48px; }
.svc-hero.ai .lead { color: #a3a3a0; }
.svc-hero.ai .crumbs a:hover { color: #fff; }
.svc-hero.ai .btn-ghost { background: transparent; border-color: var(--dark-line); color: #fff; }
.svc-hero.ai .btn-ghost:hover { border-color: #fff; }

.visual { position: relative; height: 440px; }
.visual .card { position: absolute; }
.ai .visual .card { background: var(--dark-2); border-color: var(--dark-line); color: #fff; box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); }



.serp { padding: 18px; }
.serp .q { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; margin-bottom: 16px; }
.serp .res { padding: 10px 0; border-top: 1px solid var(--line); }
.serp .res small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.serp .res b { display: block; font-size: 15px; color: #2c4f86; }
.serp .res i { display: block; height: 6px; border-radius: 3px; background: var(--line); margin-top: 6px; width: 85%; }
.serp .res.you { background: #fff0ea; margin: 0 -18px; padding: 10px 18px; border-top: 0; }
.serp .res.you b { color: var(--accent-ink); }
.traffic { padding: 16px 18px; width: 250px; }
.traffic svg { width: 100%; height: 70px; margin-top: 8px; }

.flow { padding: 18px; width: 270px; }
.flow .s { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; font-size: 14px; position: relative; }
.flow .s .d { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 11px; }
.flow .s.done .d { background: #2fa36b; border-color: #2fa36b; color: #fff; }
.flow .s.now .d { border-color: var(--accent); }
.flow .s small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.doc-card { padding: 26px; width: 320px; }
.doc-card i { display: block; height: 7px; border-radius: 4px; background: var(--line); margin-bottom: 9px; }
.doc-card i:first-child { width: 55%; background: var(--ink); height: 10px; margin-bottom: 16px; }
.doc-card .sig { margin-top: 18px; height: 46px; border: 1.5px dashed var(--accent); border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--accent-ink); }

.term { padding: 18px; font-family: var(--mono); font-size: 13px; }
.term .h { color: #6e6e6b; margin-bottom: 12px; }
.term .row { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--dark-line); }
.term .row span:first-child { color: #6e6e6b; }
.term .v { color: var(--accent); }
.metric { padding: 18px 20px; width: 260px; }
.metric small { font-family: var(--mono); font-size: 11px; color: #8b8b88; }
.metric b { display: block; font-size: 26px; letter-spacing: -0.02em; margin: 4px 0 6px; white-space: nowrap; }
.metric span { font-size: 13px; color: #2fa36b; }

.visual .app { position: absolute; inset: 20px 0; }
.visual .phone { position: absolute; inset: 0 30px; margin: 0; }

.deliver { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deliver div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.deliver small { font-family: var(--mono); font-size: 12.5px; color: var(--accent-ink); }
.deliver h3 { font-size: 21px; margin: 14px 0 8px; }
.deliver p { color: var(--ink-2); font-size: 16px; }

.fits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fits div { border-top: 1px solid var(--ink); padding-top: 22px; }
.fits b { display: block; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.fits span { color: var(--ink-2); }

.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack span { font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 48px 24px 0; max-width: 760px; }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; transition: border-color .2s ease, transform .2s ease; }
.related a:hover { border-color: var(--ink); transform: translateY(-2px); }
.related small { font-size: 13px; font-weight: 600; color: var(--muted); }
.related b { display: block; font-size: 24px; letter-spacing: -0.02em; margin: 8px 0 6px; }
.related span { color: var(--ink-2); font-size: 16px; }
.related .go { font-size: 22px; flex: none; }

.cta-band { background: var(--dark); color: #fff; border-radius: 24px; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(32px, 4vw, 48px); max-width: 640px; }
.cta-band p { color: #a3a3a0; margin-top: 12px; font-size: 18px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s ease, transform .2s ease; }
.post-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.post-card h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.post-card p { color: var(--ink-2); font-size: 16px; flex: 1; }
.post-card .more { margin-top: 4px; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 14px; color: var(--muted); }
.cat { display: inline-block; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--accent-ink); background: #fff0ea; padding: 3px 10px; border-radius: 999px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 15px; color: var(--muted); }
.post-card.featured { grid-column: 1 / -1; background: var(--dark); border-color: var(--dark); color: #fff; padding: 44px; }
.post-card.featured h3 { font-size: clamp(28px, 3.4vw, 42px); max-width: 820px; }
.post-card.featured p { color: #a3a3a0; font-size: 17px; max-width: 720px; }
.post-card.featured .pc-meta { color: #8b8b88; }
.post-card.featured .cat { background: rgba(255, 90, 31, .16); color: #ff8a5c; }
.post-card.featured:hover { border-color: var(--accent); }

.post-hero { padding: 56px 0 48px; }
.post-hero .wrap { max-width: 1100px; }
.post-hero h1 { font-size: clamp(36px, 4.6vw, 58px); margin: 18px 0 20px; text-wrap: balance; max-width: 900px; }
.post-hero .lead { font-size: 20px; color: var(--ink-2); max-width: 760px; }
.post-body { padding-bottom: 64px; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; max-width: 1100px; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink); max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; margin-top: 2em; letter-spacing: -0.02em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { color: var(--accent-ink); }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.prose blockquote { margin-left: 0; border-left: 3px solid var(--accent); padding-left: 20px; color: var(--ink-2); }
.facts { position: sticky; top: 104px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.facts h2 { font-size: 16px; letter-spacing: -0.01em; }
.facts dl { margin: 16px 0 0; display: grid; gap: 14px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.facts dd a { color: var(--accent-ink); }

/* Why us */
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav.on-dark .nav-links a[aria-current="page"] { color: #fff; }
.why-hero { padding-bottom: 64px; }
.why-hero .ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.deliver.two { grid-template-columns: repeat(2, 1fr); }
.deliver.two div { padding: 32px; }
.deliver.two h3 { font-size: 24px; }
.deliver a.inline { color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.deliver a.inline:hover { color: var(--accent-ink); }
.ai .process { border-top-color: var(--dark-line); }
.ai .step .n { color: var(--accent); }
.ai .step p { color: #a3a3a0; }
.results-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); color: #a3a3a0; font-size: 16px; max-width: 720px; }
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare .row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; border-top: 1px solid var(--line); }
.compare .row:first-child { border-top: 0; }
.compare .row > span { padding: 18px 24px; font-size: 16px; color: var(--ink-2); }
.compare .row > span:first-child { font-weight: 600; color: var(--ink); }
.compare .row > span:last-child { color: var(--ink); font-weight: 500; background: #fff7f3; }
.compare .head-row > span { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 16px; padding-bottom: 16px; }
.compare .head-row > span:last-child { color: var(--accent-ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero .wrap, .head, .split, .cta-box, .ai-grid { grid-template-columns: 1fr; }
  .pillars, .services, .why { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .ai-facts { grid-template-columns: 1fr; }
  .ai-data { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  footer .top { grid-template-columns: 1fr 1fr; }
  .head { gap: 20px; }
  .pillar { min-height: 0; }
  .pillar ul { margin-top: 28px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: block; }
  .nav .wrap { height: 68px; }
  .nav .logo img { height: 38px; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 64px; }
  .stage { height: 400px; margin-bottom: 40px; }
  .browser { inset: 0 0 150px 0; }
  .phone-shot { width: 120px; height: 260px; }
  .chat { left: 0; width: 220px; font-size: 12.5px; }
  section.block { padding: 80px 0; }
  .app .body { grid-template-columns: 1fr; }
  .app .side { display: none; }
  .tbl th:nth-child(3), .tbl td:nth-child(3) { display: none; }
  .process { grid-template-columns: 1fr; }
  .cta-box { padding: 28px 20px; border-radius: 18px; }
  form .row2 { grid-template-columns: 1fr; }
  footer .top { grid-template-columns: 1fr; }
  footer .bottom { flex-direction: column; gap: 8px; }
  .ai-card, .pillar { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .svc-hero .wrap { grid-template-columns: 1fr; }
  .deliver, .fits { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .svc-hero { padding: 32px 0 72px; }
  .crumbs { margin-bottom: 28px; }
  .visual { height: 400px; }
  .visual .phone { inset: 0; }
  .deliver, .fits { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; border-radius: 18px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
}

@media (max-width: 980px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; gap: 32px; }
  .facts { position: static; order: -1; }
}
@media (max-width: 760px) {
  .posts, .posts.two { grid-template-columns: 1fr; }
  .post-card.featured { padding: 28px; }
  .post-hero { padding: 32px 0 32px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 24px; }
}

@media (max-width: 760px) {
  .deliver.two { grid-template-columns: 1fr; }
  .deliver.two div { padding: 24px; }
  .compare .row { grid-template-columns: 1fr 1fr; }
  .compare .row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .compare .head-row > span:first-child { display: none; }
  .compare .row > span { padding: 12px 16px; font-size: 15px; }
}

/* Contact details */
.footer-contact { margin-top: 16px; line-height: 1.7; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--accent); }
.contact-direct { margin-top: 20px; color: var(--ink-2); }
.contact-direct a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form { position: relative; }
.form-status { font-size: 14px; margin: 0; min-height: 1px; }
.form-status.done { color: #1d7a46; background: #e3f4ea; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.form-status.error { color: var(--accent-ink); background: #fff0ea; padding: 12px 14px; border-radius: 10px; }
.form-status.error a { color: var(--ink); font-weight: 600; text-decoration: underline; }
form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form-privacy { font-size: 13px; color: var(--muted); margin: -4px 0 0; text-align: center; }
.form-privacy a { color: var(--ink-2); text-decoration: underline; }
footer .bottom a:hover { color: #fff; }
.turnstile:empty { display: none; }
.turnstile { display: flex; justify-content: center; }

/* Real screenshots, results and testimonials */
.prose figure.shot { margin: 2em 0; }
.prose figure.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 48px -28px rgba(0,0,0,.35); background: var(--surface); }
.prose figure.shot-phone img { width: 300px; max-width: 70%; margin: 0 auto; border-radius: 28px; border: 6px solid var(--dark); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; line-height: 1.5; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 32px; max-width: 900px; }
.results div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.results b { display: block; font-size: 32px; letter-spacing: -0.03em; line-height: 1.1; }
.results span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.testimonial { margin: 2.4em 0 0; padding: 28px 32px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.testimonial blockquote { margin: 0; border: 0; padding: 0; font-size: 20px; line-height: 1.6; color: var(--ink); }
.testimonial figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: left; }

/* Screenshot inside a browser frame / phone frame (hero visuals) */
.card.browser .shot-img { display: block; width: 100%; height: calc(100% - 35px); object-fit: cover; object-position: top left; }
.card.phone-shot { overflow: hidden; border-radius: 26px; border: 6px solid var(--dark); background: var(--dark); }
.card.phone-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.visual-note { position: absolute; left: 0; right: 0; bottom: -34px; font-size: 13px; color: var(--muted); }
.ai .visual-note { color: #8b8b88; }
.proof { padding: 40px 0 0; }
.proof .results { max-width: none; margin-top: 0; grid-template-columns: repeat(4, 1fr); }
.proof .results > a, .proof .results > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color .2s ease, transform .2s ease; }
.proof .results > a:hover { border-color: var(--ink); transform: translateY(-2px); }
.proof .results .arrow { color: var(--accent-ink); }
@media (max-width: 980px) { .proof .results { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .proof .results { grid-template-columns: 1fr; } .proof { padding-top: 24px; } }
.results span .arrow { display: inline; }
@media (max-width: 760px) {
  .results { grid-template-columns: 1fr 1fr; gap: 10px; }
  .results div, .proof .results > a, .proof .results > div { padding: 14px 16px; }
  .results b { font-size: 24px; }
  .results span { font-size: 13px; }
  .proof .results { grid-template-columns: 1fr 1fr; }
  .stage .chat { display: none; }
  .stage { height: 340px; }
  .browser { inset: 0 50px 70px 0; }
  .phone-shot { width: 120px; height: 260px; }
}

/* Case study cards on service pages */
.posts.one { grid-template-columns: minmax(0, 760px); }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 2px; }
.case-stats div { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.case-stats b { display: block; font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.case-stats span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.chat .who .example-tag { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.faq details p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.head > p a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
