/* ==========================================================================
   Automatedata — site institucional
   ========================================================================== */

:root {
  --paper: #F3F1EC;
  --paper-2: #EAE7E0;
  --ink: #0E1116;
  --ink-2: #3B4049;
  --ink-3: #6B707A;
  --line: #D9D5CC;
  --accent: #2346FF;
  --accent-ink: #1532D6;
  --dark: #0C0E12;
  --dark-2: #15181E;
  --dark-line: #262A33;
  --on-dark: #ECEAE4;
  --on-dark-2: #9CA0A8;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  padding: 15px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: -.005em;
  border: 0; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--small { padding: 10px 16px; font-size: 14px; }
.btn--full { width: 100%; justify-content: center; }

.link {
  font-weight: 500; font-size: 15px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .4s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3); margin-bottom: 24px;
}
.eyebrow--dark { color: var(--on-dark-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(35, 70, 255, .15); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(243, 241, 236, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.03em; }
.logo__mark { width: 22px; height: 22px; fill: var(--ink); }
.logo__accent { fill: var(--accent); transform-origin: 17.5px 17.5px; transition: transform .5s var(--ease); }
.logo:hover .logo__accent { transform: rotate(90deg) scale(.85); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; 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); transform-origin: left; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 148px 0 72px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .45;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero__title {
  font-size: clamp(52px, 8.4vw, 116px);
  line-height: .95; letter-spacing: -.045em; font-weight: 500;
  margin-bottom: 32px;
}
.hero__title em { color: var(--accent); letter-spacing: -.03em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .line > span { transform: none; }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 30em; margin-bottom: 36px; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Flow diagram */
.flow {
  background: #FBFAF7; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -30px rgba(14, 17, 22, .25);
  overflow: hidden;
}
.flow__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.flow__dots { display: inline-flex; gap: 6px; }
.flow__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.flow__status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #1DB36B; position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #1DB36B; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.flow__svg { width: 100%; height: auto; padding: 8px 6px 0; }
.flow__wires use { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 3 5; }
.flow__packets circle { fill: var(--ink); }
.flow__packets circle.out { fill: var(--accent); }
.flow__src rect, .flow__out rect { fill: #fff; stroke: var(--line); }
.flow__out rect { stroke: rgba(35, 70, 255, .35); }
.flow__src text, .flow__out text { font: 500 13px var(--sans); fill: var(--ink); letter-spacing: -.01em; }
.flow__out text { fill: var(--accent-ink); }
.flow__core .core { fill: var(--ink); }
.flow__core text { font: 500 12px var(--mono); fill: var(--paper); letter-spacing: .06em; }
.flow__core .ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0; transform-origin: center; animation: ring 3s var(--ease) infinite; }
.flow__core .ring--2 { animation-delay: 1.5s; }
@keyframes ring { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

.flow__log { border-top: 1px solid var(--line); padding: 12px 16px; height: 84px; overflow: hidden; color: var(--ink-3); text-transform: none; }
.flow__log ol { display: flex; flex-direction: column; gap: 4px; }
.flow__log li { display: flex; gap: 12px; white-space: nowrap; animation: logIn .5s var(--ease) both; }
.flow__log li b { font-weight: 500; color: var(--ink); }
.flow__log li .ok { color: #1A9A5C; }
@keyframes logIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Stack marquee ---------- */
.stack { border-block: 1px solid var(--line); padding: 22px 0; display: flex; align-items: center; gap: 32px; overflow: hidden; }
.stack__label { flex: none; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); color: var(--ink-3); }
.marquee { display: flex; overflow: hidden; flex: 1; 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: 56px; padding-right: 56px; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: 22px; font-weight: 500; letter-spacing: -.03em; color: var(--ink-2); white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; margin-bottom: 64px; }
.section__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section__title { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.section__title em { color: var(--ink-3); }
.section__lead { color: var(--ink-2); max-width: 32em; align-self: end; }

/* Services */
.services { border-top: 1px solid var(--ink); }
.service {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr) 40px; gap: 24px; align-items: baseline;
  padding: 32px 0; border-bottom: 1px solid var(--line); position: relative; isolation: isolate; cursor: default;
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.service__num { color: var(--ink-3); transition: color .3s; }
.service__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; transition: color .3s, transform .5s var(--ease); }
.service__desc { color: var(--ink-2); transition: color .3s; max-width: 34em; }
.service__arrow { font-size: 22px; justify-self: end; transition: transform .5s var(--ease), color .3s; }
@media (hover: hover) {
  .service:hover::before { transform: scaleY(1); transform-origin: top; }
  .service:hover .service__title { color: var(--paper); transform: translateX(12px); }
  .service:hover .service__num { color: var(--accent); }
  .service:hover .service__desc { color: var(--on-dark-2); }
  .service:hover .service__arrow { color: var(--accent); transform: rotate(45deg); }
}

/* Method */
.method { background: var(--paper-2); }
.method__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.method__aside { position: sticky; top: 120px; }
.method__progress { margin-top: 48px; height: 2px; background: var(--line); max-width: 320px; overflow: hidden; }
.method__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.steps { counter-reset: s; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 40px 0; border-top: 1px solid var(--line);
  opacity: .32; transition: opacity .6s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step.is-active { opacity: 1; }
.step__num { color: var(--accent); padding-top: 10px; }
.step h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.035em; margin-bottom: 12px; }
.step p { color: var(--ink-2); max-width: 30em; }

/* About (dark) */
.about { background: var(--dark); color: var(--on-dark); padding: clamp(110px, 14vw, 180px) 0; position: relative; overflow: hidden; }
.about__quote {
  font-size: clamp(34px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500;
  max-width: 17ch; margin-bottom: 48px;
}
.about__quote em { color: #8EA0FF; }
.about__quote .w { opacity: .18; transition: opacity .25s linear; }
.about__quote .w.on { opacity: 1; }
.about__lead { color: var(--on-dark-2); font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; margin-left: auto; margin-bottom: 96px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dark-line); }
.pillar { padding: 36px 32px 40px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--dark-line); }
.pillar__index { color: #8EA0FF; display: block; margin-bottom: 56px; text-transform: lowercase; }
.pillar h3 { font-size: 28px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 12px; }
.pillar p { color: var(--on-dark-2); }
.commit { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-top: 96px; padding-top: 36px; border-top: 1px solid var(--dark-line); }
.commit__title { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.commit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.commit__list li { padding: 18px 0 18px 28px; border-bottom: 1px solid var(--dark-line); position: relative; color: var(--on-dark); }
.commit__list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 12px; height: 1.5px; background: var(--accent); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.contact__title { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 500; margin-bottom: 28px; }
.contact__title em { color: var(--accent); }
.contact__info { margin-top: 56px; border-top: 1px solid var(--line); }
.contact__info > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact__info dt { color: var(--ink-3); }
.contact__info dd { font-size: 18px; font-weight: 500; letter-spacing: -.015em; overflow-wrap: anywhere; }
.contact__info a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease), color .2s; }
.contact__info a:hover { background-size: 100% 1.5px; color: var(--accent-ink); }

.form { background: #FBFAF7; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 8px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  font: inherit; font-size: 17px; color: var(--ink); padding: 30px 0 12px; resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field label { position: absolute; left: 0; top: 28px; color: var(--ink-3); pointer-events: none; transform-origin: left; transition: transform .35s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.78); color: var(--ink-2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #D93A2B; }
.form__error { color: #C23324; font-size: 14px; min-height: 20px; margin-top: 8px; }
.form .btn { margin-top: 8px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }
.form__done { padding: 8px 0; }
.form__done:focus { outline: none; }
.form__done-title { font-size: 28px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 8px; }
.form__done-title::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #1DB36B; margin-right: 12px; vertical-align: middle; }
.form__done p:last-child { color: var(--ink-2); }
.form.is-done > :not(.form__done) { display: none; }
.form__note { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 8px; }

/* Footer */
.footer { background: var(--dark); color: var(--on-dark); padding: 88px 0 28px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__tag { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; max-width: 16ch; line-height: 1.1; }
.footer__tag em { color: #8EA0FF; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; color: var(--on-dark-2); }
.footer__nav a:hover { color: var(--on-dark); }
.footer__word {
  font-size: 12vw; font-weight: 600; letter-spacing: -.065em; line-height: .8;
  margin: 72px 0 32px; color: transparent; -webkit-text-stroke: 1px var(--dark-line);
  background: linear-gradient(90deg, var(--on-dark) 0 var(--fill, 0%), transparent var(--fill, 0%)); -webkit-background-clip: text; background-clip: text;
  white-space: nowrap; user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--on-dark-2); padding-top: 24px; border-top: 1px solid var(--dark-line); text-transform: none; }
.footer__bottom a:hover { color: var(--on-dark); }

/* ---------- Legal (política de privacidade) ---------- */
.legal { padding: 140px 0 clamp(80px, 10vw, 140px); }
.legal__head { padding-bottom: 40px; border-bottom: 1px solid var(--ink); margin-bottom: 48px; }
.legal__title { font-size: clamp(44px, 6.4vw, 88px); line-height: .98; letter-spacing: -.045em; font-weight: 500; margin-bottom: 20px; }
.legal__title em { color: var(--accent); }
.legal__meta { color: var(--ink-3); text-transform: none; }
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 100px; font-size: 14px; }
.legal__toc .mono { color: var(--ink-3); margin-bottom: 14px; }
.legal__toc ol { display: grid; gap: 8px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; display: flex; gap: 10px; }
.legal__toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--ink-3); padding-top: 3px; }
.legal__toc a { color: var(--ink-2); transition: color .2s; }
.legal__toc a:hover { color: var(--accent-ink); }
.legal__body { max-width: 760px; }
.legal__body section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.legal__body section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal__body h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 20px; display: flex; gap: 16px; align-items: baseline; }
.legal__body h2 .mono { color: var(--accent); flex: none; }
.legal__body h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin: 28px 0 10px; }
.legal__body p, .legal__body li { color: var(--ink-2); }
.legal__body p + p { margin-top: 14px; }
.legal__body p + ul, .legal__body ul + p { margin-top: 14px; }
.legal__body ul { display: grid; gap: 8px; }
.legal__body ul li { position: relative; padding-left: 22px; }
.legal__body ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1.5px; background: var(--accent); }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__body code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); padding: 1px 6px; border-radius: 4px; }
.legal__table { overflow-x: auto; margin: 20px 0; border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
.legal__table th { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.legal__table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal__table td:first-child { color: var(--ink); }
.footer__bottom a[aria-current="page"] { color: var(--on-dark); }

@media (max-width: 1020px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
  .legal__toc ol { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
}
@media (max-width: 480px) {
  .legal { padding-top: 112px; }
  .legal__toc ol { grid-template-columns: 1fr; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .line > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 124px; }
  .section__head { grid-template-columns: 1fr; }
  .method__grid { grid-template-columns: 1fr; }
  .method__aside { position: static; }
  .method__progress { display: none; }
  .step { opacity: 1; }
  .contact__grid { grid-template-columns: 1fr; }
  .commit { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .menu-mobile {
    display: flex; flex-direction: column; padding: 8px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); position: absolute; left: 0; right: 0; top: 72px;
  }
  .menu-mobile a { font-size: 28px; font-weight: 500; letter-spacing: -.03em; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open { background: var(--paper); border-color: var(--line); }
  .nav.is-open .menu-mobile { clip-path: inset(0 0 0 0); }

  .service { grid-template-columns: 44px 1fr; gap: 8px 12px; padding: 26px 0; }
  .service__desc { grid-column: 2; }
  .service__arrow { display: none; }

  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--dark-line); }
  .pillar__index { margin-bottom: 20px; }
  .commit__list { grid-template-columns: 1fr; }
  .about__lead { margin-bottom: 64px; }
  .contact__info > div { grid-template-columns: 1fr; gap: 4px; }
  .stack { flex-direction: column; align-items: stretch; gap: 14px; }
  .stack__label { padding-left: var(--gutter); }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .flow__log { height: 72px; }
  .flow__log li span:nth-child(3) { display: none; }
  .hero__actions { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .flow__packets { display: none; }
  .reveal { opacity: 1; transform: none; }
  .line > span { transform: none; }
  .about__quote .w { opacity: 1; }
}
