/* Loudoun Nest Crew: design system. Mobile-first: base 360px, breakpoints 640 / 768 / 1024 / 1280. */
:root {
  --ink-50: #f6f7f9; --ink-100: #eceef2; --ink-200: #d5d9e0; --ink-300: #b0b7c3; --ink-400: #858e9d;
  --ink-500: #5f6878; --ink-600: #475061; --ink-700: #343c4b; --ink-800: #1f2633; --ink-900: #111827;
  --red: #ef4444; --red-600: #dc2626; --red-700: #b91c1c; --red-50: #fef2f2; --red-100: #fee2e2;
  --amber: #f5b335;
  --paper: #fbf8f3; --paper-2: #f4efe6; --white: #ffffff;
  --border: #e6e0d5; --border-dark: rgba(255,255,255,.12);
  --text: #1c2230; --muted: #4f5868;
  --radius: 20px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17,24,39,.06), 0 6px 16px rgba(17,24,39,.06), 0 24px 48px -24px rgba(17,24,39,.18);
  --shadow-lg: 0 2px 4px rgba(17,24,39,.08), 0 18px 40px -12px rgba(17,24,39,.28);
  --head: "Sora", ui-sans-serif, sans-serif;
  --body: "Inter", ui-sans-serif, sans-serif;
  --pad: 64px;
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 54 16v31L28 62 2 47V16zM28 62v35M0 79l28 -17 28 17' fill='none' stroke='%23111827' stroke-opacity='.07' stroke-width='1.2'/%3E%3C/svg%3E");
  --hex-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 54 16v31L28 62 2 47V16zM28 62v35M0 79l28 -17 28 17' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.2'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: clamp(1.0625rem, 1rem + .2vw, 1.125rem); line-height: 1.7; color: var(--text); background: var(--paper); overflow-x: hidden; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red-700); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink-900); }
:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink-900); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 700; }
p, li { max-width: 68ch; }
p { margin: 0 0 1.1em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink-900); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red-700); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 14px; height: 16px; background: currentColor; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); color: var(--muted); }
.hl { background: linear-gradient(transparent 62%, rgba(239,68,68,.28) 62%, rgba(239,68,68,.28) 92%, transparent 92%); padding: 0 .08em; }
.hl--grad { background: linear-gradient(100deg, var(--red-600), #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--call { background: var(--red-600); color: #fff; box-shadow: 0 0 0 0 rgba(239,68,68,.5), 0 10px 28px -8px rgba(220,38,38,.65); }
.btn--call:hover { background: var(--red-700); color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(239,68,68,.15), 0 14px 32px -8px rgba(220,38,38,.7); }
.btn--ghost { border: 1.5px solid var(--ink-300); color: var(--ink-900); background: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--ink-900); color: var(--ink-900); }
.section--dark .btn--ghost, .cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Header + nav */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251,248,243,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-900); font-family: var(--head); font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.nav__toggle span { position: relative; width: 20px; height: 2px; background: var(--ink-900); transition: background .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink-900); transition: transform .25s; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.nav__panel { position: fixed; inset: 70px 0 0; background: var(--ink-900) var(--hex-light); padding: 28px 20px calc(110px + env(safe-area-inset-bottom)); overflow-y: auto; display: none; }
.nav__panel.is-open { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nav__list a { display: flex; align-items: center; min-height: 48px; color: #fff; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 1.15rem; border-bottom: 1px solid var(--border-dark); }
.nav__group { color: var(--ink-400); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin: 22px 0 6px; font-family: var(--head); }
.nav__panel .btn { margin-top: 26px; }
.nav__desk { display: none; }

/* Sections + dividers */
.section { padding-block: var(--pad); position: relative; }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--tint { background: var(--red-50) var(--hex); }
.section--dark { background: var(--ink-900) var(--hex-light); color: var(--ink-200); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: #fca5a5; }
.section--dark .lead { color: var(--ink-300); }
.section--dark a { color: #fca5a5; }
.angle-top { clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%); margin-top: -36px; padding-top: calc(var(--pad) + 36px); }
.angle-bottom { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 36px)); padding-bottom: calc(var(--pad) + 36px); }
.section__head { max-width: 760px; margin-bottom: 40px; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center p { margin-inline: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; background:
  radial-gradient(60% 50% at 85% 20%, rgba(239,68,68,.16), transparent 70%),
  radial-gradient(50% 60% at 10% 90%, rgba(245,179,53,.16), transparent 70%),
  radial-gradient(40% 40% at 50% 0%, rgba(17,24,39,.06), transparent 70%), var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hex); opacity: .9; mask-image: linear-gradient(100deg, transparent 30%, #000 75%); -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: 36px; }
.hero h1 { margin-bottom: 18px; font-size: clamp(2.5rem, 1.7rem + 3.2vw, 4.1rem); }
.hero__fine { font-size: .85rem; color: var(--muted); margin-top: 18px; max-width: 56ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: .88rem; font-weight: 600; color: var(--ink-800); }
.chip svg { width: 16px; height: 16px; color: var(--red-600); }
.hero__scene { position: relative; max-width: 340px; margin-inline: auto; width: 100%; }
.hero__scene > svg { width: 100%; filter: drop-shadow(0 30px 40px rgba(17,24,39,.18)); }
.glass { position: absolute; display: none; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.35; color: var(--ink-800); max-width: 230px; }
.glass strong { display: block; font-family: var(--head); color: var(--ink-900); font-size: .92rem; }
.glass .icon { width: 40px; height: 40px; flex: none; }
.glass--a { top: 6%; left: -4%; } .glass--b { bottom: 18%; right: -4%; } .glass--c { bottom: -2%; left: 8%; }

/* Icons */
.icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--red-50); color: var(--red-600); border: 1px solid var(--red-100); flex: none; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section--dark .icon { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.25); color: #fca5a5; }

/* Cards + bento */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento { display: grid; gap: 18px; }
.bento__card { display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.bento__card h3 { margin: 6px 0 0; }
.bento__card p { margin: 0; color: var(--muted); }
.bento__card--lg { background: var(--ink-900) var(--hex-light); color: var(--ink-200); border-color: var(--ink-800); }
.bento__card--lg h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.bento__card--lg p { color: var(--ink-300); }
.bento__card--lg .icon { background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.3); color: #fca5a5; }
.bento__card--accent { background: var(--red-50); border-color: var(--red-100); }
.arrow { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--red-700); min-height: 44px; }
.arrow svg { width: 18px; height: 18px; transition: transform .2s; fill: none; stroke: currentColor; stroke-width: 2; }
.arrow:hover svg { transform: translateX(4px); }
.bento__card--lg .arrow { color: #fca5a5; }
.bento__card--lg .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--ink-200); }
.bento__card--lg .chips { margin-top: 8px; }
.bento__art { position: absolute; right: -30px; bottom: -30px; width: 200px; opacity: .5; pointer-events: none; }

/* Symptom checker */
.checker { display: grid; gap: 14px; }
.checker__card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.checker__card:hover { transform: translateY(-3px); border-color: var(--red-600); color: inherit; }
.checker__card h3 { font-size: 1.1rem; margin: 0 0 4px; }
.checker__card p { margin: 0; font-size: .98rem; color: var(--muted); }
.checker__card .tag { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-700); }

/* Prose + split */
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red-600); }
.split { display: grid; gap: 36px; align-items: center; }
.split__art { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.section--dark .split__art { background: rgba(255,255,255,.04); border-color: var(--border-dark); }

/* Process (hex numbers) */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 2px; background: repeating-linear-gradient(var(--red-600) 0 8px, transparent 8px 16px); opacity: .55; }
.process__step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; }
.process__num { width: 72px; height: 80px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--ink-900); position: relative; }
.process__num span { font-family: var(--head); font-weight: 800; font-size: 2rem; color: transparent; -webkit-text-stroke: 1.5px #fca5a5; }
.process__step h3 { margin: 10px 0 6px; font-size: 1.2rem; }
.process__step p { margin: 0; color: var(--muted); }
.section--dark .process__num { background: var(--red-600); }
.section--dark .process__num span { -webkit-text-stroke-color: #fff; }
.section--dark .process__step p { color: var(--ink-300); }

/* Callouts */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--border); border-left: 5px solid; background: #fff; margin: 28px 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: .6em; }
.callout strong.callout__title { display: block; font-family: var(--head); margin-bottom: 4px; color: var(--ink-900); }
.callout .icon { width: 42px; height: 42px; border-radius: 12px; }
.callout--tip { border-left-color: #0f766e; }
.callout--tip .icon { background: #ecfdf5; color: #0f766e; border-color: #a7f3d0; }
.callout--warn { border-left-color: var(--red-600); background: var(--red-50); border-color: var(--red-100); border-left-color: var(--red-600); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .98rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-family: var(--head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-600); background: var(--paper-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink-900); }

/* Species ID cards (signature hex) */
.idgrid { display: grid; gap: 16px; }
.idcard { position: relative; padding: 24px 22px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.idcard__hex { width: 64px; height: 72px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--ink-900); display: grid; place-items: center; margin-bottom: 14px; }
.idcard__hex svg { width: 40px; height: 40px; }
.idcard dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .94rem; }
.idcard dt { font-weight: 700; color: var(--ink-700); }
.idcard dd { margin: 0; color: var(--muted); }

/* Areas */
.areas { display: grid; gap: 16px; }
.area { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.area h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.area h3::before { content: ""; width: 12px; height: 14px; background: var(--red-600); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.area p { margin: 0; color: var(--muted); }

/* Ready list */
.ready { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.ready li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border-radius: 14px; border: 1px solid var(--border); max-width: none; }
.ready svg { width: 22px; height: 22px; flex: none; color: var(--red-600); fill: none; stroke: currentColor; stroke-width: 2; margin-top: 3px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; min-height: 56px; font-family: var(--head); font-weight: 700; color: var(--ink-900); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p { margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--ink-900) var(--hex-light); color: var(--ink-200); padding-block: var(--pad); text-align: center; }
.cta-band::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(239,68,68,.35), transparent 60%); pointer-events: none; }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band__phone { display: inline-block; font-family: var(--head); font-weight: 800; font-size: clamp(2.2rem, 1.2rem + 5vw, 4.8rem); letter-spacing: -.03em; color: #fff; text-decoration: none; margin: 10px 0 6px; text-shadow: 0 0 40px rgba(239,68,68,.55); }
.cta-band__phone:hover { color: #fecaca; }
.cta-band p { margin-inline: auto; color: var(--ink-300); }
.cta-band .btn-row { justify-content: center; }
.cta-band__fine { font-size: .82rem; color: var(--ink-400); margin-top: 18px; }

/* Inner pages */
.page-hero { position: relative; padding: 28px 0 56px; background: radial-gradient(60% 70% at 90% 10%, rgba(239,68,68,.14), transparent 70%), var(--paper); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hex); mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); max-width: 18ch; }
.crumbs { font-size: .88rem; margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-300); }
.crumbs a { color: var(--muted); }
.layout { display: grid; gap: 32px; padding-block: 48px var(--pad); }
.layout > * { min-width: 0; }
.aside { display: grid; gap: 18px; align-content: start; }
.toc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.toc summary, .toc__title { font-family: var(--head); font-weight: 700; color: var(--ink-900); cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.toc ol { margin: 4px 0 0; padding-left: 1.1em; font-size: .9rem; }
.toc li { margin-bottom: 3px; }
.toc a { color: var(--ink-700); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--red-700); text-decoration: underline; }
.call-card { background: var(--ink-900) var(--hex-light); color: var(--ink-300); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); }
.call-card h2 { font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.call-card p { font-size: .94rem; margin: 0 0 14px; }
.call-card__phone { display: block; font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: #fff; text-decoration: none; margin-bottom: 12px; }
.call-card small { display: block; margin-top: 12px; font-size: .78rem; color: var(--ink-400); }
.article > section { scroll-margin-top: 90px; padding-bottom: 12px; }
.article h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem); margin-top: 1.4em; }
.article > section:first-child h2 { margin-top: 0; }
.related { display: grid; gap: 14px; margin-top: 18px; }
.related a.card { text-decoration: none; color: var(--ink-900); font-family: var(--head); font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; min-height: 56px; }

/* Footer */
.footer { background: #0b101b var(--hex-light); color: var(--ink-400); padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; gap: 34px; }
.footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer a { color: var(--ink-300); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand small { color: var(--ink-400); }
.footer__phone { font-family: var(--head); font-weight: 800; font-size: 1.4rem; color: #fff !important; }
.footer__legal { border-top: 1px solid var(--border-dark); margin-top: 40px; padding-top: 22px; font-size: .84rem; display: grid; gap: 10px; }
.footer__legal p { max-width: 110ch; margin: 0; }

/* Mobile call bar */
.mobile-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(17,24,39,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border-dark); }
.mobile-callbar .btn { min-height: 48px; }

/* Motion */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 640 */
@media (min-width: 640px) {
  .btn { width: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--lg { grid-column: span 2; }
  .checker { grid-template-columns: repeat(2, 1fr); }
  .idgrid { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .ready { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .glass { display: flex; }
  .hero__scene { max-width: 560px; }
  .glass--a, .glass--b, .glass--c { animation: drift 6s ease-in-out infinite; }
  .glass--b { animation-delay: -2s; } .glass--c { animation-delay: -4s; }
}
/* 768 */
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--rev .split__art { order: -1; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
  .process::before { display: none; }
}
/* 1024 */
@media (min-width: 1024px) {
  :root { --pad: 112px; }
  body { padding-bottom: 0; }
  .mobile-callbar { display: none; }
  .nav__toggle, .nav__panel { display: none !important; }
  .nav__desk { display: flex; align-items: center; gap: 4px; }
  .nav__desk > a, .nav__drop > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ink-800); text-decoration: none; font-weight: 600; font-size: .95rem; background: none; border: 0; font-family: var(--body); cursor: pointer; }
  .nav__desk > a:hover, .nav__drop > button:hover { background: var(--paper-2); color: var(--ink-900); }
  .nav__drop { position: relative; }
  .nav__drop ul { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); display: none; }
  .nav__drop ul::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .nav__drop:hover ul, .nav__drop:focus-within ul, .nav__drop.is-open ul { display: block; }
  .nav__drop > button svg { transition: transform .2s; }
  .nav__drop:hover > button svg, .nav__drop.is-open > button svg { transform: rotate(180deg); }
  .nav__drop ul a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-800); text-decoration: none; font-size: .95rem; }
  .nav__drop ul a:hover { background: var(--red-50); color: var(--red-700); }
  .nav__desk .btn { margin-left: 10px; min-height: 46px; padding: 10px 20px; }
  .hero { padding: 64px 0 120px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__card--lg { grid-column: span 2; grid-row: span 2; padding: 36px; }
  .bento__card--wide { grid-column: span 2; }
  .checker { grid-template-columns: repeat(3, 1fr); }
  .idgrid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(4, 1fr); }
  .process::before { display: block; left: 36px; right: 36px; top: 40px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--red-600) 0 8px, transparent 8px 16px); }
  .process__step { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .aside { order: 2; position: sticky; top: 96px; align-self: start; }
  .toc summary { pointer-events: none; }
  .glass--a { left: -8%; } .glass--b { right: -6%; }
}
/* 1280 */
@media (min-width: 1280px) {
  .wrap { width: min(1240px, 100% - 64px); }
}
