/* Rox layout language, Trinix primary #003e89 */

@font-face {
  font-family: Satoshi;
  src: url("../fonts/satoshi-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Satoshi;
  src: url("../fonts/satoshi-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Satoshi;
  src: url("../fonts/satoshi-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root,
html[data-trinix-theme="light"] {
  --tx-primary: #003e89;
  --tx-primary-hover: #002e67;
  --tx-primary-soft: #e8f0fa;
  --tx-paper: #F9F7F2;
  --tx-stage: #eceeed;
  --tx-ink: #0c1222;
  --tx-page: #F9F7F2;
  --tx-panel: #ffffff;
  --tx-btn: #003e89;
  --tx-btn-text: #ffffff;
  --bg-primary: #F9F7F2;
  --accent-primary: #003e89;
  --tx-accent-gold: #FFB84D;
  --tx-accent-orange: #F15A24;
  --tx-hero-ink: #0D1117;
}

html[data-trinix-theme="dark"] {
  --tx-primary: #4c8dff;
  --tx-primary-hover: #7aa7ff;
  --tx-primary-soft: rgba(0, 62, 137, 0.35);
  --tx-paper: #0b1220;
  --tx-btn: #003e89;
  --tx-btn-text: #ffffff;
  --accent-primary: #4c8dff;
}

body,
.tx-app {
  font-family: Satoshi, Epilogue, system-ui, sans-serif !important;
}

h1, h2, h3, h4,
.tx-app h1, .tx-app h2, .tx-app h3, .tx-app h4 {
  font-family: Satoshi, Outfit, sans-serif !important;
  letter-spacing: -0.04em;
}

/* Sticky public header — match dashboard topbar (light glass) */
body:not(.tx-app) header.tx-site-header,
body:not(.tx-app) header.tx-topbar,
body:not(.tx-app) header {
  position: fixed !important;
  top: 10px !important;
  left: 0 !important;
  right: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0c1222 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 5000 !important;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  transition: top 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  overflow: visible !important;
}

body:not(.tx-app) header.tx-site-header.is-scrolled,
body:not(.tx-app) header.is-scrolled {
  height: auto !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Soft full-width shield so scrolling text can't poke through around the pill */
body:not(.tx-app) header.tx-site-header::before,
body:not(.tx-app) header.tx-topbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: calc(100% + 28px);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: linear-gradient(
    180deg,
    rgba(249, 247, 242, 0.94) 0%,
    rgba(249, 247, 242, 0.78) 55%,
    rgba(249, 247, 242, 0) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body:not(.tx-app) header.tx-site-header.is-scrolled::before,
body:not(.tx-app) header.is-scrolled::before {
  opacity: 1;
}

body:has(.hm-home) header.tx-site-header::before,
body:has(.hm-home) header.tx-topbar::before,
body:has(.as-page) header.tx-site-header::before,
body:has(.as-page) header.tx-topbar::before,
body:has(.sm-page) header.tx-site-header::before,
body:has(.sm-page) header.tx-topbar::before,
body:has(.wc-page) header.tx-site-header::before,
body:has(.wc-page) header.tx-topbar::before {
  background: linear-gradient(
    180deg,
    rgba(13, 17, 23, 0.88) 0%,
    rgba(13, 17, 23, 0.55) 55%,
    rgba(13, 17, 23, 0) 100%
  );
}

body:not(.tx-app) .tx-header-inner {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 1.25rem * 2));
  margin: 0 auto;
  min-height: 52px;
  height: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.45rem 0.35rem 0.8rem;
  background: #F9F7F2 !important;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  overflow: visible;
}

body:not(.tx-app) header.tx-site-header.is-scrolled .tx-header-inner,
body:not(.tx-app) header.is-scrolled .tx-header-inner {
  height: auto;
  min-height: 48px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

/* Cream pill always uses dark logo — ignore theme swap */
body:not(.tx-app) header.tx-header--pill .tx-logo-on-light,
html[data-trinix-theme="dark"] body:not(.tx-app) header.tx-header--pill .tx-logo-on-light {
  display: inline-block !important;
}
body:not(.tx-app) header.tx-header--pill .tx-logo-on-dark,
html[data-trinix-theme="dark"] body:not(.tx-app) header.tx-header--pill .tx-logo-on-dark {
  display: none !important;
}
body:not(.tx-app) header.tx-header--pill img.logo {
  height: 30px !important;
  width: auto !important;
  max-width: 118px;
}

body:not(.tx-app) .tx-desk-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: none;
}

body:not(.tx-app) .tx-desk-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}

body:not(.tx-app) .tx-header-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  margin-left: auto;
}

body:not(.tx-app) .tx-region {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: #0c1222;
  color: #fff !important;
  border: 1px solid #0c1222;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media (min-width: 1025px) {
  body:not(.tx-app) .tx-desk-nav { display: block; }
  body:not(.tx-app) .mobile-menu-button { display: none !important; }
}

body:not(.tx-app) header .container {
  height: 64px;
  display: flex;
  align-items: center;
}

body:not(.tx-app) header .flex.justify-between {
  width: 100%;
  height: 64px;
  align-items: center;
}

body:not(.tx-app) header nav ul li a,
body:not(.tx-app) header .nav-login,
html[data-trinix-theme="dark"] body:not(.tx-app) header.tx-header--pill nav ul li a,
html[data-trinix-theme="dark"] body:not(.tx-app) header.tx-header--pill .nav-login {
  color: #0c1222 !important;
  font-size: 0.8125rem !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  background: transparent !important;
  padding: 0.28rem 0.5rem !important;
  border-radius: 8px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

body:not(.tx-app) header nav ul li a:hover,
body:not(.tx-app) header .nav-login:hover {
  color: #003e89 !important;
  background: #eff6ff !important;
}

body:not(.tx-app) header .tx-desk-nav .is-active > a,
body:not(.tx-app) header .tx-desk-nav a[aria-current="page"] {
  color: #003e89 !important;
  background: #eff6ff !important;
  box-shadow: none;
}

body:not(.tx-app) header img.logo {
  filter: none !important;
}

body:not(.tx-app) footer.tx-footer img.tx-logo-on-dark {
  filter: none;
}

body:not(.tx-app) .header-cta .btn-primary,
body:not(.tx-app) .tx-header-actions .btn-primary,
body:not(.tx-app) .mobile-menu .btn-primary,
body:not(.tx-app) .tx-footer .btn-primary,
body:not(.tx-app) a.btn-primary,
body:not(.tx-app) .pricing-btn,
body:not(.tx-app) .btn-primary-large {
  background: #003e89 !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 1px solid #003e89 !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  min-height: 32px;
  padding: 0 0.85rem !important;
  font-size: 0.8125rem !important;
  line-height: 1.2 !important;
}

body:not(.tx-app) .tx-header-actions .btn-primary {
  min-height: 30px;
  padding: 0 0.75rem !important;
  font-size: 0.78rem !important;
}

body:not(.tx-app) .tx-header-actions .btn-primary:hover,
body:not(.tx-app) .tx-footer .btn-primary:hover,
body:not(.tx-app) a.btn-primary:hover {
  background: #002e67 !important;
  border-color: #002e67 !important;
}

body:not(.tx-app) .mobile-menu-button,
body:not(.tx-app) .mobile-close-btn {
  background: #fff !important;
  color: #0c1222 !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 10px !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  body:not(.tx-app) .mobile-menu-button {
    display: inline-flex !important;
  }
}

body:not(.tx-app) .mobile-menu-button svg,
body:not(.tx-app) .mobile-close-btn svg,
body:not(.tx-app) .mobile-menu-button [data-lucide],
body:not(.tx-app) .mobile-close-btn [data-lucide] {
  stroke: #0c1222;
  width: 16px !important;
  height: 16px !important;
}

body:not(.tx-app) .theme-toggle {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  color: #0c1222 !important;
  box-shadow: none !important;
  border-radius: 10px !important;
  width: 30px;
  height: 30px;
}

body:not(.tx-app) main {
  background: var(--tx-paper);
}

body:not(.tx-app) footer,
body:not(.tx-app) footer.tx-footer {
  background: #1A1A1A !important;
  color: #f5f5f1 !important;
  border: 0 !important;
  margin-top: 0 !important;
  padding: 3.5rem 0 1.5rem !important;
}

body:not(.tx-app) .tx-footer-cta {
  margin-bottom: 2.5rem;
}

body:not(.tx-app) .tx-footer-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  color: #fff !important;
  max-width: 22ch;
}

body:not(.tx-app) .tx-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}

body:not(.tx-app) .tx-footer-wa {
  color: #e2e8f0 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body:not(.tx-app) .tx-footer-wa:hover {
  color: #fff !important;
}

body:not(.tx-app) .tx-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body:not(.tx-app) .tx-footer-brand .tx-footer-loc {
  margin: 0.85rem 0 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

body:not(.tx-app) .tx-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body:not(.tx-app) .tx-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 700;
}

body:not(.tx-app) .tx-trust-pill .hm-img-slot,
body:not(.tx-app) .tx-trust-pill .tx-mega-icon {
  width: 18px;
  height: 18px;
  min-height: 18px;
  border-radius: 4px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

body:not(.tx-app) .tx-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

body:not(.tx-app) .footer-section-title {
  color: #9fb4d4 !important;
  letter-spacing: 0.12em !important;
}

body:not(.tx-app) .footer-link,
body:not(.tx-app) footer p,
body:not(.tx-app) .copyright,
body:not(.tx-app) .copyright p {
  color: #d7deea !important;
}

/* Homepage cinema sections */
.rx-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #003e89;
}

.rx-hero img.rx-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.rx-hero .rx-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 16, 40, 0.82) 0%, rgba(0, 16, 40, 0.55) 48%, rgba(0, 16, 40, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 20, 50, 0.45), rgba(0, 16, 40, 0.2) 35%, rgba(0, 12, 32, 0.88));
}

.rx-hero-copy {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 4.5rem;
}

.rx-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 1.5rem;
  align-items: end;
}

.rx-hero-board {
  display: grid;
  gap: 0.75rem;
}

.rx-phone,
.rx-voice-card {
  background: rgba(7, 20, 39, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 1.25rem;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.rx-phone strong,
.rx-voice-card strong {
  display: block;
  font-size: 1.15rem;
  margin: 0.2rem 0;
  color: #fff;
}

.rx-phone span,
.rx-voice-card p {
  color: #f1f5f9;
}

.rx-kicker {
  display: inline-block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #e2e8f0;
}

.rx-hero .rx-kicker {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.rx-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 500;
  color: #fff !important;
  max-width: 14ch;
  margin: 0 0 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.rx-hero p {
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  margin: 0 0 1.5rem;
}


.rx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 40px;
  background: #0c1222;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #0c1222;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.rx-btn:hover { background: #003e89; border-color: #003e89; transform: translateY(-2px); }

/* Ghost = high-contrast on light surfaces by default */
.rx-btn-ghost {
  background: #fff;
  color: #0c1222 !important;
  border-color: #0c1222;
}

.rx-btn-ghost:hover {
  background: #0c1222;
  color: #fff !important;
  border-color: #0c1222;
}

/* On dark / hero surfaces, invert ghost and lift primary CTA off blue */
.rx-hero .rx-btn,
.rx-band-dark .rx-btn,
.rx-phone .rx-btn,
.rx-voice-card .rx-btn {
  background: #fff !important;
  color: #0c1222 !important;
  border-color: #fff !important;
}

.rx-hero .rx-btn:hover,
.rx-band-dark .rx-btn:hover,
.rx-phone .rx-btn:hover,
.rx-voice-card .rx-btn:hover {
  background: #e8f0fa !important;
  border-color: #e8f0fa !important;
  color: #003e89 !important;
}

.rx-hero .rx-btn-ghost,
.rx-band-dark .rx-btn-ghost {
  background: rgba(7, 20, 39, 0.55) !important;
  color: #fff !important;
  border-color: #fff !important;
  border-width: 2px;
  backdrop-filter: blur(6px);
}

.rx-hero .rx-btn-ghost:hover,
.rx-band-dark .rx-btn-ghost:hover {
  background: #fff !important;
  color: #0c1222 !important;
  border-color: #fff !important;
}

.rx-band {
  background: var(--tx-paper);
  color: var(--tx-ink);
  padding: 5rem 0;
}

.rx-band-stage { background: var(--tx-stage); }
.rx-band-dark {
  background: #071427;
  color: #f5f5f1;
}

.rx-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.rx-band h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: #0c1222 !important;
}

.rx-band-dark h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: #fff !important;
}

.rx-lead {
  max-width: 40rem;
  color: #334155;
  margin: 0 0 2rem;
  line-height: 1.65;
}

.rx-band-dark .rx-lead,
.rx-band-dark .rx-lead a {
  color: #f1f5f9 !important;
}

.rx-band-dark a {
  color: #bfdbfe;
}

.rx-band-dark a:hover {
  color: #fff;
}

.rx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.rx-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rx-card {
  background: var(--tx-surface-card, #fff);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--tx-border-card, rgba(12, 18, 34, 0.06));
  border-left: 3px solid var(--tx-brand, #003e89);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 62, 137, 0.12);
}

.rx-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.rx-card > div:not(.rx-card-svg):not(.rx-media-blank) { padding: 1.1rem 1.15rem 1.25rem; }
.rx-card .rx-card-body { padding: 1.1rem 1.15rem 1.25rem; }
.rx-card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; font-weight: 700; color: #0c1222 !important; }
.rx-card p { margin: 0; color: #334155; font-size: 0.95rem; line-height: 1.55; }

.rx-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rx-metric {
  background: var(--tx-surface-inset, #f3f7fc);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--tx-border-form, rgba(12, 18, 34, 0.06));
}

.rx-metric strong {
  display: block;
  font-size: 2rem;
  color: #003e89;
  letter-spacing: -0.04em;
}

.rx-metric span { color: #334155; font-size: 0.92rem; }

.rx-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.rx-split img {
  width: 100%;
  height: min(420px, 60vw);
  object-fit: cover;
  border-radius: 20px;
}

.rx-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rx-plan {
  background: var(--tx-surface-card, #fff);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--tx-border-card, rgba(12, 18, 34, 0.12));
  color: var(--tx-text, #0c1222);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rx-plan p,
.rx-plan li {
  color: #334155;
}

.rx-plan.is-featured {
  background: #0c1222;
  color: #fff;
  border-color: #0c1222;
}

.rx-plan.is-featured p,
.rx-plan.is-featured li,
.rx-plan.is-featured .rx-note {
  color: #e2e8f0 !important;
}

.rx-plan h3 { margin: 0; font-size: 1.35rem; color: inherit; }
.rx-plan .rx-price { font-size: 2rem; letter-spacing: -0.04em; margin: 0; color: inherit; }
.rx-plan ul { margin: 0; padding-left: 1.1rem; line-height: 1.7; }
.rx-plan .rx-btn { margin-top: auto; }
.rx-plan.is-featured .rx-btn {
  background: #fff !important;
  color: #0c1222 !important;
  border-color: #fff !important;
}

.rx-faq details {
  background: #fff;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(12, 18, 34, 0.1);
}

.rx-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #0c1222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  list-style: none;
}
.rx-faq summary::-webkit-details-marker { display: none; }
.rx-faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #003e89;
  border-bottom: 2px solid #003e89;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -0.2rem;
}
.rx-faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}
.rx-faq p { margin: 0.6rem 0 0; color: #334155; }

.rx-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.rx-partners img { height: 36px; width: auto; }

html[data-trinix-theme="dark"] body:not(.tx-app) main,
html[data-trinix-theme="dark"] .rx-band { background: #0b1220; color: #e7edf5; }
html[data-trinix-theme="dark"] .rx-card,
html[data-trinix-theme="dark"] .rx-metric,
html[data-trinix-theme="dark"] .rx-plan,
html[data-trinix-theme="dark"] .rx-faq details { background: #111827; color: #e7edf5; }
html[data-trinix-theme="dark"] .rx-card h3 { color: #fff !important; }
html[data-trinix-theme="dark"] .rx-lead,
html[data-trinix-theme="dark"] .rx-card p,
html[data-trinix-theme="dark"] .rx-faq p,
html[data-trinix-theme="dark"] .rx-plan p,
html[data-trinix-theme="dark"] .rx-story-ba { color: #cbd5e1 !important; }
html[data-trinix-theme="dark"] .rx-card h3,
html[data-trinix-theme="dark"] .rx-faq summary,
html[data-trinix-theme="dark"] .rx-plan h3 { color: #f8fafc !important; }
html[data-trinix-theme="dark"] .rx-faq summary::after {
  border-right-color: #7eabde;
  border-bottom-color: #7eabde;
}
html[data-trinix-theme="dark"] .rx-btn-ghost {
  background: transparent;
  color: #f8fafc !important;
  border-color: #cbd5e1;
}

@media (max-width: 1024px) {
  .rx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
  .rx-plans, .rx-cols-3 { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .rx-split { grid-template-columns: 1fr; }
  body:not(.tx-app) header nav,
  body:not(.tx-app) .tx-desk-nav { display: none !important; }
  body:not(.tx-app) .header-cta { display: none !important; }
  body:not(.tx-app) .tx-header-actions .nav-login,
  body:not(.tx-app) .tx-header-actions .tx-region,
  body:not(.tx-app) .tx-header-actions .desktop-theme-toggle {
    display: none !important;
  }
  body:not(.tx-app) .tx-header-actions .btn-primary {
    display: inline-flex !important;
  }
  body:not(.tx-app) .tx-footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rx-grid,
  .rx-plans,
  .rx-metrics,
  .rx-cols-3,
  .rx-compare {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }
  .rx-card img { height: 180px; }
  .rx-card .rx-card-body,
  .rx-card > div:not(.rx-card-svg):not(.rx-media-blank) {
    padding: 1rem 1.05rem 1.15rem;
  }
  .rx-card h3 { font-size: 1.05rem; }
  .rx-plan { padding: 1.25rem; }
  .rx-plan .rx-price { font-size: 1.75rem; }
  .rx-hero {
    min-height: auto;
    padding-top: 4.5rem;
    align-items: flex-end;
  }
  .rx-hero-copy { width: min(1120px, calc(100% - 1.5rem)); margin-bottom: 2.5rem; }
  .rx-hero-split { grid-template-columns: 1fr; }
  .rx-hero h1 { max-width: none; font-size: clamp(2rem, 9vw, 2.75rem); }
  .rx-actions { flex-direction: column; align-items: stretch; }
  .rx-actions .rx-btn { width: 100%; }
  .rx-steps { grid-template-columns: 1fr; }
  .rx-logo-row { gap: 0.5rem; }
  .rx-logo-row span {
    font-size: 0.8rem;
    padding: 0.55rem 0.8rem;
    min-height: 40px;
  }
  .rx-wrap {
    width: min(1280px, calc(100% - 1.5rem));
  }
  .rx-band {
    padding-block: clamp(2.5rem, 5vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rx-btn, .rx-card { transition: none; }
}

/* App shells */
.tx-app {
  background:
    radial-gradient(ellipse 70% 40% at 100% -10%, rgba(0, 62, 137, 0.08), transparent 55%),
    var(--tx-paper, #f3f1eb) !important;
}

.tx-app .tx-nav-link.is-active,
.tx-app aside a.bg-blue-600\/20,
.tx-app a[class*="bg-blue-600"] {
  background: #003e89 !important;
  color: #fff !important;
}

.tx-app .tx-nav-ico,
.tx-app .tx-action-ico {
  background: #e8f0fa !important;
  color: #003e89 !important;
}

.tx-app .tx-nav-link.is-active .tx-nav-ico {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

.tx-app .bg-blue-600,
.tx-app a.bg-blue-600,
.tx-app button.bg-blue-600,
.tx-app .btn-primary,
.tx-app .empty-state a,
.tx-app .tx-btn {
  background: #003e89 !important;
  color: #fff !important;
  border-radius: 40px !important;
}

.tx-app #menuBtn,
.tx-app .tx-theme-btn {
  border-color: rgba(0, 62, 137, 0.2);
  color: #003e89;
}

html.trinix-app,
html.trinix-app body {
  font-family: Satoshi, system-ui, sans-serif;
}

html.trinix-app .sidebar a.active,
html.trinix-app .sidebar a[class*="bg-blue"],
html.trinix-app aside a.active {
  background: #003e89 !important;
  color: #fff !important;
}

.rx-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.rx-compare > div {
  background: #fff;
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  color: #0c1222;
  border: 1px solid rgba(12, 18, 34, 0.1);
}
.rx-compare h3 { margin: 0 0 0.6rem; color: inherit; }
.rx-compare ul { margin: 0; padding-left: 1.1rem; line-height: 1.7; color: #334155; }
.rx-compare .is-trinix { background: #0c1222; color: #fff; border-color: #0c1222; }
.rx-compare .is-trinix ul { color: #e2e8f0; }
.rx-ba {
  position: relative;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  container-type: inline-size;
  background: #0c1222;
}
.rx-ba > img,
.rx-ba-top img {
  width: 100cqi;
  height: 360px;
  max-width: none;
  object-fit: cover;
  display: block;
}
.rx-ba-top {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
}
.rx-ba input[type="range"] {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: calc(100% - 2rem);
}
.rx-chip {
  border: 1px solid rgba(12, 18, 34, 0.14);
  background: #fff;
  color: #0c1222 !important;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.rx-hero .rx-chip {
  color: #0c1222 !important;
  background: #fff !important;
  border-color: #fff !important;
}

.tx-announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  min-height: 36px;
  padding: 0.35rem 1rem;
  background: #0b1220;
  color: #fff;
  font-size: 0.85rem;
}
.tx-announce p { margin: 0; }
.tx-announce button {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0b1220;
  font-weight: 700;
  padding: 0 0.75rem;
}
html.tx-announce-off .tx-announce { display: none; }
/* Only offset header when an announce bar is actually on the page */
html:has(.tx-announce):not(.tx-announce-off) body:not(.tx-app) header { top: 58px !important; }

.tx-has-menu { position: relative; }
.tx-mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate3d(-50%, 8px, 0) scale(0.98);
  min-width: 320px;
  width: max(320px, 100%);
  padding: 0.65rem;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(12, 18, 34, 0.08);
  box-shadow:
    0 4px 6px rgba(0, 20, 50, 0.04),
    0 18px 40px rgba(0, 20, 50, 0.16);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: top center;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.18s;
  z-index: 5100;
}
.tx-has-menu.is-open .tx-mega,
.tx-has-menu:focus-within .tx-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0) scale(1);
}
.tx-mega a,
.tx-mega a.tx-mega-item {
  color: #0c1222 !important;
  padding: 0.7rem 0.75rem !important;
  border-radius: 12px;
  font-size: 0.9rem !important;
  letter-spacing: 0 !important;
  min-height: 52px;
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none !important;
  background: transparent !important;
}
.tx-mega a:hover,
.tx-mega a:focus,
.tx-mega a.tx-mega-item:hover,
.tx-mega a.tx-mega-item:focus {
  background: #e8f0fa !important;
  outline: none;
}
.tx-mega-icon {
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
.tx-mega-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.tx-mega-copy strong {
  font-size: 0.9rem;
  font-weight: 750;
  color: #0c1222;
  line-height: 1.2;
}
.tx-mega-copy em {
  font-style: normal;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.3;
}
.tx-locale select,
.mobile-cta select {
  min-height: 36px;
  border-radius: 999px;
  border: 0;
  padding: 0 0.6rem;
  color: #003e89;
  background: #fff;
}
.tx-crumbs {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6.75rem 0 0;
  color: #334155;
}
html:has(.tx-announce):not(.tx-announce-off) .tx-crumbs { padding-top: 8.5rem; }
.tx-crumbs a { color: #003e89; text-decoration: none; font-weight: 700; }
.tx-cookie {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 1100;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: #0c1222;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  max-width: min(720px, calc(100vw - 24px));
  margin-inline: auto;
  max-height: none;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.tx-cookie[hidden] { display: none !important; }
.tx-cookie p { margin: 0; max-width: 42rem; font-size: 0.875rem; line-height: 1.3; flex: 1 1 auto; min-width: 0; }
.tx-cookie a { color: #003e89; font-weight: 600; }
.tx-cookie .rx-actions { display: flex; gap: 0.35rem; flex-shrink: 0; margin-top: 0; }
.tx-cookie button {
  min-height: 36px;
  border: 0;
  border-radius: 40px;
  padding: 0 0.75rem;
  background: #003e89;
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.tx-cookie #txCookieEssential {
  background: #e2e8f0;
  color: #0c1222;
  border: 1px solid #94a3b8;
}
@media (max-width: 640px) {
  .tx-cookie {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 16px);
    gap: 0.35rem;
    padding: 0.4rem 0.5rem;
    border-radius: 10px;
  }
  .tx-cookie p {
    font-size: 0.7rem;
    line-height: 1.25;
  }
  .tx-cookie .rx-actions { gap: 0.25rem; }
  .tx-cookie button {
    min-height: 28px;
    height: 28px;
    padding: 0 0.5rem;
    font-size: 0.68rem;
  }
}
/* Legacy float — replaced by admin-controlled chat providers */
html[data-trinix-chat="1"] .tx-whatsapp { display: none !important; }

.tx-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 7.5rem;
  z-index: 1090;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 40px;
  background: #128c7e;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
.rx-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.rx-steps article {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
}
.rx-chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.rx-inpage {
  position: sticky;
  top: 84px;
  z-index: 30;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  background: var(--tx-paper, #f3f1eb);
}
html:has(.tx-announce):not(.tx-announce-off) .rx-inpage { top: 112px; }
.rx-inpage a {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: #003e89;
  text-decoration: none;
  font-weight: 700;
}
.rx-matrix { width: 100%; border-collapse: collapse; }
.rx-matrix th, .rx-matrix td { text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--tx-border-table, rgba(12, 18, 34, 0.08)); }
.rx-matrix thead th { background: var(--tx-surface-table-head, #e8eef6); }
.rx-matrix tbody { background: var(--tx-surface-table, #fff); }
.tx-bar {
  display: inline-block;
  height: 8px;
  background: #003e89;
  border-radius: 99px;
  vertical-align: middle;
}
.rx-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--tx-surface-form, #f3f7fc);
  border: 1px solid var(--tx-border-form, rgba(0, 62, 137, 0.14));
}
.rx-form input,
.rx-form textarea,
.rx-form select {
  width: 100%;
  border: 1px solid var(--tx-border-form, rgba(12, 18, 34, 0.12));
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 16px;
  background: var(--tx-surface-inset, #fff);
  color: var(--tx-text, #0c1222);
}
.rx-chat-log { display: grid; gap: 0.65rem; margin: 1rem 0; }
.rx-chat-log p {
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: #f3f1eb;
  border-radius: 12px;
  color: #0c1222;
}

.rx-page,
.rx-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 1rem;
}
.rx-page h1,
.rx-section h2,
.rx-card h3,
.rx-card h2 {
  font-family: Satoshi, system-ui, sans-serif;
  letter-spacing: -0.03em;
}
.rx-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.rx-logo-row span,
.rx-code {
  background: #fff;
  color: #0c1222;
  border: 1px solid rgba(12, 18, 34, 0.14);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 650;
}
.rx-code {
  display: block;
  border-radius: 16px;
  overflow: auto;
  white-space: pre-wrap;
}
.rx-steps {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
}
.tx-chat-log {
  min-height: 180px;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.rx-page form,
.tx-form {
  display: grid;
  gap: 0.75rem;
}
.rx-page input,
.rx-page select,
.tx-form input,
.tx-form select,
.tx-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 18, 34, 0.12);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}
.tx-table {
  width: 100%;
  border-collapse: collapse;
}
.tx-table th,
.tx-table td {
  text-align: left;
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid rgba(12, 18, 34, 0.08);
  vertical-align: top;
}
.tx-note {
  color: #334155;
}

/* —— Layout rhythm, media blanks, motion, nationwide UI —— */
body:not(.tx-app) main {
  padding-top: 76px;
  max-width: 100%;
  overflow-x: clip;
}

/* Keep overflow on main/wrappers — clip on html/body breaks fixed header stacking on mobile */
html:not([data-trinix-app]),
body:not(.tx-app) {
  max-width: 100%;
  overflow-x: visible;
}

body:not(.tx-app) img,
body:not(.tx-app) video,
body:not(.tx-app) iframe,
body:not(.tx-app) svg {
  max-width: 100%;
}

body:not(.tx-app) .hm-img-slot,
body:not(.tx-app) .rx-media-blank,
body:not(.tx-app) .rx-card img,
body:not(.tx-app) .rx-hero-board,
body:not(.tx-app) .tx-phone-frame {
  max-width: 100%;
  box-sizing: border-box;
}

.rx-band {
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
}

.rx-wrap {
  width: min(1280px, calc(100% - clamp(1rem, 4vw, 2rem) * 2));
  margin-inline: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.rx-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.1rem 1.15rem 1.25rem;
  gap: 0.35rem;
}

.rx-card-body > p { flex: 1 1 auto; }
.rx-card-action {
  margin-top: auto !important;
  padding-top: 0.75rem;
  font-weight: 700;
  color: #003e89 !important;
}

.rx-card-svg {
  display: grid;
  place-items: center;
  min-height: 120px;
  background: linear-gradient(160deg, #e8f0fa, #f7f8fa);
  color: #003e89;
}

.rx-media-blank {
  width: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #e8f0fa, #f7f8fa),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(0, 62, 137, 0.06) 8px,
      rgba(0, 62, 137, 0.06) 16px
    );
  border: 1px dashed rgba(12, 18, 34, 0.35);
  border-radius: 14px;
  color: #0c1222;
}

.rx-hero .rx-media-blank {
  background: rgba(7, 20, 39, 0.88);
  border: 1px dashed rgba(255, 255, 255, 0.55);
  color: #fff;
}

.rx-media-blank-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  text-align: center;
  max-width: 90%;
  color: inherit;
}

.rx-hero .rx-media-blank-label {
  color: #fff;
}

.rx-svg-blank {
  display: inline-grid;
  place-items: center;
  color: inherit;
}

.rx-logo-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
}

.rx-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding-left: 0;
  position: relative;
}

.rx-steps article {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1rem 1.15rem;
  border: 1px solid rgba(12, 18, 34, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 100%;
}

.rx-step-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #003e89;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.rx-story-meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #003e89;
  margin: 0 0 0.35rem;
}

.rx-story-ba {
  display: grid;
  gap: 0.35rem;
  margin: 0.5rem 0 0.75rem;
  font-size: 0.9rem;
  color: #334155;
}

.rx-story-ba strong { color: #0c1222; }

.rx-form-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .rx-form-row.is-2 { grid-template-columns: 1fr auto auto; align-items: end; }
}

.rx-field {
  display: grid;
  gap: 0.35rem;
}

.rx-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2a3441;
}

.rx-status[aria-live] {
  min-height: 1.4em;
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: #334155;
}

.rx-skeleton {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.rx-skeleton > span {
  display: block;
  height: 4.5rem;
  border-radius: 14px;
  background: linear-gradient(90deg, #eef1f5 25%, #f7f8fa 50%, #eef1f5 75%);
  background-size: 200% 100%;
}

.rx-matrix-wrap,
.tx-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid rgba(12, 18, 34, 0.08);
  background: #fff;
}

.rx-field input:focus,
.rx-field select:focus,
.rx-field textarea:focus,
.rx-form input:focus,
.rx-form select:focus,
.rx-form textarea:focus {
  outline: 2px solid rgba(0, 62, 137, 0.35);
  outline-offset: 2px;
  border-color: #003e89;
}

body:not(.tx-app) {
  overflow-x: clip;
}

.rx-matrix-wrap .rx-matrix {
  min-width: 560px;
  margin: 0;
}

.rx-matrix-wrap .rx-matrix th:first-child,
.rx-matrix-wrap .rx-matrix td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
  box-shadow: 4px 0 8px -6px rgba(0, 0, 0, 0.18);
}

.tx-crumbs {
  width: min(1280px, calc(100% - clamp(1rem, 4vw, 2rem) * 2));
  margin: 0 auto;
  padding: 5rem 0 0;
}

.rx-inpage { top: 78px; }
html:has(.tx-announce):not(.tx-announce-off) .rx-inpage { top: 78px; }

.tx-cookie {
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: min(720px, calc(100vw - 24px));
  margin-inline: auto;
  z-index: 1100;
}

.tx-whatsapp {
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  z-index: 1080;
}

@media (max-width: 480px) {
  .tx-whatsapp {
    bottom: calc(6.25rem + env(safe-area-inset-bottom));
  }
  body:not(.tx-app) .tx-region {
    display: none;
  }
  body:not(.tx-app) .nav-login {
    display: none !important;
  }
}

.mobile-menu[hidden],
.mobile-menu-overlay[hidden] {
  display: none !important;
}

.mobile-menu-overlay {
  z-index: 5200 !important;
}

.mobile-menu {
  z-index: 5300 !important;
}

html.tx-menu-open .mobile-menu-overlay {
  display: block !important;
}

html.tx-menu-open .mobile-menu {
  display: flex !important;
  flex-direction: column;
}

/* Page content must stay under the fixed pill while scrolling */
body:not(.tx-app) main,
body:not(.tx-app) .rx-band,
body:not(.tx-app) .hm-hero,
body:not(.tx-app) .reveal {
  position: relative;
  z-index: 0;
}

/* Mobile nav accordion — only top-level rows until tapped */
.tx-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
  overflow-y: auto;
}

.tx-mobile-nav > li > a,
.tx-mobile-group .mobile-dropdown-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem !important;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #0c1222 !important;
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem !important;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.tx-mobile-group .mobile-dropdown-toggle svg,
.tx-mobile-group .mobile-dropdown-toggle [data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.2s ease;
}

.tx-mobile-group.is-open .mobile-dropdown-toggle,
.tx-mobile-group .mobile-dropdown-toggle.active {
  background: #e8f0fa;
  color: #003e89 !important;
}

.tx-mobile-group.is-open .mobile-dropdown-toggle svg,
.tx-mobile-group .mobile-dropdown-toggle.active svg {
  transform: rotate(180deg);
  color: #003e89;
}

.mobile-dropdown-menu {
  list-style: none;
  margin: 0.15rem 0 0.35rem;
  padding: 0.2rem 0 0.2rem 0.65rem;
  border-left: 2px solid rgba(0, 62, 137, 0.18);
  display: grid;
  gap: 0.15rem;
  max-height: none !important;
  overflow: visible !important;
}

.mobile-dropdown-menu[hidden] {
  display: none !important;
}

.mobile-dropdown-menu li a {
  display: flex !important;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.85rem !important;
  border-radius: 10px;
  color: #334155 !important;
  font-weight: 550 !important;
  font-size: 0.9rem !important;
  text-decoration: none;
}

.mobile-dropdown-menu li a:hover {
  background: #eff6ff;
  color: #003e89 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Landing domain search */
.rx-domain {
  margin-top: 1.25rem;
  padding: 1.15rem;
  border-radius: 18px;
  background: var(--tx-surface-form, #f3f7fc);
  border: 1px solid var(--tx-border-form, rgba(0, 62, 137, 0.14));
}
.rx-domain-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
}
.rx-domain-bar input {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--tx-border-form, rgba(12, 18, 34, 0.12));
  background: var(--tx-surface-inset, #fff);
  color: var(--tx-text, #0c1222);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 16px;
}
.rx-domain-bar input:focus {
  outline: 2px solid var(--tx-accent-sky, #1d6bb8);
  outline-offset: 1px;
  border-color: var(--tx-brand, #003e89);
}
.rx-domain-bar .rx-btn {
  min-height: 52px;
  white-space: nowrap;
}
.rx-domain-tlds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.rx-domain-tlds .rx-chip[aria-pressed="true"] {
  background: var(--tx-brand, #003e89) !important;
  color: #fff !important;
  border-color: var(--tx-brand, #003e89) !important;
}
.rx-domain-results {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}
.rx-domain-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  background: var(--tx-surface-card, #fff);
  border: 1px solid var(--tx-border-card, rgba(12, 18, 34, 0.08));
  border-left: 3px solid var(--tx-accent-amber, #b45309);
}
.rx-domain-row.is-free {
  border-left-color: var(--tx-accent-teal, #0f6b4c);
}
.rx-domain-row.is-taken {
  border-left-color: var(--tx-accent-rose, #b42318);
}
.rx-domain-row strong {
  display: block;
  font-family: Outfit, Epilogue, sans-serif;
  font-size: 1.05rem;
  color: var(--tx-text, #0c1222);
}
.rx-domain-row span {
  color: var(--tx-muted, #334155);
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .rx-domain-bar {
    grid-template-columns: 1fr;
  }
  .rx-domain-bar .rx-btn {
    width: 100%;
  }
  .rx-domain-row .rx-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  .rx-skeleton > span {
    animation: rx-shimmer 1.2s linear infinite;
  }
  .rx-card:hover {
    transform: translateY(-6px);
  }
  @media (hover: hover) and (pointer: fine) {
    .rx-card.rx-tilt:hover {
      transform: perspective(800px) rotateX(1.5deg) translateY(-4px);
    }
  }
}

@keyframes rx-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .rx-btn, .rx-card, .tx-mega { transition: none !important; }
  .rx-skeleton > span { animation: none; }
}

@media (max-width: 1024px) {
  .rx-steps { grid-template-columns: 1fr; }
  .rx-steps article {
    padding-left: 1.15rem;
    border-left: 3px solid #003e89;
  }
}

@media (max-width: 640px) {
  .rx-hero-copy { margin-bottom: 1.75rem; }
  .rx-hero .rx-actions .rx-btn:first-child { order: 0; }
  .rx-hero { padding-top: 3.5rem; }
  .rx-band { padding-block: clamp(2rem, 6vw, 3rem); }
  .rx-wrap {
    width: min(1280px, calc(100% - 1.25rem));
  }
  body:not(.tx-app) main { padding-top: 72px; }
  body:has(.hm-home) main { padding-top: 0; }
  .hm-cta-row { gap: 0.55rem; }
  .hm-cta-row .hm-btn,
  .hm-cta-row a {
    min-height: 44px;
    width: 100%;
  }
  .hm-sub { font-size: 0.95rem; }
  .hm-trust-checks { gap: 0.55rem 0.9rem; font-size: 0.8rem; }
  .footer-grid,
  .tx-footer .grid {
    gap: 1.25rem;
  }
}

/* ===== Homepage redesign (ref mockups, brand #003e89) ===== */
body:has(.hm-home) {
  background: var(--tx-hero-ink, #0D1117);
}

/* Full-bleed hero — don't stack main offset on top of hero padding */
body:has(.hm-home) main.hm-home,
body:has(.hm-home) main {
  padding-top: 0;
}

/* Cream pill header stays consistent over dark hero (no transparent invert) */

.hm-home {
  overflow-x: clip;
  position: relative;
  z-index: 0;
}

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

/* Tutorial video modal */
.hm-tutorial[hidden] { display: none !important; }

.hm-tutorial {
  position: fixed;
  inset: 0;
  z-index: 5600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.hm-tutorial-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 22, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hm-tutorial-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.hm-tutorial-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem 0.75rem 1rem;
  background: #F9F7F2;
  color: #0c1222;
}

.hm-tutorial-bar h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0c1222 !important;
  letter-spacing: -0.02em;
}

.hm-tutorial-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #0c1222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.hm-tutorial-close:hover {
  background: #e8eef6;
}

.hm-tutorial-close svg,
.hm-tutorial-close [data-lucide] {
  width: 18px;
  height: 18px;
}

.hm-tutorial-frame {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 520px);
}

.hm-tutorial-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

html.hm-tutorial-open,
html.hm-tutorial-open body {
  overflow: hidden;
}

@media (max-width: 640px) {
  .hm-tutorial-dialog { border-radius: 12px; }
  .hm-tutorial-bar h2 { font-size: 0.92rem; }
  .hm-tutorial-frame { max-height: min(56vh, 420px); }
}

.hm-btn:hover { transform: translateY(-2px); }

.hm-btn-gold {
  background: linear-gradient(135deg, var(--tx-accent-gold, #FFB84D), var(--tx-accent-orange, #F15A24));
  color: #0c1222 !important;
  box-shadow: 0 10px 28px var(--tx-glow-gold, rgba(255, 184, 77, 0.28));
}

.hm-btn-gold:hover { filter: brightness(1.05); }

.hm-btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}

.hm-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.hm-btn-brand {
  background: #003e89 !important;
  color: #fff !important;
}

.hm-btn-brand:hover { background: #002e67 !important; }

.hm-btn-outline {
  background: transparent;
  color: #0c1222 !important;
  border-color: rgba(15, 23, 42, 0.2);
}

.hm-btn-outline:hover {
  border-color: #003e89;
  color: #003e89 !important;
}

.hm-btn-outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.hm-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

/* Hero */
.hm-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 5.75rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 75% 40%, rgba(0, 62, 137, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(241, 90, 36, 0.12), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  overflow: hidden;
}

.hm-hero-glow {
  position: absolute;
  inset: auto -10% 10% 40%;
  height: 55%;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.18), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: hm-float 8s ease-in-out infinite;
}

@keyframes hm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hm-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hm-brand {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #fff;
}

.hm-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 1.1rem;
  color: #fff !important;
  max-width: 12ch;
}

.hm-grad {
  display: block;
  background: linear-gradient(105deg, var(--tx-accent-gold, #FFB84D), var(--tx-accent-orange, #F15A24));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

.hm-sub {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1.5rem;
}

.hm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.hm-trust-checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0;
  padding: 0;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
}

.hm-trust-checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hm-trust-checks [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--tx-accent-orange, #F15A24);
}

/* Empty image slots — drop in src later */
.hm-img-slot {
  display: block;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(148, 163, 184, 0.08));
  border: 1px dashed rgba(148, 163, 184, 0.45);
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

.hm-img-slot:not([src]),
.hm-img-slot[src=""] {
  min-height: 2.5rem;
}

.hm-img-slot--icon {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.hm-img-slot--logo {
  width: 28px;
  height: 28px;
  min-height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}

.hm-img-slot--avatar {
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 999px;
  flex-shrink: 0;
}

.hm-img-slot--thumb {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.hm-img-slot--product {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 140px;
  border-radius: 12px;
}

.hm-img-slot--wave {
  width: 100%;
  min-height: 72px;
  border-radius: 12px;
}

.hm-img-slot--step {
  width: 72px;
  height: 72px;
  min-height: 72px;
  margin: 0 auto 0.65rem;
  border-radius: 14px;
}

.hm-img-slot--chart {
  width: 100%;
  min-height: 88px;
  margin-bottom: 0.85rem;
  border-radius: 10px;
}

.hm-hero-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  min-height: 520px;
  display: grid;
  place-items: center;
  animation: hm-float 7s ease-in-out infinite 0.4s;
}

.hm-hero-stage::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.32), transparent 70%);
  filter: blur(28px);
  z-index: 0;
}

.hm-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 280px);
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(160deg, #1a2333, #0b1220);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.hm-phone-notch {
  width: 42%;
  height: 10px;
  margin: 4px auto 10px;
  border-radius: 999px;
  background: #020617;
}

.hm-phone-screen {
  background: #f8fafc;
  color: #0c1222;
  border-radius: 24px;
  padding: 0.85rem;
}

.hm-phone-shop {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-align: center;
}

.hm-phone-screen h3 {
  margin: 0.65rem 0 0.2rem;
  font-size: 1rem;
  color: #0c1222 !important;
}

.hm-phone-price {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #003e89;
}

.hm-phone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.hm-phone-tags span {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: #e8f0fa;
  color: #003e89;
}

.hm-phone-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tx-accent-gold, #FFB84D), var(--tx-accent-orange, #F15A24));
  color: #0c1222;
  font-weight: 800;
  cursor: default;
}

.hm-phone-ship {
  margin: 0.55rem 0 0;
  font-size: 0.65rem;
  color: #64748b;
  text-align: center;
}

.hm-float {
  position: absolute;
  z-index: 3;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 0.65rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.hm-float-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #cbd5e1;
}

.hm-float-ai {
  top: 8%;
  left: -6%;
  width: 170px;
}

.hm-float-pos {
  top: 28%;
  right: -8%;
  width: 150px;
}

.hm-float-chip {
  bottom: 14%;
  left: 2%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem;
  font-weight: 800;
}

.hm-float-metric {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.hm-float-metric small {
  font-weight: 600;
  color: #94a3b8;
  margin-left: 0.2rem;
}

.hm-progress {
  margin-top: 0.45rem;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hm-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tx-accent-gold, #FFB84D), var(--tx-accent-orange, #F15A24));
}

/* Partners */
.hm-partners {
  background: linear-gradient(180deg, #0b1628 0%, #0f1c34 100%);
  color: #e2e8f0;
  padding: 3.5rem 0;
}

.hm-partners-title {
  text-align: center;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: #fff !important;
}

.hm-partners-pill {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.1rem;
  padding: 1rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  max-width: 960px;
  margin: 0 auto;
}

.hm-partner-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
}

/* Pillars — built UI cards */
.hm-pillars {
  background: linear-gradient(180deg, #eef4fb 0%, #f7fafc 55%, #e8f0fa 100%);
  color: #0c1222;
  padding: 5rem 0;
}

.hm-pillars-head {
  text-align: center;
  margin-bottom: 2rem;
}

.hm-pillars-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  color: #003e89 !important;
}

.hm-pillars-head p {
  margin: 0 auto;
  max-width: 36rem;
  color: #475569;
}

.hm-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.hm-pillar {
  background: #fff;
  border: 1px solid rgba(0, 62, 137, 0.1);
  border-radius: 20px;
  padding: 1.35rem 1.25rem 1.15rem;
  box-shadow: 0 14px 36px rgba(0, 62, 137, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hm-pillar h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #0c1222 !important;
}

.hm-pillar-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

.hm-pillar-stage {
  position: relative;
  background: linear-gradient(160deg, #f1f5f9, #e8f0fa);
  border-radius: 16px;
  padding: 1rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hm-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.hm-pill-brand {
  background: #003e89;
  color: #fff;
}

.hm-pos-board {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.65rem;
  align-items: stretch;
}

.hm-receipt-mini {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 0.8rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.hm-receipt-mini strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #003e89;
}

.hm-receipt-mini > div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  color: #334155;
}

.hm-pos-tools {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hm-media-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hm-phone-mini {
  width: 110px;
  padding: 6px;
  border-radius: 16px;
  background: #0c1222;
}

.hm-flow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tx-accent-gold, #FFB84D), var(--tx-accent-orange, #F15A24));
  color: #0c1222;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.hm-flow-btn--done {
  width: fit-content;
}

.hm-reel-card {
  background: #0c1222;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 0.55rem;
  width: 150px;
  font-size: 0.68rem;
}

.hm-reel-card p { margin: 0.25rem 0 0; }
.hm-reel-card .hm-muted { color: #94a3b8; }

.hm-wave {
  height: 18px;
  margin-top: 0.35rem;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    #003e89 0 3px,
    transparent 3px 6px
  );
  opacity: 0.85;
}

.hm-social-row {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.hm-voice-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hm-voice-toggles button {
  border: 1px solid rgba(0, 62, 137, 0.2);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: default;
}

.hm-voice-toggles button.is-on {
  background: #003e89;
  color: #fff;
  border-color: #003e89;
}

.hm-script-box {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 0.85rem;
  color: #334155;
}

.hm-script-box > span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #003e89;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hm-script-box p { margin: 0; line-height: 1.45; }

.hm-voice-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.hm-playback {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hm-playback button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: #003e89;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: default;
}

.hm-vol {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #003e89 70%, #cbd5e1 70%);
}

.hm-pillar-stage--social {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.hm-chat {
  background: #fff;
  border-radius: 14px;
  padding: 0.65rem;
  min-height: 160px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.hm-chat header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.hm-chat header em { margin-left: auto; font-style: normal; }

.hm-bubble {
  max-width: 95%;
  padding: 0.45rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.hm-bubble-in {
  background: #f1f5f9;
  color: #0c1222;
  border-bottom-left-radius: 4px;
}

.hm-bubble-out {
  background: #003e89;
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  display: grid;
  gap: 0.4rem;
}

.hm-buy {
  display: inline-flex;
  justify-content: center;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
}

.hm-flow-arrow {
  width: 28px;
  height: 2px;
  background: var(--tx-accent-orange, #F15A24);
  position: relative;
  flex-shrink: 0;
}

.hm-flow-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--tx-accent-orange, #F15A24);
}

.hm-pillar-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.88rem;
  color: #003e89 !important;
  text-decoration: none;
}

.hm-pillar-link:hover { text-decoration: underline; }

/* How it works */
.hm-how {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 62, 137, 0.35), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(241, 90, 36, 0.12), transparent 40%),
    linear-gradient(135deg, #071427 0%, #0b1d3a 45%, #123056 100%);
  color: #e2e8f0;
  padding: 5rem 0;
}

.hm-how h2 {
  color: #fff !important;
}

.hm-how h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #fff !important;
}

.hm-accent {
  color: var(--tx-accent-orange, #F15A24) !important;
}

.hm-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.hm-step {
  flex: 1 1 140px;
  max-width: 180px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.1rem 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.hm-step-n {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  background: #003e89;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.hm-step h3 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: #0c1222 !important;
}

.hm-step p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #475569;
}

.hm-step-arrow {
  flex: 0 0 28px;
  align-self: center;
  height: 0;
  border-top: 2px dotted var(--tx-accent-orange, #F15A24);
  position: relative;
  opacity: 0.85;
}

.hm-step-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -5px;
  border: 5px solid transparent;
  border-left-color: var(--tx-accent-orange, #F15A24);
}

.hm-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 48px rgba(0, 30, 70, 0.18);
}

.hm-compare-old,
.hm-compare-new {
  padding: 1.75rem 1.5rem;
}

.hm-compare-old {
  background: rgba(30, 41, 59, 0.88);
  color: #e2e8f0;
  backdrop-filter: blur(10px);
}

.hm-compare-new {
  background: linear-gradient(145deg, rgba(0, 62, 137, 0.92), rgba(0, 46, 103, 0.95));
  color: #fff;
  border-left: 3px solid var(--tx-accent-orange, #F15A24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hm-compare h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: inherit !important;
}

.hm-compare-sub {
  margin: 0 0 1rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.hm-compare ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.hm-compare li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.hm-compare-old [data-lucide] { color: #f87171; width: 18px; height: 18px; flex-shrink: 0; }
.hm-compare-new [data-lucide] { color: #fff; width: 18px; height: 18px; flex-shrink: 0; }

/* Ops */
.hm-ops {
  background: var(--tx-stage, #eceeed);
  color: #0c1222;
  padding: 5rem 0;
}

.hm-ops-head {
  margin-bottom: 1.75rem;
}

.hm-ops-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #0c1222 !important;
}

.hm-ops-head p {
  margin: 0;
  max-width: 40rem;
  color: #475569;
}

.hm-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hm-ops-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
}

.hm-ops-row .hm-ops-item {
  flex: 1;
  margin: 0;
}

.hm-ops-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.hm-ops-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hm-ops-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0c1222 !important;
}

.hm-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.hm-badge-warn { background: #fee2e2; color: #b91c1c; }
.hm-badge-ok { background: #dbeafe; color: #003e89; }

.hm-ops-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 0.35rem;
}

.hm-bar {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.hm-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.hm-bar-ok span {
  background: linear-gradient(90deg, #003e89, #3b82f6);
}

.hm-ops-btn {
  margin-top: 0.5rem;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  border: 0;
  background: #003e89;
  color: #fff;
  font-weight: 700;
  cursor: default;
}

.hm-ops-btn-outline {
  background: #fff;
  color: #003e89;
  border: 1px solid rgba(0, 62, 137, 0.25);
}

.hm-receipt {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: #334155;
}

.hm-receipt > div {
  display: flex;
  justify-content: space-between;
}

.hm-receipt-total {
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.15);
  font-weight: 800;
  color: #0c1222;
}

.hm-bars-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 88px;
  margin-bottom: 1rem;
}

.hm-bars-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #3b82f6, #003e89);
  display: block;
}

.hm-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hm-status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

/* Pricing dark */
.hm-pricing {
  background: #1a1f27;
  color: #e2e8f0;
  padding: 5rem 0;
}

.hm-pricing h2 {
  text-align: center;
  color: #fff !important;
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.hm-pricing-lead {
  text-align: center;
  color: #94a3b8;
  margin: 0 0 1.5rem;
}

.hm-cycle {
  display: inline-flex;
  margin: 0 auto 2rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: max-content;
  max-width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.hm-cycle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.hm-cycle button.is-on {
  background: #003e89;
  color: #fff;
}

.hm-cycle em {
  font-style: normal;
  color: var(--tx-accent-gold, #FFB84D);
  margin-left: 0.25rem;
  font-size: 0.78rem;
}

.hm-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.hm-price-card {
  position: relative;
  background: #fff;
  color: #0c1222;
  border-radius: 18px;
  padding: 1.75rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid transparent;
}

.hm-price-card.is-popular {
  border: 2px solid #003e89;
  box-shadow: 0 0 0 4px rgba(0, 62, 137, 0.2);
  transform: translateY(-6px);
}

.hm-price-card.is-pro {
  background: #252b35;
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hm-popular-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tx-accent-orange, #F15A24);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.hm-price-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: inherit !important;
}

.hm-price-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.hm-price-card.is-pro .hm-price-desc { color: #94a3b8; }

.hm-amount {
  margin: 0;
  font-family: Satoshi, Outfit, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: inherit;
}

.hm-amount span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin-left: 0.15rem;
}

.hm-price-card.is-pro .hm-amount span { color: #94a3b8; }

.hm-founding {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #003e89;
}

.hm-price-card ul {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.hm-price-card li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #334155;
}

.hm-price-card.is-pro li { color: #cbd5e1; }

.hm-price-card li [data-lucide] {
  width: 16px;
  height: 16px;
  color: #003e89;
  flex-shrink: 0;
  margin-top: 2px;
}

.hm-price-card.is-pro li [data-lucide] { color: #7eabde; }

.hm-price-card .hm-btn { width: 100%; margin-top: auto; }

.hm-pricing-more {
  text-align: center;
  margin: 1.5rem 0 0;
}

.hm-pricing-more a {
  color: #93c5fd !important;
  font-weight: 700;
}

/* Close CTA */
.hm-close {
  background: #0b1220;
  padding: 4rem 0 5rem;
  color: #e2e8f0;
}

.hm-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 18px;
  background: linear-gradient(120deg, #003e89, #0052b4 55%, #003e89);
  box-shadow: 0 16px 40px rgba(0, 62, 137, 0.35);
}

.hm-close-bar h2 {
  margin: 0 0 0.25rem;
  color: #fff !important;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.hm-close-bar p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.95rem;
}

.hm-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hm-close-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin: 1.5rem 0 0;
}

.hm-close-links a {
  color: #94a3b8 !important;
  font-weight: 600;
  text-decoration: none;
}

.hm-close-links a:hover { color: #fff !important; }

@media (max-width: 1024px) {
  .hm-hero-inner { grid-template-columns: 1fr; }
  .hm-hero { min-height: auto; padding: 4.5rem 0 2.5rem; align-items: flex-start; }
  .hm-hero h1 { max-width: none; }
  .hm-hero-stage {
    order: -1;
    width: min(100%, 380px);
    min-height: 0;
    height: auto;
    place-items: start center;
    justify-self: center;
    margin: 1.1rem auto 0.5rem;
  }
  .hm-phone { width: min(100%, 300px); }
  .hm-float-ai { left: 0; top: 0; }
  .hm-float-pos { right: 0; }
  .hm-float-chip {
    left: calc(50% - min(150px, 42vw));
    transform: translateX(-50%);
    bottom: 16%;
  }
  .hm-pillars-grid { grid-template-columns: 1fr; }
  .hm-pillar-stage--social { grid-template-columns: 1fr; }
  .hm-flow-arrow {
    width: 2px;
    height: 24px;
    margin: 0 auto;
  }
  .hm-flow-arrow::after {
    right: -4px;
    top: auto;
    bottom: -2px;
    border-left-color: transparent;
    border-top-color: var(--tx-accent-orange, #F15A24);
  }
  .hm-ops-grid,
  .hm-price-grid { grid-template-columns: 1fr; }
  .hm-price-card.is-popular { transform: none; }
  .hm-step-arrow { display: none; }
  .hm-steps { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hm-step { max-width: none; }
}

@media (max-width: 720px) {
  .hm-compare { grid-template-columns: 1fr; }
  .hm-compare-new { border-left: 0; border-top: 3px solid var(--tx-accent-orange, #F15A24); }
  .hm-partners-pill { border-radius: 18px; }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-close-bar { flex-direction: column; align-items: flex-start; }
  .hm-cycle { width: 100%; justify-content: center; transform: none; left: 0; }
  .hm-cycle button { flex: 1; padding-inline: 0.6rem; font-size: 0.8rem; }
  .hm-pos-board { grid-template-columns: 1fr; }
  .hm-hero { padding: 4.15rem 0 2rem; }
  .hm-hero-stage { min-height: 0; width: min(100%, 340px); margin-top: 1.25rem; }
  .hm-phone { width: min(100%, 288px); }
  .hm-float-ai,
  .hm-float-pos { display: none; }
  .hm-float-chip {
    display: flex;
    left: calc(50% - min(144px, 40vw));
    transform: translateX(-50%);
    bottom: 15%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-hero-glow,
  .hm-hero-stage { animation: none; }
}

/* ===== AI Studio feature page (as-*) ===== */
body:has(.as-page) {
  background: var(--tx-paper, #F9F7F2);
}

body:has(.as-page) main.as-page {
  padding-top: 0;
  overflow-x: clip;
}

.as-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 78% 40%, rgba(0, 62, 137, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(241, 90, 36, 0.12), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 3.5rem;
  overflow: hidden;
}

.as-hero-glow {
  position: absolute;
  inset: auto -10% 5% 35%;
  height: 50%;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.16), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.as-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.as-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.as-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  color: #fff !important;
  max-width: 16ch;
}

.as-sub {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1.5rem;
}

.as-hero-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.as-hero-board {
  width: min(100%, 460px);
  border-radius: 16px;
  background: #121a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.as-hero-board-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  background: #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.as-hero-board-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #475569;
}

.as-hero-board-bar span:nth-child(1) { background: #f87171; }
.as-hero-board-bar span:nth-child(2) { background: #fbbf24; }
.as-hero-board-bar span:nth-child(3) { background: #34d399; }

.as-hero-board-bar em {
  margin-left: 0.5rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
}

.as-hero-board-img {
  width: 100%;
  min-height: 220px;
  border-radius: 0;
  margin: 0;
}

.as-hero-board-rail {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  background: #0b1220;
}

.as-hero-board-rail span {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  color: #94a3b8;
  background: transparent;
}

.as-hero-board-rail span.is-on {
  background: #003e89;
  color: #fff;
}

.as-hero-phone {
  position: absolute;
  right: 4%;
  bottom: 2%;
  z-index: 2;
  width: min(42%, 180px);
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(160deg, #1a2333, #0b1220);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.as-hero-phone-screen {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  padding: 0.4rem;
}

.as-hero-phone-screen .hm-img-slot {
  width: 100%;
  min-height: 180px;
  margin: 0;
  border-radius: 14px;
}

.as-hero-phone-screen p {
  margin: 0.35rem 0 0.15rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #003e89;
}

.as-hero-chip {
  top: auto;
  bottom: 18%;
  left: 6%;
  right: auto;
}

.as-strip {
  background: #121826;
  color: #e2e8f0;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.as-strip .rx-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
}

.as-strip-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
}

.as-strip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.as-strip-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.as-strip-list svg,
.as-strip-list [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--tx-accent-gold, #FFB84D);
}

.as-features,
.as-metrics,
.as-faq {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.as-section-head {
  max-width: 40rem;
  margin: 0 0 2rem;
}

.as-section-head h2 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  color: #0c1222 !important;
  margin: 0 0 0.65rem;
}

.as-section-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.as-section-head--light h2 { color: #fff !important; }
.as-section-head--light p { color: #cbd5e1; }

.hm-accent {
  color: #003e89;
}

.as-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.as-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.35rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.as-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #0c1222 !important;
}

.as-card > p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
  font-size: 0.95rem;
}

.as-card-stage {
  margin-top: auto;
  background: #f3f1eb;
  border-radius: 12px;
  padding: 0.85rem;
  min-height: 160px;
}

.as-card-stage--steps {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.as-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.as-step-chip span {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  font-size: 0.7rem;
}

.as-step-chip.is-active {
  background: #003e89;
  color: #fff;
  border-color: #003e89;
}

.as-step-chip.is-active span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.as-ba {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.as-ba > .hm-img-slot {
  width: 100%;
  min-height: 160px;
  margin: 0;
  border-radius: 12px;
}

.as-ba-top {
  position: absolute;
  inset: 0 auto 1.75rem 0;
  overflow: hidden;
  border-right: 2px solid #fff;
}

.as-ba-top .hm-img-slot {
  width: 100%;
  min-width: 280px;
  min-height: 160px;
  margin: 0;
  border-radius: 12px 0 0 12px;
  object-fit: cover;
}

.as-ba input[type="range"] {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.45rem;
  width: 84%;
  z-index: 2;
}

.as-ba-labels {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  top: 0.55rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.as-ba-labels span {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(12, 18, 34, 0.7);
  color: #fff;
}

.as-accent-chips,
.as-tone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.as-accent-chips button,
.as-tone-row button {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: default;
}

.as-accent-chips button.is-on,
.as-tone-row button.is-on {
  background: #003e89;
  color: #fff;
  border-color: #003e89;
}

.as-copy-box {
  margin-top: 0.65rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.as-copy-box strong {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.as-copy-box p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #0c1222;
}

.as-utils {
  padding: 0 0 2.5rem;
  background: var(--tx-paper, #F9F7F2);
}

.as-utils-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.as-util-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.as-util-card span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.as-util-card strong {
  font-size: 1.05rem;
  color: #0c1222;
}

.as-use {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 62, 137, 0.35), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.as-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.as-use-card {
  background: #fff;
  color: #0c1222;
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.as-use-n {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #003e89;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.as-use-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #0c1222 !important;
}

.as-use-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.as-use-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.45;
}

.as-use-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--tx-accent-orange, #F15A24);
}

.as-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.as-metric-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.as-metric-label {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.as-metric-card h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  color: #003e89 !important;
}

.as-metric-avatars {
  display: flex;
  margin-top: 0.75rem;
}

.as-metric-avatars .hm-img-slot {
  margin: 0 0 0 -0.4rem;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.as-metric-avatars .hm-img-slot:first-child { margin-left: 0; }

.as-faq .rx-faq details {
  background: #fff;
}

.as-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.as-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.as-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
  max-width: 22ch;
}

.as-close p {
  margin: 0;
  color: #bfdbfe;
}

@media (max-width: 1024px) {
  .as-hero-inner { grid-template-columns: 1fr; }
  .as-hero { padding: 4.5rem 0 2.5rem; }
  .as-hero h1 { max-width: none; }
  .as-hero-stage {
    order: -1;
    min-height: 0;
    width: min(100%, 420px);
    margin: 1rem auto 0.5rem;
  }
  .as-hero-phone { width: min(38%, 150px); }
  .as-feature-grid,
  .as-use-grid,
  .as-metrics-grid,
  .as-utils-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .as-hero { padding: 4.15rem 0 2rem; }
  .as-strip .rx-wrap { flex-direction: column; align-items: flex-start; }
  .as-hero-chip {
    left: calc(50% - min(120px, 36vw));
    transform: translateX(-50%);
    bottom: 12%;
  }
  .as-close-bar { flex-direction: column; align-items: flex-start; }
  .as-close .hm-cta-row { width: 100%; }
  .as-close .hm-cta-row .hm-btn { width: 100%; }
}

/* ===== Social Management feature page (sm-*) — homepage theme ===== */
body:has(.sm-page) {
  background: var(--tx-paper, #F9F7F2);
}

body:has(.sm-page) main.sm-page {
  padding-top: 0;
  overflow-x: clip;
}

.sm-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 78% 38%, rgba(0, 62, 137, 0.42), transparent 60%),
    radial-gradient(ellipse 45% 35% at 12% 80%, rgba(241, 90, 36, 0.12), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 3.5rem;
  overflow: hidden;
}

.sm-hero-glow {
  position: absolute;
  inset: auto -8% 8% 40%;
  height: 48%;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.16), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.sm-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.sm-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sm-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  color: #fff !important;
  max-width: 14ch;
}

.sm-sub {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1.5rem;
}

.sm-hero-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.sm-cal-board {
  width: min(100%, 460px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  color: #0c1222;
}

.sm-cal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: #F9F7F2;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sm-cal-bar strong {
  font-size: 0.85rem;
}

.sm-cal-channels {
  display: flex;
  gap: 0.35rem;
}

.sm-cal-img {
  width: 100%;
  min-height: 220px;
  margin: 0;
  border-radius: 0;
}

.sm-cal-side {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  background: #F9F7F2;
}

.sm-cal-side .hm-img-slot { margin: 0; }

.sm-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #0c1222;
}

.sm-pill-brand {
  background: #003e89;
  color: #fff;
}

.sm-phone {
  position: absolute;
  z-index: 2;
  width: min(34%, 148px);
  border-radius: 26px;
  padding: 7px;
  background: linear-gradient(160deg, #1a2333, #0b1220);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.sm-phone .hm-img-slot {
  width: 100%;
  min-height: 180px;
  margin: 0;
  border-radius: 18px;
}

.sm-phone--cal { left: -2%; bottom: 6%; }
.sm-phone--chart { right: -2%; top: 8%; }

.sm-features,
.sm-trigger,
.sm-metrics,
.sm-safety,
.sm-trust,
.sm-faq {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.sm-section-head {
  max-width: 40rem;
  margin: 0 0 2rem;
}

.sm-section-head h2 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #0c1222 !important;
  margin: 0 0 0.65rem;
}

.sm-section-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.sm-section-head--light h2 { color: #fff !important; }
.sm-section-head--light p { color: #cbd5e1; }

.sm-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sm-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sm-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(0, 62, 137, 0.1);
  color: #003e89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sm-card-icon svg,
.sm-card-icon [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
}

.sm-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0c1222 !important;
}

.sm-card > p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.sm-card-media {
  width: 100%;
  min-height: 140px;
  margin: 0.35rem 0 0;
  border-radius: 12px;
}

.sm-chip {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #e8f0fa;
  color: #003e89;
}

.sm-inbox-preview {
  display: grid;
  gap: 0.55rem;
  background: #f3f1eb;
  border-radius: 12px;
  padding: 0.75rem;
}

.sm-inbox-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}

.sm-inbox-row .hm-img-slot { margin: 0; flex-shrink: 0; }

.sm-inbox-row strong {
  display: block;
  font-size: 0.8rem;
  color: #0c1222;
}

.sm-inbox-row small {
  color: #64748b;
  font-size: 0.72rem;
}

.sm-inbox-row em {
  margin-left: auto;
  font-style: normal;
}

.sm-trigger { padding-top: 0; }

.sm-trigger-box {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.sm-trigger-lead {
  margin: 1rem 0 0;
  color: #334155;
  font-size: 0.98rem;
}

.sm-workflow {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 62, 137, 0.35), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.sm-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: smflow;
}

.sm-flow li {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.15rem 1rem 1.25rem;
}

.sm-flow-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: #003e89;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.sm-flow strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.sm-flow p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.sm-dash {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  margin-bottom: 1rem;
}

.sm-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sm-dash-kpis article {
  background: #f3f1eb;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.sm-dash-kpis span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.sm-dash-kpis strong {
  font-size: 1.35rem;
  color: #003e89;
}

.sm-dash-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.sm-dash-body h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: #0c1222 !important;
}

.sm-dash-body .hm-img-slot {
  width: 100%;
  min-height: 180px;
  margin: 0;
}

.sm-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.sm-metric-tile {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  display: grid;
  gap: 0.35rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.sm-metric-tile svg,
.sm-metric-tile [data-lucide] {
  width: 1.15rem;
  height: 1.15rem;
  color: #003e89;
}

.sm-metric-tile span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.sm-metric-tile strong {
  font-size: 1.5rem;
  color: #0c1222;
}

.sm-safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sm-safety-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.sm-safety-card svg,
.sm-safety-card [data-lucide] {
  width: 1.35rem;
  height: 1.35rem;
  color: #003e89;
  margin-bottom: 0.55rem;
}

.sm-safety-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #0c1222 !important;
}

.sm-safety-card p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.sm-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sm-quote {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.sm-quote > p {
  margin: 0 0 1rem;
  color: #0c1222;
  font-size: 0.98rem;
  line-height: 1.55;
}

.sm-quote footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sm-quote .hm-img-slot { margin: 0; }

.sm-quote strong {
  display: block;
  font-size: 0.88rem;
  color: #0c1222;
}

.sm-quote small {
  color: #64748b;
  font-size: 0.75rem;
}

.sm-faq .rx-faq details { background: #fff; }

.sm-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.sm-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.sm-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
  max-width: 20ch;
}

.sm-close p {
  margin: 0;
  color: #bfdbfe;
}

@media (max-width: 1024px) {
  .sm-hero-inner { grid-template-columns: 1fr; }
  .sm-hero { padding: 4.5rem 0 2.5rem; }
  .sm-hero h1 { max-width: none; }
  .sm-hero-stage {
    order: -1;
    min-height: 0;
    width: min(100%, 420px);
    margin: 1rem auto 0.5rem;
  }
  .sm-phone--cal { left: 0; }
  .sm-phone--chart { right: 0; }
  .sm-bento,
  .sm-flow,
  .sm-metric-row,
  .sm-safety-grid,
  .sm-trust-grid {
    grid-template-columns: 1fr;
  }
  .sm-dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-dash-body { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .sm-hero { padding: 4.15rem 0 2rem; }
  .sm-phone { width: min(32%, 120px); }
  .sm-close-bar { flex-direction: column; align-items: flex-start; }
  .sm-close .hm-cta-row { width: 100%; }
  .sm-close .hm-cta-row .hm-btn { width: 100%; }
}

/* ===== WhatsApp Commerce feature page (wc-*) — homepage theme ===== */
body:has(.wc-page) {
  background: var(--tx-paper, #F9F7F2);
}

body:has(.wc-page) main.wc-page {
  padding-top: 0;
  overflow-x: clip;
}

.wc-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 50% at 82% 42%, rgba(37, 211, 102, 0.22), transparent 58%),
    radial-gradient(ellipse 70% 55% at 20% 30%, rgba(0, 62, 137, 0.4), transparent 60%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 3.5rem;
  overflow: hidden;
}

.wc-hero-glow {
  position: absolute;
  inset: auto -5% 10% 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.28), transparent 65%);
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
}

.wc-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.wc-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.wc-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  color: #fff !important;
  max-width: 14ch;
}

.wc-sub {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1.5rem;
}

.wc-hero-stage {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.wc-phone {
  width: min(100%, 280px);
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(160deg, #1a2333, #0b1220);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(37, 211, 102, 0.18);
}

.wc-phone-screen {
  background: #efeae2;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.wc-chat-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  background: #075e54;
  color: #fff;
}

.wc-chat-head .hm-img-slot { margin: 0; flex-shrink: 0; }

.wc-chat-head strong {
  display: block;
  font-size: 0.85rem;
}

.wc-chat-head small {
  font-size: 0.68rem;
  opacity: 0.85;
}

.wc-chat-log {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wc-bubble {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #0c1222;
}

.wc-bubble-in {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 4px;
}

.wc-bubble-out {
  align-self: flex-end;
  background: #dcf8c6;
  border-bottom-right-radius: 4px;
}

.wc-bubble-out .hm-img-slot {
  width: 100%;
  min-height: 90px;
  margin: 0 0 0.35rem;
  border-radius: 8px;
}

.wc-bubble-out p { margin: 0 0 0.35rem; font-weight: 700; }

.wc-pay-chip {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: #003e89;
  color: #fff;
}

.wc-features,
.wc-metrics,
.wc-setup,
.wc-trust,
.wc-faq {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.wc-section-head {
  max-width: 40rem;
  margin: 0 0 2rem;
}

.wc-section-head h2 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #0c1222 !important;
  margin: 0 0 0.65rem;
}

.wc-section-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.wc-section-head--light h2 { color: #fff !important; }
.wc-section-head--light p { color: #cbd5e1; }

.wc-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wc-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wc-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.14);
  color: #128c7e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wc-card-icon svg,
.wc-card-icon [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
}

.wc-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0c1222 !important;
}

.wc-card > p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.wc-card-media {
  width: 100%;
  min-height: 120px;
  margin: 0.25rem 0 0;
  border-radius: 12px;
}

.wc-mobile-feats {
  display: none;
  margin-top: 1rem;
  gap: 0.65rem;
}

.wc-feat-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  color: #0c1222 !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.wc-feat-row svg,
.wc-feat-row [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
  color: #003e89;
  flex-shrink: 0;
}

.wc-how {
  background:
    radial-gradient(ellipse 55% 45% at 75% 25%, rgba(37, 211, 102, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(0, 62, 137, 0.35), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.wc-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.wc-steps li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.15rem 1rem 1.25rem;
}

.wc-step-n {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #25d366;
  color: #0c1222;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.wc-steps strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.wc-steps p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.wc-sample {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  max-width: 40rem;
}

.wc-sample h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: #fff !important;
}

.wc-sample p {
  margin: 0 0 0.4rem;
  color: #e2e8f0;
  font-size: 0.92rem;
}

.wc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.wc-metric {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.wc-metric span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.wc-metric strong {
  display: block;
  font-size: 1.55rem;
  color: #003e89;
  margin-bottom: 0.65rem;
}

.wc-metric .hm-img-slot {
  width: 100%;
  min-height: 48px;
  margin: 0;
}

.wc-metrics-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.wc-metrics-mini article {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.wc-metrics-mini strong {
  display: block;
  font-size: 1.45rem;
  color: #0c1222;
}

.wc-metrics-mini span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.wc-setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wc-setup-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.wc-setup-n {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #003e89;
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.wc-setup-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #0c1222 !important;
}

.wc-setup-card p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.wc-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wc-quote {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.wc-quote > p {
  margin: 0 0 1rem;
  color: #0c1222;
  font-size: 0.98rem;
  line-height: 1.55;
}

.wc-quote footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wc-quote .hm-img-slot { margin: 0; }

.wc-quote strong {
  display: block;
  font-size: 0.88rem;
  color: #0c1222;
}

.wc-quote small {
  color: #64748b;
  font-size: 0.75rem;
}

.wc-faq .rx-faq details { background: #fff; }

.wc-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.wc-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.wc-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
  max-width: 18ch;
}

.wc-close p {
  margin: 0;
  color: #bfdbfe;
}

@media (max-width: 1024px) {
  .wc-hero-inner { grid-template-columns: 1fr; }
  .wc-hero { padding: 4.5rem 0 2.5rem; }
  .wc-hero h1 { max-width: none; }
  .wc-hero-stage {
    order: -1;
    min-height: 0;
    margin: 1rem auto 0.5rem;
  }
  .wc-phone { width: min(100%, 260px); }
  .wc-bento,
  .wc-steps,
  .wc-setup-grid,
  .wc-trust-grid {
    grid-template-columns: 1fr;
  }
  .wc-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-bento { display: none; }
  .wc-mobile-feats { display: grid; }
}

@media (max-width: 720px) {
  .wc-hero { padding: 4.15rem 0 2rem; }
  .wc-metrics-grid,
  .wc-metrics-mini { grid-template-columns: 1fr; }
  .wc-close-bar { flex-direction: column; align-items: flex-start; }
  .wc-close .hm-cta-row { width: 100%; }
  .wc-close .hm-cta-row .hm-btn { width: 100%; }
}

/* ========== Smart Storefront feature page ========== */
body:has(.ss-page) main.ss-page {
  padding-top: 0;
  overflow-x: clip;
}

.ss-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 50% at 82% 42%, rgba(0, 62, 137, 0.45), transparent 58%),
    radial-gradient(ellipse 70% 55% at 18% 28%, rgba(245, 158, 11, 0.16), transparent 60%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 3.5rem;
  overflow: hidden;
}

.ss-hero-glow {
  position: absolute;
  inset: auto -5% 8% 52%;
  height: 55%;
  background: radial-gradient(circle, rgba(0, 62, 137, 0.35), transparent 65%);
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
}

.ss-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.ss-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ss-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  color: #fff !important;
  max-width: 14ch;
}

.ss-sub {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1.5rem;
}

.ss-hero-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.ss-board {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.ss-board--store {
  width: min(100%, 420px);
  position: relative;
  z-index: 1;
}

.ss-board--inv {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  width: min(72%, 260px);
  z-index: 2;
  transform: rotate(-2deg);
}

.ss-board-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ss-board-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #64748b;
}

.ss-board-bar span:nth-child(1) { background: #f87171; }
.ss-board-bar span:nth-child(2) { background: #fbbf24; }
.ss-board-bar span:nth-child(3) { background: #34d399; }

.ss-board-bar em {
  margin-left: 0.5rem;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
}

.ss-board-img {
  width: 100%;
  min-height: 200px;
  margin: 0;
  border-radius: 0;
}

.ss-board-img--sm { min-height: 110px; }

.ss-board-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem 0.9rem;
}

.ss-board-meta strong {
  font-size: 0.9rem;
  color: #fff;
}

.ss-board-meta span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #93c5fd;
}

.ss-float {
  position: absolute;
  z-index: 3;
  background: #fff;
  color: #0c1222;
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
}

.ss-float--checkout {
  top: 12%;
  right: 4%;
  display: grid;
  gap: 0.15rem;
}

.ss-float--checkout span { color: #003e89; font-size: 0.68rem; }

.ss-float--ok {
  left: 2%;
  bottom: 18%;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #003e89;
  color: #fff;
}

.ss-float--ok svg,
.ss-float--ok [data-lucide] {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
}

.ss-features,
.ss-metrics,
.ss-extras,
.ss-trust,
.ss-faq {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.ss-section-head {
  max-width: 40rem;
  margin: 0 0 2rem;
}

.ss-section-head h2 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #0c1222 !important;
  margin: 0 0 0.65rem;
}

.ss-section-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.ss-section-head--light h2 { color: #fff !important; }
.ss-section-head--light p { color: #cbd5e1; }

.ss-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ss-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ss-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(0, 62, 137, 0.1);
  color: #003e89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ss-card-icon svg,
.ss-card-icon [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
}

.ss-card h3,
.ss-extra h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0c1222 !important;
}

.ss-card > p,
.ss-extra > p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.ss-card-media {
  width: 100%;
  min-height: 120px;
  margin: 0.25rem 0 0;
  border-radius: 12px;
}

.ss-mobile-feats {
  display: none;
  margin-top: 1rem;
  gap: 0.65rem;
}

.ss-feat-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  color: #0c1222 !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.ss-feat-row svg,
.ss-feat-row [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
  color: #003e89;
  flex-shrink: 0;
}

.ss-how {
  background:
    radial-gradient(ellipse 55% 45% at 75% 25%, rgba(245, 158, 11, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(0, 62, 137, 0.4), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.ss-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ss-steps li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.15rem 1rem 1.25rem;
}

.ss-step-n {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #f59e0b;
  color: #0c1222;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.ss-steps strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.ss-steps p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ss-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.ss-flow-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
}

.ss-flow-item svg,
.ss-flow-item [data-lucide] {
  width: 1.15rem;
  height: 1.15rem;
  color: #fbbf24;
}

.ss-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.ss-metric {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.ss-metric span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.ss-metric strong {
  display: block;
  font-size: 1.55rem;
  color: #003e89;
  margin-bottom: 0.65rem;
}

.ss-metric .hm-img-slot {
  width: 100%;
  min-height: 48px;
  margin: 0;
}

.ss-metrics-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.ss-metrics-mini article {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.ss-metrics-mini strong {
  display: block;
  font-size: 1.45rem;
  color: #0c1222;
}

.ss-metrics-mini span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.ss-extras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ss-extra {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ss-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ss-quote {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.ss-quote > p {
  margin: 0 0 1rem;
  color: #0c1222;
  font-size: 0.98rem;
  line-height: 1.55;
}

.ss-quote footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ss-quote .hm-img-slot { margin: 0; }

.ss-quote strong {
  display: block;
  font-size: 0.88rem;
  color: #0c1222;
}

.ss-quote small {
  color: #64748b;
  font-size: 0.75rem;
}

.ss-faq .rx-faq details { background: #fff; }

.ss-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.ss-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.ss-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
  max-width: 18ch;
}

.ss-close p {
  margin: 0;
  color: #bfdbfe;
}

@media (max-width: 1024px) {
  .ss-hero-inner { grid-template-columns: 1fr; }
  .ss-hero { padding: 4.5rem 0 2.5rem; }
  .ss-hero h1 { max-width: none; }
  .ss-hero-stage {
    order: -1;
    min-height: 340px;
    margin: 1rem auto 0.5rem;
    width: min(100%, 420px);
  }
  .ss-board--store { width: 100%; }
  .ss-board--inv { width: min(68%, 220px); bottom: 0.75rem; }
  .ss-bento,
  .ss-steps,
  .ss-extras-grid,
  .ss-trust-grid {
    grid-template-columns: 1fr;
  }
  .ss-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-bento { display: none; }
  .ss-mobile-feats { display: grid; }
  .ss-flow { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .ss-hero { padding: 4.15rem 0 2rem; }
  .ss-hero-stage { min-height: 300px; }
  .ss-float--checkout { top: 6%; right: 0; }
  .ss-float--ok { left: 0; bottom: 12%; }
  .ss-metrics-grid,
  .ss-metrics-mini { grid-template-columns: 1fr; }
  .ss-close-bar { flex-direction: column; align-items: flex-start; }
  .ss-close .hm-cta-row { width: 100%; }
  .ss-close .hm-cta-row .hm-btn { width: 100%; }
}

/* ========== Payments & Logistics feature page ========== */
body:has(.pl-page) main.pl-page {
  padding-top: 0;
  overflow-x: clip;
}

.pl-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 50% at 82% 42%, rgba(0, 62, 137, 0.45), transparent 58%),
    radial-gradient(ellipse 70% 55% at 18% 28%, rgba(245, 158, 11, 0.14), transparent 60%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 3.5rem;
  overflow: hidden;
}

.pl-hero-glow {
  position: absolute;
  inset: auto -5% 8% 52%;
  height: 55%;
  background: radial-gradient(circle, rgba(0, 62, 137, 0.35), transparent 65%);
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
}

.pl-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.pl-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.pl-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  color: #fff !important;
  max-width: 16ch;
}

.pl-sub {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1.5rem;
}

.pl-hero-stage {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
}

.pl-monitor {
  width: min(100%, 460px);
  position: relative;
  z-index: 1;
}

.pl-monitor-bezel {
  background: linear-gradient(160deg, #1a2333, #0b1220);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.pl-monitor-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.7rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pl-monitor-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #64748b;
}

.pl-monitor-bar span:nth-child(1) { background: #f87171; }
.pl-monitor-bar span:nth-child(2) { background: #fbbf24; }
.pl-monitor-bar span:nth-child(3) { background: #34d399; }

.pl-monitor-bar em {
  margin-left: 0.5rem;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
}

.pl-monitor-img {
  width: 100%;
  min-height: 240px;
  margin: 0;
  border-radius: 0;
}

.pl-monitor-stand {
  width: 48px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, #334155, #1e293b);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.pl-monitor-base {
  width: 140px;
  height: 8px;
  margin: 0 auto;
  border-radius: 999px;
  background: #1e293b;
}

.pl-phone {
  display: none;
  width: min(100%, 240px);
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(160deg, #1a2333, #0b1220);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.pl-phone-screen {
  background: #0c1222;
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
}

.pl-phone-screen .hm-img-slot {
  width: 100%;
  min-height: 380px;
  margin: 0;
  border-radius: 0;
}

.pl-float {
  position: absolute;
  z-index: 3;
  background: #fff;
  color: #0c1222;
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
}

.pl-float--pay {
  top: 10%;
  right: 0;
  display: grid;
  gap: 0.15rem;
}

.pl-float--pay span { color: #003e89; font-size: 0.68rem; }

.pl-float--ship {
  left: 0;
  bottom: 14%;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #003e89;
  color: #fff;
}

.pl-float--ship svg,
.pl-float--ship [data-lucide] {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
}

.pl-features,
.pl-metrics,
.pl-extras,
.pl-delivery,
.pl-trust,
.pl-faq {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.pl-section-head {
  max-width: 40rem;
  margin: 0 0 2rem;
}

.pl-section-head h2 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #0c1222 !important;
  margin: 0 0 0.65rem;
}

.pl-section-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pl-section-head--light h2 { color: #fff !important; }
.pl-section-head--light p { color: #cbd5e1; }

.pl-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pl-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pl-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(0, 62, 137, 0.1);
  color: #003e89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pl-card-icon svg,
.pl-card-icon [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
}

.pl-card h3,
.pl-extra h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0c1222 !important;
}

.pl-card > p,
.pl-extra > p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.pl-card-media {
  width: 100%;
  min-height: 120px;
  margin: 0.25rem 0 0;
  border-radius: 12px;
}

.pl-mobile-feats {
  display: none;
  margin-top: 1rem;
  gap: 0.65rem;
}

.pl-feat-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  color: #0c1222 !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.pl-feat-row svg,
.pl-feat-row [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
  color: #003e89;
  flex-shrink: 0;
}

.pl-how {
  background:
    radial-gradient(ellipse 55% 45% at 75% 25%, rgba(245, 158, 11, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(0, 62, 137, 0.4), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.pl-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.pl-steps li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.1rem 0.85rem 1.2rem;
  text-align: center;
}

.pl-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.pl-step-icon svg,
.pl-step-icon [data-lucide] {
  width: 1.15rem;
  height: 1.15rem;
}

.pl-steps strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.pl-steps p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.8rem;
  line-height: 1.4;
}

.pl-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.pl-flow-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
}

.pl-flow-item svg,
.pl-flow-item [data-lucide] {
  width: 1.15rem;
  height: 1.15rem;
  color: #fbbf24;
}

.pl-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.pl-metric {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pl-metric span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.pl-metric strong {
  display: block;
  font-size: 1.55rem;
  color: #003e89;
  margin-bottom: 0.65rem;
}

.pl-metric .hm-img-slot {
  width: 100%;
  min-height: 48px;
  margin: 0;
}

.pl-metrics-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.pl-metrics-mini article {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.pl-metrics-mini strong {
  display: block;
  font-size: 1.45rem;
  color: #0c1222;
}

.pl-metrics-mini span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.pl-extras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pl-extra {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pl-delivery-panel {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}

.pl-delivery-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.pl-delivery-field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font: inherit;
  color: #0c1222;
}

.pl-delivery-fee {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pl-delivery-fee p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.pl-delivery-amount {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: 1.75rem !important;
  font-weight: 800;
  color: #003e89 !important;
  margin-top: 0.35rem !important;
}

.pl-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pl-logo-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.pl-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pl-quote {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pl-quote > p {
  margin: 0 0 1rem;
  color: #0c1222;
  font-size: 0.98rem;
  line-height: 1.55;
}

.pl-quote footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pl-quote .hm-img-slot { margin: 0; }

.pl-quote strong {
  display: block;
  font-size: 0.88rem;
  color: #0c1222;
}

.pl-quote small {
  color: #64748b;
  font-size: 0.75rem;
}

.pl-faq .rx-faq details { background: #fff; }

.pl-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.pl-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.pl-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
  max-width: 18ch;
}

.pl-close p {
  margin: 0;
  color: #bfdbfe;
}

@media (max-width: 1024px) {
  .pl-hero-inner { grid-template-columns: 1fr; }
  .pl-hero { padding: 4.5rem 0 2.5rem; }
  .pl-hero h1 { max-width: none; }
  .pl-hero-stage {
    order: -1;
    min-height: 0;
    margin: 1rem auto 0.5rem;
  }
  .pl-monitor { display: none; }
  .pl-phone { display: block; }
  .pl-float--pay { top: 8%; right: -4%; }
  .pl-float--ship { left: -4%; bottom: 10%; }
  .pl-bento,
  .pl-extras-grid,
  .pl-trust-grid {
    grid-template-columns: 1fr;
  }
  .pl-steps { grid-template-columns: 1fr; }
  .pl-steps li { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.85rem; align-items: start; }
  .pl-step-icon { margin-bottom: 0; grid-row: span 2; }
  .pl-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-bento { display: none; }
  .pl-mobile-feats { display: grid; }
  .pl-delivery-panel { grid-template-columns: 1fr; }
  .pl-flow { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .pl-hero { padding: 4.15rem 0 2rem; }
  .pl-phone { width: min(100%, 220px); }
  .pl-metrics-grid,
  .pl-metrics-mini { grid-template-columns: 1fr; }
  .pl-close-bar { flex-direction: column; align-items: flex-start; }
  .pl-close .hm-cta-row { width: 100%; }
  .pl-close .hm-cta-row .hm-btn { width: 100%; }
}

/* ========== Pricing page ========== */
[x-cloak] { display: none !important; }

body:has(.pr-page) main.pr-page {
  padding-top: 0;
  overflow-x: clip;
}

.pr-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 45% at 70% 35%, rgba(0, 62, 137, 0.42), transparent 58%),
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(245, 158, 11, 0.12), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 4rem;
  overflow: hidden;
}

.pr-hero-glow {
  position: absolute;
  inset: 10% 20% auto 40%;
  height: 50%;
  background: radial-gradient(circle, rgba(0, 62, 137, 0.35), transparent 65%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.pr-hero .rx-wrap { position: relative; z-index: 1; }

.pr-hero-copy {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.pr-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.pr-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  color: #fff !important;
}

.pr-sub {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.pr-cycle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.pr-cycle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pr-cycle button.is-on {
  background: #003e89;
  color: #fff;
}

.pr-cycle em {
  font-style: normal;
  color: var(--tx-accent-gold, #FFB84D);
  margin-left: 0.25rem;
  font-size: 0.78rem;
}

.pr-save-badge {
  position: absolute;
  top: -0.85rem;
  right: 0.5rem;
  background: var(--tx-accent-orange, #F15A24);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pr-cycle-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: #94a3b8;
}

.pr-cycle-note a {
  color: #93c5fd !important;
  font-weight: 700;
}

.pr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.pr-card {
  position: relative;
  background: #fff;
  color: #0c1222;
  border-radius: 18px;
  padding: 1.75rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border: 1px solid transparent;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.pr-card.is-popular {
  border: 2px solid #003e89;
  box-shadow: 0 0 0 4px rgba(0, 62, 137, 0.25), 0 20px 48px rgba(0, 0, 0, 0.35);
  transform: translateY(-8px);
}

.pr-card.is-pro {
  background: #1a2333;
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pr-popular-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tx-accent-orange, #F15A24);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pr-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: inherit !important;
}

.pr-card-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.pr-card.is-pro .pr-card-desc { color: #94a3b8; }

.pr-amount {
  margin: 0;
  font-family: Satoshi, Outfit, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: inherit;
}

.pr-amount span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin-left: 0.15rem;
}

.pr-card.is-pro .pr-amount span { color: #94a3b8; }

.pr-founding {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #003e89;
}

.pr-card ul {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.pr-card li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #334155;
}

.pr-card.is-pro li { color: #cbd5e1; }

.pr-card li [data-lucide] {
  width: 16px;
  height: 16px;
  color: #003e89;
  flex-shrink: 0;
  margin-top: 2px;
}

.pr-card.is-pro li [data-lucide] { color: #7eabde; }

.pr-card .hm-btn { width: 100%; margin-top: auto; }

.pr-addons,
.pr-compare,
.pr-faq {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.pr-section-head {
  max-width: 40rem;
  margin: 0 0 2rem;
}

.pr-section-head h2 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #0c1222 !important;
  margin: 0 0 0.65rem;
}

.pr-section-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pr-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pr-addon {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pr-addon.is-on {
  border-color: rgba(0, 62, 137, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 62, 137, 0.12), 0 10px 28px rgba(15, 23, 42, 0.06);
}

.pr-addon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pr-addon-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(0, 62, 137, 0.1);
  color: #003e89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pr-addon-icon svg,
.pr-addon-icon [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
}

.pr-addon-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.18);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.pr-addon.is-on .pr-addon-check {
  background: #003e89;
  border-color: #003e89;
  color: #fff;
}

.pr-addon-check svg,
.pr-addon-check [data-lucide] {
  width: 0.9rem;
  height: 0.9rem;
}

.pr-addon h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0c1222 !important;
}

.pr-addon > p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.pr-addon-price {
  font-weight: 700 !important;
  color: #003e89 !important;
  font-size: 0.88rem !important;
}

.pr-credit-field {
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}

.pr-credit-field input[type="range"] {
  width: 100%;
  accent-color: #003e89;
}

.pr-credit-total {
  margin: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #0c1222 !important;
}

.pr-addon .hm-btn { width: 100%; margin-top: auto; }

.pr-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.pr-table th,
.pr-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
}

.pr-table th {
  background: #f1f5f9;
  font-weight: 800;
  color: #0c1222;
}

.pr-table th.is-hilite,
.pr-table td.is-hilite {
  background: rgba(0, 62, 137, 0.06);
}

.pr-table th.is-hilite { color: #003e89; }

.pr-table tbody tr:last-child td { border-bottom: 0; }

.pr-check {
  color: #003e89;
  font-weight: 800;
}

.pr-dash { color: #94a3b8; }

.pr-faq .rx-faq details { background: #fff; }

.pr-enterprise {
  background: var(--tx-paper, #F9F7F2);
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.pr-enterprise-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #003e89, #0052b4 55%, #003e89);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 62, 137, 0.3);
}

.pr-enterprise-bar h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: #fff !important;
}

.pr-enterprise-bar p {
  margin: 0;
  color: #bfdbfe;
  font-size: 0.95rem;
}

.pr-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.pr-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.pr-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
}

.pr-close-bar > div > p {
  margin: 0;
  color: #bfdbfe;
}

.pr-close-links {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pr-close-links a {
  color: #93c5fd !important;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .pr-hero { padding: 4.5rem 0 3rem; }
  .pr-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pr-card.is-popular { transform: none; }
  .pr-addons-grid { grid-template-columns: 1fr; }
  .pr-enterprise-bar { border-radius: 18px; }
}

@media (max-width: 720px) {
  .pr-hero { padding: 4.15rem 0 2.5rem; }
  .pr-cycle { flex-wrap: wrap; justify-content: center; }
  .pr-close-bar { flex-direction: column; align-items: flex-start; }
  .pr-close .hm-cta-row { width: 100%; }
  .pr-close .hm-cta-row .hm-btn { width: 100%; }
  .pr-enterprise-bar .hm-btn { width: 100%; }
}

/* ========== Features index page ========== */
body:has(.fi-page) main.fi-page {
  padding-top: 0;
  overflow-x: clip;
}

.fi-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 45% at 70% 30%, rgba(0, 62, 137, 0.42), transparent 58%),
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(245, 158, 11, 0.12), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 3.5rem;
  overflow: hidden;
}

.fi-hero-glow {
  position: absolute;
  inset: 5% 15% auto 35%;
  height: 45%;
  background: radial-gradient(circle, rgba(0, 62, 137, 0.35), transparent 65%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.fi-hero .rx-wrap { position: relative; z-index: 1; }

.fi-hero-copy {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.25rem;
}

.fi-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.fi-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  color: #fff !important;
}

.fi-sub {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.fi-filters {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fi-filters button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.fi-filters button.is-on {
  background: #003e89;
  color: #fff;
}

.fi-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fi-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  backdrop-filter: blur(10px);
}

.fi-card--lg {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-rows: auto auto 1fr auto;
  gap: 0.65rem 1.25rem;
  align-items: start;
}

.fi-card--lg .fi-card-badge { grid-column: 1; }
.fi-card--lg h2 { grid-column: 1; }
.fi-card--lg > p { grid-column: 1; }
.fi-card--lg .fi-card-media {
  grid-column: 2;
  grid-row: 1 / span 4;
  min-height: 220px;
  height: 100%;
  margin: 0;
}
.fi-card--lg .hm-btn { grid-column: 1; width: fit-content; }

.fi-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(0, 62, 137, 0.35);
  border: 1px solid rgba(147, 197, 253, 0.25);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.fi-card-badge svg,
.fi-card-badge [data-lucide] {
  width: 0.9rem;
  height: 0.9rem;
}

.fi-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: #fff !important;
  letter-spacing: -0.02em;
}

.fi-card > p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.55;
}

.fi-card-media {
  width: 100%;
  min-height: 140px;
  margin: 0.15rem 0;
  border-radius: 12px;
}

.fi-card .hm-btn { margin-top: auto; width: fit-content; }

.fi-how {
  background:
    radial-gradient(ellipse 50% 40% at 15% 60%, rgba(0, 62, 137, 0.35), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.fi-how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.fi-section-head {
  max-width: 40rem;
  margin: 0 0 2rem;
}

.fi-section-head h2 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #0c1222 !important;
  margin: 0 0 0.65rem;
}

.fi-section-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.fi-section-head--light {
  margin-bottom: 1.5rem;
}

.fi-section-head--light h2 { color: #fff !important; }
.fi-section-head--light p { color: #cbd5e1; }

.fi-how-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.fi-how-steps li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.fi-how-steps strong {
  font-size: 0.95rem;
  color: #fff;
}

.fi-how-steps span {
  font-size: 0.88rem;
  color: #94a3b8;
}

.fi-how-img {
  width: 100%;
  min-height: 280px;
  margin: 0;
  border-radius: 18px;
}

.fi-plans,
.fi-compare,
.fi-integrations,
.fi-faq {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.fi-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.fi-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.fi-table th,
.fi-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
}

.fi-table th {
  background: #f1f5f9;
  font-weight: 800;
  color: #0c1222;
}

.fi-table th.is-hilite,
.fi-table td.is-hilite {
  background: rgba(0, 62, 137, 0.06);
}

.fi-table th.is-hilite { color: #003e89; }

.fi-table tbody tr:last-child td { border-bottom: 0; }

.fi-check {
  color: #003e89;
  font-weight: 800;
}

.fi-dash { color: #94a3b8; }

.fi-plans-more {
  margin: 1.25rem 0 0;
}

.fi-plans-more a {
  color: #003e89 !important;
  font-weight: 700;
}

.fi-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fi-compare-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.fi-compare-card.is-trinix {
  border-color: rgba(0, 62, 137, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 62, 137, 0.1), 0 10px 28px rgba(15, 23, 42, 0.06);
}

.fi-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(0, 62, 137, 0.1);
  color: #003e89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.fi-card-icon svg,
.fi-card-icon [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
}

.fi-compare-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #0c1222 !important;
}

.fi-compare-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
  display: grid;
  gap: 0.4rem;
}

.fi-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.fi-logo-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.fi-faq .rx-faq details { background: #fff; }

.fi-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.fi-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.fi-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
  max-width: 20ch;
}

.fi-close-bar > div > p {
  margin: 0;
  color: #bfdbfe;
}

.fi-close-links {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.fi-close-links a {
  color: #93c5fd !important;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .fi-hero { padding: 4.5rem 0 2.5rem; }
  .fi-bento { grid-template-columns: 1fr; }
  .fi-card--lg {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .fi-card--lg .fi-card-badge,
  .fi-card--lg h2,
  .fi-card--lg > p,
  .fi-card--lg .fi-card-media,
  .fi-card--lg .hm-btn {
    grid-column: 1;
    grid-row: auto;
  }
  .fi-card--lg .fi-card-media {
    min-height: 160px;
    order: 0;
  }
  .fi-how-grid,
  .fi-compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .fi-hero { padding: 4.15rem 0 2rem; }
  .fi-filters { border-radius: 16px; }
  .fi-close-bar { flex-direction: column; align-items: flex-start; }
  .fi-close .hm-cta-row { width: 100%; }
  .fi-close .hm-cta-row .hm-btn { width: 100%; }
}

/* ========== Templates & Prompts library ========== */
body:has(.tp-page) main.tp-page {
  padding-top: 0;
  overflow-x: clip;
}

.tp-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 45% at 70% 28%, rgba(0, 62, 137, 0.42), transparent 58%),
    radial-gradient(ellipse 50% 40% at 20% 18%, rgba(245, 158, 11, 0.12), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 3.5rem;
  overflow: hidden;
}

.tp-hero-glow {
  position: absolute;
  inset: 5% 15% auto 35%;
  height: 45%;
  background: radial-gradient(circle, rgba(0, 62, 137, 0.35), transparent 65%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.tp-hero .rx-wrap { position: relative; z-index: 1; }

.tp-hero-copy {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.25rem;
}

.tp-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.tp-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  color: #fff !important;
}

.tp-sub {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.tp-search-row {
  max-width: 28rem;
  margin: 0 auto 1.15rem;
}

.tp-search {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
}

.tp-search::placeholder { color: #94a3b8; }

.tp-filters {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-filters button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.tp-filters button.is-on {
  background: #003e89;
  color: #fff;
}

.tp-pro {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: var(--tx-accent-gold, #FFB84D);
  color: #0c1222;
}

.tp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tp-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.tp-card--featured {
  box-shadow: 0 0 0 1px rgba(0, 62, 137, 0.35), 0 20px 48px rgba(0, 0, 0, 0.35);
}

.tp-card-pro {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--tx-accent-gold, #FFB84D);
  color: #0c1222;
}

.tp-card-media-wrap {
  position: relative;
}

.tp-card-media {
  width: 100%;
  min-height: 150px;
  margin: 0;
  border-radius: 0;
}

.tp-card--featured .tp-card-media { min-height: 200px; }

.tp-card-tag {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: rgba(0, 62, 137, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.tp-card-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.tp-card-meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.tp-card h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #fff !important;
  letter-spacing: -0.02em;
}

.tp-card-desc {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.tp-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.tp-card-actions .hm-btn { flex: 1 1 10rem; }

.tp-save {
  appearance: none;
  border: 0;
  background: transparent;
  color: #93c5fd;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0.4rem 0;
}

.tp-save svg,
.tp-save [data-lucide] {
  width: 1rem;
  height: 1rem;
}

.tp-copied {
  margin: 1rem 0 0;
  text-align: center;
  color: #93c5fd;
  font-weight: 700;
}

.tp-how {
  background:
    radial-gradient(ellipse 50% 40% at 15% 60%, rgba(0, 62, 137, 0.35), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.tp-how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.tp-section-head {
  max-width: 40rem;
  margin: 0 0 1.5rem;
}

.tp-section-head h2 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #0c1222 !important;
  margin: 0 0 0.65rem;
}

.tp-section-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.tp-section-head--light h2 { color: #fff !important; }
.tp-section-head--light p { color: #cbd5e1; }

.tp-how-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.tp-how-steps li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.tp-how-steps strong {
  font-size: 0.95rem;
  color: #fff;
}

.tp-how-steps span {
  font-size: 0.88rem;
  color: #94a3b8;
}

.tp-how-img {
  width: 100%;
  min-height: 280px;
  margin: 0;
  border-radius: 18px;
}

.tp-extras {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.tp-extras-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tp-extra {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tp-extra-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(0, 62, 137, 0.1);
  color: #003e89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tp-extra-icon svg,
.tp-extra-icon [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
}

.tp-extra h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #0c1222 !important;
}

.tp-extra > p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tp-season-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
  display: grid;
  gap: 0.35rem;
}

.tp-extra .hm-btn { width: fit-content; margin-top: auto; }

.tp-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.tp-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.tp-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
  max-width: 18ch;
}

.tp-close-bar > div > p {
  margin: 0;
  color: #bfdbfe;
}

.tp-close-links {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tp-close-links a {
  color: #93c5fd !important;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .tp-hero { padding: 4.5rem 0 2.5rem; }
  .tp-grid { grid-template-columns: 1fr; }
  .tp-how-grid,
  .tp-extras-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .tp-hero { padding: 4.15rem 0 2rem; }
  .tp-filters { border-radius: 16px; }
  .tp-card-actions { flex-direction: column; align-items: stretch; }
  .tp-card-actions .hm-btn { width: 100%; }
  .tp-close-bar { flex-direction: column; align-items: flex-start; }
  .tp-close .hm-cta-row { width: 100%; }
  .tp-close .hm-cta-row .hm-btn { width: 100%; }
}

/* ========== Blog / Insights ========== */
body:has(.bl-page) main.bl-page {
  padding-top: 0;
  overflow-x: clip;
}

.bl-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 45% at 78% 35%, rgba(0, 62, 137, 0.45), transparent 58%),
    radial-gradient(ellipse 50% 40% at 18% 20%, rgba(245, 158, 11, 0.12), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 3rem;
  overflow: hidden;
}

.bl-hero-glow {
  position: absolute;
  inset: 8% 10% auto 45%;
  height: 50%;
  background: radial-gradient(circle, rgba(0, 62, 137, 0.35), transparent 65%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.bl-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 2rem;
}

.bl-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.bl-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  color: #fff !important;
  max-width: 14ch;
}

.bl-sub {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.bl-hero-img {
  width: 100%;
  min-height: 240px;
  margin: 0;
  border-radius: 18px;
}

.bl-featured {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.bl-featured-media {
  min-height: 240px;
}

.bl-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}

.bl-featured-copy {
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.bl-featured-copy h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  color: #fff !important;
  letter-spacing: -0.02em;
}

.bl-featured-copy > p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.55;
}

.bl-featured-copy .hm-btn { width: fit-content; }

.bl-chip {
  display: inline-flex;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.bl-chip--soft {
  background: rgba(0, 62, 137, 0.12);
  color: #003e89;
  border-color: rgba(0, 62, 137, 0.2);
}

.bl-meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
}

.bl-feed {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.bl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bl-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.bl-filters button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #64748b;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.bl-filters button.is-on {
  background: #003e89;
  color: #fff;
}

.bl-search input {
  min-width: min(100%, 220px);
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font: inherit;
}

.bl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.bl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bl-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.bl-card-img {
  width: 100%;
  min-height: 140px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  display: block;
}

.bl-card-body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.bl-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0c1222 !important;
  letter-spacing: -0.02em;
}

.bl-card p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.bl-empty-note {
  grid-column: 1 / -1;
  color: #64748b;
  font-weight: 600;
}

.bl-side {
  display: grid;
  gap: 1rem;
}

.bl-rank,
.bl-side-cta {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.bl-rank h3,
.bl-side-cta h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: #0c1222 !important;
}

.bl-rank ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.bl-rank li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.bl-rank-n {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #003e89;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bl-rank a {
  text-decoration: none !important;
  color: inherit;
}

.bl-rank strong {
  display: block;
  font-size: 0.9rem;
  color: #0c1222;
  line-height: 1.35;
}

.bl-rank small {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
}

.bl-side-cta p {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.bl-side-cta .hm-btn { width: 100%; }

.bl-news {
  background: var(--tx-paper, #F9F7F2);
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.bl-news-bar {
  background:
    radial-gradient(ellipse 50% 60% at 90% 40%, rgba(245, 158, 11, 0.18), transparent 55%),
    #0D1117;
  color: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.75rem 1.5rem;
  display: grid;
  gap: 1rem;
}

.bl-news-bar h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: #fff !important;
}

.bl-news-bar > div > p {
  margin: 0;
  color: #cbd5e1;
}

.bl-news-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 32rem;
}

.bl-news-form input {
  flex: 1 1 12rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}

.bl-news-form input::placeholder { color: #94a3b8; }

.bl-news-ok {
  margin: 0;
  color: #93c5fd;
  font-weight: 700;
  font-size: 0.9rem;
}

.bl-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.bl-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.bl-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
  max-width: 20ch;
}

.bl-close-bar > div > p {
  margin: 0;
  color: #bfdbfe;
}

@media (max-width: 1024px) {
  .bl-hero { padding: 4.5rem 0 2.5rem; }
  .bl-hero-inner { grid-template-columns: 1fr; }
  .bl-hero h1 { max-width: none; }
  .bl-hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .bl-featured { grid-template-columns: 1fr; }
  .bl-layout { grid-template-columns: 1fr; }
  .bl-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .bl-hero { padding: 4.15rem 0 2rem; }
  .bl-filters { border-radius: 16px; }
  .bl-toolbar { flex-direction: column; align-items: stretch; }
  .bl-search input { width: 100%; }
  .bl-news-form { flex-direction: column; }
  .bl-news-form .hm-btn { width: 100%; }
  .bl-close-bar { flex-direction: column; align-items: flex-start; }
  .bl-close .hm-cta-row { width: 100%; }
  .bl-close .hm-cta-row .hm-btn { width: 100%; }
}

/* ========== About page ========== */
body:has(.ab-page) main.ab-page {
  padding-top: 0;
  overflow-x: clip;
}

.ab-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 50% at 82% 40%, rgba(0, 62, 137, 0.45), transparent 58%),
    radial-gradient(ellipse 70% 55% at 18% 28%, rgba(245, 158, 11, 0.14), transparent 60%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: 5.75rem 0 3.5rem;
  overflow: hidden;
}

.ab-hero-glow {
  position: absolute;
  inset: auto -5% 10% 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(0, 62, 137, 0.35), transparent 65%);
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
}

.ab-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.ab-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ab-hero h1 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  color: #fff !important;
  max-width: 16ch;
}

.ab-sub {
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1.5rem;
}

.ab-hero-img {
  width: 100%;
  min-height: 280px;
  margin: 0;
  border-radius: 20px;
}

.ab-mv,
.ab-values,
.ab-team,
.ab-join {
  background: var(--tx-paper, #F9F7F2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.ab-section-head {
  max-width: 40rem;
  margin: 0 0 2rem;
}

.ab-section-head h2 {
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #0c1222 !important;
  margin: 0 0 0.65rem;
}

.ab-section-head p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.ab-section-head--light h2 { color: #fff !important; }
.ab-section-head--light p { color: #cbd5e1; }

.ab-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ab-mv-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.ab-mv-icon,
.ab-value-icon,
.ab-principle-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: rgba(0, 62, 137, 0.1);
  color: #003e89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.ab-mv-icon svg,
.ab-mv-icon [data-lucide],
.ab-value-icon svg,
.ab-value-icon [data-lucide],
.ab-principle-icon svg,
.ab-principle-icon [data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
}

.ab-mv-card h3,
.ab-value h3,
.ab-principle h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  color: #0c1222 !important;
}

.ab-mv-card p,
.ab-value p,
.ab-principle p {
  margin: 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
}

.ab-problem {
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border-left: 4px solid #003e89;
  border-radius: 0 12px 12px 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.55;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.ab-principles {
  background:
    radial-gradient(ellipse 55% 45% at 75% 25%, rgba(245, 158, 11, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(0, 62, 137, 0.4), transparent 55%),
    var(--tx-hero-ink, #0D1117);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.ab-principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.ab-principle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.2rem 1.1rem 1.35rem;
}

.ab-principle-icon {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}

.ab-principle h3 { color: #fff !important; }
.ab-principle p { color: #cbd5e1; }

.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ab-value {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.ab-team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}

.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.ab-person {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ab-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin: 0 0 0.5rem;
  min-height: 72px;
}

.ab-person h3 {
  margin: 0;
  font-size: 1rem;
  color: #0c1222 !important;
}

.ab-person > p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #003e89;
}

.ab-person > span {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.ab-quote {
  margin: 0;
  background: #003e89;
  color: #fff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 62, 137, 0.3);
}

.ab-quote > p {
  margin: 0;
  font-family: Satoshi, Outfit, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
}

.ab-quote .hm-btn {
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff !important;
}

.ab-team-photo {
  margin-bottom: 1.25rem;
}

.ab-team-photo-img {
  width: 100%;
  min-height: 200px;
  margin: 0;
  border-radius: 18px;
}

.ab-legal {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ab-legal a {
  color: #003e89 !important;
  font-weight: 700;
}

.ab-join {
  padding-top: 0;
}

.ab-join-bar {
  background:
    radial-gradient(ellipse 50% 60% at 90% 40%, rgba(245, 158, 11, 0.16), transparent 55%),
    #0D1117;
  color: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.ab-join-bar > div > h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: #fff !important;
}

.ab-join-bar > div > p {
  margin: 0;
  color: #cbd5e1;
}

.ab-join-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.ab-join-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  text-decoration: none !important;
  color: inherit;
  display: grid;
  gap: 0.35rem;
  transition: background 0.2s ease;
}

.ab-join-card:hover { background: rgba(255, 255, 255, 0.1); }

.ab-join-card strong {
  color: #fff;
  font-size: 1.05rem;
}

.ab-join-card span {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ab-close {
  background: #003e89;
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.ab-close-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.ab-close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff !important;
}

.ab-close-bar > div > p {
  margin: 0;
  color: #bfdbfe;
}

.ab-close-links {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ab-close-links a {
  color: #93c5fd !important;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .ab-hero { padding: 4.5rem 0 2.5rem; }
  .ab-hero-inner { grid-template-columns: 1fr; }
  .ab-hero h1 { max-width: none; }
  .ab-hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .ab-mv-grid,
  .ab-values-grid,
  .ab-principles-grid,
  .ab-join-links {
    grid-template-columns: 1fr;
  }
  .ab-team-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .ab-hero { padding: 4.15rem 0 2rem; }
  .ab-team-grid { grid-template-columns: 1fr; }
  .ab-close-bar { flex-direction: column; align-items: flex-start; }
  .ab-close .hm-cta-row { width: 100%; }
  .ab-close .hm-cta-row .hm-btn { width: 100%; }
}
