/* Halar World custom styles */

:root {
  --hw-primary: #40378d;
  --hw-primary-dark: #2f286f;
  --hw-lavender: #eeecfa;
  --hw-page-bg: #f8f8fc;
  --hw-surface: #ffffff;
  --hw-text: #1f1d2b;
  --hw-muted: #595667;
  --hw-border: #e3e1eb;
  --hw-shadow: 0 10px 30px rgba(47, 40, 111, 0.08);
  --hw-radius: 1rem;
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--hw-page-bg);
  color: var(--hw-text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.skip-link { left: 1rem; position: fixed; top: -5rem; z-index: 1100; padding: .625rem 1rem; background: var(--hw-primary); border-radius: .5rem; color: #fff; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 1020; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--hw-border); }
.navbar { min-height: 4.5rem; padding: .625rem 0; }
.navbar-brand, .footer-brand { display: inline-flex; align-items: center; gap: .625rem; color: var(--hw-primary); font-size: 1.15rem; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { display: inline-grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: .75rem; background: var(--hw-primary); color: #fff; font-size: 1.15rem; } .brand-logo { display: block; width: 1.45rem; height: 1.45rem; object-fit: contain; }
.navbar-toggler { padding: .35rem .55rem; border-color: var(--hw-border); color: var(--hw-primary); font-size: 1.5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(64, 55, 141, .2); }
.navbar-nav { gap: .125rem; padding: .75rem 0; }
.nav-link { padding: .625rem .75rem !important; color: var(--hw-muted); font-weight: 600; }
.nav-link:hover, .nav-link:focus, .nav-link.active { color: var(--hw-primary); }
.btn-brand { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid var(--hw-primary); border-radius: .75rem; background: var(--hw-primary); color: #fff; font-weight: 700; padding: .7rem 1rem; }
.btn-brand:hover, .btn-brand:focus { border-color: var(--hw-primary-dark); background: var(--hw-primary-dark); color: #fff; }
.nav-download { margin: .25rem 0 .5rem; }

.page-hero { position: relative; overflow: hidden; padding: 4.5rem 0; background: var(--hw-primary); color: #fff; }
.page-hero::after { position: absolute; width: 18rem; height: 18rem; right: -7rem; bottom: -10rem; border: 3rem solid rgba(255, 255, 255, .07); border-radius: 50%; content: ""; }
.page-hero .container { position: relative; z-index: 1; }
.eyebrow { margin-bottom: .75rem; color: #e6e2ff; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-weight: 750; letter-spacing: -.035em; }
h1 { max-width: 46rem; margin: 0; font-size: clamp(2.25rem, 4vw, 3.75rem); }
h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.content-section, .download-cta { padding: 4rem 0; }
.section-tint { background: var(--hw-lavender); }
.download-cta { position: relative; overflow: hidden; background: var(--hw-primary-dark); color: #fff; }

.home-hero { padding: 4.5rem 0 5rem; }
.hero-copy { max-width: 39rem; margin: 1.25rem 0 1.75rem; color: #eeecfa; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.download-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-light-brand, .btn-outline-light-brand { display: inline-flex; align-items: center; gap: .65rem; min-width: 10.75rem; padding: .6rem .9rem; border-radius: .8rem; font-weight: 750; line-height: 1.05; text-align: left; }
.btn-light-brand i, .btn-outline-light-brand i { font-size: 1.45rem; }
.btn-light-brand span, .btn-outline-light-brand span { display: grid; gap: .15rem; }
.btn-light-brand small, .btn-outline-light-brand small { font-size: .65rem; font-weight: 600; }
.btn-light-brand { border: 1px solid #fff; background: #fff; color: var(--hw-primary-dark); }
.btn-light-brand:hover, .btn-light-brand:focus { border-color: var(--hw-lavender); background: var(--hw-lavender); color: var(--hw-primary-dark); }
.btn-outline-light-brand { border: 1px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light-brand:hover, .btn-outline-light-brand:focus { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.hero-community { position: relative; width: min(20rem, 82vw); aspect-ratio: 1; margin: auto; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.1), rgba(255,255,255,.02) 65%); }
.hero-community::before, .hero-community::after { position: absolute; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; content: ""; }
.hero-community::before { inset: 14%; }
.hero-community::after { inset: 29%; }
.community-core, .community-orbit { position: absolute; display: grid; place-items: center; border-radius: 50%; }
.community-core { inset: 34%; z-index: 1; background: #fff; box-shadow: 0 12px 25px rgba(26, 20, 73, .22); color: var(--hw-primary); font-size: clamp(2rem, 6vw, 3rem); }
.community-orbit { width: 3.25rem; height: 3.25rem; background: var(--hw-lavender); color: var(--hw-primary); font-size: 1.25rem; box-shadow: 0 8px 18px rgba(26, 20, 73, .18); }
.orbit-one { top: 7%; left: 18%; }.orbit-two { right: 4%; top: 44%; }.orbit-three { bottom: 7%; left: 20%; }
.hero-visual-label { position: absolute; right: -1rem; bottom: -1rem; padding: .55rem .8rem; border-radius: .6rem; background: rgba(255, 255, 255, .15); color: #fff; font-size: .75rem; font-weight: 700; }

.section-kicker { margin-bottom: .5rem; color: var(--hw-primary); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-copy { max-width: 42rem; margin: 1rem 0 0; color: var(--hw-muted); }
.section-header { margin-bottom: 2rem; }
.section-header-centered { margin-right: auto; margin-left: auto; max-width: 46rem; text-align: center; }
.section-header-centered .section-copy { margin-right: auto; margin-left: auto; }
.mini-feature, .benefit-card, .feature-card, .coming-card { height: 100%; border: 1px solid var(--hw-border); border-radius: var(--hw-radius); background: var(--hw-surface); box-shadow: var(--hw-shadow); }
.mini-feature { padding: 1.4rem; }
.mini-feature h3, .benefit-card h3, .feature-card h3, .coming-card h3 { margin: 1rem 0 .45rem; font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em; }
.mini-feature p, .benefit-card p, .feature-card p, .coming-card p { margin: 0; color: var(--hw-muted); }
.icon-tile, .feature-icon { display: inline-grid; place-items: center; border-radius: .8rem; background: var(--hw-lavender); color: var(--hw-primary); }
.icon-tile { width: 3rem; height: 3rem; font-size: 1.3rem; }
.benefit-card { padding: 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.benefit-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(47, 40, 111, .12); }
.feature-card { display: flex; gap: 1rem; padding: 1.5rem; }
.features-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem; align-items: start; }
.feature-column { display: flex; flex-direction: column; gap: 1.5rem; }
.features-layout .feature-card { height: auto; }
.feature-card-large { background: linear-gradient(135deg, #fff 35%, #f4f2ff); }
.feature-icon { flex: 0 0 3.25rem; width: 3.25rem; height: 3.25rem; font-size: 1.4rem; }
.feature-card h3 { margin-top: 0; }
.feature-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; color: var(--hw-primary); font-size: .875rem; font-weight: 700; }
.feature-list li { padding: .25rem .55rem; border-radius: 999px; background: var(--hw-lavender); }
.coming-card { position: relative; padding: 1.75rem; overflow: hidden; }
.coming-card::after { position: absolute; right: -2.5rem; bottom: -3rem; width: 9rem; height: 9rem; border-radius: 50%; background: var(--hw-lavender); content: ""; }
.coming-card > * { position: relative; z-index: 1; }
.coming-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .27rem .6rem; border-radius: 999px; background: var(--hw-primary); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .04em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.coming-badge i { font-size: .78rem; line-height: 1; }
.coming-card-heading { display: flex; align-items: center; gap: .65rem; }
.coming-card-heading .icon-tile { flex: 0 0 auto; }
.download-cta .container { position: relative; z-index: 1; }
.download-cta h2 { max-width: 38rem; margin-right: auto; margin-left: auto; }
.download-cta p:not(.eyebrow) { max-width: 38rem; margin: 1rem auto 1.5rem; color: #e5e1ff; }

.site-footer { padding: 3.5rem 0 1.5rem; background: #292452; color: #e9e7f2; }
.site-footer .footer-brand { color: #fff; }
.site-footer p { max-width: 24rem; margin: 1rem 0 0; color: #c7c3d9; }
.footer-heading { margin-bottom: .75rem; color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: .45rem; }
.footer-links a { color: #d9d6e6; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus { color: #fff; text-decoration: underline; }
.placeholder-label { margin-left: .35rem; color: #bdb7e7; font-size: .75rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); color: #c7c3d9; font-size: .9rem; }

@media (min-width: 992px) {
  .navbar-nav { padding: 0; }
  .nav-download { margin: 0 0 0 1rem; }
}

@media (max-width: 575.98px) {
  .content-section, .download-cta { padding: 3.25rem 0; }
  .home-hero { padding: 3.75rem 0 4.25rem; }
  .hero-community { width: min(16rem, 76vw); }
  .hero-visual-label { right: -1.5rem; }
  .feature-card { align-items: flex-start; }
}

/* Refinement pass: community-led visual storytelling and restrained polish. */
.site-header { transition: box-shadow .2s ease, background-color .2s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .98); box-shadow: 0 6px 18px rgba(36, 30, 87, .08); }
.btn-brand { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn-brand:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(47, 40, 111, .2); }

.home-hero { background: linear-gradient(135deg, #40378d 0%, #332a78 100%); }
.hero-copy { color: #f1effb; font-size: clamp(1.025rem, 1.6vw, 1.15rem); }
.btn-light-brand, .btn-outline-light-brand { min-height: 3.55rem; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn-light-brand:hover, .btn-outline-light-brand:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(24, 19, 70, .18); }
.hero-community { width: min(21rem, 82vw); border-color: rgba(255, 255, 255, .25); background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,.02) 65%); }
.connection-line { position: absolute; z-index: 0; width: 31%; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.65), rgba(255,255,255,.05)); transform-origin: left center; }
.line-one { top: 26%; left: 34%; transform: rotate(-142deg); }.line-two { top: 49%; left: 50%; transform: rotate(-7deg); }.line-three { top: 65%; left: 38%; transform: rotate(135deg); }.line-four { top: 55%; left: 36%; transform: rotate(58deg); }
.community-core { inset: 31%; align-content: center; gap: .25rem; text-align: center; }
.community-core .community-logo-mark { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 50%; background: var(--hw-primary); }
.community-core .community-logo-mark .brand-logo { width: 1.5rem; height: 1.5rem; }
.community-core strong { font-size: .75rem; line-height: 1.05; }
.community-orbit { z-index: 1; width: 3.7rem; height: 3.7rem; align-content: center; gap: .1rem; }
.community-orbit i { font-size: 1.15rem; }.community-orbit small { font-size: .56rem; font-weight: 800; letter-spacing: .02em; }
.orbit-one { top: 5%; left: 16%; }.orbit-two { right: 1%; top: 41%; }.orbit-three { bottom: 5%; left: 18%; }.orbit-four { top: 15%; right: 14%; }

.mini-feature, .feature-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mini-feature:hover, .feature-card:hover { transform: translateY(-2px); border-color: #cbc6e6; box-shadow: 0 16px 30px rgba(47, 40, 111, .1); }
.benefit-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.benefit-card:hover .icon-tile, .mini-feature:hover .icon-tile, .feature-card:hover .feature-icon { transform: scale(1.06); }
.feature-icon { transition: transform .2s ease; }

.download-cta { background: linear-gradient(135deg, var(--hw-primary-dark), #40378d); }
.download-cta::before, .download-cta::after { position: absolute; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; content: ""; }
.download-cta::before { width: 24rem; height: 24rem; top: -16rem; left: -8rem; }.download-cta::after { width: 18rem; height: 18rem; right: -8rem; bottom: -12rem; }
.cta-network { position: absolute; top: 0; bottom: 0; left: 50%; width: min(72rem, calc(100% - 2rem)); transform: translateX(-50%); pointer-events: none; }
.cta-network i { position: absolute; display: grid; width: 3rem; height: 3rem; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.65); font-size: 1.2rem; }
.cta-network i:nth-child(1) { top: 20%; left: 12%; }.cta-network i:nth-child(2) { right: 12%; bottom: 16%; }.cta-network i:nth-child(3) { right: 8%; top: 10%; }
.download-cta p:not(.eyebrow) { color: #f0eeff; }
.ownership-note { position: relative; z-index: 1; max-width: 42rem; margin: 1.5rem auto 0; color: #fff !important; font-size: .95rem; line-height: 1.5; }
.ownership-note i { margin-right: .45rem; }
.ownership-note-light { max-width: 44rem; margin-top: 1.5rem; padding: .85rem 1rem; border: 1px solid var(--hw-border); border-radius: .85rem; background: rgba(255,255,255,.7); color: var(--hw-text) !important; box-shadow: 0 8px 20px rgba(47,40,111,.05); }


@media (max-width: 374.98px) { .download-actions .btn { width: 100%; } }

@media (max-width: 575.98px) {
  .hero-community { width: min(16rem, 76vw); }
  .hero-visual-label { right: -1.5rem; }
}


@media (max-width: 575.98px) {
  .cta-network { width: calc(100% - 1rem); }
  .cta-network i { width: 2.65rem; height: 2.65rem; font-size: 1.05rem; }
  .cta-network i:nth-child(1) { top: 10%; left: 2%; }
  .cta-network i:nth-child(2) { right: 2%; bottom: 10%; }
  .cta-network i:nth-child(3) { right: 3%; top: 7%; }
  .ownership-note { padding: 0 .75rem; font-size: .9rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-community { animation: community-breathe 6s ease-in-out infinite; }
  .orbit-two { animation: node-float 4.5s ease-in-out infinite; }
  .orbit-three { animation: node-float 5.5s ease-in-out infinite reverse; }
  .reveal-on-scroll { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
}

@keyframes community-breathe { 50% { transform: scale(1.018); } }
@keyframes node-float { 50% { transform: translateY(-5px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Clarity and navigation refinement. */
.home-page .site-header { position: fixed; width: 100%; background: transparent; border-bottom-color: transparent; }
.home-page .site-header.is-scrolled { background: rgba(255, 255, 255, .94); border-bottom-color: var(--hw-border); box-shadow: 0 6px 18px rgba(36, 30, 87, .08); backdrop-filter: blur(12px); }
.home-page .site-header:not(.is-scrolled) .navbar-brand, .home-page .site-header:not(.is-scrolled) .nav-link { color: #fff; }
.home-page .site-header:not(.is-scrolled) .nav-link:hover, .home-page .site-header:not(.is-scrolled) .nav-link:focus { color: #f1effb; }
.home-page .site-header:not(.is-scrolled) .navbar-toggler { border-color: rgba(255, 255, 255, .45); color: #fff; }
.home-page .site-header:not(.is-scrolled) .nav-download { border-color: #fff; background: #fff; color: var(--hw-primary-dark); }
.home-page .site-header:not(.is-scrolled) .nav-download:hover, .home-page .site-header:not(.is-scrolled) .nav-download:focus { border-color: var(--hw-lavender); background: var(--hw-lavender); color: var(--hw-primary-dark); }
.home-hero { padding-top: 7.75rem; padding-bottom: 4.5rem; }
.navbar-toggler .nav-toggle-icon { display: inline-block; transition: opacity .16s ease, transform .22s ease; }
.navbar-toggler.is-open .nav-toggle-icon { transform: rotate(90deg); }

.section-copy, .mini-feature p, .benefit-card p, .feature-card p, .coming-card p { color: #514e5d; }
.mini-feature p, .benefit-card p, .feature-card p, .coming-card p { font-size: .96rem; line-height: 1.55; }
.site-footer p, .footer-bottom { color: #d8d5e5; }.footer-links a { color: #e2dfec; }.placeholder-label { color: #d2ccef; }
.section-header { margin-bottom: 1.75rem; }

@media (max-width: 991.98px) {
  .navbar-collapse, .navbar-collapse.collapsing { margin-top: .5rem; padding: .5rem .75rem .75rem; border: 1px solid var(--hw-border); border-radius: .9rem; background: rgba(255, 255, 255, .98); box-shadow: 0 12px 28px rgba(33, 27, 79, .14); }
  .navbar-collapse .navbar-nav { padding: .25rem 0; }
  .navbar-collapse .nav-link, .home-page .site-header:not(.is-scrolled) .navbar-collapse .nav-link { color: var(--hw-text); }
  .navbar-collapse .nav-link:hover, .navbar-collapse .nav-link:focus, .home-page .site-header:not(.is-scrolled) .navbar-collapse .nav-link:hover, .home-page .site-header:not(.is-scrolled) .navbar-collapse .nav-link:focus { color: var(--hw-primary); }
  .navbar-collapse .nav-download, .home-page .site-header:not(.is-scrolled) .navbar-collapse .nav-download { width: 100%; margin: .35rem 0 0; border-color: var(--hw-primary); background: var(--hw-primary); color: #fff; }
  .navbar-collapse .nav-download:hover, .navbar-collapse .nav-download:focus, .home-page .site-header:not(.is-scrolled) .navbar-collapse .nav-download:hover, .home-page .site-header:not(.is-scrolled) .navbar-collapse .nav-download:focus { background: var(--hw-primary-dark); color: #fff; }
  .content-section, .download-cta { padding: 3rem 0; }
  .mini-feature, .benefit-card, .feature-card { padding: 1.3rem; }
}

@media (max-width: 575.98px) {
  .home-hero { padding-top: 7rem; padding-bottom: 3.75rem; }
  .section-header { margin-bottom: 1.5rem; }
  .section-copy { margin-top: .8rem; }
  .coming-card { padding: 1.5rem; }
}

/* About Us page: scoped styles for Version 1. */
.about-hero { padding-top: 6.5rem; padding-bottom: 4.75rem; background: linear-gradient(135deg, #40378d 0%, #332a78 100%); }
.about-hero-copy { max-width: 42rem; margin: 1.25rem 0 0; color: #f1effb; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.about-hero-visual { position: relative; width: min(18rem, 76vw); aspect-ratio: 1; margin: 0 auto; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.13), rgba(255,255,255,.02) 68%); }
.about-hero-visual::before, .about-hero-visual::after { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; }
.about-hero-visual::before { inset: 14%; }
.about-hero-visual::after { inset: 30%; }
.about-hero-visual > span, .about-hero-visual > strong { position: absolute; display: grid; place-items: center; border-radius: 50%; }
.about-hero-visual > span { width: 3.35rem; height: 3.35rem; background: var(--hw-lavender); color: var(--hw-primary); box-shadow: 0 8px 18px rgba(26,20,73,.2); font-size: 1.2rem; }
.about-hero-visual > span:nth-child(1) { top: 7%; left: 18%; }
.about-hero-visual > span:nth-child(2) { top: 18%; right: 8%; }
.about-hero-visual > span:nth-child(3) { bottom: 10%; left: 22%; }
.about-hero-visual > strong { inset: 34%; display: grid; align-content: center; justify-items: center; gap: .25rem; background: #fff; color: var(--hw-primary); box-shadow: 0 12px 25px rgba(26,20,73,.22); text-align: center; }
.about-logo-mark { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 50%; background: var(--hw-primary); }
.about-logo-mark .brand-logo { width: 1.45rem; height: 1.45rem; }
.about-hero-visual > strong > span:last-child { font-size: .72rem; line-height: 1.05; }
.about-intro-copy { margin-top: 0; font-size: 1.05rem; line-height: 1.7; }
.about-purpose-section .section-header { max-width: 48rem; margin-right: auto; margin-left: auto; }
.about-purpose-section .section-copy { margin-right: auto; margin-left: auto; }

@media (max-width: 991.98px) {
  .about-hero { padding-top: 6rem; padding-bottom: 4rem; }
}

@media (max-width: 575.98px) {
  .about-hero { padding-top: 5.75rem; padding-bottom: 3.5rem; }
  .about-hero-visual { width: min(16rem, 72vw); }
}

/* Feature layout: cards keep their natural height on larger screens. */
@media (max-width: 991.98px) {
  .features-layout { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  .feature-column { display: contents; }
  .features-layout .feature-card { width: 100%; }
  .feature-column-main .feature-card:nth-child(1) { order: 1; }
  .feature-column .feature-card:nth-child(1) { order: 2; }
  .feature-column-main .feature-card:nth-child(2) { order: 3; }
  .feature-column .feature-card:nth-child(2) { order: 4; }
  .feature-column-main .feature-card:nth-child(3) { order: 5; }
}

/* Contact Us page: scoped Version 1 implementation. */
.contact-hero {
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
  background: linear-gradient(135deg, #40378d 0%, #332a78 100%);
}
.contact-hero-copy {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: #f1effb;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.contact-hero-visual {
  position: relative;
  width: min(17rem, 72vw);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.13), rgba(255,255,255,.02) 68%);
}
.contact-hero-visual::before,
.contact-hero-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  content: "";
}
.contact-hero-visual::before { inset: 15%; }
.contact-hero-visual::after { inset: 31%; }
.contact-orbit,
.contact-hero-visual > strong {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.contact-orbit {
  width: 3.35rem;
  height: 3.35rem;
  background: var(--hw-lavender);
  color: var(--hw-primary);
  box-shadow: 0 8px 18px rgba(26,20,73,.2);
  font-size: 1.2rem;
}
.contact-orbit-one { top: 8%; left: 17%; }
.contact-orbit-two { top: 20%; right: 7%; }
.contact-orbit-three { bottom: 10%; left: 22%; }
.contact-hero-visual > strong {
  inset: 34%;
  background: #fff;
  color: var(--hw-primary);
  box-shadow: 0 12px 25px rgba(26,20,73,.22);
  font-size: 1.75rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  background: var(--hw-surface);
  box-shadow: var(--hw-shadow);
  color: var(--hw-text);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: #cbc6e6;
  box-shadow: 0 16px 30px rgba(47, 40, 111, .1);
  color: var(--hw-text);
}
.contact-card:focus-visible {
  outline: 3px solid rgba(64, 55, 141, .22);
  outline-offset: 3px;
}
.contact-icon {
  display: grid;
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: .85rem;
  background: var(--hw-lavender);
  color: var(--hw-primary);
  font-size: 1.35rem;
  transition: transform .2s ease;
}
.contact-card:hover .contact-icon { transform: scale(1.06); }
.contact-card-copy {
  display: grid;
  gap: .2rem;
  min-width: 0;
}
.contact-card-title {
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -.01em;
}
.contact-card-detail {
  color: var(--hw-muted);
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.contact-card-arrow {
  margin-left: auto;
  color: var(--hw-primary);
  font-size: 1.05rem;
  transition: transform .2s ease;
}
.contact-card:hover .contact-card-arrow { transform: translateX(3px); }

.support-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(64, 55, 141, .08);
  border-radius: var(--hw-radius);
  background: rgba(255, 255, 255, .82);
}
.support-detail-card h3 {
  margin: .15rem 0 .35rem;
  font-size: 1.15rem;
  font-weight: 750;
}
.support-detail-card p {
  margin: 0;
  color: #514e5d;
}

.contact-faq {
  max-width: 52rem;
}
.contact-faq .accordion-item {
  overflow: hidden;
  border: 1px solid var(--hw-border);
  border-radius: .9rem;
  background: var(--hw-surface);
  box-shadow: 0 8px 20px rgba(47, 40, 111, .05);
}
.contact-faq .accordion-item + .accordion-item {
  margin-top: .85rem;
}
.contact-faq .accordion-button {
  padding: 1.05rem 1.2rem;
  background: var(--hw-surface);
  color: var(--hw-text);
  font-weight: 700;
  box-shadow: none;
}
.contact-faq .accordion-button:not(.collapsed) {
  background: #f7f6fd;
  color: var(--hw-primary);
}
.contact-faq .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(64, 55, 141, .15);
}
.contact-faq .accordion-body {
  padding: 0 1.2rem 1.2rem;
  color: #514e5d;
}

@media (max-width: 991.98px) {
  .contact-hero {
    padding-top: 5rem;
    padding-bottom: 3.75rem;
  }
}
@media (max-width: 575.98px) {
  .contact-hero {
    padding-top: 5.25rem;
    padding-bottom: 3.25rem;
  }
  .contact-hero-visual {
    width: min(15rem, 68vw);
  }
  .contact-card,
  .support-detail-card {
    padding: 1.2rem;
  }
}


/* Cross-page header consistency and Contact FAQ refinement. */
.about-page .site-header,
.contact-page .site-header {
  position: fixed;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
}

.about-page .site-header.is-scrolled,
.contact-page .site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--hw-border);
  box-shadow: 0 6px 18px rgba(36, 30, 87, .08);
  backdrop-filter: blur(12px);
}

.about-page .site-header:not(.is-scrolled) .navbar-brand,
.about-page .site-header:not(.is-scrolled) .nav-link,
.contact-page .site-header:not(.is-scrolled) .navbar-brand,
.contact-page .site-header:not(.is-scrolled) .nav-link {
  color: #fff;
}

.about-page .site-header:not(.is-scrolled) .nav-link:hover,
.about-page .site-header:not(.is-scrolled) .nav-link:focus,
.contact-page .site-header:not(.is-scrolled) .nav-link:hover,
.contact-page .site-header:not(.is-scrolled) .nav-link:focus {
  color: #f1effb;
}

.about-page .site-header:not(.is-scrolled) .navbar-toggler,
.contact-page .site-header:not(.is-scrolled) .navbar-toggler {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.about-page .site-header:not(.is-scrolled) .nav-download,
.contact-page .site-header:not(.is-scrolled) .nav-download {
  border-color: #fff;
  background: #fff;
  color: var(--hw-primary-dark);
}

.about-page .site-header:not(.is-scrolled) .nav-download:hover,
.about-page .site-header:not(.is-scrolled) .nav-download:focus,
.contact-page .site-header:not(.is-scrolled) .nav-download:hover,
.contact-page .site-header:not(.is-scrolled) .nav-download:focus {
  border-color: var(--hw-lavender);
  background: var(--hw-lavender);
  color: var(--hw-primary-dark);
}

/* Keep mobile navigation readable even while the page header is transparent. */
@media (max-width: 991.98px) {
  .about-page .site-header:not(.is-scrolled) .navbar-collapse .nav-link,
  .contact-page .site-header:not(.is-scrolled) .navbar-collapse .nav-link {
    color: var(--hw-text);
  }

  .about-page .site-header:not(.is-scrolled) .navbar-collapse .nav-link:hover,
  .about-page .site-header:not(.is-scrolled) .navbar-collapse .nav-link:focus,
  .contact-page .site-header:not(.is-scrolled) .navbar-collapse .nav-link:hover,
  .contact-page .site-header:not(.is-scrolled) .navbar-collapse .nav-link:focus {
    color: var(--hw-primary);
  }
}

.contact-faq .accordion-collapse {
  transition: height .28s ease;
}

.contact-faq .accordion-body {
  padding: 1rem 1.2rem 1.2rem;
}
