/* Public marketing site (resources/views/home.blade.php). The client portal uses Tailwind instead. */

:root {
    --ink: #0b0d10;
    --ink-2: #1d2128;
    --muted: #5b6370;
    --faint: #8a919c;
    --line: #e8e6e1;
    --paper: #faf9f6;
    --white: #ffffff;
    --blue: #008cff;
    --blue-text: #006fd1;
    --blue-tint: #e8f4ff;
    --ok: #12a26b;
    --warn: #d98a00;
    --bad: #e0453a;
    --radius: 18px;
    --wrap: 1180px;
    --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .eyebrow { text-wrap: balance; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--muted); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 24px; border-radius: 999px;
    font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
    border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { border-color: #d6d3cc; color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #0079dc; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 249, 246, .86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); }
.nav-links a:hover { color: var(--blue-text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { height: 42px; padding: 0 18px; font-size: 15px; }
.menu-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--white); cursor: pointer;
    align-items: center; justify-content: center;
}
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 24px; }
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 484px);
    justify-content: space-between; gap: 48px; align-items: center;
}
.hero h1 {
    margin-top: 22px;
    font-size: clamp(36px, 4.7vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em;
}
.hero h1 .soft { color: #7a828e; }
.hero .lede { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 34px; }
.text-link {
    display: inline-flex; align-items: center; height: 54px;
    font-weight: 600; font-size: 16px; color: var(--ink);
    text-decoration: underline; text-decoration-color: #c9c6bf; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
    transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: var(--ink); }

/* Sample order timeline */
.timeline {
    margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
    box-shadow: 0 1px 2px rgba(11, 13, 16, .04), 0 20px 48px -20px rgba(11, 13, 16, .16);
}
.timeline-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.timeline-head strong { display: block; font-size: 16px; font-weight: 700; }
.timeline-head div span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.timeline-head .mono { font-size: 11.5px; text-transform: uppercase; color: var(--muted); }
.timeline-steps { list-style: none; margin: 20px 0 0; padding: 0; }
.timeline-steps li {
    position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 42px;
    padding-bottom: 16px;
    animation: step-in .5s cubic-bezier(.2, .8, .2, 1) both;
}
/* Each step's dot, with a line down to the next one */
.timeline-steps li::before {
    content: ''; position: absolute; left: 78px; top: 5px;
    width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; background: var(--blue);
}
.timeline-steps li::after {
    content: ''; position: absolute; left: 82px; top: 19px; bottom: 0; width: 2px; background: var(--line);
}
.timeline-steps li.person::before { background: var(--white); border: 2px solid var(--ink); }
.timeline-steps li:last-child { padding-bottom: 4px; }
.timeline-steps li:last-child::after { display: none; }
.timeline-steps li:nth-child(1) { animation-delay: .1s; }
.timeline-steps li:nth-child(2) { animation-delay: .25s; }
.timeline-steps li:nth-child(3) { animation-delay: .4s; }
.timeline-steps li:nth-child(4) { animation-delay: .55s; }
.timeline-steps li:nth-child(5) { animation-delay: .7s; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.timeline-steps .when { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 1px; }
.timeline-steps b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.timeline-steps p { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.who { font-size: 11.5px; font-weight: 600; line-height: 1.5; padding: 1px 8px; border-radius: 99px; color: #4a5260; background: #f1f0ec; }
.who.auto { color: #0062b8; background: var(--blue-tint); }
.timeline-foot {
    display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #efede9;
    font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.timeline-foot svg { width: 16px; height: 16px; flex: none; color: #0b7a50; }

.hero-facts {
    list-style: none; margin: 72px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
    font-size: 14.5px; line-height: 1.5; color: var(--muted);
}
.hero-facts b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; color: var(--ink); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head h2, .h2 {
    margin-top: 16px;
    font-size: clamp(30px, 3.6vw, 44px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em;
}
.section-head p { color: var(--muted); font-size: 18px; max-width: 520px; }

/* Sound familiar */
.familiar { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.familiar-intro h2 ~ p { margin-top: 22px; color: var(--muted); font-size: 18px; max-width: 440px; }
.pain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pain-list li {
    display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: baseline;
    padding: 22px 0; border-bottom: 1px solid var(--line);
    font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35;
}
.pain-list li::before {
    content: ''; width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid #c9c6bf; transform: translateY(1px); transition: all .25s;
}
.pain-list li:hover::before { background: var(--blue); border-color: var(--blue); }
.pain-list li small { display: block; margin-top: 6px; font-size: 15.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; }

/* Who we build for */
.audience { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.audience-grid li { border-top: 2px solid var(--ink); padding-top: 20px; }
.audience-grid h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.audience-grid p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.audience-note { margin-top: 40px; font-size: 16px; color: var(--ink-2); }
.audience-note a { font-weight: 600; color: var(--blue-text); text-underline-offset: 4px; white-space: nowrap; }

/* Services: the three main ones, plus a box for everything around them */
.services-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.service-list { border-bottom: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.service h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.service-includes { margin-top: 10px; font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--blue-text); }
.service-includes span { white-space: nowrap; }
.service > p { color: var(--muted); font-size: 16.5px; }
.service-extras { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.service-extras h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.service-extras div { padding: 16px 0; }
.service-extras div + div { border-top: 1px solid #efede9; }
.service-extras div:last-child { padding-bottom: 0; }
.service-extras h4 { margin: 0; font-size: 16px; font-weight: 700; }
.service-extras p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* Examples */
.showcase { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.example { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.example-label { padding: 26px 28px 20px; }
.example-label h3 { margin-top: 10px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.example-label p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.app {
    margin: 0 16px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden;
}
.app-bar {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    border-bottom: 1px solid var(--line); background: var(--white);
}
.app-bar .lights { display: flex; gap: 5px; }
.app-bar .lights i { width: 9px; height: 9px; border-radius: 50%; background: #e4e2dd; }
.app-bar strong { font-size: 13.5px; font-weight: 700; }
.app-bar .mono { margin-left: auto; color: var(--muted); font-size: 11px; }
.app-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.app-table th {
    text-align: left; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .05em;
    text-transform: uppercase; color: var(--muted); padding: 12px 16px 8px;
}
.app-table td { padding: 11px 16px; border-top: 1px solid #efede9; vertical-align: middle; }
.app-table td:first-child { font-weight: 600; }
.app-table .num { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.pill {
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px;
}
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: #0b7a50; background: #e7f7f0; }
.pill.warn { color: #8f5800; background: #fff4de; }
.pill.bad { color: #b42d24; background: #fdecea; }
.pill.info { color: #0062b8; background: var(--blue-tint); }
.pill.neutral { color: #4a5260; background: #f1f0ec; }
.app-reorder { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--blue-tint); }
.app-reorder div { flex: 1; min-width: 0; }
.app-reorder b { display: block; font-size: 14px; font-weight: 600; }
.app-reorder div span { font-size: 12.5px; color: #3d4652; }
.app-btn {
    flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 99px;
    background: var(--blue-text); color: var(--white); font-size: 13.5px; font-weight: 600;
}
.app-foot {
    display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line);
    background: var(--white); font-size: 12.5px; color: var(--muted);
}
.app-foot svg { width: 14px; height: 14px; color: var(--ok); flex: none; }
.units { list-style: none; margin: 0; padding: 6px 0; }
.units li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 16px; font-size: 13.5px; }
.units li + li { border-top: 1px solid #efede9; }
.units .unit { font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.units .what b { display: block; font-weight: 600; }
.units .what span { color: var(--muted); font-size: 12.5px; }
.examples-note { margin-top: 20px; font-size: 14px; color: var(--muted); text-align: center; }

/* Process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; }
.steps::before {
    content: ''; position: absolute; left: 10px; right: 10px; top: 10px; height: 2px;
    background: repeating-linear-gradient(90deg, #d6d3cc 0 6px, transparent 6px 12px);
}
.step { position: relative; }
.step-dot {
    position: relative; width: 22px; height: 22px; border-radius: 50%;
    background: var(--white); border: 2px solid var(--blue);
}
.step:last-child .step-dot { background: var(--blue); }
.step .mono { display: block; margin-top: 26px; color: var(--blue-text); }
.step h3 { margin-top: 8px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* About, with the tools we build on */
.about { background: var(--white); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 560px); justify-content: space-between; gap: 72px; align-items: start; }
.about-intro h2 ~ p { margin-top: 22px; color: var(--muted); font-size: 18px; }
.about-intro h2 ~ p + p { margin-top: 14px; }
.tools h3 { font-size: 18px; font-weight: 700; }
.tools > p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.tool-list { margin: 16px 0 0; border-top: 1px solid var(--line); }
.tool-list div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tool-list dt { padding-top: 3px; font-family: var(--mono); font-size: 12.5px; color: var(--blue-text); }
.tool-list dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.tool-list dd b { display: block; margin-bottom: 2px; font-size: 16px; font-weight: 700; color: var(--ink); }

/* Contact */
.contact { background: var(--ink); color: var(--white); padding: 112px 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact .eyebrow { color: #aab1bc; }
.contact h2 { margin-top: 16px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.contact-intro h2 ~ p { margin-top: 22px; color: #b9c0ca; font-size: 18px; max-width: 440px; }
.next-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.next-steps li { display: flex; gap: 14px; color: #d7dce3; font-size: 16px; }
.next-steps li b {
    flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(0, 140, 255, .18); color: #59b3ff; font: 600 12px var(--mono);
}
/* The form sits straight on the dark section: underlined fields, no card */
.form { position: relative; display: grid; gap: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { display: grid; gap: 6px; align-content: start; }
.field > label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8d96a3; }
.field > label span { text-transform: none; letter-spacing: 0; color: #66707c; }
.field input, .field textarea {
    width: 100%; font: 400 19px/1.4 var(--sans); color: var(--white);
    background: transparent; border: 0; border-bottom: 1.5px solid rgba(255, 255, 255, .2); border-radius: 0;
    padding: 8px 0 12px; outline: none; transition: border-color .2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .3); }
.field input:hover, .field textarea:hover { border-bottom-color: rgba(255, 255, 255, .4); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--blue); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--white); caret-color: var(--white); box-shadow: 0 0 0 1000px var(--ink) inset; }
.field .invalid { border-bottom-color: #ff6b5e; }
.field .error { font-size: 13.5px; color: #ff8a80; }
.form-error { background: rgba(255, 107, 94, .12); color: #ff9a91; border: 1px solid rgba(255, 107, 94, .3); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips label {
    position: relative; cursor: pointer; font-size: 14.5px; font-weight: 500; color: #d7dce3;
    border: 1px solid rgba(255, 255, 255, .2); border-radius: 99px; padding: 9px 16px; transition: all .15s;
}
.chips label:hover { border-color: rgba(255, 255, 255, .45); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) { background: var(--white); color: var(--ink); border-color: var(--white); }
.chips label:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(0, 140, 255, .35); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form-foot .btn { height: 56px; padding: 0 30px; }
.form-foot small { color: #8d96a3; font-size: 14px; }
/* Honeypot: hidden from people, visible to bots that fill every field */
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-done { gap: 14px; align-content: start; padding-top: 8px; }
.form-done .done-mark {
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: var(--blue); color: var(--white);
}
.form-done .done-mark svg { width: 26px; height: 26px; }
.form-done h3 { margin-top: 8px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.form-done p { color: #b9c0ca; font-size: 18px; max-width: 440px; }

/* Footer */
footer { background: var(--ink); color: #9aa3ae; border-top: 1px solid rgba(255, 255, 255, .08); padding: 40px 0; font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot img { height: 24px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot a { text-decoration: none; color: #c8ced6; }
.foot a:hover { color: var(--white); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .hero h1 { font-size: clamp(36px, 6vw, 52px); }
    .hero h1 .soft { display: block; }
    .timeline { max-width: 560px; }
    .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
    .audience-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
    .services-grid { grid-template-columns: minmax(0, 1fr); }
    .examples { grid-template-columns: 1fr; }
    .familiar, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
    .steps::before { display: none; }
}
@media (max-width: 860px) {
    .nav-links, .nav-actions .btn-ghost { display: none; }
    .menu-toggle { display: inline-flex; }
    .mobile-menu.open {
        display: grid; gap: 4px; padding: 8px 24px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper);
    }
    .mobile-menu a { padding: 12px 0; text-decoration: none; font-weight: 600; font-size: 18px; }
    .mobile-menu .btn { margin-top: 12px; padding: 0 24px; font-size: 16px; }
    .section-head { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 18px; }
    .nav { height: 68px; }
    .nav-logo img { height: 24px; }
    .nav-actions .btn-ink { display: none; }
    .mobile-menu.open { padding: 8px 18px 20px; }
    .hero { padding: 28px 0 8px; }
    .hero-grid { gap: 40px; }
    .eyebrow { font-size: 14.5px; }
    .hero h1 { margin-top: 14px; line-height: 1.06; }
    .hero .lede { margin-top: 18px; font-size: 16.5px; line-height: 1.55; }
    .cta-row { flex-direction: column; gap: 8px; margin-top: 26px; }
    .cta-row .btn { align-self: stretch; }
    .text-link { height: 44px; }
    .timeline { border-radius: 18px; padding: 18px; }
    .timeline-steps li { grid-template-columns: minmax(0, 1fr); padding-left: 26px; }
    .timeline-steps li::before { left: 0; top: 4px; }
    .timeline-steps li::after { left: 4px; top: 18px; }
    .timeline-steps .when { font-size: 11.5px; padding-top: 0; }
    /* The step titles and tags tell the story; the detail lines would make the card taller than the screen */
    .timeline-steps li { padding-bottom: 14px; }
    .timeline-steps p { display: none; }
    .hero-facts { margin-top: 48px; padding-top: 20px; gap: 20px 16px; font-size: 14px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 32px; }
    .audience-grid { grid-template-columns: minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
    .audience-grid li { padding: 16px 0; border-top: 1px solid var(--line); }
    .audience-grid li:first-child { border-top: 2px solid var(--ink); }
    .audience-grid h3 { font-size: 18px; }
    .audience-grid p { margin-top: 6px; font-size: 15px; }
    .audience-note { margin-top: 28px; }
    .service { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0; }
    .service h3 { font-size: 20px; }
    .service > p { font-size: 15.5px; }
    .service-extras { padding: 20px; }
    /* Steps become a vertical timeline: dot on the left, dashed line down to the next step */
    .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .step { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 18px; padding-bottom: 32px; }
    .step:last-child { padding-bottom: 0; }
    .step::after {
        content: ''; position: absolute; left: 10px; top: 30px; bottom: 6px; width: 2px;
        background: repeating-linear-gradient(180deg, #d6d3cc 0 6px, transparent 6px 12px);
    }
    .step:last-child::after { display: none; }
    .step-dot { grid-row: 1 / span 3; }
    .step .mono, .step h3, .step p { grid-column: 2; }
    .step .mono { margin-top: 2px; }
    .step h3 { margin-top: 4px; font-size: 20px; }
    .step p { margin-top: 6px; }
    .example-label { padding: 20px 20px 16px; }
    .example-label h3 { font-size: 20px; }
    .app { margin: 0 12px 12px; }
    .form-row { grid-template-columns: 1fr; }
    .pain-list li { font-size: 18.5px; }
    .app-table .hide-sm { display: none; }
    /* Table rows become stacked cards: job number above the item, status on the right */
    .app-table, .app-table tbody { display: block; }
    .app-table thead { display: none; }
    .app-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid #efede9; }
    .app-table tr:first-child { border-top: 0; }
    .app-table td { padding: 0; border: 0; }
    .app-table td:first-child { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--muted); }
    .app-table td:nth-child(2) { grid-column: 1; font-weight: 600; }
    .app-table td:last-child { grid-column: 2; grid-row: 1 / span 2; }
    .units li { grid-template-columns: minmax(0, 1fr) auto; }
    .units .unit { display: none; }
    .tool-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .form-foot .btn { flex: 1 1 100%; }
    .contact { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
