:root {
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --text: #1d2430;
  --muted: #5a6472;
  --line: #dfe3e8;
  --primary: #1f3b5c;
  --primary-hover: #16304d;
  --accent: #c94c8c;          /* from logo gradient */
  --font: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Encode Sans Semi Expanded", "Libre Franklin", Arial, sans-serif;
  --wrap: 1140px;
  --gutter: 20px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--text); }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); letter-spacing: -0.015em; max-width: 21ch; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 18px; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.skip { position: absolute; left: 12px; top: -50px; z-index: 100; background: var(--primary); color: #fff; padding: 8px 12px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; color: #292a2a; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; }
.lang button { font: 500 .8rem var(--font); background: none; border: 0; color: var(--muted); padding: 6px 7px; cursor: pointer; border-radius: 4px; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.menu-toggle { display: none; position: relative; width: 40px; height: 36px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { position: absolute; width: 18px; height: 2px; background: var(--text); left: 50%; transform: translateX(-50%); transition: transform .2s, top .2s; }
.menu-toggle .bars { top: 50%; margin-top: -1px; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; left: 0; transform: none; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn { display: inline-block; font: 500 1rem var(--font); text-decoration: none; padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: #fff; color: var(--primary); border-color: #c3ccd6; }
.btn-secondary:hover { border-color: var(--primary); }

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(120deg, #f4eef6 0%, #f1f4f6 45%, #ecf4f1 100%); border-bottom: 1px solid var(--line); }

/* Muted tones: one per business line, plus two neutrals */
.tone-clay   { --tone: #a35a3c; --tone-bg: #f8f1ec; --tone-soft: #f0e0d6; }
.tone-teal   { --tone: #2d7067; --tone-bg: #edf5f3; --tone-soft: #d5e8e3; }
.tone-violet { --tone: #7a4c92; --tone-bg: #f4eff7; --tone-soft: #e6dcee; }
.tone-sand   { --tone: #8a6d3b; --tone-bg: #f6f2ea; --tone-soft: #ebe2d1; }
.tone-mist   { --tone: #3f5f80; --tone-bg: #eef2f7; --tone-soft: #dbe4ee; }
section[class*="tone-"] { background: var(--tone-bg); }
.hero-copy { max-width: 720px; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 20px; max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.summary-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.summary-item:hover { border-color: #b8c3cf; box-shadow: 0 2px 8px rgba(31, 59, 92, .07); }
.summary-item svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--tone-soft, #eef2f7); flex: none; fill: none; stroke: var(--tone, var(--primary)); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: -4px; }
.summary-item { border-top: 3px solid var(--tone, var(--line)); }
.summary-item:hover { border-top-color: var(--tone, var(--line)); }
.summary-item strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; margin-bottom: 3px; }
.summary-item span span { color: var(--muted); font-size: .94rem; }

/* Services */
.service, .company, .contact { padding: 80px 0; }
.alt { background: var(--bg-alt); }
.service-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.service-text p { color: #3a4350; max-width: 58ch; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); position: relative; }
.service-list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 10px; height: 2px; background: var(--tone, var(--accent)); }
.service-list { border-top-color: var(--tone-soft, var(--line)); }
.service-list li { border-bottom-color: var(--tone-soft, var(--line)); }
.service h2::before, .company h2::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--tone, var(--accent)); margin-bottom: 18px; }

.service-cta { display: inline-block; margin-top: 10px; font-weight: 500; text-decoration: none; color: var(--tone, var(--primary)); border-bottom: 1px solid var(--tone-soft, #b8c3cf); padding-bottom: 1px; }
.service-cta::after { content: " →"; transition: margin-left .15s; }
.service-cta:hover { border-bottom-color: var(--tone, var(--primary)); }
.service-cta:hover::after { margin-left: 3px; }

/* Company */
.company-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.company-inner p { color: #3a4350; max-width: 58ch; }
.legal { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal tr:last-child th, .legal tr:last-child td { border-bottom: 0; }
.legal th { font-weight: 500; color: var(--muted); width: 40%; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.contact-inner > div > p { color: #3a4350; }
.contact-list { margin: 26px 0 0; }
.contact-list div { padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-size: .85rem; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font-size: 1.05rem; }

.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--font); color: var(--text); background: #fff; border: 1px solid #c3ccd6; border-radius: var(--radius); padding: 10px 12px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31, 59, 92, .15); }
.field [aria-invalid="true"] { border-color: #c62828; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: .92rem; color: var(--muted); }
.form-note.error { color: #c62828; }

/* Request builder */
.builder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; gap: 22px; }
.step { border: 0; margin: 0; padding: 0 0 22px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; padding: 0; margin-bottom: 14px; }
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .8rem; }
.field-label { font-size: .9rem; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }

.choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input, .segmented input, .checks input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; height: 100%; padding: 12px 14px; border: 1px solid #c3ccd6; border-radius: var(--radius); font-size: .94rem; line-height: 1.35; transition: border-color .15s, background .15s; }
.choice:hover span { border-color: var(--primary); }
.choice input:checked + span { border-color: var(--primary); background: #eef2f7; box-shadow: inset 0 0 0 1px var(--primary); font-weight: 500; }
.choice input:focus-visible + span, .segmented input:focus-visible + span, .checks input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { cursor: pointer; }
.checks span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid #c3ccd6; border-radius: 999px; font-size: .9rem; transition: all .15s; }
.checks span::before { content: "+"; color: var(--muted); font-weight: 600; width: 10px; text-align: center; }
.checks input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.checks input:checked + span::before { content: "✓"; color: #fff; }
.checks label:hover span { border-color: var(--primary); }
.checks .appear { animation: pop .25s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } }

.segmented { display: inline-flex; border: 1px solid #c3ccd6; border-radius: var(--radius); overflow: hidden; width: max-content; }
.segmented label { cursor: pointer; position: relative; }
.segmented span { display: block; padding: 9px 16px; font-size: .94rem; }
.segmented label + label span { border-left: 1px solid #c3ccd6; }
.segmented input:checked + span { background: var(--primary); color: #fff; }

#b-area-field[hidden] { display: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; padding: 0; border: 0; border-radius: 3px; background: linear-gradient(var(--primary), var(--primary)) 0 / var(--fill, 5%) 100% no-repeat, #dfe3e8; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); cursor: pointer; }
input[type="range"]:focus { box-shadow: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(31, 59, 92, .25); }
output { font-weight: 600; color: var(--primary); }

.preview { background: var(--bg-alt); border-radius: var(--radius); padding: 14px 16px; }
.preview-label { font-size: .82rem; color: var(--muted); }
.preview pre { margin: 6px 0 0; font: 400 .92rem/1.55 var(--font); white-space: pre-wrap; color: var(--text); }

/* FAQ */
.faq { padding: 80px 0; }
.faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--primary); }
.faq details p { color: #3a4350; padding: 0 36px 18px 0; margin: 0; animation: pop .25s ease; }

/* Nav: active section + header shadow */
.nav a.active { border-bottom-color: var(--primary); color: var(--primary); }
.site-header.scrolled { box-shadow: 0 2px 10px rgba(23, 38, 58, .06); }

/* Footer */
.site-footer { background: #1b2a3d; color: #c9d1db; padding: 36px 0; font-size: .92rem; line-height: 1.7; }
.site-footer strong { color: #fff; font-weight: 600; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.footer-copy { margin-left: auto; align-self: flex-end; }

/* Subtle reveal */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Product card (Mirada) */
.product { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; margin-top: 56px; padding: 24px; background: #fff; border: 1px solid var(--tone-soft, var(--line)); border-left: 4px solid var(--tone, var(--primary)); border-radius: var(--radius); }
.product-icon { width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 1px 3px rgba(16, 20, 27, .12); }
.product-kicker { font-size: .82rem; font-weight: 600; color: var(--tone, var(--muted)); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.product h3 { font-size: 1.35rem; margin-bottom: 10px; }
.product-text p { color: #3a4350; max-width: 62ch; }
.product-text .product-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.product-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; white-space: nowrap; }
.product-links a { display: block; padding: 9px 14px; border: 1px solid var(--tone-soft, var(--line)); border-radius: var(--radius); text-decoration: none; color: var(--tone, var(--primary)); font-weight: 500; font-size: .94rem; }
.product-links a:hover { border-color: var(--tone, var(--primary)); background: var(--tone-bg, #fff); }

/* Mirada landing */
.mirada-page .header-inner { gap: 20px; }
.mirada-page .doc-nav { margin-left: auto; }
.m-hero { padding: 56px 0 64px; background: linear-gradient(120deg, #f6efe4 0%, #f4eff7 60%, #eef2f7 100%); border-bottom: 1px solid var(--line); }
.m-hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.m-app { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.m-app img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 2px 6px rgba(16, 20, 27, .14); }
.m-app strong { display: block; font-family: var(--font-head); font-size: 1.3rem; }
.m-app span { color: var(--muted); font-size: .92rem; }
.m-badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.m-badges li { font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #e3d6c3; color: #6e4f1f; }
.btn-soon { background: #10141b; color: #fff; cursor: default; }
.m-phone { margin: 0; justify-self: center; }
.m-phone img { width: min(300px, 70vw); height: auto; border-radius: 30px; border: 8px solid #10141b; box-shadow: 0 18px 40px rgba(16, 20, 27, .18); }

.m-why, .m-features, .m-shots, .m-steps, .m-privacy { padding: 72px 0; }
.m-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.m-why-grid article { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--tone-soft); }
.m-why-grid h3, .m-feature-grid h3, .m-feature-lead h3 { font-size: 1.08rem; margin-bottom: 8px; }
.m-why-grid p, .m-feature-grid p, .m-feature-lead p { color: #3a4350; font-size: .96rem; margin: 0; }

.m-feature-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 8px 0 28px; padding: 28px; background: #f6efe4; border-radius: var(--radius); }
.m-feature-lead img { width: 100%; max-width: 420px; height: auto; justify-self: center; border-radius: 14px; box-shadow: 0 6px 20px rgba(16, 20, 27, .10); }
.m-feature-lead p { font-size: 1.04rem; }
.m-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.m-feature-grid article { padding: 20px; border-radius: var(--radius); background: var(--tone-bg); border-top: 3px solid var(--tone); }

.m-shots-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.m-shots-head h2 { margin: 0; }
.m-shots-nav { display: flex; gap: 8px; }
.m-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #c3ccd6; background: #fff; font-size: 1.1rem; cursor: pointer; color: var(--text); }
.m-arrow:hover { border-color: var(--primary); }
.m-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 2px 12px; scrollbar-width: thin; }
.m-gallery figure { margin: 0; scroll-snap-align: start; }
.m-gallery img { width: 100%; height: 534px; object-fit: cover; object-position: top; border-radius: 22px; border: 6px solid #10141b; background: #faf7f2; }
.m-gallery figcaption { font-size: .9rem; color: #3a4350; margin-top: 10px; }

.m-steps-list { list-style: none; counter-reset: st; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.m-steps-list li { counter-increment: st; display: grid; gap: 6px; padding-top: 50px; position: relative; }
.m-steps-list li::before { content: counter(st); position: absolute; top: 0; left: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #7a4c92; color: #fff; font-family: var(--font-head); font-weight: 700; }
.m-steps-list strong { font-family: var(--font-head); font-size: 1.05rem; }
.m-steps-list span { color: #3a4350; font-size: .96rem; }
.m-req { margin-top: 28px; color: var(--muted); font-size: .92rem; }

.m-privacy-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.m-privacy-inner p { color: #3a4350; max-width: 60ch; }
.m-disclaimer { font-size: .84rem; color: var(--muted); padding-top: 20px; padding-bottom: 28px; }

/* Link from the home page card */
.product-more { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--tone, var(--primary)); text-decoration: none; }
.product-more:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .m-why-grid { grid-template-columns: repeat(2, 1fr); }
  .m-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .m-hero-inner, .m-feature-lead, .m-privacy-inner { grid-template-columns: 1fr; }
  .m-steps-list { grid-template-columns: 1fr; }
  .mirada-page .doc-nav { display: none; }
  .mirada-page .lang { margin-left: auto; }
}
@media (max-width: 520px) {
  .m-why-grid, .m-feature-grid { grid-template-columns: 1fr; }
  .m-gallery { grid-auto-columns: 75%; }
  .m-gallery img { height: auto; aspect-ratio: 540 / 1110; }
}

/* Legal / document pages */
.doc-nav { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; }
.doc-nav a { color: var(--text); text-decoration: none; }
.doc-nav a:hover { color: var(--primary); text-decoration: underline; }
.doc { padding-top: 48px; padding-bottom: 72px; max-width: 860px; }
.doc-head { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc-icon { width: 56px; height: 56px; border-radius: 13px; flex: none; box-shadow: 0 1px 3px rgba(16, 20, 27, .12); }
.doc-kicker { font-size: .82rem; font-weight: 600; color: #7a4c92; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.doc-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); max-width: none; }
.doc-meta { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.doc-body h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.doc-body p, .doc-body li { color: #333b47; }
.doc-body ul { padding-left: 22px; margin: 0 0 14px; }
.doc-body li { margin-bottom: 6px; }
.doc-body code { font-size: .9em; background: var(--bg-alt); padding: 1px 5px; border-radius: 4px; }
.table-wrap { overflow-x: auto; margin: 8px 0 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.doc-body table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.doc-body th { background: #f4eff7; font-weight: 600; }
.doc-body tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .product { grid-template-columns: auto 1fr; }
  .product-links { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; }
  .summary { grid-template-columns: 1fr; margin-top: 40px; }
  .service-inner, .company-inner, .contact-inner, .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .service, .company, .contact, .faq { padding: 56px 0; }
  .choice-cards { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 12px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .product { grid-template-columns: 1fr; }
  .product-links { grid-auto-flow: row; }
  .doc-nav { gap: 14px; font-size: .88rem; }
  .doc-nav a:first-child { display: none; }
  .doc-head { flex-direction: column; }
  .row { grid-template-columns: 1fr; }
  .builder { padding: 18px; }
  .footer-copy { margin-left: 0; }
  .legal th { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
