/* ===== 212 Design Lab ===== */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/montserrat-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 800; font-display: swap; src: url(/assets/fonts/montserrat-latin-800-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }
:root {
  --good: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --ink: #05080f;
  --ink-2: #0a1120;
  --ink-3: #0f1a30;
  --blue: #1b6dff;
  --blue-2: #3d8bff;
  --blue-soft: #6aa8ff;
  --white: #ffffff;
  --text-dim: #b7c1d6;
  --light-bg: #f6f8fc;
  --light-card: #ffffff;
  --light-text: #0b0f1a;
  --light-dim: #5b6478;
  --line-dark: rgba(255,255,255,.12);
  --line-light: #e4e8f0;
  --radius: 10px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-family: var(--head); margin: 0; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
em { font-style: italic; color: var(--blue-2); font-weight: 800; }
.blue { color: var(--blue); }
.center { text-align: center; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
section { position: relative; }

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

/* Eyebrow labels */
.eyebrow { font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 14px; }
.eyebrow-lg { font-size: 14px; letter-spacing: .42em; color: var(--white); margin-bottom: 18px; }
.eyebrow-lg i { font-style: normal; color: var(--text-dim); margin: 0 .3em; }
.eyebrow-lg span { color: var(--blue-2); }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 10px; font-family: var(--head); font-weight: 700; font-size: 14px; border: 2px solid transparent; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 28px rgba(27,109,255,.35); }
.btn-primary:hover { background: #0f5ef0; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(27,109,255,.5); }
.btn-outline { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline:hover { border-color: var(--blue-2); background: rgba(27,109,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.link { display: inline-flex; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--blue); }
.link span { transition: transform .2s; }
.link:hover span { transform: translateX(4px); }

.ico { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ===== Header ===== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(5,8,15,.86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { width: 96px; height: auto; }
.nav { display: flex; gap: 34px; font-family: var(--head); font-weight: 600; font-size: 14px; }
.nav a { position: relative; padding: 6px 0; color: #e6ebf5; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--blue-2); }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 24px; height: 2px; background: var(--blue-2); transform: translateX(-50%); border-radius: 2px; }
.nav-cta { border-color: var(--blue); padding: 11px 22px; border-radius: 999px; }
.nav-cta-mobile { display: none !important; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 150px 0 90px; background: radial-gradient(ellipse at 75% 40%, #0f1e3d 0%, transparent 60%), linear-gradient(180deg, #05080f 0%, #0a0f1a 70%, #0d1220 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.035)); pointer-events: none; }
.hero-glow { position: absolute; width: 700px; height: 700px; right: -120px; top: -40px; background: radial-gradient(circle, rgba(27,109,255,.22), transparent 65%); filter: blur(20px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; }
.hero h1 em { display: inline-block; white-space: nowrap; }
.lead { color: var(--text-dim); font-size: 18px; margin-top: 22px; max-width: 540px; }
.hero .lead { color: #dfe5f1; }

/* Device mockups (pure CSS) */
.hero-logo { position: relative; display: grid; place-items: center; height: 440px; }
.hero-logo img { position: relative; width: min(100%, 520px); height: auto; filter: drop-shadow(0 0 26px rgba(27,109,255,.45)) drop-shadow(0 30px 40px rgba(0,0,0,.6)); animation: float 7s ease-in-out infinite, logo-glow 4s ease-in-out infinite; }
.hero-logo-ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(27,109,255,.28) 0%, rgba(27,109,255,.08) 45%, transparent 70%); animation: float 7s ease-in-out infinite reverse; }
@keyframes logo-glow { 50% { filter: drop-shadow(0 0 40px rgba(61,139,255,.75)) drop-shadow(0 30px 40px rgba(0,0,0,.6)); } }
@keyframes float { 50% { translate: 0 -14px; } }

/* ===== Approach ===== */
.approach { background: var(--ink); padding: 34px 0 40px; border-top: 1px solid var(--line-dark); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.approach-item { display: flex; align-items: center; gap: 22px; padding: 8px 32px; }
.approach-item:first-child { padding-left: 0; }
.approach-item + .approach-item { border-left: 1px solid var(--line-dark); }
.approach-item h3 { font-size: 20px; font-weight: 700; }
.approach-item p { color: var(--text-dim); font-size: 14px; margin-top: 4px; }

/* ===== Light sections ===== */
.light { background: var(--light-bg); color: var(--light-text); padding: 90px 0; }
.light h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.section-intro { color: var(--light-dim); max-width: 420px; font-size: 15px; }
.head-aside { display: flex; align-items: flex-end; gap: 28px; }
.head-aside .link { flex: none; }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; background: var(--light-card); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 30px 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,15,26,.08); border-color: #c9d8f5; }
.service-card .ico { margin-bottom: 26px; }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.service-card p { color: var(--light-dim); font-size: 14.5px; flex: 1; margin-bottom: 26px; }

/* ===== Security ===== */
.security { background: var(--ink); padding: 130px 0; overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.security-media { position: absolute; inset: 0 0 0 auto; width: 68%; }
.security-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.security-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(5,8,15,.75) 22%, rgba(5,8,15,0) 55%), linear-gradient(180deg, var(--ink) 0%, transparent 14%, transparent 86%, var(--ink) 100%); }
.security .container { position: relative; }
.security-grid { display: grid; grid-template-columns: minmax(0, 520px); }
.security-copy { text-shadow: 0 2px 18px rgba(5,8,15,.8); }
.security h2 { font-size: clamp(34px, 3.8vw, 48px); font-weight: 800; }
.security h2 em { display: block; }
.security .lead { color: #dfe5f1; }

/* ===== Portfolio ===== */
.work { gap: 16px; }
.work-card h3 { font-size: 15px; font-weight: 700; margin-top: 16px; }
.tags { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 6px 0 12px; font-weight: 600; }
.thumb { display: block; aspect-ratio: 3/2; border-radius: 8px; overflow: hidden; background: #0a0f1a; box-shadow: 0 10px 24px rgba(11,15,26,.12); cursor: zoom-in; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.work-card:hover .thumb { display: block; aspect-ratio: 3/2; border-radius: 8px; overflow: hidden; background: #0a0f1a; box-shadow: 0 10px 24px rgba(11,15,26,.12); cursor: zoom-in; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }

/* ===== Process ===== */
.process { padding: 100px 0 110px; background: var(--ink); border-top: 1px solid var(--line-dark); }
.process h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.process-intro { color: var(--text-dim); max-width: 520px; margin: 14px auto 0; }

/* Timeline */
.steps-wrap { position: relative; margin-top: 64px; --node: 72px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-track { position: absolute; top: calc(var(--node) / 2 - 1px); left: 12.5%; right: 12.5%; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.steps-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--blue-soft)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.65,0,.35,1) .2s; }
.steps-spark { position: absolute; top: -3px; left: 0; width: 80px; height: 8px; border-radius: 8px; background: radial-gradient(ellipse, rgba(170,205,255,.95), transparent 70%); opacity: 0; }
.in-view .steps-fill { transform: scaleX(1); }
.in-view .steps-spark { animation: spark 3.2s ease-in-out 2.2s infinite; }
@keyframes spark { 0% { left: -80px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-node { position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%; background: var(--ink-2); border: 2px solid rgba(255,255,255,.12); transition: border-color .5s, box-shadow .5s, background .5s, transform .3s; }
.step-node::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(61,139,255,.45); opacity: 0; transition: opacity .5s; animation: spin 14s linear infinite; }
.step-node .ico { width: 30px; height: 30px; stroke: #5d6b86; transition: stroke .5s; }
.step-card { margin-top: 22px; width: 100%; padding: 22px 18px 24px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line-dark); opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s; }
.step-num { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-2); background: rgba(27,109,255,.12); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14.5px; }

html:not(.js) .step-card { opacity: 1; transform: none; }

/* Lit state, staggered left to right as the line reaches each step */
.in-view .step-node { border-color: var(--blue); background: radial-gradient(circle at 50% 35%, #1a3d80, #0b1730); box-shadow: 0 0 0 6px rgba(27,109,255,.08), 0 0 28px rgba(27,109,255,.45); }
.in-view .step-node::before { opacity: 1; }
.in-view .step-node .ico { stroke: #fff; }
.in-view .step-card { opacity: 1; transform: none; }
.step:nth-child(1) .step-node, .step:nth-child(1) .step-node::before, .step:nth-child(1) .ico { transition-delay: .2s; }
.step:nth-child(2) .step-node, .step:nth-child(2) .step-node::before, .step:nth-child(2) .ico { transition-delay: .75s; }
.step:nth-child(3) .step-node, .step:nth-child(3) .step-node::before, .step:nth-child(3) .ico { transition-delay: 1.3s; }
.step:nth-child(4) .step-node, .step:nth-child(4) .step-node::before, .step:nth-child(4) .ico { transition-delay: 1.85s; }
.step:nth-child(1) .step-card { transition-delay: .35s, .35s, 0s, 0s; }
.step:nth-child(2) .step-card { transition-delay: .9s, .9s, 0s, 0s; }
.step:nth-child(3) .step-card { transition-delay: 1.45s, 1.45s, 0s, 0s; }
.step:nth-child(4) .step-card { transition-delay: 2s, 2s, 0s, 0s; }

/* Hover */
.step:hover .step-node { transform: scale(1.08); transition-delay: 0s; }
.step:hover .step-card { border-color: rgba(61,139,255,.45); box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(61,139,255,.15); transform: translateY(-6px); transition-delay: 0s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== FAQ ===== */
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
details { box-sizing: border-box; overflow: hidden; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 0 24px; transition: border-color .2s; }
details[open] { border-color: #b9cdf3; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--head); font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details.is-closing summary::after { transform: none; }
details.is-closing { border-color: var(--line-light); }
details p { color: var(--light-dim); padding-bottom: 20px; }

/* ===== CTA ===== */
.cta { padding: 120px 0; background: linear-gradient(90deg, rgba(5,8,15,.92) 0%, rgba(5,8,15,.55) 45%, rgba(5,8,15,0) 75%), url(/assets/cta-summit.webp) 68% center / cover; }
.cta h2 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; text-transform: uppercase; }
.cta h2 em { color: var(--blue); --sweep-base: var(--blue); }
.cta .lead { color: #dfe5f1; max-width: 440px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); padding: 44px 0 28px; border-top: 1px solid var(--line-dark); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 30px; font-size: 14px; font-family: var(--head); font-weight: 600; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--blue-2); }
.footer-nav a[aria-current] { color: var(--blue-2); }
.social { display: flex; gap: 18px; }
.social svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; transition: stroke .2s; }
.social .fill { fill: #fff; stroke: none; }
.social a:hover svg { stroke: var(--blue-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; font-size: 13px; color: var(--text-dim); }
.footer-bottom span { margin: 0 8px; }

/* ===== Reveal animation ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
/* ===== Hero entrance ===== */
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .25s; }
.hero-copy > :nth-child(3) { animation-delay: .45s; }
.hero-copy > :nth-child(4) { animation-delay: .65s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Logo brush reveal: wipes in left to right, with a light streak riding the edge */
.hero-logo { animation: brush 1.4s cubic-bezier(.7,0,.2,1) .35s both; }
.hero-logo::after { content: ""; position: absolute; top: 15%; bottom: 15%; left: 0; width: 60px; background: linear-gradient(90deg, transparent, rgba(150,195,255,.85), transparent); filter: blur(10px); opacity: 0; pointer-events: none; animation: brush-streak 1.4s cubic-bezier(.7,0,.2,1) .35s both; }
@keyframes brush { from { clip-path: inset(-30% 100% -30% -30%); } to { clip-path: inset(-30% -30% -30% -30%); } }
@keyframes brush-streak { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 60px); opacity: 0; } }

/* ===== Icon draw-ins ===== */
.js .draw .ico > *, .js .step .ico > * { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.6,0,.2,1); }
.js .draw.drawn .ico > *, .js .in-view .step .ico > * { stroke-dashoffset: 0; }
.draw > :nth-child(2) .ico > * { transition-delay: .2s; }
.draw > :nth-child(3) .ico > * { transition-delay: .4s; }
.draw > :nth-child(4) .ico > * { transition-delay: .6s; }
.js .step:nth-child(1) .ico > * { transition-delay: .2s; }
.js .step:nth-child(2) .ico > * { transition-delay: .75s; }
.js .step:nth-child(3) .ico > * { transition-delay: 1.3s; }
.js .step:nth-child(4) .ico > * { transition-delay: 1.85s; }

/* ===== Scroll progress bar ===== */
.scroll-progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-soft)); box-shadow: 0 0 10px rgba(61,139,255,.7); transform: scaleX(0); transform-origin: left; z-index: 2; pointer-events: none; }

/* ===== Button shine ===== */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-20deg); z-index: -1; pointer-events: none; }
.btn:hover::after { animation: shine .75s ease; }
@keyframes shine { to { left: 120%; } }

/* ===== "What's Next." light sweep ===== */
.hero h1 em, .page-hero h1 em, .cta h2 em { --sweep-base: var(--blue-2); background-image: linear-gradient(100deg, var(--sweep-base) 0%, var(--sweep-base) 40%, #d6e6ff 50%, var(--sweep-base) 60%, var(--sweep-base) 100%); background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .12em; margin-right: -.12em; animation: sweep 6s ease-in-out 2s infinite; }
.cta h2 em { --sweep-base: var(--blue); animation-delay: 3s; }
@keyframes sweep { 0% { background-position: 100% 0; } 30%, 100% { background-position: 0% 0; } }

/* ===== Subpages ===== */
.page-hero { position: relative; overflow: hidden; padding: 170px 0 90px; background: radial-gradient(ellipse at 80% 20%, #0f1e3d 0%, transparent 55%), linear-gradient(180deg, #05080f 0%, #0a0f1a 100%); border-bottom: 1px solid var(--line-dark); }
.page-hero .hero-glow { top: -200px; right: -200px; }
.page-hero-copy { position: relative; max-width: 820px; }
.page-hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.page-hero-copy > :nth-child(2) { animation-delay: .1s; }
.page-hero-copy > :nth-child(3) { animation-delay: .22s; }
.page-hero-copy > :nth-child(4) { animation-delay: .38s; }
.page-hero-copy > :nth-child(5) { animation-delay: .52s; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
.page-hero h1 em { display: inline-block; }
.page-hero-404 { min-height: 70vh; display: flex; align-items: center; }
.mini-head { font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--light-dim); margin: 26px 0 12px; }

/* Check lists */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: rgba(27,109,255,.12); }
.check-list li::after { content: ""; position: absolute; left: 8px; top: calc(.1em + 5px); width: 6px; height: 10px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pill-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-light); font-size: 13px; font-weight: 600; color: var(--light-text); }

/* Services page */
.services-page { padding-top: 60px; }
.jump-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.jump-nav a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-light); font-family: var(--head); font-weight: 700; font-size: 14px; line-height: 1.3; transition: border-color .2s, transform .2s, box-shadow .2s; }
.jump-nav a:hover { border-color: #b9cdf3; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11,15,26,.07); }
.jump-nav .ico { width: 30px; height: 30px; }
.service-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; padding: 72px 0; border-top: 1px solid var(--line-light); scroll-margin-top: 90px; }
.service-detail.flip .service-detail-copy { order: 2; }
.service-detail-copy .ico { width: 52px; height: 52px; margin-bottom: 22px; }
.service-detail-copy h2 { margin-bottom: 18px; }
.service-detail-copy > p:not(.eyebrow) { color: var(--light-dim); margin-bottom: 14px; max-width: 540px; }
.detail-card { background: #fff; border: 1px solid var(--line-light); border-radius: 14px; padding: 34px 32px; box-shadow: 0 20px 44px rgba(11,15,26,.06); }
.detail-card h3 { font-size: 20px; margin-bottom: 22px; }

/* About page */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.story-copy p { color: var(--light-dim); margin-bottom: 16px; font-size: 16.5px; }
.fact-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.fact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); }
.fact-list .ico { width: 32px; height: 32px; }
.fact-list strong { display: block; font-family: var(--head); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.values { padding: 100px 0 110px; background: var(--ink); }
.values h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.value-card { padding: 34px 30px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line-dark); transition: border-color .3s, transform .3s; }
.value-card:hover { border-color: rgba(61,139,255,.45); transform: translateY(-4px); }
.value-card .ico { width: 48px; height: 48px; margin-bottom: 22px; }
.value-card h3 { font-size: 22px; margin-bottom: 12px; }
.value-card > p { color: var(--text-dim); }
.value-card .check-list { color: #dfe5f1; margin-bottom: 4px; }
.value-card .check-list li::before { background: rgba(61,139,255,.18); }
.value-card .check-list li::after { border-color: var(--blue-soft); }
.value-card .link { margin-top: 22px; color: var(--blue-2); }
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 54px; }
.split-cards h3 { margin-bottom: 22px; }

/* Process page */
.phases .section-head { margin-bottom: 10px; }
.phase { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line-light); scroll-margin-top: 90px; }
.phase-meta { position: relative; }
.phase-num { display: block; font-family: var(--head); font-weight: 800; font-size: 76px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #c9d6ee; margin-bottom: 14px; }
.phase-meta .ico { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; }
.phase-meta h2 { font-size: 28px; margin-bottom: 12px; }
.timing { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(27,109,255,.1); color: var(--blue); font-size: 13px; font-weight: 600; }
.phase-intro { font-size: 17px; color: var(--light-text); margin-bottom: 4px; max-width: 640px; }
.phase-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.phase-lists .check-list { color: var(--light-dim); }
.process-more { display: flex; justify-content: center; margin-top: 52px; }
.approach-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.approach-head .link { color: var(--blue-2); }

/* ===== Website Audit ===== */
.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; }
.tone-good { --tone: var(--good); }
.tone-warn { --tone: var(--warn); }
.tone-bad { --tone: var(--bad); }
.link-row { display: flex; flex-wrap: wrap; gap: 14px 28px; }
details p a { color: var(--blue); text-decoration: underline; }
.btn-outline-dark { border-color: #c9d3e6; color: var(--light-text); background: #fff; }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:disabled::after { display: none; }
.reveal-now { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }

.audit-form { margin-top: 34px; max-width: 680px; }
.audit-input { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); transition: border-color .2s, box-shadow .2s; }
.audit-input:focus-within { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(27,109,255,.18); }
.audit-input .ico { width: 22px; height: 22px; stroke: var(--text-dim); margin-left: 10px; }
.audit-input input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: 500 17px var(--body); padding: 12px 6px; }
.audit-input input::placeholder { color: #6f7c95; }
.audit-input .btn { flex: none; }
.audit-note { margin-top: 12px; font-size: 13px; color: var(--text-dim); }
.audit-error { margin-top: 12px; padding: 10px 14px; border-radius: 8px; background: rgba(220,38,38,.14); border: 1px solid rgba(248,113,113,.4); color: #fecaca; font-size: 14px; }
.audit-steps { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.audit-steps li { display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; border: 1px solid var(--line-dark); font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--text-dim); transition: color .3s, border-color .3s; }
.audit-steps li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 12px; transition: background .3s; }
.audit-steps li.active { color: #fff; border-color: var(--blue); }
.audit-steps li.active span { background: var(--blue); }
.audit-steps li.done span { background: var(--good); }

.audit-scan { min-height: 420px; }
.check-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.check-grid li { padding: 22px 20px; background: #fff; border: 1px solid var(--line-light); border-radius: 12px; }
.check-n { display: block; font-family: var(--head); font-weight: 800; font-size: 13px; color: var(--blue); margin-bottom: 12px; }
.check-grid h3 { font-size: 15px; margin-bottom: 6px; }
.check-grid p { font-size: 13.5px; color: var(--light-dim); line-height: 1.5; }

.scan-loading { text-align: center; padding: 40px 0 30px; }
.scan-pulse { position: relative; width: 96px; height: 96px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(27,109,255,.1); }
.scan-pulse::before, .scan-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(27,109,255,.4); animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
.scan-pulse::after { animation-delay: .9s; }
.scan-pulse .ico { width: 44px; height: 44px; }
@keyframes ping { to { transform: scale(1.7); opacity: 0; } }
.scan-loading h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; word-break: break-word; }
.scan-status { color: var(--light-dim); min-height: 1.6em; }
.scan-bar { width: min(360px, 100%); height: 4px; margin: 22px auto 0; border-radius: 4px; background: var(--line-light); overflow: hidden; }
.scan-bar span { display: block; width: 40%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-soft)); animation: slide 1.3s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.ring { position: relative; width: 140px; height: 140px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--line-light); stroke-width: 10; }
.ring-value { fill: none; stroke: var(--tone); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.3s cubic-bezier(.2,.7,.2,1); }
.ring-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-text strong { font-family: var(--head); font-size: 52px; font-weight: 800; line-height: 1; color: var(--tone); }
.ring-text span { font-size: 12.5px; font-weight: 600; color: var(--light-dim); margin-top: 4px; }

.scan-head { display: flex; align-items: center; gap: 34px; padding: 32px; background: #fff; border: 1px solid var(--line-light); border-radius: 16px; box-shadow: 0 20px 44px rgba(11,15,26,.06); }
.scan-host { font-size: clamp(24px, 3vw, 34px); word-break: break-word; }
.scan-sub { color: var(--light-dim); font-size: 14px; margin: 6px 0 16px; word-break: break-word; }
.scan-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.count { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.count-pass { background: rgba(22,163,74,.1); color: #15803d; }
.count-warn { background: rgba(217,119,6,.12); color: #b45309; }
.count-fail { background: rgba(220,38,38,.1); color: #b91c1c; }
.check-rows { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.check-row { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 18px 22px; background: #fff; border: 1px solid var(--line-light); border-left: 4px solid var(--status); border-radius: 12px; }
.status-pass { --status: var(--good); }
.status-warn { --status: var(--warn); }
.status-fail { --status: var(--bad); }
.status-info { --status: var(--blue); }
.status-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--status) 14%, white); color: var(--status); font-weight: 800; font-size: 14px; }
.check-row h3 { font-size: 15.5px; margin-bottom: 4px; }
.check-row p { color: var(--light-dim); font-size: 14.5px; }
.check-row .fix { margin-top: 8px; color: var(--light-text); font-size: 14px; }
.scan-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.scan-footnote { margin-top: 18px; font-size: 13px; color: var(--light-dim); }

.quiz { max-width: 880px; margin: 46px auto 0; }
.quiz-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 13px; color: var(--text-dim); }
.quiz-count { flex: none; min-width: 120px; }
.quiz-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.quiz-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-soft)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.quiz-q { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 20px 22px; margin-bottom: 12px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line-dark); transition: border-color .3s; }
.quiz-q.answered { border-color: rgba(61,139,255,.35); }
.q { display: flex; gap: 14px; color: #e6ebf5; font-size: 15.5px; }
.q-num { flex: none; font-family: var(--head); font-weight: 800; font-size: 13px; color: var(--blue-2); padding-top: 2px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--text-dim); white-space: nowrap; transition: background .2s, color .2s; }
.opt:hover span { color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.opt-yes input:checked + span { background: var(--good); color: #fff; }
.opt-unsure input:checked + span { background: var(--warn); color: #fff; }
.opt-no input:checked + span { background: var(--bad); color: #fff; }
.quiz-submit { display: flex; justify-content: center; margin-top: 26px; }

.habits-result { max-width: 880px; margin: 40px auto 0; padding: 30px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(61,139,255,.3); scroll-margin-top: 100px; }
.habits-head { display: flex; align-items: center; gap: 28px; }
.habits-head .ring-track { stroke: rgba(255,255,255,.1); }
.habits-head .ring-text strong { font-size: 44px; }
.habits-head .ring-text span { color: var(--text-dim); }
.habits-head p { color: var(--text-dim); }
.level { font-size: 28px; color: var(--tone); margin: 2px 0 6px; }
.tip-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.tip-list li { padding: 14px 18px; border-radius: 10px; background: rgba(255,255,255,.04); border-left: 3px solid var(--bad); }
.tip-list li.tip-unsure { border-left-color: var(--warn); }
.tip-list strong { display: block; font-family: var(--head); margin-bottom: 4px; }
.tip-list p { color: var(--text-dim); font-size: 14.5px; }
.habits-actions { margin-top: 24px; }

.audit-report { scroll-margin-top: 70px; }
.report-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.report-card { padding: 28px; background: #fff; border: 1px solid var(--line-light); border-radius: 16px; }
.report-card h3 { font-size: 19px; margin: 4px 0 6px; word-break: break-word; }
.report-card p:not(.eyebrow) { color: var(--light-dim); font-size: 14.5px; margin-bottom: 12px; }
.report-big { font-family: var(--head); font-weight: 800; font-size: 64px; line-height: 1; color: var(--tone); margin-top: 6px; }
.priorities { padding: 28px; background: #fff; border: 1px solid var(--line-light); border-radius: 16px; }
.priorities h3 { font-size: 19px; margin-bottom: 16px; }
.priority-list { margin: 0; padding: 0; list-style: none; counter-reset: pri; display: grid; gap: 10px; }
.priority-list li { counter-increment: pri; display: flex; gap: 12px; align-items: baseline; font-weight: 600; font-size: 15px; }
.priority-list li::before { content: counter(pri); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(27,109,255,.1); color: var(--blue); font-size: 12px; font-weight: 800; }
.report-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 28px 32px; border-radius: 16px; background: linear-gradient(120deg, #0b1730, #10265a); color: #fff; }
.report-cta h3 { font-size: 22px; margin-bottom: 4px; }
.report-cta p { color: #c6d2ea; }

/* ===== Local pages ===== */
.footer-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--text-dim); }
.footer-areas span { font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-2); }
.footer-areas a:hover, .footer-areas a[aria-current] { color: #fff; }
.fact-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.dark-head .section-intro { color: var(--text-dim); }
.dark-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.value-grid.four { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.value-grid.four .value-card { padding: 28px 24px; }
.value-grid.four h3 { font-size: 18px; }
.value-grid.four .value-card > p { font-size: 14.5px; }

.mini-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-service { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line-light); border-radius: 12px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.mini-service:hover { border-color: #b9cdf3; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11,15,26,.07); }
.mini-service .ico { width: 32px; height: 32px; }
.mini-service strong { display: block; font-family: var(--head); font-size: 15px; margin-bottom: 2px; }
.mini-service span { font-size: 13.5px; color: var(--light-dim); line-height: 1.45; }
.mini-service strong { color: var(--light-text); }

.audit-callout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: center; margin-top: 26px; padding: 32px 36px; border-radius: 16px; background: radial-gradient(ellipse at 90% 0%, #16337a 0%, transparent 60%), linear-gradient(120deg, #0b1730, #0d1f48); color: #fff; }
.audit-callout h3 { font-size: 24px; margin-bottom: 6px; }
.audit-callout p:not(.eyebrow) { color: #c6d2ea; }
.audit-callout-form { display: flex; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.audit-callout-form:focus-within { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(27,109,255,.2); }
.audit-callout-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: 500 16px var(--body); padding: 10px 12px; }
.audit-callout-form input::placeholder { color: #8a97b2; }

.local-faq-section h2 { margin-bottom: 36px; }
.local-faq { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.local-faq .faq-list { margin-top: 0; }
.local-side { display: grid; gap: 18px; }
.map-card { overflow: hidden; border-radius: 14px; border: 1px solid var(--line-light); background: #fff; }
.map-card iframe { display: block; width: 100%; height: 300px; border: 0; background: #e8edf5; }
.map-link { display: block; padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--blue); border-top: 1px solid var(--line-light); }
.nearby { padding: 20px; background: #fff; border: 1px solid var(--line-light); border-radius: 14px; }
.nearby .mini-head { margin-top: 0; }
.nearby-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nearby-links a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 13.5px; font-weight: 600; transition: border-color .2s, color .2s; }
.nearby-links a:hover { border-color: var(--blue); color: var(--blue); }

.community-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 44px auto 0; }
.community { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--text-dim); }
.community.has-page { color: #fff; border-color: rgba(61,139,255,.5); background: rgba(27,109,255,.12); transition: background .2s, transform .2s; }
.community.has-page:hover { background: rgba(27,109,255,.25); transform: translateY(-2px); }
.community.has-page span { color: var(--blue-2); }

/* ===== Redesign concepts (before / after) ===== */
.ba-list { display: grid; gap: 80px; }
.ba-item { display: grid; grid-template-columns: 1fr 2.1fr; gap: 44px; align-items: center; }
.ba-item:nth-child(even) .ba-copy { order: 2; }
.ba-copy h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.ba-copy > p:not(.eyebrow) { color: var(--light-dim); margin-bottom: 18px; }
.ba-copy .check-list { color: var(--light-text); font-size: 15px; }
.ba-frame { --pos: 50%; position: relative; aspect-ratio: 1510 / 812; border-radius: 14px; overflow: hidden; background: #0d0f0d; box-shadow: 0 30px 60px rgba(11,15,26,.22); user-select: none; touch-action: pan-y; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 18px rgba(0,0,0,.35); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.ba-handle span::before { left: 7px; border-right-color: var(--blue); }
.ba-handle span::after { right: 7px; border-left-color: var(--blue); }
.ba-label { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; pointer-events: none; }
.ba-label-before { left: 14px; background: rgba(5,8,15,.75); color: #fff; }
.ba-label-after { right: 14px; background: var(--blue); color: #fff; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-handle span { outline: 3px solid var(--blue-2); outline-offset: 3px; }
.ba-hint { margin-top: 12px; font-size: 13px; color: var(--light-dim); text-align: center; }
.concept-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.concept-cards .value-card .ico { width: 40px; height: 40px; margin-bottom: 18px; }
.concept-cards h3 { font-size: 18px; }
.concept-cards .value-card > p { font-size: 14.5px; }
.upgrade-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.upgrade { padding: 24px; background: #fff; border: 1px solid var(--line-light); border-radius: 14px; }
.upgrade h3 { font-size: 17px; margin-bottom: 6px; }
.upgrade p { color: var(--light-dim); font-size: 14.5px; }

/* ===== Policy pages ===== */
.policy-page { padding-top: 56px; }
.policy-updated { font-size: 14px; color: var(--light-dim); margin-bottom: 22px; }
.policy-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.summary-card { padding: 24px 22px; background: #fff; border: 1px solid var(--line-light); border-radius: 14px; }
.summary-card .ico { width: 34px; height: 34px; margin-bottom: 14px; }
.summary-card h3 { font-size: 16px; margin-bottom: 6px; }
.summary-card p { font-size: 14px; color: var(--light-dim); line-height: 1.55; }
.policy-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.policy-toc { position: sticky; top: 104px; padding: 22px; background: #fff; border: 1px solid var(--line-light); border-radius: 14px; }
.policy-toc .mini-head { margin-top: 0; }
.policy-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.policy-toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; color: var(--light-dim); transition: background .2s, color .2s; }
.policy-toc a:hover { background: var(--light-bg); color: var(--blue); }
.policy { max-width: 760px; }
.policy-intro { font-size: 17px; color: var(--light-text); margin-bottom: 8px; }
.policy-section { padding: 34px 0; border-bottom: 1px solid var(--line-light); scroll-margin-top: 100px; }
.policy-section:last-child { border-bottom: 0; }
.policy-section h2 { display: flex; align-items: baseline; gap: 14px; font-size: 24px; margin-bottom: 16px; }
.policy-num { font-size: 14px; color: var(--blue); }
.policy-section h3 { font-size: 16px; margin: 22px 0 8px; }
.policy-section p { color: var(--light-dim); margin-bottom: 12px; }
.policy-section ul { margin: 0 0 14px; padding-left: 20px; color: var(--light-dim); display: grid; gap: 8px; }
.policy-section li::marker { color: var(--blue); }
.policy-section strong { color: var(--light-text); }
.policy-section a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.policy-section address { font-style: normal; padding: 20px 22px; background: #fff; border: 1px solid var(--line-light); border-radius: 12px; color: var(--light-dim); line-height: 1.8; }

.policy-toc { max-height: calc(100vh - 130px); overflow-y: auto; }
.toc-group { font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin: 14px 0 4px 10px; }
.policy-toc .mini-head + .toc-group { margin-top: 0; }
.policy-part { margin-top: 30px; padding-bottom: 6px; font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); border-bottom: 2px solid var(--blue); display: inline-block; }
.policy-intro a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.footer-top { justify-content: space-between; }

/* ===== Contact page ===== */
.contact-section { padding-top: 60px; }
.contact-layout { display: grid; grid-template-columns: 1.45fr .85fr; gap: 28px; align-items: start; }
.contact-card { padding: 36px; background: #fff; border: 1px solid var(--line-light); border-radius: 16px; box-shadow: 0 20px 44px rgba(11,15,26,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--light-text); padding: 0; margin-bottom: 7px; }
.field legend + .chips { margin-top: 0; }
.req { color: var(--blue); }
.opt { font-family: var(--body); font-weight: 500; font-size: 12.5px; color: var(--light-dim); margin-left: 4px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfd6e3; border-radius: 10px; background: #fbfcfe; color: var(--light-text); font: 15.5px var(--body); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(27,109,255,.14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.field-error { min-height: 0; font-size: 13px; color: var(--bad); }
.field-error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 9px 16px; border-radius: 999px; border: 1px solid #cfd6e3; background: #fbfcfe; font-size: 14px; font-weight: 600; color: var(--light-dim); transition: background .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--blue); color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.cf-turnstile { min-height: 65px; min-width: 300px; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 14.5px; }
.form-status.error { background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.3); color: #991b1b; }
.form-note { margin-top: 16px; font-size: 13px; color: var(--light-dim); }
.form-note a, .aside-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-success { text-align: center; padding: 30px 10px; outline: none; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(22,163,74,.12); color: var(--good); font-size: 30px; font-weight: 800; }
.form-success h2 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--light-dim); max-width: 440px; margin: 0 auto; }
.form-success .btn-row { justify-content: center; }
.contact-aside { display: grid; gap: 18px; }
.aside-card { padding: 28px; background: #fff; border: 1px solid var(--line-light); border-radius: 16px; }
.aside-card h2 { font-size: 20px; margin-bottom: 18px; }
.aside-card h3 { font-size: 15px; margin: 18px 0 4px; }
.aside-card h3:first-child { margin-top: 0; }
.aside-card p { color: var(--light-dim); font-size: 14.5px; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.next-steps li { display: flex; gap: 14px; font-size: 14.5px; color: var(--light-dim); }
.next-steps li > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(27,109,255,.1); color: var(--blue); font-family: var(--head); font-weight: 800; font-size: 13px; }
.next-steps strong { display: block; color: var(--light-text); font-family: var(--head); font-size: 15px; margin-bottom: 2px; }
.report-btns { margin-top: 0; flex: none; }

@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 84px 0 auto; flex-direction: column; gap: 0; padding: 12px 16px 24px; background: #05080f; border-bottom: 1px solid var(--line-dark); transform: translateY(calc(-100% - 120px)); visibility: hidden; transition: transform .3s, visibility 0s .3s; z-index: -1; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .nav a.active::after { display: none; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 18px; justify-content: center; border-bottom: 2px solid var(--blue) !important; border-color: var(--blue); }
  .menu-open .nav { transform: none; visibility: visible; transition: transform .3s, visibility 0s; }
  .menu-open .site-header { background: rgba(5,8,15,.97); }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .security { padding: 110px 0; min-height: 0; }
  .security-media { width: 100%; }
  .security-media img { object-position: 78% center; }
  .security-media::after { background: linear-gradient(90deg, rgba(5,8,15,.92) 0%, rgba(5,8,15,.7) 55%, rgba(5,8,15,.35) 100%), linear-gradient(180deg, var(--ink) 0%, transparent 15%, transparent 85%, var(--ink) 100%); }
  .hero-logo { height: 340px; }
  .approach-grid { grid-template-columns: 1fr; gap: 18px; }
  .approach-item { padding: 0; }
  .approach-item + .approach-item { border-left: 0; border-top: 1px solid var(--line-dark); padding-top: 18px; }
  .section-head.split, .head-aside { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .cards-4 { grid-template-columns: 1fr; }
  .hero-logo { height: 260px; }
  .eyebrow-lg { letter-spacing: .28em; font-size: 12px; }
  .lead { font-size: 16px; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; }
  .cta { background: linear-gradient(180deg, rgba(5,8,15,.85), rgba(5,8,15,.5)), url(/assets/cta-summit.webp) 66% center / cover; }
}
@media (max-width: 900px) {
  .steps-wrap { --node: 60px; margin-top: 48px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps-track { display: none; }
  .step:not(:last-child)::before, .step:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--node) / 2 - 1px); top: var(--node); bottom: -28px; width: 2px; }
  .step:not(:last-child)::before { background: rgba(255,255,255,.08); }
  .step:not(:last-child)::after { background: linear-gradient(180deg, var(--blue), var(--blue-soft)); transform: scaleY(0); transform-origin: top; transition: transform .55s ease; }
  .in-view .step::after { transform: scaleY(1); }
  .step:nth-child(1)::after { transition-delay: .3s; }
  .step:nth-child(2)::after { transition-delay: .85s; }
  .step:nth-child(3)::after { transition-delay: 1.4s; }
  .step { display: grid; grid-template-columns: var(--node) 1fr; gap: 20px; align-items: start; text-align: left; }
  .step-node .ico { width: 26px; height: 26px; }
  .step-card { margin-top: 0; }
}
@media (max-width: 1080px) {
  .jump-nav { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .page-hero { padding: 130px 0 70px; }
  .service-detail, .story, .phase, .split-cards { grid-template-columns: 1fr; gap: 32px; }
  .service-detail.flip .service-detail-copy { order: 0; }
  .service-detail { padding: 56px 0; }
  .phase-meta .ico { right: 0; }
}
@media (max-width: 600px) {
  .jump-nav { grid-template-columns: 1fr; }
  .phase-lists { grid-template-columns: 1fr; gap: 8px; }
  .detail-card { padding: 26px 22px; }
  .phase-num { font-size: 60px; }
}
@media (max-width: 1080px) {
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .report-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .quiz-q { grid-template-columns: 1fr; gap: 14px; }
  .report-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .audit-input { flex-wrap: wrap; }
  .audit-input input { flex-basis: calc(100% - 50px); }
  .audit-input .btn { width: 100%; justify-content: center; }
  .check-grid, .report-grid { grid-template-columns: 1fr; }
  .scan-head, .habits-head { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .habits-result { padding: 22px; }
  .seg { display: flex; }
  .opt { flex: 1; text-align: center; }
  .opt span { padding: 9px 6px; }
  .check-row { padding: 16px; gap: 12px; }
  .report-cta { padding: 24px; }
  .report-cta .btn { white-space: normal; }
}
@media (max-width: 1080px) {
  .value-grid.four, .mini-services { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .audit-callout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .local-faq { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .value-grid.four, .mini-services { grid-template-columns: 1fr; }
  .audit-callout { padding: 24px; }
  .audit-callout-form { flex-wrap: wrap; }
  .audit-callout-form .btn { width: 100%; justify-content: center; }
  .footer-areas { gap: 8px 16px; }
}
@media (max-width: 1080px) {
  .ba-item { grid-template-columns: 1fr; gap: 24px; }
  .ba-item:nth-child(even) .ba-copy { order: 0; }
  .concept-cards, .upgrade-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .concept-cards, .upgrade-list { grid-template-columns: 1fr; }
  .ba-list { gap: 56px; }
  .ba-handle span { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .ba-handle span::before { left: 3px; border-width: 5px; margin-top: -5px; }
  .ba-handle span::after { right: 3px; border-width: 5px; margin-top: -5px; }
}
@media (max-width: 1080px) {
  .policy-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; gap: 24px; }
  .policy-toc { position: static; max-height: none; }
}
@media (max-width: 600px) {
  .policy-summary { grid-template-columns: 1fr; }
  .policy-section h2 { font-size: 21px; }
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; justify-content: center; }
  .cf-turnstile { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ico > * { stroke-dashoffset: 0 !important; }
  .scroll-progress { display: none; }
  .js .step-card { opacity: 1; transform: none; }
  .steps-fill { transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Simple pages (404 / legal) ===== */
.page-body { padding: 70px 0 90px; }
.page-body h2 { font-size: 22px; margin: 34px 0 10px; }
.page-body p { color: var(--light-dim); margin-bottom: 12px; }
.page-body a:not(.btn) { color: var(--blue); text-decoration: underline; }
.page-body .todo { font-style: italic; font-weight: 600; color: #b45309; }
.security-copy > .btn { margin-top: 30px; }

/* ===== Lightbox ===== */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5,8,15,.88); backdrop-filter: blur(4px); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox-caption { margin-top: 14px; text-align: center; font-family: var(--head); font-weight: 700; color: #fff; }
.lightbox-close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(5,8,15,.6); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { border-color: var(--blue-2); }
