/* Production structure and accessibility additions to the approved design. */
/* Long CMS text may wrap; layout, assets and animation effects stay protected. */
.hero-inner, .section, .coverage-in, .dark-inner, .footerin, .closing-cta { overflow-wrap: anywhere; min-width: 0; }
.price-value strong[data-long-price] { font-size: calc(180px / var(--price-digits)); }
.hero .hero-offer strong, .comparison-collection strong { white-space: normal; }
.navlinks a, .navcta, .mobile-nav a { overflow-wrap: anywhere; white-space: normal; min-width: 0; }
.nav { height: auto; min-height: 78px; }
.nav-wrap { height: auto; min-height: 77px; }
@media (max-width:700px) { .nav { min-height: 67px; } .nav-wrap { min-height: 66px; } }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ca9a46; outline-offset: 5px; }
section[id], main { scroll-margin-top: 24px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 15px 20px; color: #07162a; background: #fff; transform: translateY(-160%); border-radius: 6px; }
.skip-link:focus { transform: none; }
.notice { display: flex; justify-content: center; gap: 12px; letter-spacing: .07em; }
:root { --photo: url('/assets/community-branded-desktop.svg'); --photo-off: url('/assets/community-sign-off-desktop.svg'); }
.brand-surface { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 5px 8px; background: #fff; border-radius: 5px; line-height: 0; }
.brand-image { display: block; width: 104px; height: auto; max-width: 100%; object-fit: contain; }
.logo.brand-surface { gap: 0; }
/* Footer illumination uses the original transparent SVG silhouette; layout stays unchanged. */
.footer-logo.brand-surface { background: transparent; border-radius: 0; }
.footer-logo .brand-image { width: 156px; filter: brightness(0) invert(1) drop-shadow(0 0 2px #7ae6ffa6) drop-shadow(0 0 10px #2abce666); }
.ex-logo .brand-image { width: 80px; }
.ex-logo.brand-surface { padding: 4px 6px; }
.nav { background: #f6f9fb; color: #17354e; border-bottom-color: #cbdce7; }
.nav .logo.brand-surface { background: transparent; border-radius: 0; box-shadow: none; }
.nav .navlinks { color: #28475e; }
.nav .navlinks a:hover { color: #087c9c; }
.nav .navcta { background: #0b354f; color: #f3fbff; border-color: #0b354f; }
.nav .navcta:hover { background: #124c68; border-color: #124c68; }
.nav .menu-btn { color: #173c55; border-color: #9cb8c9; background: transparent; }
.nav .menu-btn[aria-expanded="true"] { background: #e0eff5; border-color: #6c9fb8; }
.nav .mobile-nav { background: #f6f9fb; color: #28475e; box-shadow: 0 18px 30px #082b431a; }
.nav .mobile-nav a { border-bottom-color: #d4e2eb; }
.nav .mobile-nav a:hover { color: #087c9c; }
.navlinks a { padding: 16px 0; }
.hero-photo { display: block; background: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 42%; display: block; }
.hero-category { color: #c8e3f3; font-size: 14px; font-weight: 700; letter-spacing: .13em; margin-bottom: 15px; }
.hero-line { font-size: 14px; color: #c0f7e3; border-bottom: 1px solid #61c6a3; margin-left: 8px; padding: 15px 0 9px; font-weight: 700; }
.hero-line:hover { color: #fff; }
.hero-foot > span:last-child { font-size: 10px; letter-spacing: .12em; }
.hero .hero-offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 18px; line-height: 1.5; }
.hero-offer > span { font-size: 16px; font-weight: 700; }
.hero-offer strong { font-size: 21px; color: #f3fbff; white-space: nowrap; }
.hero-offer b { color: #91e6ff; font-size: 27px; margin-right: 2px; }
.hero-offer small { flex-basis: 100%; font-size: 12px; color: #e8d5af; }
#plans { padding-top: 64px; padding-bottom: 64px; }
.plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-card.comparison-plan { padding: 30px; min-height: 0; background: radial-gradient(ellipse at 8% 0%, #124b70, #0a2a4b 60%, #071f38); }
.comparison-plan > * { position: relative; z-index: 1; }
.comparison-plan h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 18px 0 14px; font-size: 24px; font-weight: 800; line-height: 1.35; }
.comparison-speed { color: #8ce8fc; }
.comparison-speed small { font-size: 1em; }
.comparison-period { margin: 0 0 18px; font-size: 18px; font-weight: 700; }
.comparison-period span { color: #e8d5af; }
.comparison-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; }
.comparison-facts dt { font-size: 12px; color: #b9d3e4; margin-bottom: 5px; }
.comparison-facts dd { margin: 0; font-size: 23px; font-weight: 800; color: #f3fbff; }
.comparison-price { padding-top: 18px; border-top: 1px solid #5a98ba55; }
.price-caption { margin: 0; font-size: 15px; color: #c6e4f2; letter-spacing: .1em; }
.price-value { display: flex; align-items: baseline; gap: 10px; margin: 0; color: #f3fbff; line-height: 1.15; white-space: nowrap; }
.price-value > span { font-size: 21px; font-weight: 700; color: #93d9f1; }
.price-value strong { font-size: 72px; font-weight: 900; letter-spacing: -.05em; }
.comparison-calculation { margin: 4px 0 0; color: #c4dbea; font-size: 12px; line-height: 1.8; }
.comparison-extra-fees { margin: 15px 0 0; padding-top: 12px; border-top: 1px solid #5a98ba55; color: #c4dbea; font-size: 13px; line-height: 1.8; }
.comparison-extra-fees > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.comparison-extra-fees dd { margin: 0; color: #f3fbff; white-space: nowrap; font-weight: 700; }
.comparison-collection { margin: 8px 0 0; color: #c4dbea; font-size: 13px; line-height: 1.8; }
.comparison-collection strong { color: #f3fbff; white-space: nowrap; }
.comparison-applicability { margin: 14px 0; color: #e8d5af; font-size: 13px; }
.comparison-plan .plan-consult { width: 100%; min-height: 52px; margin-top: auto; padding: 16px 20px; font-size: 14px; gap: 12px; }
.price-clarification { font-size: 14px; color: #284c68; line-height: 1.8; margin: 20px 0 0; font-weight: 700; }
.plan-footnote { font-size: 12px; line-height: 1.9; color: #51657b; margin: 20px 0 0; }
.plan-other-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 25px; padding-top: 22px; border-top: 1px solid #d4e2eb; color: #52667c; font-size: 14px; }
.plan-other-contact a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #1262a3; font-weight: 800; text-underline-offset: 5px; }
.plan-other-contact a:hover { text-decoration: underline; }
.replay-lower { margin-top: 32px; }
.subcopy, .step p, .why-card p, .faq details p { color: #52667c; }
.coverage-contact { padding: 36px; background: #ffffff08; border: 1px solid #7ac5fd52; border-radius: 14px; }
.contact-kicker { font-size: 12px; color: #80d9fa; letter-spacing: .15em; }
.coverage-contact h3 { font-size: 27px; letter-spacing: -.03em; margin: 16px 0 12px; }
.coverage-contact p { font-size: 14px; margin: 0 0 24px; }
.line-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 18px 24px; min-height: 52px; border: 1px solid #c6f8e6; border-radius: 6px; background: #c6f8e6; color: #073e37; font-weight: 800; font-size: 15px; transition: background .2s, transform .2s; }
.line-button:hover { background: #e2fff4; transform: translateY(-2px); }
.coverage-contact small { display: block; color: #a4bfd2; margin-top: 18px; font-size: 12px; }
.faq summary { min-height: 28px; padding: 5px 0; line-height: 1.7; }
.faq p a { color: #1462a4; text-decoration: underline; text-underline-offset: 3px; }
.closing-cta { background: #071f38; padding: 70px max(5%, calc((100vw - 1200px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 36px; color: #fff; border-bottom: 1px solid #25415a; }
.closing-cta h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.3; margin: 18px 0 0; letter-spacing: -.04em; }
.footer-details nav { display: flex; flex-wrap: wrap; gap: 24px; color: #cde1ee; }
.footer-details nav a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-details p { margin: 10px 0; color: #a4bfd4; }
.legal-name { display: block; margin-top: 15px; font-size: 11px; }
.motion-toggle { padding: 10px 13px; min-height: 44px; color: #d4edf9; background: transparent; border: 1px solid #527690; border-radius: 5px; font-size: 12px; }
.motion-toggle[aria-pressed="true"] { border-color: #78dbed; color: #9ceeff; }
.mobile-contact { display: none; }
.experience { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; }
.experience::backdrop { background: #01050d; }
.experience .ex-stage[inert] { pointer-events: none; }
.experience .ex-topbar { top: max(20px, env(safe-area-inset-top)); }
.experience .ex-controls { align-items: center; }
.experience .ex-controls button { min-height: 44px; }
.experience .final-content { width: min(100%, 1260px); }
.experience .final-content h2 { font-size: clamp(43px, 7.7vw, 110px); }
.experience .ex-noise { pointer-events: none; }
/* The existing stage4 class ignites the sign without changing the four-scene timeline. */
.experience .ex-bg { background-image: var(--photo-off); }
.experience::after { content: ""; position: absolute; inset: -8%; background: url('/assets/building-sign-light.svg') center center / cover no-repeat; transform: scale(1.22); opacity: 0; transition: opacity 1.1s ease, transform 5s cubic-bezier(.12,.7,.15,1); pointer-events: none; z-index: 0; }
.experience.stage3::after { transform: scale(1.02); }
.experience.stage4::after { transform: scale(1.12); opacity: .78; }
.experience .ex-bottom { bottom: max(24px, env(safe-area-inset-bottom)); }
.experience .stage-status { max-width: 70%; }
.experience .stage4 { background: radial-gradient(circle at 50% 50%,#002b597a,#020715a6 68%,#010510d9); }
html[data-reduced-motion="true"] { scroll-behavior: auto; }
html[data-reduced-motion="true"] *, html[data-reduced-motion="true"] *::before, html[data-reduced-motion="true"] *::after { animation: none !important; transition: none !important; }
html[data-reduced-motion="true"] .experience.stage4 .ex-nodes i { opacity: 1; transform: none; }
@media (min-width:701px) and (max-width:1100px) { .navlinks { gap: 15px; } .nav-wrap { gap: 14px; } .navcta { padding: 13px 12px; } .logo .wordmark { display: none; } }
@media (max-width:700px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .notice { flex-direction: column; gap: 2px; min-height: 44px; padding: 5px 12px; font-size: 10px; }
  :root { --photo: url('/assets/community-branded-mobile.svg'); --photo-off: url('/assets/community-sign-off-mobile.svg'); }
  .logo .brand-image { width: 84px; }
  .logo.brand-surface { padding: 4px 7px; }
  .ex-logo .brand-image { width: 72px; }
  .hero { min-height: calc(100svh - 111px - 64px); }
  .hero-photo img { object-position: 76% center; }
  .hero-inner { padding: 100px 26px 76px; }
  .hero h1 { font-size: clamp(37px, 10.5vw, 60px); }
  .eyebrow { font-size: 10px; letter-spacing: .22em; margin-bottom: 18px; }
  .hero-category { font-size: 12px; margin-bottom: 12px; }
  .hero-line { display: none; }
  .hero-specs { gap: 8px; }
  .hero-spec { font-size: 10px; gap: 4px; }
  .hero-spec i { width: 25px; height: 25px; }
  .band { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; text-align: left; font-size: 8px; letter-spacing: .18em; }
  .plan-list { grid-template-columns: minmax(0, 1fr); }
  .plan-card.comparison-plan { padding: 26px 24px; }
  .comparison-plan h3 { font-size: 23px; }
  .comparison-facts dd { font-size: 21px; }
  .price-value strong { font-size: 64px; }
  .plan-other-contact { align-items: flex-start; flex-direction: column; gap: 6px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .coverage-contact { padding: 25px 22px; }
  .coverage-contact .line-button { width: 100%; font-size: 14px; }
  .closing-cta { padding: 54px 24px; flex-direction: column; align-items: flex-start; }
  .closing-cta .line-button { width: 100%; }
  .mobile-contact { display: grid; grid-template-columns: .8fr 1.2fr; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; background: #031427f5; border-top: 1px solid #31556c; padding: 9px 16px calc(9px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -8px 30px #00142d35; }
  .mobile-contact a { display: flex; justify-content: center; align-items: center; gap: 15px; min-height: 45px; border: 1px solid #527690; color: #e0f4fc; border-radius: 5px; font-size: 13px; font-weight: 800; }
  .mobile-contact a:last-child { background: #c6f8e6; color: #073e37; border-color: #c6f8e6; }
  .experience .ex-topbar { left: 15px; right: 15px; gap: 7px; }
  .experience .ex-bg, .experience::after { background-position: 76% center; }
  .ex-controls { gap: 5px; }
  .experience .ex-controls button { padding: 9px 8px; font-size: 11px; }
  .ex-logo { font-size: 11px; letter-spacing: .06em; }
  .ex-logo small { font-size: 7px; letter-spacing: .04em; }
  .experience .ex-progress { top: 85px; }
  .experience .final-content { padding: 100px 22px 70px; }
  .experience .final-content h2 { font-size: clamp(36px, 10.6vw, 70px); margin-top: 20px; }
  .experience .final-content p { font-size: 13px; margin: 20px auto; }
  .final-speed { font-size: 9px; letter-spacing: .13em; }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (max-width:359px) { .hero-inner { padding-left: 20px; padding-right: 20px; } .hero-specs { flex-wrap: wrap; justify-content: flex-start; } .hero h1 { font-size: 35px; } }
@media (max-height:520px) and (orientation:landscape) {
  .experience .stagetext { bottom: 14%; } .experience .stagetext h2 { font-size: 35px; }
  .experience .final-content { padding: 90px 20px 50px; }
  .experience .final-content h2 { font-size: 36px; margin: 10px 0 0; }
  .experience .final-content p { font-size: 12px; margin: 8px 0; }
  .experience .final-tag, .experience .final-speed { display: none; }
  .experience .final-actions { flex-direction: row; max-width: none; }
  .experience .final-actions button { width: auto; padding: 10px 20px; }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .nav, .notice, .mobile-contact, .heroCanvas, .experience, button, .hero-photo { display: none !important; } body { padding: 0; } .hero { min-height: 0; height: auto; } .hero-inner { padding: 30px; } .hero, .hero h1, .hero h1 strong { background: white; color: black; } .section { padding: 30px; } }
