/* Steady Group — main stylesheet (navy / teal / warm sand editorial system) */

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a192f;
  --navy-2: #112240;
  --navy-border: #1e293b;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-bright: #2dd4bf;
  --sand: #f7f5f0;
  --ink: #0a192f;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #e2e8f0;
  --rose: #be123c;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: 80rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.container.narrow { max-width: 56rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  padding: 13px 26px; font-size: 14px; font-weight: 600; font-family: var(--font-body);
  border: 0; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--teal); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid rgba(10,25,47,.2); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost-light:hover { border-color: var(--teal-bright); color: var(--teal-bright); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.brand-logo { height: 48px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--navy); transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--teal); }
.nav-cta { padding: 10px 20px; }
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }

@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px;
  }
  .nav-open .main-nav { display: flex; }
  .nav-link { padding: 10px 12px; border-radius: 8px; }
  .nav-link.is-active { background: var(--sand); }
  .nav-cta { margin-top: 8px; text-align: center; justify-content: center; }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Type helpers ---------- */
.overline {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal-dark); font-weight: 600;
}
.overline-teal { color: var(--teal-bright); }
.section-title { font-size: clamp(24px, 3.2vw, 38px); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; max-width: 40rem; }
.body-text { color: var(--muted); font-size: 16px; line-height: 1.75; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: var(--teal); margin-top: 22px;
}
.link-arrow:hover { color: var(--teal-dark); }
.link-arrow .arrow { transition: transform .2s; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { padding: 60px 0 90px; }
.hero-grid { display: grid; gap: 52px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 30px; } }
.hero-title {
  margin-top: 20px; font-size: clamp(38px, 6vw, 60px); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.08;
}
.page-title-lg { font-size: clamp(36px, 5.4vw, 56px); }
.hero-sub { margin-top: 24px; max-width: 36rem; font-size: 17px; line-height: 1.7; color: var(--muted); }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas.center { justify-content: center; }
.hero-stats { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stats dt { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--navy); }
.hero-stats dd { margin: 2px 0 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }

.mask-line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.mask-line > span { display: block; transform: translateY(115%); animation: lineup .9s var(--ease) .15s forwards; }
.mask-line:nth-child(2) > span { animation-delay: .32s; }
@keyframes lineup { to { transform: translateY(0); } }

.hero-visual { perspective: 1200px; }
.tilt-frame { position: relative; transition: transform .35s ease-out; transform-style: preserve-3d; }
.hero-img { border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(10,25,47,.45); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.corner { position: absolute; width: 40px; height: 40px; pointer-events: none; z-index: 2; }
.corner-tl { top: -12px; left: -12px; border-left: 1px solid var(--teal); border-top: 1px solid var(--teal); }
.corner-br { bottom: -12px; right: -12px; border-right: 1px solid var(--teal); border-bottom: 1px solid var(--teal); }
.balance-card {
  position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.5); border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 14px 30px -10px rgba(10,25,47,.35);
}
.balance-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); }
.balance-row { margin-top: 6px; display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.balance-row strong { color: var(--navy); }
.balance-ok { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--teal-dark); }
.hero-coords {
  position: absolute; top: 14px; right: 16px; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.85);
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sand); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; white-space: nowrap; animation: marquee 48s linear infinite; }
.marquee-half { display: flex; align-items: center; }
.marquee-item { padding: 0 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); }
.marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.pt-0 { padding-top: 0; }
.section-sand { background: var(--sand); }
.section-border { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.section-head .section-title { margin-top: 14px; }
.section-head .link-arrow { margin-top: 0; }
.fade-up .section-title { margin-top: 14px; }

/* ---------- Pillars ---------- */
.pillars { margin-top: 52px; display: grid; gap: 40px; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border-top: 2px solid var(--navy); padding-top: 24px; transition: border-color .3s; }
.pillar:hover { border-color: var(--teal); }
.pillar h3 { font-size: 20px; font-weight: 600; }
.pillar p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .card-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.four { grid-template-columns: repeat(4, 1fr); } .card-grid.three { grid-template-columns: repeat(3, 1fr); } }
.card-grid.stretch { align-items: stretch; }
.service-card {
  position: relative; display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 28px; color: inherit; height: 100%;
  box-shadow: 0 1px 3px rgba(10,25,47,.06);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(13,148,136,.4); box-shadow: 0 18px 36px -16px rgba(10,25,47,.25); }
.card-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: #94a3b8; }
.service-card h3, .service-card h2 { margin-top: 16px; font-size: 19px; font-weight: 600; line-height: 1.35; font-family: var(--font-body); color: var(--navy); }
.service-card > p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.65; }
.service-card.tall { display: flex; flex-direction: column; }
.deliverables { margin-top: 18px; padding-top: 18px; border-top: 1px solid #f1f5f9; display: grid; gap: 8px; }
.deliverables li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--muted); }
.deliverables li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 12px; height: 7px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}
.service-card.is-hidden { display: none; }

/* ---------- Filter bar ---------- */
.filter-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sand); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 18px; }
.filter-chip {
  border-radius: 999px; padding: 9px 20px; font-size: 14px; font-weight: 500;
  background: #fff; color: var(--navy); border: 1px solid var(--line); cursor: pointer;
  font-family: var(--font-body); transition: background-color .2s, color .2s;
}
.filter-chip:hover { background: #f1f5f9; }
.filter-chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Page hero ---------- */
.page-hero { padding: 60px 0 56px; }
.page-title { font-size: clamp(32px, 4.5vw, 48px); font-weight: 700; letter-spacing: -.02em; }

/* ---------- Pricing ---------- */
.pricing-hero { position: relative; }
.plan-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 30px; height: 100%;
  box-shadow: 0 1px 3px rgba(10,25,47,.06);
  transition: transform .3s, box-shadow .3s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -16px rgba(10,25,47,.25); }
.plan-card h2 { font-size: 24px; font-weight: 600; }
.plan-featured {
  background: var(--navy); border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.plan-featured h2, .plan-featured h3, .plan-featured .plan-price .amount { color: #fff; }
.plan-featured .plan-tagline { color: #cbd5e1; }
.plan-featured .from, .plan-featured .per { color: #94a3b8; }
.badge-popular {
  display: inline-block; align-self: flex-start; margin-bottom: 14px; border-radius: 999px;
  background: rgba(20,184,166,.15); color: var(--teal-bright);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 12px;
}
.plan-price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .from, .plan-price .per { font-size: 14px; color: var(--muted-2); }
.plan-price .amount { font-family: var(--font-head); font-size: 46px; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.plan-mini { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; height: 100%; box-shadow: 0 1px 3px rgba(10,25,47,.06); transition: transform .3s, box-shadow .3s; }
.plan-mini:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -16px rgba(10,25,47,.25); }
.plan-mini.plan-featured { background-color: var(--navy); }
.plan-mini h3 { font-size: 20px; font-weight: 600; }
.plan-mini .plan-price .amount { font-size: 38px; }
.plan-tagline { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.65; }
.plan-toggle {
  margin-top: 20px; background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: var(--teal); font-family: var(--font-body);
}
.plan-toggle:hover { color: var(--teal-dark); }
.plan-featured .plan-toggle { color: var(--teal-bright); }
.plan-featured .plan-toggle:hover { color: #fff; }
.plan-toggle .chevron { transition: transform .3s; font-size: 12px; }
.plan-card.expanded .plan-toggle .chevron { transform: rotate(180deg); }
.plan-toggle .toggle-hide { display: none; }
.plan-card.expanded .toggle-hide { display: inline; }
.plan-card.expanded .toggle-show { display: none; }
.plan-features {
  max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), margin .3s, padding .3s;
  margin-top: 0; border-top: 1px solid transparent; display: grid;
}
.plan-card.expanded .plan-features { max-height: 460px; margin-top: 18px; padding-top: 18px; border-top-color: #f1f5f9; }
.plan-featured.expanded .plan-features { border-top-color: var(--navy-border); }
.plan-features li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--muted); margin-bottom: 9px; }
.plan-features li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 12px; height: 7px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}
.plan-featured .plan-features li { color: #cbd5e1; }
.plan-featured .plan-features li::before { border-color: var(--teal-bright); }
.plan-cta { margin-top: auto; justify-content: center; width: 100%; }
.plan-toggle, .plan-features { margin-bottom: 4px; }
.plan-card { padding-bottom: 30px; }
.plan-features { margin-bottom: 22px; }
.plan-card:not(.expanded) .plan-features { margin-bottom: 0; }
.plan-cta { margin-top: auto; }
.plan-card .plan-toggle { margin-bottom: 26px; }
.plan-card.expanded .plan-toggle { margin-bottom: 0; }

.quoted-list { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.quoted-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 22px; font-size: 14px; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.quoted-list li:last-child { border-bottom: 0; }
.quoted-tag { flex-shrink: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-dark); }
.fine-print { margin-top: 26px; font-size: 13px; color: var(--muted-2); line-height: 1.7; }
.section-sand .btn { margin-top: 24px; }

/* ---------- Split / framed images ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.framed { position: relative; }
.framed img { border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(10,25,47,.35); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.framed.wide img { aspect-ratio: 21/9; }
.fig-caption { margin-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #94a3b8; }
.quote-title { font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.35; }

/* ---------- Chapters (About) ---------- */
.chapters { margin-top: 36px; display: grid; gap: 72px; }
.chapter { display: grid; gap: 22px; border-top: 2px solid var(--navy); padding-top: 30px; }
@media (min-width: 640px) { .chapter { grid-template-columns: 120px 1fr; } }
.chapter-num { font-family: var(--font-head); font-size: 56px; font-weight: 700; color: rgba(13,148,136,.3); line-height: 1; }
.chapter h2 { font-size: 26px; font-weight: 600; }
.chapter p { margin-top: 18px; color: var(--muted); font-size: 16.5px; line-height: 1.8; }

/* ---------- CTA band ---------- */
.cta-band {
  background-color: var(--navy); padding: 84px 0; color: #cbd5e1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.cta-inner { max-width: 46rem; margin: 0 auto; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-top: 16px; }
.cta-inner p { margin-top: 18px; font-size: 16px; line-height: 1.75; color: #cbd5e1; }
.cta-split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-split h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); max-width: 36rem; }

/* ---------- Spotlight ---------- */
.spotlight { position: relative; border-radius: 22px; overflow: hidden; }
.spotlight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight-overlay { position: relative; padding: 90px 8%; background: rgba(10,25,47,.72); }
.spotlight-overlay h2 { color: #fff; font-size: clamp(22px, 3vw, 34px); max-width: 34rem; margin-top: 14px; }
.spotlight-overlay .btn { margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 56px; } }
.contact-panel {
  background-color: var(--navy); border-radius: 22px; padding: 38px; color: #cbd5e1; height: fit-content;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.contact-panel h2 { color: #fff; font-size: 24px; }
.contact-panel > p { margin-top: 12px; font-size: 14px; color: #94a3b8; line-height: 1.7; }
.contact-panel ul { margin-top: 28px; display: grid; gap: 16px; font-size: 14.5px; }
.contact-panel a { color: #cbd5e1; }
.contact-panel a:hover { color: #fff; }
.contact-note { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--navy-border); font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-bright); }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 38px; box-shadow: 0 1px 3px rgba(10,25,47,.06); }
.form-placeholder { font-size: 15px; color: var(--muted); line-height: 1.75; }
.form-placeholder code { background: var(--sand); padding: 2px 6px; border-radius: 6px; }

/* Fluent Forms styling */
.sg-form .ff-el-group label { font-weight: 600; font-size: 14px; color: var(--navy); }
.sg-form .ff-el-form-control,
.sg-form input[type="text"], .sg-form input[type="email"], .sg-form input[type="tel"],
.sg-form input[type="url"], .sg-form input[type="number"], .sg-form select, .sg-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px;
  font-size: 14px; font-family: var(--font-body); color: var(--navy); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.sg-form .ff-el-form-control:focus, .sg-form input:focus, .sg-form select:focus, .sg-form textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.18); outline: none;
}
.sg-form .ff-btn-submit, .sg-form button[type="submit"] {
  background: var(--navy) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px !important; padding: 14px 32px !important; font-size: 14px !important;
  font-weight: 600 !important; font-family: var(--font-body) !important; cursor: pointer;
  transition: background-color .2s !important;
}
.sg-form .ff-btn-submit:hover, .sg-form button[type="submit"]:hover { background: var(--teal) !important; }
.sg-form .ff-el-group { margin-bottom: 18px; }
.sg-form .ff-el-is-error .ff-el-form-control { border-color: var(--rose); }
.sg-form .ff-message-success, .sg-form .ff-message { border-radius: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--navy); color: #94a3b8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.footer-grid { display: grid; gap: 44px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-chip { background: #fff; border-radius: 10px; padding: 4px; display: inline-flex; }
.footer-name { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: #fff; }
.footer-tag { margin-top: 16px; max-width: 20rem; font-size: 14px; line-height: 1.7; color: #94a3b8; }
.footer-coords { margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--teal-bright); }
.footer-heading { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-bright); font-weight: 600; }
.footer-list { margin-top: 16px; display: grid; gap: 10px; font-size: 14px; }
.footer-list a { color: #cbd5e1; transition: color .2s; }
.footer-list a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--navy-border); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 22px; font-size: 12px; color: #64748b; }
.footer-privacy { cursor: not-allowed; }

/* ---------- Reveal animations ---------- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }

/* ---------- Generic content ---------- */
.entry-content { max-width: 46rem; font-size: 16.5px; line-height: 1.8; color: var(--muted); }
.entry-content h2, .entry-content h3 { margin: 1.4em 0 .5em; }
.entry-content p { margin-bottom: 1.1em; }
.entry-content a { text-decoration: underline; }

/* ---------- Responsive / a11y ---------- */
@media (max-width: 640px) {
  .hero { padding: 40px 0 64px; }
  .section { padding: 60px 0; }
  .contact-form-wrap, .contact-panel { padding: 26px; }
  .balance-card { position: static; margin-top: 14px; }
  .hero-coords { display: none; }
  .plan-price .amount { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .mask-line > span { transform: none; animation: none; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .tilt-frame { transition: none; }
}
/* Home page footer spacing adjustment */
.home .cta-band {
  padding-top: 55px;
  padding-bottom: 55px;
}