:root { color-scheme: light dark; --green: #0f3d2e; --mint: #a3d4b5; --paper: #f7f8f5; --ink: #101613; --muted: #526159; --surface: #fff; --soft: #eaf0e9; --line: #d5dfd5; --accent: var(--green); --nav: #f7f8f5e8; --shadow: 0 2px 5px #0f3d2e04, 0 18px 48px #0f3d2e08; }
* { box-sizing: border-box; }
html { scroll-padding-top: 9rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 -apple-system, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { max-width: 62ch; margin: 1rem 0; }
h1, h2, h3 { line-height: 1.09; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 6.4vw, 5.5rem); max-width: 21ch; margin: .8rem 0 1.6rem; font-weight: 650; }
h2 { font-size: clamp(2rem, 4.4vw, 3.7rem); margin: .75rem 0 1.5rem; font-weight: 620; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.025em; margin: .6rem 0 1rem; line-height: 1.25; }
main, footer, .nav-shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }
main { padding: clamp(3rem, 6vw, 6rem) 0; }
main:focus { outline: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--nav); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-shell { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.3rem; }
.is-condensed .nav-shell { padding-block: .75rem; }
.brand { font-weight: 720; font-size: 1.45rem; text-decoration: none; letter-spacing: -.035em; }
.brand span { display: block; font-size: .7rem; font-weight: 450; letter-spacing: 0; color: var(--muted); }
nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: 1.5rem; font-size: .88rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a[aria-current] { text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding-top: 0; }
.hero h1, .hero p { margin-inline: 0; }
.hero h1 { max-width: 23ch; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.5; max-width: 51ch; color: var(--muted); }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; color: var(--accent); }
.muted, figcaption { color: var(--muted); font-size: .85rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.4rem; margin-top: 2rem; }
button, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 1px solid transparent; border-radius: 16px; padding: .85rem 1.3rem; background: var(--green); color: #f7f8f5; font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 150ms ease, box-shadow 150ms ease; }
@media (hover: hover) { button:hover, .button:hover { transform: translateY(-1px); box-shadow: 0 5px 15px #0f3d2e20; } }
button:active, .button:active { transform: scale(.98); box-shadow: none; }
button:disabled { opacity: .6; cursor: wait; }
.text-link { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; font-size: .95rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.hero-art { margin: 0; width: 100%; max-width: 40rem; background: radial-gradient(ellipse at 50% 50%, var(--soft), transparent 70%); }
figure { margin: 0; }
figcaption { max-width: 62ch; margin: .75rem auto 0; }
svg { display: block; width: 100%; height: auto; }
svg text { fill: var(--ink); text-anchor: middle; font-size: 25px; font-weight: 580; letter-spacing: -.02em; }
svg .svg-small { fill: var(--muted); font-size: 17px; font-weight: 400; letter-spacing: 0; }
.wire { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: .6; }
.device { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.router { stroke: var(--accent); }
.status-dot, .packet { fill: var(--accent); }
.packet { animation: packet-flow 4s linear infinite; }
.packet-office { animation-delay: -1.3s; }
.packet-guest { animation-direction: reverse; animation-delay: -2.6s; }
.lane { transition: transform 1100ms cubic-bezier(.22, 1, .36, 1); }
.lane-register { transform: translateY(-100px); }
.lane-guest { transform: translateY(100px); }
.lane-enclosure { fill: none; stroke: transparent; stroke-width: 1; transition: stroke 900ms ease; }
.lane-register .lane-enclosure { stroke: var(--accent); }
.section { padding-block: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.hero + .section { margin-top: 4rem; }
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 2rem; padding: 1rem 0 0; margin: 2rem 0 0; }
.stepper li { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.step-number { display: inline-grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); margin-bottom: 1rem; }
.stepper p { color: var(--muted); }
.examples-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow); margin-block: 2rem; min-width: 0; }
.panel h2:first-child { margin-top: 0; }
.examples-grid .panel { margin: 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.price { font-size: clamp(2.3rem, 4vw, 3.3rem); line-height: 1.2; letter-spacing: -.05em; font-weight: 600; }
.price.rate { font-size: clamp(2rem, 3vw, 2.6rem); }
.scope-band { border-radius: 20px; background: var(--soft); padding: clamp(1.5rem, 5vw, 4rem); margin-bottom: 0; }
.scope-band h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.scope-band p:not(.eyebrow) { font-size: .96rem; }
details { border-bottom: 1px solid var(--line); padding-block: .5rem; }
summary { cursor: pointer; padding: 1rem .25rem; font-weight: 600; min-height: 48px; }
details p { margin: .5rem 0 1.5rem; }
body:not(.page-index) main { max-width: 52rem; }
body:not(.page-index) h1 { max-width: 19ch; font-size: clamp(2.5rem, 5vw, 4rem); }
body:not(.page-index) main > h2, body:not(.page-index) section h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-top: 3rem; }
fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; margin: 2rem 0; background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
legend { font-size: 1.08rem; font-weight: 620; line-height: 1.5; padding: 0 .4rem; max-width: 100%; }
label { display: block; }
.choice { display: inline-flex; align-items: center; min-height: 48px; border: 1px solid var(--line); padding: .65rem 1rem; border-radius: 12px; margin: .35rem .4rem .35rem 0; cursor: pointer; }
.choice:has(input:checked) { background: var(--soft); border-color: var(--accent); }
input, select { font: inherit; accent-color: var(--accent); color: var(--ink); }
input:not([type=radio]):not([type=checkbox]):not([type=hidden]), select { display: block; width: min(100%, 32rem); margin: .2rem 0 1rem; border: 1px solid var(--line); border-radius: 12px; padding: .75rem; background: var(--surface); }
input[type=radio], input[type=checkbox] { width: 1.2rem; height: 1.2rem; flex-shrink: 0; margin-right: .5rem; }
.assess-progress { position: sticky; top: 5.8rem; z-index: 9; margin-block: 1rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.assess-progress label { font-size: .9rem; margin-bottom: .4rem; }
progress { display: block; width: 100%; height: .5rem; border: 0; border-radius: 10px; accent-color: var(--accent); background: var(--line); }
progress::-webkit-progress-bar { border-radius: 10px; background: var(--line); }
progress::-webkit-progress-value { border-radius: 10px; background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.score-heading { display: flex; align-items: center; gap: 1.5rem; }
.score-ring { width: 110px; flex-shrink: 0; }
.score-ring circle { fill: none; stroke-width: 6; }
.ring-track { stroke: var(--line); }
.ring-value { stroke: var(--accent); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-dasharray: 100; }
.score-ring text { font-size: 25px; }
.checklist label { display: flex; align-items: baseline; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
footer { padding: 3rem 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.skip { position: fixed; top: -5rem; left: 1rem; padding: .6rem; background: var(--surface); z-index: 20; }
.skip:focus { top: .5rem; }
[hidden], .honeypot { display: none !important; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { transition: opacity 650ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1); }
.motion-ready .reveal.is-pending { opacity: 0; transform: translateY(12px); }
.stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:focus-within { opacity: 1 !important; transform: none !important; }
.motion-ready.page-index, .motion-ready:not(.page-index) { animation: page-enter 150ms ease-out; }
@keyframes page-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes packet-flow { 0% { transform: translateX(4px); opacity: 0; } 15%, 80% { opacity: .8; } 100% { transform: translateX(150px); opacity: 0; } }
/* W3: compact conversion path and immediately usable assessment. */
.page-index main { padding-top: 2rem; }
.self-check-button { width: 100%; font-size: 1.1rem; min-height: 58px; }
.quick-contact { margin: 1rem 0 0; padding: 1.25rem; }
.quick-contact > p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.45; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.contact-fields label { font-size: .85rem; min-width: 0; }
.contact-fields input { min-height: 44px; }
.contact-actions { display: flex; align-items: center; gap: 1rem; }
.contact-actions a { font-size: .75rem; }
#send-status:empty { margin: 0; }
.examples-grid { align-items: start; margin-top: 1.5rem; }
.examples-grid details { padding: 1rem; }
.examples-grid summary { padding: .4rem 0; }
.examples-grid summary span { display: block; font-size: .9rem; font-weight: 400; color: var(--muted); margin-top: .5rem; }
.examples-grid details p { font-size: .9rem; margin-bottom: 0; }
.pricing-grid { gap: 2rem; margin-top: 1.5rem; }
.pricing-grid .price { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-block: .5rem; }
.pricing-grid article > p:last-child { font-size: .9rem; }
.plans-line { max-width: none; margin-bottom: .25rem; }
.availability { font-size: .8rem; color: var(--muted); margin-top: 0; }
.stepper { margin-top: 0; }
.stepper li { padding-top: 1rem; }
.step-number { margin-bottom: 0; }
.page-assess main { padding-top: 1.25rem; }
body.page-assess h1 { font-size: clamp(1.8rem, 5vw, 3rem); max-width: none; margin: 0 0 .6rem; }
.page-assess .lede { font-size: 1rem; margin-block: .5rem; }
.page-assess fieldset { margin-block: 1.25rem; scroll-margin-top: 4rem; }
.page-assess .choice { padding: .55rem .7rem; }
.page-assess #result { scroll-margin-top: 10rem; }
.page-assess #result h2 { margin: 0; }
.page-assess #result > p { margin-block: .5rem; }
.score-ring { width: 84px; }
.assessment-note { font-size: .85rem; color: var(--muted); }
@media (prefers-color-scheme: dark) {
  :root { --paper: #101613; --ink: #f0f4ef; --muted: #b3c1b7; --surface: #18221c; --soft: #1b2c23; --line: #35483d; --accent: #a3d4b5; --nav: #101613e8; --shadow: 0 2px 5px #0001, 0 18px 48px #0002; }
}
@media (max-width: 58rem) {
  .hero { grid-template-columns: 1.3fr .8fr; gap: 1rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price { font-size: 3rem; }
}
@media (max-width: 40rem) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { display: contents; }
  .hero-intro { order: 1; }
  .hero-art { order: 2; max-width: none; }
  .hero-art svg { height: 220px; }
  .quick-contact { order: 3; }
  .hero-art figcaption { display: none; }
  .page-index h1 { max-width: 13ch; }
  .quick-contact { padding: 1rem; }
  .contact-fields { gap: 0 .6rem; }
  .assess-progress { top: 6.4rem; }
  .page-assess .choice { width: auto; font-size: .9rem; }
  .page-assess .choice input { margin-right: .25rem; }
  main, footer, .nav-shell { width: calc(100% - 2rem); }
  .nav-shell { flex-wrap: wrap; gap: .35rem; padding-block: .9rem; }
  .is-condensed .nav-shell { padding-block: .45rem; }
  nav { width: 100%; gap: 1.1rem; font-size: .79rem; }
  .brand span { display: none; }
  h1 { font-size: clamp(2.5rem, 9.6vw, 3.8rem); }
  .hero { padding-top: 0; }
  .hero-actions { flex-direction: column; gap: .65rem; }
  .hero-art { margin-top: 1.5rem; }
  .examples-grid { grid-template-columns: 1fr; }
  .stepper { gap: 1rem; }
  .stepper li { padding-top: 1rem; font-size: .9rem; }
  .choice { width: 100%; margin-right: 0; }
  fieldset { padding: 1rem; }
  .score-heading { gap: 1rem; }
}
/* W4: cards, one full-size scene, and motion without inline styles. */
:root { --header-height: 98px; }
:root.nav-condensed { --header-height: 80px; }
.site-header { height: var(--header-height); }
.nav-shell { height: 100%; padding-block: 0; }
.is-condensed .nav-shell { padding-block: 0; }
.is-condensed { background: var(--nav); backdrop-filter: blur(24px) saturate(140%); }
.nav-cta { position: relative; border-radius: 12px; padding-inline: .75rem; background: var(--soft); }
.nav-cta::after { content: ""; position: absolute; inset: -3px; border: 1px solid var(--accent); border-radius: inherit; opacity: 0; pointer-events: none; }
.page-index main { width: min(100% - 3rem, 78rem); }
.hero-line { display: block; }
.price, .plan-price { font-variant-numeric: tabular-nums; }
.hero h1 { font-size: clamp(2.65rem, 4.8vw, 4.4rem); }
.hero-art figcaption { text-align: center; }
#questions { display: grid; gap: 16px; margin-block: 1.25rem; }
.page-assess fieldset { padding: 20px 24px; margin: 0; scroll-margin-top: calc(var(--header-height) + 100px); }
.page-assess legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; }
.page-assess legend + * { clear: both; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.page-assess .choice { margin: 0; gap: 6px; }
.choice:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.choice::after { content: "✓"; width: 1em; opacity: 0; }
.choice:has(input:checked)::after { opacity: 1; }
.choice input { accent-color: var(--green); }
.page-assess fieldset:focus-within { border-color: var(--accent); }
.assess-progress { top: calc(var(--header-height) + 8px); }
.examples-grid { perspective: 1000px; }
.examples-grid details { position: relative; isolation: isolate; --tilt-x: 0deg; --tilt-y: 0deg; }
.examples-grid details::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 50% 0%, var(--mint), transparent 75%); opacity: 0; pointer-events: none; z-index: -1; }
[data-tilt-x="-4"] { --tilt-x: -4deg !important; }
[data-tilt-x="-2"] { --tilt-x: -2deg !important; }
[data-tilt-x="2"] { --tilt-x: 2deg !important; }
[data-tilt-x="4"] { --tilt-x: 4deg !important; }
[data-tilt-y="-4"] { --tilt-y: -4deg !important; }
[data-tilt-y="-2"] { --tilt-y: -2deg !important; }
[data-tilt-y="2"] { --tilt-y: 2deg !important; }
[data-tilt-y="4"] { --tilt-y: 4deg !important; }
.stepper li { position: relative; }
.stepper li::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .motion-ready .hero-intro .eyebrow, .motion-ready .hero-line, .motion-ready .hero-intro .lede, .motion-ready .self-check-button { animation: hero-rise 650ms cubic-bezier(.22, 1, .36, 1) both; }
  .motion-ready .hero-line:first-child { animation-delay: 60ms; }
  .motion-ready .hero-line:nth-child(2) { animation-delay: 120ms; }
  .motion-ready .hero-intro .lede { animation-delay: 180ms; }
  .motion-ready .self-check-button { animation-delay: 240ms; }
  .motion-ready .wire { stroke-dasharray: 100; animation: lane-draw 1100ms ease both; }
  .motion-ready .packet { animation-delay: 1100ms; }
  .motion-ready .packet-office { animation-delay: 1700ms; }
  .motion-ready .packet-guest { animation-delay: 2300ms; }
  .motion-ready .packet { opacity: 0; }
  .motion-ready .nav-cta::after { animation: cta-pulse 900ms ease-out 2s; }
  .motion-ready .scope-band { transition-duration: 1100ms; }
  .motion-ready .scope-band.is-pending { transform: translateY(24px); }
  .page-assess fieldset:focus-within { transform: translateY(-2px) !important; }
  .motion-ready #how-it-works.is-visible li::after { animation: step-line 1800ms ease both; }
  .motion-ready #how-it-works.is-visible li:nth-child(2)::after { animation-delay: 500ms; }
  .motion-ready #how-it-works.is-visible li:nth-child(3)::after { animation-delay: 1000ms; }
  .motion-ready #how-it-works.is-visible .step-number { animation: step-highlight 1800ms ease both; }
  .motion-ready #how-it-works.is-visible li:nth-child(2) .step-number { animation-delay: 500ms; }
  .motion-ready #how-it-works.is-visible li:nth-child(3) .step-number { animation-delay: 1000ms; }
  /* Native disclosure stays functional where ::details-content is unsupported. */
  #faq details::details-content { display: grid; grid-template-rows: 0fr; content-visibility: hidden; transition: grid-template-rows 280ms ease, content-visibility 280ms allow-discrete; }
  #faq details[open]::details-content { grid-template-rows: 1fr; content-visibility: visible; }
  #faq .faq-answer { min-height: 0; overflow: hidden; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .motion-ready .examples-grid .is-visible[data-tilt] { transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition-delay: 0s; transition-duration: 160ms; }
  .examples-grid details::before { transition: opacity 220ms ease; }
  .examples-grid details[data-tilt]::before { opacity: .22; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lane-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes cta-pulse { 0%, 100% { opacity: 0; transform: scale(1); } 40% { opacity: .45; transform: scale(1.035); } }
@keyframes step-line { 0% { transform: scaleX(0); opacity: .4; } 45%, 100% { transform: scaleX(1); opacity: 1; } }
@keyframes step-highlight { 0% { transform: scale(1); opacity: .6; } 35% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@media (max-width: 40rem) {
  :root { --header-height: 116px; }
  :root.nav-condensed { --header-height: 102px; }
  .page-index main { width: calc(100% - 2rem); }
  .hero h1 { font-size: clamp(2.2rem, 9.6vw, 3.8rem); }
  .nav-shell { align-content: center; padding-block: 0; }
  .is-condensed .nav-shell { padding-block: 0; }
  .page-assess fieldset { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion-ready .reveal.is-pending { opacity: 1; transform: none; }
}
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  header, nav, footer, .skip, .assess-progress { display: none; }
  main { width: 100%; padding: 0; }
  h1 { font-size: 24pt !important; max-width: none; }
  .motion-ready .reveal.is-pending { opacity: 1; transform: none; }
  .checklist label, fieldset, .panel { break-inside: avoid; }
}

/* Legal pages: quiet, readable, standard placement in the footer. */
.legal-page { max-width: 68ch; margin: 0 auto; padding: clamp(24px, 6vw, 64px) 20px; }
.legal-page .prose p { margin: 0 0 1em; }
.legal-page .prose strong { font-weight: 650; }
.legal-nav { margin-top: 32px; font-size: 0.9rem; opacity: .8; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.85rem; opacity: .75; margin-top: 8px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
