/* ====== Static pages (Contact, About, Terms, Privacy) ====== */

/* Variable aliases — landingpage.css uses --border/--accent/etc, static pages use --stroke/--primary/etc */
body.static-page {
  --gutter: clamp(16px, 4vw, 24px);
  --stroke: var(--border);
  --stroke2: var(--border);
  --card: var(--bg-elevated);
  --bg0: var(--bg);
  --muted: var(--text-secondary);
  --primary: var(--accent);
  --shadow: rgba(0, 0, 0, 0.06);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Legal pages use in-flow ms-nav (not fixed) — drop extra offset meant for old fixed .nav */
body.static-page .page-main {
  padding-top: 0;
}

/* Legal pages: 8 nav links — collapse to menu a bit earlier than default */
@media (max-width: 1180px) {
  body.static-page .ms-nav-toggle {
    display: inline-flex;
  }

  body.static-page .ms-nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 120;
  }

  body.static-page .ms-nav-links.is-open {
    display: flex;
  }

  body.static-page .ms-nav-links a {
    padding: 0.7rem 0.85rem;
    white-space: normal;
  }

  body.static-page .ms-nav-cta {
    margin-left: 0;
    justify-content: center;
  }
}

@media (min-width: 1181px) {
  body.static-page .ms-nav-links a:not(.ms-btn) {
    padding: 0.5rem 0.55rem;
    font-size: 0.8125rem;
  }
}

/* ---- Sticky nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--gutter);
  height: 60px;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo-img {
  border-radius: 8px;
}
.nav-chip {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu li { list-style: none; }
.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.nav-menu a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}
.nav-menu a.is-active {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}
.nav-menu a.cta {
  margin-left: 0.35rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--text);
  border-radius: 999px;
  transition: opacity 0.15s;
}
.nav-menu a.cta:hover {
  opacity: 0.9;
  background: var(--text);
  color: #fff;
}
.nav-right { display: none; }
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-right { display: flex; }
}

/* ---- Drawer (mobile) ---- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.25s;
}
.drawer.open {
  pointer-events: auto;
  visibility: visible;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s;
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.drawer-head .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
}
.drawer-head .brand-logo { border-radius: 8px; }
.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
}
.drawer-links {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.drawer-links li { list-style: none; }
.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.drawer-links a:hover { background: rgba(0, 0, 0, 0.04); }
.drawer-links a.cta {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--text);
  border-radius: 999px;
}
.drawer-links a.cta:hover { opacity: 0.9; }

/* ---- Page layout ---- */
.page-main {
  display: block;
  min-height: 100vh;
  padding-top: 60px;
  position: relative;
}
.page-main .container {
  width: min(1120px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 24px;
}

/* Hero section */
.page-hero {
  padding: 56px var(--gutter) 48px;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}
.page-hero .kicker {
  margin-bottom: 12px;
}
.page-hero .title-xl {
  margin-bottom: 12px;
}
.page-hero .sub {
  margin-bottom: 0;
}

/* Wide container for sections */
.container-wide {
  width: min(1200px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Section spacing */
.page-section {
  padding: 48px var(--gutter) 56px;
}
.page-section.alt {
  background: #f4f4f5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.page-section .container,
.page-section .container-wide {
  padding: 0;
}
.page-section .kicker {
  margin-bottom: 12px;
}
.page-section .title-lg {
  margin-bottom: 12px;
}
.page-section .sub {
  margin-bottom: 24px;
}

/* Response badge (contact) */
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--card);
}

/* Stats strip (about) */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
}
.stat-value {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Contact: form + channels */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}
@media (max-width: 820px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
}
.form-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow: 0 10px 40px var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 520px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.form-group {
  margin-bottom: 18px;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--bg0);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-channel {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
}
.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-channel h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.contact-channel p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}
.contact-channel a {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.contact-channel a:hover {
  text-decoration: underline;
}
.contact-channel-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Legal content (terms, privacy) */
.legal-content {
  max-width: 68ch;
}
.legal-content h2 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 2.25rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.legal-content p {
  margin-bottom: 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.legal-content ul, .legal-content ol {
  margin: 0.5rem 0 1.15rem;
  padding-left: 1.4em;
}
.legal-content li {
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  text-decoration: none;
}
.legal-content strong {
  color: var(--text);
  font-weight: 600;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.875rem;
}
.legal-content th, .legal-content td {
  text-align: left;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
}
.legal-content th {
  background: #f4f4f5;
  font-weight: 600;
  color: var(--text);
}
.legal-content td {
  color: var(--text-secondary);
}

/* Values strip (about) */
.values-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.value-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.value-content h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.value-content p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Mission / info (about) */
.mission-intro {
  margin-bottom: 28px;
}
.mission-intro p {
  font-size: 17px;
  line-height: 1.6;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.info-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
}
.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.info-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.info-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Highlight card (about) */
.highlight-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--card);
}
.highlight-card .sub {
  margin-bottom: 20px;
}

/* CTA block */
.cta-block {
  text-align: center;
  padding: 2.5rem 1.5rem;
  max-width: 540px;
  margin: 0 auto;
}
.cta-heading {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.cta-sub {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}
.cta-block .btns {
  justify-content: center;
}

/* FAQ */
.faq-list {
  margin-top: 24px;
}
.faq-item {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--card);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}
.faq-question:hover {
  background: rgba(15, 23, 42, 0.03);
}
.faq-question i {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--muted);
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
}
.faq-answer p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  border-top: 1px solid var(--stroke2);
  padding-top: 12px;
  margin-top: 0;
}

/* Footer */
.site-footer {
  padding: 2rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--border);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, 100%);
  margin: 0 auto;
}
.footer-bottom span {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--text);
}

/* ---- Buttons (static pages) ---- */
.page-main .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.page-main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.625rem 1.125rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, opacity 0.15s;
}
.page-main .btn:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.page-main .btn.primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.page-main .btn.primary:hover {
  opacity: 0.92;
}

/* ---- Kicker, titles, sub (static pages) ---- */
.page-main .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.page-main .title-xl {
  margin: 0.75rem 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}
.page-main .sub {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 52ch;
}

/* ---------- Scroll landing (index.html: main.stage + #stack) ---------- */
body.static-page main.stage {
  display: block;
}

body.static-page #stack {
  display: flex;
  flex-direction: column;
}

body.static-page #stack > .panel {
  scroll-margin-top: 80px;
  padding: clamp(40px, 6vw, 72px) 0;
}

body.static-page #stack > .panel.p-hero {
  padding-top: clamp(32px, 5vw, 56px);
}

body.static-page .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  body.static-page .hero-grid {
    grid-template-columns: 1fr;
  }
}

body.static-page .title-xl {
  margin: 0 0 0.75rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
}

body.static-page .title-lg {
  margin: 0 0 0.65rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

body.static-page .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

body.static-page .sub {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 56ch;
}

body.static-page .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

body.static-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

body.static-page .btn:hover {
  background: #f8fafc;
  border-color: var(--stroke);
}

body.static-page .btn.primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

body.static-page .btn.primary:hover {
  opacity: 0.92;
}

body.static-page .hero-quote {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  max-width: 42ch;
}

body.static-page .hero-media-wrapper {
  width: 100%;
}

body.static-page .media-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

body.static-page .media-caption {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: var(--muted);
}

body.static-page .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 520px) {
  body.static-page .hero-stats {
    grid-template-columns: 1fr;
  }
}

body.static-page .hero-mosaic-wide {
  margin-top: clamp(24px, 4vw, 40px);
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid var(--stroke2);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

body.static-page .mosaic-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

body.static-page .mosaic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.9);
}

body.static-page .mosaic-sim {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

body.static-page .mosaic-sim .tile {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: var(--card);
}

body.static-page .mosaic-sim .tile h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

body.static-page .mosaic-sim .big {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.static-page .features-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  body.static-page .features-grid {
    grid-template-columns: 1fr;
  }
}

body.static-page .stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
}

body.static-page .features-right .cards {
  display: grid;
  gap: 1rem;
}

body.static-page .features-right .card {
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
}

body.static-page .features-right .card h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1.05rem;
}

body.static-page .features-right .card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

body.static-page .features-right .card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

body.static-page .tag {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* --- How it works panel --- */
body.static-page .p-howitworks {
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
}

body.static-page .hiw-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

body.static-page .hiw-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

body.static-page .hiw-step {
  flex: 1;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--card);
  text-align: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

body.static-page .hiw-step:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}

body.static-page .hiw-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

body.static-page .hiw-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

body.static-page .hiw-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

body.static-page .hiw-step p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

body.static-page .hiw-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

body.static-page .hiw-arrow {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 1.25rem;
  color: var(--muted);
  margin-top: 3.5rem;
}

@media (max-width: 760px) {
  body.static-page .hiw-steps {
    flex-direction: column;
    align-items: center;
  }
  body.static-page .hiw-step {
    max-width: 100%;
  }
  body.static-page .hiw-arrow {
    transform: rotate(90deg);
    margin-top: 0;
    padding: 0.5rem 0;
  }
}

body.static-page .flow-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

@media (max-width: 900px) {
  body.static-page .flow-grid {
    grid-template-columns: 1fr;
  }
}

body.static-page .terminal {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: #0f172a;
  color: #e2e8f0;
  overflow: hidden;
  margin-top: 0.5rem;
}

body.static-page .term-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: #94a3b8;
}

body.static-page .term-dots {
  display: flex;
  gap: 0.35rem;
}

body.static-page .term-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #475569;
}

body.static-page .steps .step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.static-page .steps .step:last-child {
  border-bottom: none;
}

body.static-page .steps .n {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.35);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  display: grid;
  place-items: center;
}

body.static-page .steps h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  color: #f1f5f9;
}

body.static-page .steps p {
  margin: 0;
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
}

body.static-page .right-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.static-page .right-stack .block {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--card);
}

body.static-page .right-stack .top {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

body.static-page .right-stack .muted {
  color: var(--muted);
  font-weight: 500;
}

body.static-page .meter {
  height: 6px;
  border-radius: 999px;
  background: var(--stroke2);
  overflow: hidden;
}

body.static-page .meter i {
  display: block;
  height: 100%;
  width: var(--mw, 60%);
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  border-radius: inherit;
}

body.static-page .right-stack .btm {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--muted);
}

body.static-page .road-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

body.static-page .road-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 0 var(--gutter);
}

body.static-page .road-card {
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
}

body.static-page .road-card h3 {
  margin: 0.75rem 0 0.65rem;
  font-size: 1.05rem;
}

body.static-page .road-card-features {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted);
}

body.static-page .road-card-features li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
}

/* --- Integrations panel --- */
body.static-page .p-integrations {
  background: linear-gradient(180deg, var(--bg) 0%, #f8fafc 100%);
}

body.static-page .integ-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

body.static-page .integ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  body.static-page .integ-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  body.static-page .integ-grid {
    grid-template-columns: 1fr;
  }
}

body.static-page .integ-card {
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--card);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.static-page .integ-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

body.static-page .integ-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: inline-grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

body.static-page .integ-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

body.static-page .integ-card p {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

body.static-page .integ-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--stroke2, #e2e8f0);
  color: var(--muted);
}

body.static-page .price-card {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--card);
}

body.static-page .price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

body.static-page .price-card .plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

body.static-page .price-card .name {
  font-weight: 700;
  font-size: 1.125rem;
}

body.static-page .price-card .chip {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: var(--stroke2);
  color: var(--muted);
}

body.static-page .price-card .price {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

body.static-page .price-card .features {
  margin: 0 0 1.25rem;
  padding-left: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--muted);
}

body.static-page .price-card .features li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

body.static-page .price-cta {
  width: 100%;
  text-align: center;
}

body.static-page .p-outro {
  position: relative;
  overflow: hidden;
}

body.static-page .outro-card {
  max-width: 720px;
  width: 100%;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: var(--card);
  text-align: center;
}

body.static-page .outro-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

body.static-page .outro-mini .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: #f8fafc;
  color: var(--muted);
}

body.static-page .outro-card .site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--stroke2);
  text-align: left;
}

body.static-page .footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  body.static-page .footer-main {
    grid-template-columns: 1fr;
  }
}

body.static-page .footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-family: "Outfit", system-ui, sans-serif;
  margin-bottom: 0.5rem;
}

body.static-page .footer-tagline {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

body.static-page .footer-col h5 {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

body.static-page .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.static-page .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

body.static-page .footer-links a:hover {
  color: var(--text);
}

body.static-page .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.static-page .footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  color: var(--muted);
}

body.static-page .hud {
  display: none;
}
