/* Ute Office. Hi-vis on workwear navy. Plain CSS, no framework. */
:root {
  --ink: #12171d; --ink-2: #1b232c; --ink-3: #26313c; --paper: #f6f4ef; --surface: #ffffff; --line: #e3dfd5; --line-dark: #2d3843;
  --text: #2a333d; --muted: #5a6570; --on-dark: #c9d2da; --on-dark-2: #94a2ae;
  --hivis: #dcff2e; --hivis-2: #c6ea12; --rust: #b4501d; --rust-2: #8f3e15; --rust-tint: #fbefe7; --green: #1f7a4d; --green-tint: #e4f3ea; --red: #b3261e;
  --radius: 18px; --radius-s: 12px; --shadow: 0 1px 2px rgba(18,23,29,.06), 0 12px 32px rgba(18,23,29,.10);
  --head: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(18px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.6 var(--body); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-2); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; font-stretch: 108%; }
h1 { font-size: clamp(40px, 6.2vw, 74px); font-weight: 850; }
h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 820; }
h3 { font-size: clamp(21px, 2.2vw, 25px); font-weight: 760; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 99; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { font: 700 14px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 2px; background: currentColor; }
.lede { font-size: clamp(19px, 2vw, 22px); color: var(--muted); max-width: 640px; }
.small { font-size: 15px; color: var(--muted); }
.mono { font-family: ui-monospace, "JetBrains Mono", Consolas, monospace; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 750 17px/1 var(--head); text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: transform .12s, background .12s; }
.btn:hover { color: #fff; background: #000; transform: translateY(-1px); }
.btn--hivis { background: var(--hivis); border-color: var(--hivis); color: var(--ink); }
.btn--hivis:hover { background: var(--hivis-2); border-color: var(--hivis-2); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.dark .btn--ghost { color: #fff; border-color: #fff; }
.dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(246,244,239,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; }
.brand__name { font: 850 22px/1 var(--head); font-stretch: 112%; letter-spacing: -.02em; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 650 16px/1 var(--head); }
.nav__list a:hover { background: #ebe7dd; }
.nav__list a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav__toggle { display: none; }
.nav-call { font: 700 16px/1 var(--head); color: var(--ink); text-decoration: none; }
@media (max-width: 1020px) {
  .nav__toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font: 700 15px/1 var(--head); color: var(--ink); cursor: pointer; }
  .nav__list { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; padding: 10px var(--gutter) 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.is-open .nav__list { display: flex; }
  .nav__list a { min-height: 52px; font-size: 18px; }
  .top .btn--small { display: none; }
  .nav-call { display: none; }
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #a8a294; }
.crumbs a { color: var(--muted); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--hivis); }
.dark .lede, .dark .small { color: var(--on-dark-2); }
.dark a { color: var(--hivis); }
.white { background: var(--surface); }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow); }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.num { font: 900 clamp(48px, 6vw, 72px)/1 var(--head); color: var(--rust); letter-spacing: -.03em; margin-bottom: 10px; display: block; }
.dark .num { color: var(--hivis); }
.source { font-size: 14px; color: var(--muted); margin-top: 12px; }
.source a { color: inherit; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--hivis) 62%, var(--hivis) 92%, transparent 92%); }
.hero__note { margin-top: 18px; font-size: 15px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero__note span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }
@media (max-width: 960px) { .hero__in { grid-template-columns: 1fr; } }

/* Device frames with real screenshots */
.stage { position: relative; min-height: 560px; }
.laptop { position: absolute; right: 0; top: 30px; width: 88%; border-radius: 14px; background: var(--ink); padding: 30px 8px 8px; box-shadow: 0 30px 60px rgba(18,23,29,.25); }
.laptop::before { content: ""; position: absolute; top: 11px; left: 14px; width: 48px; height: 10px; background: radial-gradient(circle, #e5735a 4px, transparent 5px) 0 0/16px 10px repeat-x; }
.laptop img { border-radius: 6px; width: 100%; }
.phone { position: relative; width: 230px; border-radius: 34px; background: #0b1117; padding: 9px; box-shadow: 0 30px 60px rgba(18,23,29,.32); }
.phone img { border-radius: 26px; width: 100%; }
.stage .phone { position: absolute; left: 0; bottom: 0; z-index: 2; }
.draft { position: absolute; z-index: 3; right: 4%; bottom: 6%; width: 290px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 48px rgba(18,23,29,.22); padding: 18px 20px; font-size: 15px; }
.draft__tag { display: inline-flex; gap: 6px; align-items: center; font: 750 12px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--rust); background: var(--rust-tint); padding: 6px 10px; border-radius: 999px; }
.draft__price { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 4px; font-family: var(--head); }
.draft__price s { color: #9aa3ab; font-size: 22px; }
.draft__price strong { font-size: 40px; color: var(--ink); font-weight: 900; }
.draft__who { color: var(--muted); font-size: 14px; }
.draft__ok { margin-top: 12px; display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--green); }
@media (max-width: 960px) { .stage { min-height: 0; display: grid; grid-template-columns: 1fr; gap: 16px; } .laptop, .stage .phone, .draft { position: relative; inset: auto; width: auto; } .stage .phone { width: 210px; margin: -120px 0 0 12px; } .draft { margin: -90px 0 0 auto; width: min(290px, 70%); } }
@media (max-width: 520px) { .stage .phone { width: 160px; margin-top: -80px; } .draft { width: 78%; margin-top: -70px; } }
.shot { margin: 0; }
.shot figcaption { font-size: 15px; color: var(--muted); margin-top: 12px; }
.dark .shot figcaption { color: var(--on-dark-2); }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.phones .phone { width: 100%; max-width: 260px; margin: 0 auto; }
@media (max-width: 760px) { .phones { grid-template-columns: repeat(3, 70vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; } .phones > * { scroll-snap-align: center; } }

/* Film */
.film { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px; border: 0; padding: 0; cursor: pointer; background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.05) 55%); color: #fff; font: 800 clamp(18px, 2.2vw, 24px)/1.2 var(--head); }
.film__play span.ring { width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border-radius: 50%; background: var(--hivis); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(220,255,46,.25); transition: transform .15s; }
.film__play:hover span.ring { transform: scale(1.06); }
@media (max-width: 640px) { .film__play .label { display: none; } }
.film__play span.ring::before { content: ""; border-left: 26px solid var(--ink); border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 7px; }
.film__play .label { position: absolute; left: 24px; bottom: 20px; text-align: left; font-size: 16px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.chapters { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chapters button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--ink-2); color: var(--on-dark); font: 600 15px/1 var(--head); cursor: pointer; }
.chapters button:hover, .chapters button[aria-current="true"] { background: var(--hivis); color: var(--ink); border-color: var(--hivis); }
.chapters b { font-family: ui-monospace, Consolas, monospace; font-weight: 600; margin-right: 8px; opacity: .8; }

/* Two sides: front end and back end */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .sides { grid-template-columns: 1fr; } }
.side { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.side--front { background: var(--surface); border: 1px solid var(--line); }
.side--back { background: var(--ink); color: var(--on-dark); }
.side--back h3 { color: #fff; }
.side ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.side li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.side li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231f7a4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.side--back li::before { background-color: rgba(220,255,46,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23dcff2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.side li strong { display: block; color: inherit; }
.side--front li strong { color: var(--ink); }
.side--back li strong { color: #fff; }
.side .phone { width: 200px; margin: 28px auto 0; }
.side .laptop { position: relative; width: 100%; top: 0; margin-top: 28px; }

/* AI steps and safeguards */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }
.flow .card { position: relative; padding-top: 64px; }
.flow .card::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; left: 28px; width: 32px; height: 32px; border-radius: 50%; background: var(--hivis); color: var(--ink); font: 900 17px/32px var(--head); text-align: center; }
.gates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; counter-reset: gate; }
@media (max-width: 1020px) { .gates { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gates { grid-template-columns: 1fr; } }
.gates li { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-s); padding: 22px; position: relative; }
.gates li::before { counter-increment: gate; content: counter(gate); display: block; font: 900 40px/1 var(--head); color: var(--hivis); margin-bottom: 12px; }
.gates strong { display: block; color: #fff; font: 750 19px/1.25 var(--head); margin-bottom: 8px; }
.gates span { font-size: 16px; color: var(--on-dark-2); }
.data { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .data { grid-template-columns: 1fr; } }
.data ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.data li { display: flex; gap: 10px; align-items: baseline; }
.data .yes li::before { content: "✓"; color: var(--green); font-weight: 900; }
.data .no li::before { content: "✕"; color: var(--hivis); font-weight: 900; }
.data .no li { text-decoration: line-through; text-decoration-color: rgba(220,255,46,.6); color: #fff; }
.data .no li span { text-decoration: none; }
.code { background: #0b1117; color: #e6edf1; border-radius: var(--radius-s); padding: 20px 22px; overflow-x: auto; font: 500 15px/1.6 ui-monospace, "JetBrains Mono", Consolas, monospace; border: 1px solid var(--line-dark); }
.code .k { color: #f0a77c; } .code .s { color: #9fd3a8; } .code .c { color: #7d8b97; }
.inject { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-s); padding: 20px 22px; color: var(--on-dark); }
.inject mark { background: rgba(214,69,69,.28); color: #ffd2cb; padding: 2px 4px; border-radius: 4px; }
.flag { margin-top: 12px; display: flex; gap: 10px; align-items: center; background: rgba(214,69,69,.14); border: 1px solid rgba(214,69,69,.5); color: #ffd2cb; border-radius: 12px; padding: 12px 16px; font-weight: 650; }

/* Case study */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 18px; }
.facts b { display: block; font: 850 28px/1.1 var(--head); color: var(--ink); }
.facts span { font-size: 15px; color: var(--muted); }
.status { border-left: 4px solid var(--rust); background: var(--rust-tint); padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: 16px; }

/* Process, FAQ, forms */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { border-top: 4px solid var(--ink); padding-top: 18px; }
.steps li::before { counter-increment: s; content: "Step " counter(s); display: block; font: 750 13px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--rust); margin-bottom: 10px; }
.steps strong { display: block; font: 780 21px/1.2 var(--head); color: var(--ink); margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 750 clamp(18px, 2vw, 21px)/1.3 var(--head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 500 30px/1 var(--head); color: var(--rust); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 760px; }
.form { display: grid; gap: 18px; }
.field label { display: block; font: 700 16px/1.3 var(--head); color: var(--ink); margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted); font-family: var(--body); font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; font: 400 18px/1.4 var(--body); color: var(--ink); background: #fff; border: 2px solid #cfc9bc; border-radius: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(220,255,46,.7); }
.field textarea { min-height: 110px; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 2px solid #cfc9bc; border-radius: 999px; background: #fff; font: 600 16px/1 var(--body); color: var(--ink); cursor: pointer; margin: 0; }
.choice input { width: 20px; height: 20px; min-height: 0; accent-color: var(--ink); }
.choice label:has(input:checked) { border-color: var(--ink); background: #f0f8c6; }
.form-ok { display: none; }
.form.is-sent .form-body { display: none; }
.form.is-sent .form-ok { display: block; }
.next { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.next li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.next b { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--hivis); display: grid; place-items: center; font: 850 16px/1 var(--head); }
.transcript { columns: 2 340px; column-gap: 48px; }
.transcript p { break-inside: avoid; }
.transcript h3 { break-after: avoid; font-size: 19px; margin-top: 1.2em; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }
.cta-band { background: var(--hivis); color: var(--ink); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; }
.cta-band h2 { margin: 0 0 .3em; }
.cta-band p { margin: 0; font-size: 19px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Footer and the phone dock */
.foot { background: var(--ink); color: var(--on-dark-2); padding: 64px 0 110px; font-size: 16px; }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr; } }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot h2 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--on-dark); }
.foot a:hover { color: var(--hivis); }
.foot__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.dock { display: none; }
@media (max-width: 1020px) {
  .dock { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(18,23,29,.94); backdrop-filter: blur(8px); }
  .dock .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
