/* ALIM Digital — single stylesheet, no dependencies */
:root {
  --navy: #0F2A43;
  --navy-deep: #0A1E31;
  --teal: #14B8A6;
  --teal-ink: #0F766E; /* teal for text on white: 5.5:1 */
  --slate: #64748B;
  --body: #475569;
  --mist: #F1F5F9;
  --line: #E2E8F0;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 42, 67, .06), 0 8px 24px rgba(15, 42, 67, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
svg { display: block; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .8rem 1.4rem; border-radius: 12px; font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn-teal { background: var(--teal); color: var(--navy); box-shadow: 0 6px 18px rgba(20, 184, 166, .28); }
.btn-teal:hover { background: #2DD4BF; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20, 184, 166, .36); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; box-shadow: none; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 42, 67, .06); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.wordmark { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--navy); display: none; }
.wordmark span { color: var(--teal-ink); }
.nav { display: none; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .97rem; color: var(--navy); padding: .4rem 0; background: linear-gradient(var(--teal), var(--teal)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); }
.nav a:hover { background-size: 100% 2px; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.phone-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .3rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; font-size: .95rem; }
.phone-link svg { color: var(--teal-ink); flex: none; }
.phone-link:hover { color: var(--teal-ink); }
.btn .long { display: none; }
@media (min-width: 480px) { .wordmark { display: inline; } }
@media (min-width: 640px) { .btn .long { display: inline; } .btn .short { display: none; } .phone-link { font-size: 1rem; } }
@media (min-width: 980px) { .nav { display: flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #17406A 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #CBD5E1; padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.ridges { position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none; }
.ridges svg { width: 100%; height: 100%; }
.ridge { fill: #fff; opacity: .035; }
.r2 { fill: var(--teal); opacity: .06; }
.hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
/* Mark: the SVG shows first; the Rive canvas (same geometry) takes over once loaded */
.hero-mark { position: relative; width: 128px; height: 120px; margin: -1rem 0 1rem -.85rem; }
.hero-mark svg { position: absolute; left: 6.4px; top: 17.6px; width: 115.2px; height: 100.8px; overflow: visible; }
.hero-mark canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.hero-mark.rive-on svg { opacity: 0; }
.hero-mark.rive-on canvas { opacity: 1; }
.glow { position: absolute; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 184, 166, .16), transparent); pointer-events: none; opacity: 0; transform: translate3d(var(--gx, 70vw), var(--gy, 200px), 0); transition: opacity .5s; will-change: transform; }
.hero.pointer .glow { opacity: 1; }

/* Scroll progress, CSS only where scroll timelines are supported */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { to { transform: scaleX(1); } }

/* Marquee */
.marquee { overflow: hidden; background: var(--teal); color: var(--navy); padding: .85rem 0; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; margin: 0 1.6rem; background: var(--navy); transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }

/* 3D Peak (Blender render, transparent video) */
.how-head { display: grid; gap: 1rem; align-items: center; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.how-head .section-head { margin-bottom: 0; }
.peak3d { justify-self: center; width: min(260px, 70vw); aspect-ratio: 1; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.peak3d video { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 800px) { .how-head { grid-template-columns: 1fr auto; } .peak3d { width: 320px; margin: -3rem 2rem -2rem 0; } }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 9.5vw, 4.6rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 span { display: block; animation: line-up .9s var(--ease) both; }
.hero h1 span:nth-child(2) { animation-delay: .12s; }
.hero h1 span:nth-child(3) { animation-delay: .24s; }
@keyframes line-up { from { clip-path: inset(0 0 100% 0); transform: translateY(.5em); } to { clip-path: inset(-10% 0 -10% 0); transform: none; } }
.hero h1 .accent { color: var(--teal); }
.hero h1 .eyebrow { line-height: 1.5; letter-spacing: .09em; }
.lede { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: #CBD5E1; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.cta-row .btn { flex: 1 1 auto; }
.digits { opacity: .8; font-weight: 600; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.8rem; font-size: .95rem; color: #CBD5E1; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--teal); transform: rotate(45deg); }

/* Hero art: CSS-only phone with a slight 3D tilt */
.hero-art { position: relative; justify-self: center; width: min(300px, 78vw); perspective: 1200px; }
.phone { position: relative; aspect-ratio: 9 / 18; border-radius: 38px; padding: 10px; background: linear-gradient(145deg, #23486D, #0B2238); box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 6px; background: rgba(15, 42, 67, .35); z-index: 2; }
.screen { height: 100%; border-radius: 30px; background: #fff; overflow: hidden; display: flex; flex-direction: column; font-size: .8rem; color: var(--navy); }
.s-bar { display: flex; align-items: center; gap: .4rem; margin: 30px 12px 10px; padding: .35rem .6rem; border-radius: 99px; background: var(--mist); color: var(--slate); font-size: .68rem; }
.s-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.s-hero { display: grid; place-items: center; height: 24%; margin: 0 12px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), #1B4A75); }
.s-title { margin: 12px 14px 2px; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.s-open { display: flex; align-items: center; gap: .4rem; margin: 0 14px; color: var(--slate); font-size: .72rem; }
.s-open b { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.s-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px; }
.s-btns span { text-align: center; padding: .55rem .2rem; border-radius: 10px; font-weight: 700; font-size: .72rem; }
.s-call { background: var(--teal); }
.s-order { background: var(--navy); color: #fff; }
.s-row { display: flex; justify-content: space-between; margin: 0 14px; padding: .6rem 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .76rem; }
.s-row em { font-style: normal; color: var(--slate); }
.chip { position: absolute; display: flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 700; font-size: .82rem; white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); animation: pop .6s var(--ease) both, bob 6s ease-in-out infinite; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .22); }
.c1 { top: 12%; left: -14%; animation-delay: .9s, 1.5s; }
.c2 { top: 46%; right: -12%; animation-delay: 1.3s, 2.2s; }
.c3 { bottom: 12%; left: -8%; animation-delay: 1.7s, 2.9s; }
@media (max-width: 420px) { .c1 { left: -6%; } .c2 { right: -6%; } .c3 { left: -4%; } }

/* Logo entrance */
.peak-big, .peak-small { transform-box: fill-box; transform-origin: 50% 100%; }
.peak-big { animation: rise .8s var(--ease) both; }
.peak-small { animation: rise .6s .45s var(--ease) both; }
.hero-copy > :not(.hero-mark) { animation: fade-up .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; }
.hero-copy > :nth-child(5) { animation-delay: .38s; }
.hero-copy > :nth-child(6) { animation-delay: .48s; }

@keyframes rise { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-up { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes float { 0%, 100% { transform: rotateY(-14deg) rotateX(6deg) translateY(0); } 50% { transform: rotateY(-10deg) rotateX(4deg) translateY(-12px); } }
@keyframes pop { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 2rem; }
  .cta-row .btn { flex: 0 0 auto; }
  .hero-art { width: 310px; }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.tint { background: var(--mist); }
.dark { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); color: #CBD5E1; }
.dark h2, .dark h3 { color: #fff; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:not(.kicker) { margin-top: 1rem; font-size: 1.1rem; }
.kicker { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: .7rem; }
.dark .kicker { color: var(--teal); }
.grid { display: grid; gap: 1rem; }

/* Cards */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CBD5E1; }
.card h3 { margin-bottom: .5rem; }
.ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(20, 184, 166, .14); margin-bottom: 1rem; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--teal-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.services .card h3 { background: linear-gradient(var(--teal), var(--teal)) 0 100% / 2rem 3px no-repeat; padding-bottom: .6rem; margin-bottom: .7rem; transition: background-size .35s var(--ease); }
.services .card:hover h3 { background-size: 100% 3px; }
.card.highlight { background: var(--navy); border-color: var(--navy); color: #CBD5E1; }
.card.highlight h3 { color: #fff; }
.tag { display: inline-block; margin-bottom: .7rem; padding: .15rem .6rem; border-radius: 99px; background: var(--teal); color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 640px) { .problems, .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .problems { grid-template-columns: repeat(4, 1fr); } .services { grid-template-columns: repeat(3, 1fr); } .card.highlight { grid-column: span 2; } }

/* Pricing */
.audit-strip { display: grid; gap: 1.25rem; align-items: center; padding: 1.6rem; border-radius: var(--radius); background: var(--navy); color: #CBD5E1; }
.audit-strip h3 { color: #fff; margin-bottom: .4rem; }
.audit-prices { display: flex; gap: 2rem; }
.audit-prices strong { display: block; font-size: 1.7rem; font-weight: 850; color: var(--teal); letter-spacing: -.02em; line-height: 1.1; }
.audit-prices span { font-size: .88rem; }
@media (min-width: 900px) { .audit-strip { grid-template-columns: 1fr auto auto; gap: 2.5rem; padding: 1.8rem 2.2rem; } }
.group-title { margin: 2.6rem 0 1rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan h4 { font-size: 1.25rem; font-weight: 800; }
.plan-for { margin-top: .3rem; font-size: .93rem; color: var(--slate); min-height: 2.9em; }
.price { margin: 1rem 0; font-size: 2rem; font-weight: 850; letter-spacing: -.03em; line-height: 1.1; color: var(--navy); }
.price small { font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--slate); }
.price .from { margin-right: .15rem; }
.plans .price small:not(.from) { display: block; margin-top: .35rem; }
.plan ul li, .wide-list li { position: relative; padding: .3rem 0 .3rem 1.6rem; font-size: .97rem; }
.plan ul li::before, .wide-list li::before { content: ""; position: absolute; left: .15rem; top: .72em; width: .7rem; height: .4rem; border-left: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink); transform: rotate(-45deg); }
.plan.featured { border: 2px solid var(--teal); box-shadow: 0 16px 40px rgba(20, 184, 166, .18); }
.badge { align-self: flex-start; margin-bottom: .8rem; padding: .25rem .7rem; border-radius: 99px; background: rgba(20, 184, 166, .16); color: var(--teal-ink); font-size: .76rem; font-weight: 800; letter-spacing: .03em; }
.plan.wide { margin-top: 1rem; background: var(--navy); border-color: var(--navy); color: #CBD5E1; display: grid; gap: 1.5rem; }
.plan.wide h4, .plan.wide .price { color: #fff; }
.plan.wide .plan-for, .plan.wide .price small { color: #CBD5E1; min-height: 0; }
.plan.wide .badge { display: inline-block; background: var(--teal); color: var(--navy); }
.plan.wide .wide-list li::before { border-color: var(--teal); }
.alt { font-weight: 600; color: #fff; }
.note { margin-top: .4rem; font-size: .92rem; }
@media (min-width: 640px) { .plans, .ongoing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .plan.wide { grid-template-columns: 1fr 1.1fr; padding: 2.2rem; align-items: center; } }
@media (min-width: 1100px) { .plans, .ongoing { grid-template-columns: repeat(4, 1fr); } }
.mini { background: var(--mist); border-radius: var(--radius); padding: 1.4rem; }
.mini h4 { font-size: 1.05rem; }
.mini .price { font-size: 1.7rem; margin: .5rem 0; }
.mini p:last-child { font-size: .95rem; }
.terms { display: grid; gap: .8rem; margin-top: 2.2rem; padding: 1.6rem; background: var(--mist); border-radius: var(--radius); }
.terms li { padding-top: .9rem; border-top: 2px solid var(--teal); }
.terms strong { color: var(--navy); }
@media (min-width: 900px) { .terms { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* Steps */
.steps { display: grid; gap: 1rem; }
.steps li { position: relative; padding: 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .25s, transform .25s var(--ease); }
.steps li:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 12px; background: var(--teal); color: var(--navy); font-weight: 850; font-size: 1.2rem; }
.steps h3 { margin-bottom: .4rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Audit form */
.audit-grid { display: grid; gap: 2.5rem; align-items: start; }
.audit-copy p:not(.kicker) { margin-top: 1rem; font-size: 1.08rem; }
.or-call a, .success a { color: var(--teal-ink); font-weight: 700; }
@media (min-width: 900px) { .audit-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } .audit-copy { position: sticky; top: 110px; } }
.form-card { background: #fff; border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 1.1rem; }
.two { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
label, legend { display: block; margin-bottom: .4rem; font-weight: 700; font-size: .95rem; color: var(--navy); }
.opt { font-weight: 500; color: var(--slate); }
input[type="text"], input[type="tel"], input[type="email"] { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid #94A3B8; border-radius: 10px; font: inherit; color: var(--navy); background: #fff; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: var(--slate); opacity: 1; }
input:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 4px rgba(20, 184, 166, .25); }
input[aria-invalid="true"] { border-color: #B91C1C; }
.err { margin-top: .35rem; color: #B91C1C; font-size: .9rem; font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: .6rem; }
.check { position: relative; margin: 0; cursor: pointer; }
.check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .5rem 1.1rem; border: 1.5px solid #94A3B8; border-radius: 99px; font-weight: 700; color: var(--navy); transition: background-color .15s, border-color .15s; }
.check span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 2px solid #94A3B8; transition: inherit; }
.check input:checked + span { background: rgba(20, 184, 166, .16); border-color: var(--teal-ink); }
.check input:checked + span::before { background: var(--teal-ink); border-color: var(--teal-ink); box-shadow: inset 0 0 0 2px #fff; }
.check input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 3px; }
.fine { margin-top: .9rem; font-size: .88rem; color: var(--slate); text-align: center; }
.success { text-align: center; padding: 2rem .5rem; animation: fade-up .5s var(--ease) both; }
.success:focus { outline: none; }
.success svg { margin: 0 auto 1.2rem; }
.success h3 { font-size: 1.5rem; margin-bottom: .6rem; }
[hidden] { display: none !important; }

/* Instant website check */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.checker { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #CBD5E1; border-radius: 24px; padding: clamp(1.5rem, 4.5vw, 3rem); margin-bottom: clamp(3rem, 6vw, 5rem); box-shadow: 0 30px 60px rgba(15, 42, 67, .18); }
.checker h2 { color: #fff; max-width: 22ch; }
.checker .kicker { color: var(--teal); }
.checker-head p:last-child { margin-top: 1rem; max-width: 40rem; }
.check-form { margin-top: 1.8rem; }
.check-form label { color: #fff; }
.check-row { display: grid; gap: .7rem; }
.check-row input { min-height: 56px; font-size: 1.1rem; border-color: transparent; }
.check-hint { margin-top: .7rem; font-size: .92rem; }
@media (min-width: 640px) { .check-row { grid-template-columns: 1fr auto; } }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.check-result { margin-top: 2rem; background: #fff; color: var(--body); border-radius: 18px; padding: clamp(1.2rem, 3.5vw, 2rem); animation: fade-up .5s var(--ease) both; }
.result-head { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 720px) { .result-head { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.ring { position: relative; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; justify-self: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-track { stroke: var(--line); }
.ring-bar { stroke: var(--c); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.ring strong { font-size: 2.8rem; font-weight: 850; line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.ring span { font-size: .8rem; color: var(--slate); }
.good { --c: #0F766E; } .ok { --c: #B45309; } .poor { --c: #B91C1C; }
.result-host { font-size: .9rem; color: var(--slate); word-break: break-all; }
.result-summary h3 { font-size: 1.5rem; margin: .1rem 0 1rem; }
.bars { display: grid; gap: .6rem; }
.bars li { display: grid; grid-template-columns: minmax(0, 11.5rem) 1fr 2.2rem; gap: .8rem; align-items: center; font-size: .95rem; }
.bar-label { color: var(--navy); font-weight: 600; }
.bar-track { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 8px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.bars b { text-align: right; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .bars li { grid-template-columns: 1fr 2.2rem; } .bar-track { grid-column: 1 / -1; grid-row: 2; } }
.speed-note { margin-top: 1.2rem; padding: .8rem 1rem; border-radius: 10px; background: var(--mist); font-size: .93rem; }
.findings h4 { margin: 1.8rem 0 .8rem; font-size: 1.1rem; }
.finding-list li { display: grid; grid-template-columns: 5.2rem 1fr; gap: .9rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.finding-list strong { color: var(--navy); }
.finding-list p { font-size: .95rem; margin-top: .15rem; }
.mark { align-self: start; text-align: center; padding: .2rem .4rem; border-radius: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.finding-list .fail .mark { background: #B91C1C; } .finding-list .warn .mark { background: #B45309; } .finding-list .pass .mark { background: #0F766E; }
.passes { margin-top: 1rem; border-top: 1px solid var(--line); }
.passes summary { padding: .9rem 0; font-weight: 700; color: var(--teal-ink); cursor: pointer; }
.check-cta { margin-top: 1.5rem; padding: 1.3rem; border-radius: 14px; background: var(--mist); display: grid; gap: 1rem; align-items: center; }
.check-cta p { color: var(--navy); font-weight: 600; }
@media (min-width: 720px) { .check-cta { grid-template-columns: 1fr auto; } }
.check-error strong { color: var(--navy); font-size: 1.1rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-weight: 700; font-size: 1.12rem; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink); transform: rotate(45deg); transition: transform .25s var(--ease); margin-right: .3rem; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.js .faq details[open]:not(.is-open) summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal-ink); }
.faq .ans { overflow: hidden; }
.faq details p { padding: 0 2rem 1.4rem 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #CBD5E1; padding: 3rem 0 1.5rem; }
.footer-row { display: grid; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.f-name { font-weight: 800; font-size: 1.2rem; color: #fff; }
.f-tag { font-size: .95rem; }
address { font-style: normal; display: grid; gap: .1rem; }
address a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 600; color: #fff; width: fit-content; }
address a:hover { color: var(--teal); }
.legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
@media (min-width: 760px) { .footer-row { grid-template-columns: 1fr auto; align-items: center; } address { grid-template-columns: repeat(2, auto); gap: .1rem 2.5rem; } }

/* Scroll reveal: only hides content when JS is running */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.done { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background-color .25s; }
.js .card.reveal.done:hover, .js .plan.reveal.done:hover, .js .steps .reveal.done:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero h1 span { clip-path: none; }
  .glow { display: none; }
}
