/* Public website — elevated visuals & motion (Shivpriya Tower) */

:root {

  --pub-ease: cubic-bezier(.22, 1, .36, 1);

  --pub-ease-soft: cubic-bezier(.33, 1, .68, 1);

}



/* —— Header —— */

.site-header {

  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease, padding .35s ease;

}

.site-header.is-scrolled {

  background: rgba(255, 255, 255, .94);

  box-shadow: 0 12px 40px rgba(18, 59, 93, .08);

  border-bottom-color: rgba(18, 59, 93, .12);

}

.nav-public a {

  position: relative;

  transition: color .25s ease, transform .25s var(--pub-ease);

}

.nav-public a:not(.btn-gold)::after {

  content: "";

  position: absolute;

  left: 0; right: 0; bottom: -4px;

  height: 2px;

  background: linear-gradient(90deg, var(--gold), var(--navy));

  transform: scaleX(0);

  transform-origin: left;

  transition: transform .35s var(--pub-ease);

  border-radius: 2px;

}

.nav-public a:not(.btn-gold):hover::after,

.nav-public a:not(.btn-gold).is-active::after {

  transform: scaleX(1);

}

.nav-public a:not(.btn-gold):hover {

  transform: translateY(-1px);

  color: var(--navy-2);

}

.nav-public .btn-gold {

  transition: transform .3s var(--pub-ease), box-shadow .3s ease, filter .3s ease;

}

.nav-public .btn-gold:hover {

  transform: translateY(-2px) scale(1.02);

  filter: brightness(1.04);

  box-shadow: 0 14px 32px rgba(217, 164, 65, .35);

}



/* —— Home hero: one composition, brand-first —— */

.hero.hero-home {

  min-height: min(100vh, 920px);

  padding: 96px 0 108px;

  background:

    linear-gradient(115deg, rgba(247, 250, 252, .97) 0%, rgba(238, 244, 247, .78) 38%, rgba(18, 59, 93, .22) 100%),

    linear-gradient(165deg, #F8FAFC 0%, #e2eff3 46%, #c5dde4 100%);

}

.hero.hero-home::before {

  opacity: .7;

  animation: hero-grid-drift 40s linear infinite;

}

.hero-mesh {

  position: absolute;

  inset: 0;

  pointer-events: none;

  z-index: 0;

  overflow: hidden;

}

.hero-mesh__orb {

  position: absolute;

  border-radius: 50%;

  filter: blur(2px);

  opacity: .55;

  animation: mesh-float 14s var(--pub-ease-soft) infinite;

}

.hero-mesh__orb--a {

  width: min(520px, 70vw);

  height: min(520px, 70vw);

  right: -8%;

  top: -12%;

  background: radial-gradient(circle, rgba(37, 99, 166, .28), transparent 68%);

}

.hero-mesh__orb--b {

  width: min(380px, 55vw);

  height: min(380px, 55vw);

  left: -10%;

  bottom: -18%;

  background: radial-gradient(circle, rgba(217, 164, 65, .2), transparent 70%);

  animation-delay: -4s;

  animation-duration: 18s;

}

.hero-mesh__skyline {

  position: absolute;

  right: 4%;

  bottom: 8%;

  width: min(420px, 48vw);

  height: min(280px, 38vh);

  opacity: .22;

  background:

    linear-gradient(180deg, transparent 0%, rgba(18, 59, 93, .08) 100%),

    repeating-linear-gradient(

      90deg,

      transparent 0 18px,

      rgba(18, 59, 93, .35) 18px 20px,

      transparent 20px 34px,

      rgba(10, 72, 82, .4) 34px 36px,

      transparent 36px 52px,

      rgba(18, 59, 93, .28) 52px 54px

    );

  clip-path: polygon(

    0% 100%, 0% 58%, 8% 58%, 8% 42%, 16% 42%, 16% 55%, 24% 55%, 24% 28%,

    36% 28%, 36% 48%, 44% 48%, 44% 18%, 56% 18%, 56% 40%, 64% 40%, 64% 32%,

    76% 32%, 76% 52%, 86% 52%, 86% 22%, 100% 22%, 100% 100%

  );

  animation: skyline-rise 1.4s var(--pub-ease) both;

}

@keyframes mesh-float {

  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }

  50% { transform: translate3d(-18px, 22px, 0) scale(1.06); }

}

@keyframes skyline-rise {

  from { opacity: 0; transform: translateY(28px); }

  to { opacity: .22; transform: translateY(0); }

}



.hero-home .hero-compose {

  max-width: 680px;

}

.hero-home .hero-logo.brand {

  margin-bottom: 1.25rem;

}

.hero-home .hero-logo .brand-logo {

  width: 88px;

  height: 100px;

  border-radius: 18px;

  box-shadow: 0 16px 40px rgba(18, 59, 93, .18);

  animation: logo-settle 1s var(--pub-ease) both;

}

@keyframes logo-settle {

  from { opacity: 0; transform: translateY(16px) scale(.92); }

  to { opacity: 1; transform: none; }

}

.hero-home h1 {

  max-width: none;

  font-size: clamp(3rem, 8vw, 5.6rem);

  letter-spacing: -.02em;

}

.hero-home .tagline {

  font-size: clamp(1.15rem, 2.2vw, 1.45rem);

  max-width: 28ch;

  line-height: 1.45;

}

.hero-actions .btn-gold,

.hero-actions .btn-ghost {

  min-width: 168px;

}

.hero-actions .btn-ghost:hover {

  background: #fff;

  border-color: rgba(18, 59, 93, .35);

  color: var(--navy-2);

}



/* —— Page heroes (inner public pages) —— */

.page-hero {

  position: relative;

  overflow: hidden;

  min-height: 42vh;

  padding: 72px 0 64px;

  display: grid;

  align-items: end;

  background:

    linear-gradient(125deg, rgba(247, 250, 252, .96) 0%, rgba(226, 239, 243, .85) 55%, rgba(18, 59, 93, .2) 100%),

    linear-gradient(180deg, #F8FAFC, #dcebef);

}

.page-hero::before {

  content: "";

  position: absolute;

  inset: 0;

  background-image:

    linear-gradient(rgba(18, 59, 93, .04) 1px, transparent 1px),

    linear-gradient(90deg, rgba(18, 59, 93, .04) 1px, transparent 1px);

  background-size: 48px 48px;

  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 85%);

  pointer-events: none;

}

.page-hero .wrap {

  position: relative;

  z-index: 1;

  width: min(1180px, calc(100% - 32px));

  margin: 0 auto;

}

.page-hero h1 {

  font-family: var(--font-serif);

  font-size: clamp(2.4rem, 5vw, 3.8rem);

  color: var(--navy-2);

  margin: .35rem 0 .5rem;

  line-height: 1.05;

  max-width: 18ch;

}

.page-hero .tagline {

  font-size: 1.15rem;

  color: var(--muted);

  max-width: 42ch;

  margin: 0;

}



/* —— Sections —— */

.section {

  position: relative;

}

.section-head {

  margin-bottom: 2rem;

  max-width: 40rem;

}

.section--band {

  background:

    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(238, 244, 247, .9));

}

.section--deep {

  background:

    linear-gradient(160deg, #0E2F4A 0%, #123B5D 48%, #126a76 100%);

  color: rgba(255, 255, 255, .9);

}

.section--deep .section-title,

.section--deep .eyebrow {

  color: #fff;

}

.section--deep .eyebrow { color: var(--gold-2); }

.section--deep .lead { color: rgba(255, 255, 255, .78); }



/* —— Snapshot strip —— */

.snap-strip {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;

  margin-top: -48px;

  position: relative;

  z-index: 3;

}

.snap-item {

  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 20px 22px;

  box-shadow: var(--shadow);

  transition: transform .4s var(--pub-ease), box-shadow .4s ease, border-color .35s ease;

}

.snap-item:hover {

  transform: translateY(-6px);

  box-shadow: 0 22px 48px rgba(18, 59, 93, .12);

  border-color: rgba(37, 99, 166, .35);

}

.snap-item .label {

  display: block;

  font-size: .72rem;

  letter-spacing: .14em;

  text-transform: uppercase;

  font-weight: 800;

  color: var(--muted);

  margin-bottom: 6px;

}

.snap-item strong {

  font-family: var(--font-serif);

  font-size: 1.65rem;

  color: var(--navy-2);

  line-height: 1.15;

}

.snap-item small {

  display: block;

  margin-top: 4px;

  color: var(--muted);

  font-size: .85rem;

}



/* —— Feature tiles —— */

.feature-tile {

  display: flex;

  flex-direction: column;

  height: 100%;

  text-decoration: none;

  color: inherit;

  padding: 26px 24px;

  background: linear-gradient(165deg, #fff 0%, #f5fafb 100%);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  transition: transform .45s var(--pub-ease), box-shadow .45s ease, border-color .35s ease;

  position: relative;

  overflow: hidden;

}

.feature-tile::before {

  content: "";

  position: absolute;

  inset: 0 auto 0 0;

  width: 3px;

  background: linear-gradient(180deg, var(--gold), var(--navy));

  transform: scaleY(0);

  transform-origin: top;

  transition: transform .45s var(--pub-ease);

}

.feature-tile:hover {

  transform: translateY(-8px);

  box-shadow: 0 28px 56px rgba(18, 59, 93, .14);

  border-color: rgba(18, 59, 93, .28);

  color: inherit;

}

.feature-tile:hover::before { transform: scaleY(1); }

.feature-tile .icon-blob {

  transition: transform .45s var(--pub-ease), background .35s ease, color .35s ease;

}

.feature-tile:hover .icon-blob {

  transform: scale(1.08) rotate(-4deg);

  background: rgba(217, 164, 65, .16);

  color: var(--navy-2);

}

.feature-tile h3 {

  font-family: var(--font-serif);

  font-size: 1.35rem;

  margin: 0 0 8px;

  color: var(--navy-2);

}

.feature-tile p {

  color: var(--muted);

  flex: 1;

  margin: 0 0 14px;

}

.feature-tile .tile-link {

  font-weight: 750;

  color: var(--navy);

  letter-spacing: .02em;

  transition: transform .35s var(--pub-ease), color .25s ease;

  display: inline-flex;

  align-items: center;

  gap: 6px;

}

.feature-tile:hover .tile-link {

  color: var(--navy-2);

  transform: translateX(4px);

}



/* —— Committee / amenity polish —— */

.committee-card,

.amenity {

  transition: transform .45s var(--pub-ease), box-shadow .45s ease, border-color .35s ease;

}

.committee-card:hover,

.amenity:hover {

  transform: translateY(-8px);

}

.committee-card img,

.committee-card .avatar-lg {

  transition: transform .5s var(--pub-ease), box-shadow .4s ease;

}

.committee-card:hover img,

.committee-card:hover .avatar-lg {

  transform: scale(1.05);

  box-shadow: 0 12px 28px rgba(18, 59, 93, .18);

}



/* —— Emergency —— */

.emergency-tile {

  background: rgba(255, 255, 255, .07);

  border: 1px solid rgba(255, 255, 255, .14);

  border-radius: var(--radius);

  padding: 22px;

  transition: transform .4s var(--pub-ease), background .35s ease, border-color .35s ease;

}

.emergency-tile:hover {

  transform: translateY(-5px);

  background: rgba(255, 255, 255, .12);

  border-color: rgba(217, 164, 65, .45);

}

.emergency-tile h3 {

  color: #fff;

  font-size: .95rem;

  margin: 0 0 6px;

  letter-spacing: .04em;

  text-transform: uppercase;

  opacity: .85;

}

.emergency-tile .num {

  font-family: var(--font-serif);

  font-size: 2rem;

  font-weight: 700;

  color: var(--gold-2);

  margin: 0;

}

.emergency-tile a {

  color: var(--gold-2);

  font-weight: 700;

}



/* —— Map / contact —— */

.map-shell {

  border-radius: calc(var(--radius) + 4px);

  overflow: hidden;

  border: 1px solid var(--line);

  box-shadow: var(--shadow-lg);

  transition: transform .45s var(--pub-ease), box-shadow .45s ease;

}

.map-shell:hover {

  transform: translateY(-4px);

  box-shadow: 0 28px 60px rgba(18, 59, 93, .14);

}

.map-shell .map-embed {

  display: block;

  width: 100%;

  min-height: 360px;

  border: 0;

}

.cta-band {

  text-align: center;

  padding: 72px 0;

  background:

    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(217, 164, 65, .12), transparent 55%),

    linear-gradient(180deg, #fff, var(--canvas));

}

.cta-band .btn-gold {

  transition: transform .35s var(--pub-ease), box-shadow .35s ease;

}

.cta-band .btn-gold:hover {

  transform: translateY(-3px) scale(1.03);

}



/* —— Form focus polish —— */

.card-st .form-control {

  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;

}

.card-st .form-control:focus {

  border-color: rgba(18, 59, 93, .45);

  box-shadow: 0 0 0 4px rgba(18, 59, 93, .12);

}



/* —— Footer —— */

.site-footer {

  background:

    linear-gradient(180deg, #0E2F4A 0%, #083840 100%);

  position: relative;

  overflow: hidden;

}

.site-footer::before {

  content: "";

  position: absolute;

  inset: 0;

  background-image:

    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);

  background-size: 48px 48px;

  opacity: .5;

  pointer-events: none;

}

.site-footer a {

  transition: color .25s ease, transform .25s ease;

  display: inline-block;

}

.site-footer a:hover {

  color: #fff;

  transform: translateX(3px);

}

.site-footer .footer-grid {

  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 28px;

  position: relative;

  z-index: 1;

}

@media (max-width: 991px) {

  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 600px) {

  .site-footer .footer-grid { grid-template-columns: 1fr; }

}



/* —— Reveal motion —— */

.reveal {

  opacity: 0;

  transform: translateY(28px);

  transition: opacity .8s var(--pub-ease), transform .8s var(--pub-ease);

  transition-delay: var(--reveal-delay, 0ms);

}

.reveal.is-visible {

  opacity: 1;

  transform: none;

}

@media (prefers-reduced-motion: reduce) {

  .reveal { opacity: 1; transform: none; transition: none; }

  .hero-mesh__orb,

  .hero::before,

  .hero-mesh__skyline { animation: none !important; }

}



/* —— Responsive —— */

@media (max-width: 991px) {

  .snap-strip { grid-template-columns: repeat(2, 1fr); margin-top: -28px; }

  .hero-mesh__skyline { opacity: .12; right: -4%; }

}

@media (max-width: 640px) {

  .snap-strip { grid-template-columns: 1fr 1fr; gap: 10px; }

  .snap-item { padding: 14px 16px; }

  .snap-item strong { font-size: 1.25rem; }

  .hero.hero-home { min-height: auto; padding: 64px 0 72px; }

  .page-hero { min-height: auto; padding: 56px 0 48px; }

}



/* —— Policy & contact pages —— */

.page-hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-hero--contact {
  background:
    linear-gradient(125deg, rgba(13, 92, 104, .92) 0%, rgba(18, 59, 93, .88) 55%, rgba(15, 23, 42, .95) 100%);
  min-height: 44vh;
  align-items: center;
}

.page-hero--contact::before { opacity: .25; }

.page-hero--contact h1,
.page-hero--contact .hero-kicker,
.page-hero--contact .tagline { color: #fff; }

.page-hero--contact .tagline { opacity: .88; }

.page-hero--legal,
.page-hero--refund {
  background:
    linear-gradient(135deg, #0E2F4A 0%, #123B5D 42%, #0D5C68 100%);
  min-height: 40vh;
  align-items: end;
}

.page-hero--legal::before,
.page-hero--refund::before { opacity: .18; }

.page-hero--legal h1,
.page-hero--legal .hero-kicker,
.page-hero--legal .tagline,
.page-hero--refund h1,
.page-hero--refund .hero-kicker,
.page-hero--refund .tagline { color: #fff; }

.page-hero--legal .tagline,
.page-hero--refund .tagline { opacity: .85; max-width: 48ch; }

.policy-effective {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: .85rem 0 0;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  font-size: .82rem;
  font-weight: 600;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.contact-quick-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  border: 1px solid rgba(18, 59, 93, .08);
  box-shadow: 0 18px 44px rgba(18, 59, 93, .1);
  transition: transform .35s var(--pub-ease), box-shadow .35s ease;
}

.contact-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(18, 59, 93, .14);
}

.contact-quick-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 92, 104, .14), rgba(217, 164, 65, .18));
  color: var(--navy-2);
  font-size: 1.15rem;
  margin-bottom: .65rem;
}

.contact-quick-card h2 {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy-2);
  margin-bottom: .35rem;
}

.contact-quick-card p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.contact-quick-card a { color: var(--teal, #0D5C68); font-weight: 600; }

.contact-form-intro .section-title { margin-bottom: .65rem; }

.contact-form-tips {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: .55rem;
}

.contact-form-tips li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .9rem;
  color: var(--muted);
}

.contact-form-tips i { color: var(--gold); flex: none; margin-top: .1rem; }

.contact-form-card {
  padding: 28px 26px;
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(18, 59, 93, .12);
}

.contact-form-card .form-label i {
  margin-right: .35rem;
  color: var(--gold);
  opacity: .9;
}

.contact-emergency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.contact-emergency-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(18, 59, 93, .08);
  box-shadow: 0 10px 28px rgba(18, 59, 93, .06);
}

.contact-emergency-card strong {
  display: block;
  font-size: .92rem;
  color: var(--navy-2);
}

.contact-emergency-card span {
  display: block;
  font-size: .78rem;
  color: var(--muted);
}

.contact-emergency-card--official {
  background: linear-gradient(135deg, #0E2F4A, #123B5D);
  border: none;
}

.contact-emergency-card--official strong,
.contact-emergency-card--official span { color: rgba(255, 255, 255, .92); }

.contact-emergency-official {
  display: flex;
  gap: .5rem;
}

.contact-emergency-official span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 .45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  color: #fff !important;
  font-weight: 800;
  font-size: .85rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 980px;
}

.policy-toc {
  position: sticky;
  top: 96px;
  padding: 18px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(18, 59, 93, .08);
  box-shadow: 0 12px 32px rgba(18, 59, 93, .06);
}

.policy-toc__title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .65rem;
}

.policy-toc a {
  display: block;
  padding: .35rem 0;
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy-2);
  border-left: 2px solid transparent;
  padding-left: .55rem;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.policy-toc a:hover {
  color: var(--teal, #0D5C68);
  border-left-color: var(--gold);
  transform: translateX(2px);
}

.policy-doc {
  padding: 32px 34px;
  border-radius: 20px;
}

.legal-doc h2 {
  font-size: 1.15rem;
  margin: 0 0 .55rem;
  color: #0c1b33;
}

.legal-doc h3 {
  font-size: 1rem;
  margin: 1rem 0 .4rem;
  color: #0d5c68;
}

.legal-doc ul {
  padding-left: 1.15rem;
  margin-bottom: 0;
}

.legal-doc li {
  margin-bottom: .4rem;
  line-height: 1.5;
}

.legal-doc code {
  font-size: .86em;
  padding: .1rem .35rem;
  border-radius: 4px;
  background: rgba(13, 92, 104, .08);
  color: #0d5c68;
}

.legal-section {
  position: relative;
  padding: 1.25rem 0 1.25rem 3.2rem;
  border-bottom: 1px solid rgba(18, 59, 93, .08);
}

.legal-section:last-child { border-bottom: 0; padding-bottom: 0; }

.legal-section__num {
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #0E2F4A, #0D5C68);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.policy-highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border: 1px solid rgba(184, 137, 47, .35);
}

.policy-highlight--teal {
  background: linear-gradient(135deg, #ECFEFF, #E0F2F1);
  border-color: rgba(13, 92, 104, .25);
}

.policy-highlight i {
  font-size: 1.35rem;
  color: var(--gold);
  flex: none;
  margin-top: .1rem;
}

.policy-highlight--teal i { color: #0D5C68; }

.policy-highlight strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--navy-2);
}

.policy-highlight p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.45;
}

.policy-steps {
  display: grid;
  gap: 10px;
}

.policy-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(241, 245, 249, .85);
}

.policy-step span {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0D5C68;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.policy-step p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.45;
}

.policy-timeline {
  display: grid;
  gap: 8px;
}

.policy-timeline > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(241, 245, 249, .9);
  font-size: .88rem;
}

.policy-timeline strong { color: var(--navy-2); white-space: nowrap; }

.policy-timeline span { color: var(--muted); text-align: right; }

.legal-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.legal-footer-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: 18px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(18, 59, 93, .08);
  box-shadow: 0 10px 28px rgba(18, 59, 93, .06);
  text-decoration: none;
  color: var(--navy-2);
  font-weight: 700;
  font-size: .88rem;
  transition: transform .3s var(--pub-ease), box-shadow .3s ease, border-color .3s ease;
}

.legal-footer-nav__item i {
  font-size: 1.35rem;
  color: #0D5C68;
}

.legal-footer-nav__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(18, 59, 93, .12);
  border-color: rgba(217, 164, 65, .45);
  color: var(--navy-2);
}

@media (max-width: 991px) {
  .contact-quick-grid { grid-template-columns: repeat(2, 1fr); margin-top: -24px; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .65rem;
    padding: 14px;
  }
  .policy-toc__title { width: 100%; margin-bottom: .25rem; }
  .policy-toc a {
    display: inline-block;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: rgba(18, 59, 93, .06);
    border-left: 0;
    padding-left: .65rem;
  }
  .legal-footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .contact-quick-grid { grid-template-columns: 1fr; margin-top: 0; }
  .policy-doc { padding: 22px 18px; }
  .legal-section { padding-left: 0; padding-top: 3rem; }
  .legal-section__num { top: 1.15rem; }
  .policy-timeline > div { flex-direction: column; }
  .policy-timeline span { text-align: left; }
}

/* —— App download page —— */

.page-hero--app {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 88px 0 72px;
  background:
    linear-gradient(128deg, rgba(13, 92, 104, .94) 0%, rgba(18, 59, 93, .9) 48%, rgba(15, 23, 42, .96) 100%);
}

.page-hero--app::before { opacity: .22; }

.page-hero--app h1,
.page-hero--app .hero-kicker,
.page-hero--app .tagline { color: #fff; }

.page-hero--app .tagline { opacity: .9; max-width: 38ch; }

.app-hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 20%;
  background: radial-gradient(circle, rgba(217, 164, 65, .35), transparent 68%);
  filter: blur(8px);
  animation: app-glow-pulse 8s ease-in-out infinite;
}

@keyframes app-glow-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.08); }
}

.app-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 48px;
  align-items: center;
}

.app-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1.35rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  font-size: .84rem;
  font-weight: 600;
}

.app-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.app-store-badges--center {
  justify-content: center;
  margin-top: 1.25rem;
}

.store-badge-link {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
  transition: transform .35s var(--pub-ease), box-shadow .35s ease, filter .35s ease;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .28));
}

.store-badge-link:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, .35));
}

.store-badge-link img {
  display: block;
  height: auto;
  max-width: 100%;
}

.store-badge-link--lg img { width: min(220px, 42vw); }

.app-phone-showcase {
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.app-phone-frame {
  width: min(280px, 78vw);
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, .45),
    inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .6s var(--pub-ease);
}

.app-phone-showcase:hover .app-phone-frame {
  transform: rotateY(0deg) rotateX(0deg);
}

.app-phone-notch {
  width: 38%;
  height: 22px;
  margin: 0 auto 8px;
  border-radius: 0 0 14px 14px;
  background: #0f172a;
}

.app-phone-screen {
  height: calc(100% - 30px);
  border-radius: 26px;
  background: linear-gradient(180deg, #f8fafc 0%, #e2eff3 100%);
  padding: 14px 16px 18px;
  overflow: hidden;
}

.app-phone-status {
  display: flex;
  justify-content: space-between;
  font-size: .65rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 18px;
}

.app-phone-brand {
  text-align: center;
  margin-bottom: 20px;
}

.app-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal, #0D5C68), var(--navy, #123B5D));
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 8px;
  box-shadow: 0 12px 28px rgba(13, 92, 104, .35);
}

.app-phone-brand strong {
  display: block;
  font-size: .95rem;
  color: var(--navy, #123B5D);
}

.app-phone-brand small {
  color: #64748b;
  font-size: .72rem;
}

.app-phone-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-phone-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(18, 59, 93, .08);
  font-size: .78rem;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 8px 20px rgba(18, 59, 93, .06);
}

.app-phone-menu li i {
  color: var(--teal, #0D5C68);
  font-size: 1rem;
}

.app-download-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  padding: 22px 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(18, 59, 93, .08);
  box-shadow: 0 22px 50px rgba(18, 59, 93, .12);
}

.app-role-grid { margin-top: 8px; }

.app-role-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px;
  border: 1px solid rgba(18, 59, 93, .08);
  box-shadow: 0 16px 40px rgba(18, 59, 93, .08);
  height: 100%;
  transition: transform .35s var(--pub-ease), box-shadow .35s ease;
}

.app-role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(18, 59, 93, .12);
}

.app-role-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #fff;
}

.app-role-card__icon--member { background: linear-gradient(135deg, #0D5C68, #14b8a6); }
.app-role-card__icon--admin { background: linear-gradient(135deg, #123B5D, #2563eb); }
.app-role-card__icon--security { background: linear-gradient(135deg, #b45309, #d9a441); }

.app-role-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy, #123B5D);
}

.app-role-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #475569;
  font-size: .92rem;
  line-height: 1.55;
}

.app-role-card li + li { margin-top: .35rem; }

.app-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 1.5rem;
}

.app-feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: #334155;
}

.app-feature-list__item i {
  color: var(--teal, #0D5C68);
  font-size: 1.1rem;
  margin-top: 2px;
}

.app-steps-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 26px;
  border: 1px solid rgba(18, 59, 93, .08);
  box-shadow: 0 20px 48px rgba(18, 59, 93, .1);
}

.app-steps {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  counter-reset: app-step;
}

.app-steps li {
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1.15rem;
  counter-increment: app-step;
}

.app-steps li::before {
  content: counter(app-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold, #d9a441), #f0c674);
  color: #1e293b;
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-steps li strong {
  display: block;
  color: var(--navy, #123B5D);
  margin-bottom: .2rem;
}

.app-steps li span {
  display: block;
  font-size: .92rem;
  color: #64748b;
  line-height: 1.5;
}

.app-steps li a { font-weight: 600; }

.app-store-links-section { padding-bottom: 88px; }

@media (max-width: 991px) {
  .app-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .page-hero--app .tagline { margin-left: auto; margin-right: auto; }
  .app-store-badges--hero,
  .app-store-badges--strip { justify-content: center; }
  .app-phone-showcase { order: -1; }
  .app-phone-frame { transform: none; width: min(240px, 70vw); }
  .app-download-strip { margin-top: 0; flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .page-hero--app { min-height: auto; padding: 64px 0 48px; }
  .app-store-badges { gap: 12px; }
  .store-badge-link img { width: min(168px, 44vw) !important; }
}

/* THEME_PUBLIC_OVERRIDES */
.site-header.is-scrolled {
  background: var(--primary);
  box-shadow: 0 12px 40px rgba(18, 59, 93, .22);
  border-bottom-color: rgba(255, 255, 255, .1);
}
.nav-public a:not(.btn-gold)::after {
  background: linear-gradient(90deg, var(--highlight), #fff);
}
.nav-public a:not(.btn-gold):hover,
.nav-public a:not(.btn-gold).is-active {
  color: var(--highlight);
}
.hero.hero-home {
  background:
    linear-gradient(115deg, rgba(248, 250, 252, .97) 0%, rgba(245, 247, 250, .82) 38%, rgba(18, 59, 93, .18) 100%),
    linear-gradient(165deg, #F8FAFC 0%, #EEF2F7 46%, #DCE6F0 100%);
}
.hero-mesh__orb--a {
  background: radial-gradient(circle, rgba(37, 99, 166, .22), transparent 68%);
}
