:root {
  --bg: #f4f6f4;
  --bg-soft: #edf1ee;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --stroke: rgba(16, 24, 32, 0.08);
  --text: #121416;
  --muted: #5f6770;
  --muted-strong: #2f363d;
  --yellow: #ffc71a;
  --yellow-soft: rgba(255, 199, 26, 0.12);
  --mint: #49c6b5;
  --mint-soft: rgba(73, 198, 181, 0.14);
  --shadow: 0 18px 50px rgba(18, 20, 22, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(73, 198, 181, 0.1), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255, 199, 26, 0.08), transparent 14%),
    linear-gradient(180deg, #fbfcfb, #f2f5f2 48%, #eef2ef),
    var(--bg);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

body.preview-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.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;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 248, 0.78);
  border-bottom: 1px solid rgba(16, 24, 32, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 36px;
}

.brand-logo {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.company-logo strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.company-logo small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a,
.footer-links a {
  color: var(--muted-strong);
  transition: color 180ms ease;
  font-weight: 600;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--yellow);
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted-strong);
  margin: 5px auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-section {
  position: relative;
  overflow: clip;
  padding: 7rem 0 4.5rem;
}

.hero-grid,
.hero-orbit {
  position: absolute;
  pointer-events: none;
}

.hero-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
}

.hero-orbit-large,
.hero-orbit-small {
  border-radius: 50%;
  border: 1px solid rgba(16, 24, 32, 0.08);
}

.hero-orbit-large {
  width: 580px;
  height: 580px;
  right: -80px;
  top: 60px;
}

.hero-orbit-large::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  top: 86px;
  right: 82px;
  box-shadow: 0 0 28px rgba(255, 199, 26, 0.55);
}

.hero-orbit-small {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: 40px;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  font-size: 0.76rem;
  font-weight: 600;
  max-width: 46ch;
  line-height: 1.45;
}

.hero-copy h1,
.section-heading h2,
.manifesto-box h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
}

.hero-lead,
.section-heading p,
.feature-card p,
.company-card p,
.process-step p,
.manifesto-box p,
.contact-copy p,
.footer-brand p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 64ch;
  margin: 1.6rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 1rem 3.5rem;
  border-radius: 15px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #ffd440, var(--yellow));
  color: #1a1201;
  /* box-shadow: 0 12px 30px rgba(255, 199, 26, 0.28); */
}

.button-secondary {
  border-color: rgba(73, 198, 181, 0.22);
  background: linear-gradient(135deg, #5ad2c2, var(--mint));
  color: #ffffff;
  /* box-shadow: 0 12px 30px rgba(73, 198, 181, 0.2); */
}

.button-secondary:hover {
  border-color: rgba(73, 198, 181, 0.3);
  background: linear-gradient(135deg, #63d9ca, #3db8a8);
}

.button-ghost {
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  width: 100%;
}

.button-ghost:hover {
  border-color: rgba(16, 24, 32, 0.16);
  background: rgba(255, 255, 255, 1);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
}

.hero-tags li,
.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 32, 0.06);
  color: var(--muted-strong);
  font-size: 0.85rem;
}

#planet-canvas {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
  opacity: 0.7;
}

.hero-panel,
.feature-card,
.company-card,
.manifesto-box {
  border: 1px solid var(--stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 250, 0.95)),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

.hero-panel-logo {
  display: block;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.hero-panel-logo p {
  margin: 0 0 0.3rem;
  color: var(--muted);
}

.hero-panel-logo strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
}

.hero-panel-body {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.signal-card {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(250, 251, 250, 0.92);
  border: 1px solid rgba(16, 24, 32, 0.07);
}

.signal-card-orbital {
  background: linear-gradient(180deg, #1c1d20, #2a2c31);
  border-color: rgba(28, 29, 32, 0.6);
}

.signal-card-orbital strong,
.signal-card-orbital p {
  color: #eef2f1;
}

.signal-card-orbital span {
  color: var(--yellow);
}

.signal-card-ori {
  background: linear-gradient(180deg, rgba(73, 198, 181, 0.15), rgba(73, 198, 181, 0.08));
  border-color: rgba(73, 198, 181, 0.22);
}

.signal-card span,
.process-step span {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.signal-card-ori span {
  color: var(--mint);
}

.signal-card strong,
.feature-card h3,
.process-step h3 {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.signal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.content-section,
.manifesto-section {
  padding: 5.5rem 0;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.preview-modal[hidden] {
  display: none !important;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 24, 0.34);
  backdrop-filter: blur(6px);
}

.preview-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.preview-close {
  align-self: flex-end;
  margin-bottom: 0.6rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  flex-shrink: 0;
}

.preview-shell {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 32px 100px rgba(17, 20, 24, 0.18);
  flex: 1;
  min-height: 0;
}

.preview-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
}

/* .section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(233, 239, 235, 0.75));
} */

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.manifesto-box h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  max-width: 12ch;
}

.section-heading p {
  margin: 1.2rem 0 0;
  max-width: 66ch;
}

.feature-grid,
.company-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.4rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.company-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.feature-icon::before {
  inset: 8px;
  border: 1px solid rgba(16, 24, 32, 0.18);
}

.feature-icon::after {
  width: 10px;
  height: 10px;
  right: 8px;
  top: 8px;
}

.feature-icon-orange {
  background: rgba(255, 199, 26, 0.1);
}

.feature-icon-orange::after {
  background: var(--yellow);
}

.feature-icon-mint {
  background: rgba(73, 198, 181, 0.1);
}

.feature-icon-mint::after {
  background: var(--mint);
}

.feature-icon-dual {
  background: linear-gradient(135deg, rgba(255, 199, 26, 0.1), rgba(73, 198, 181, 0.1));
}

.feature-icon-dual::after {
  background: linear-gradient(135deg, var(--yellow), var(--mint));
}

.company-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.company-card-orbital {
  background: linear-gradient(180deg, #202227, #131519);
  border-color: rgba(18, 20, 22, 0.7);
}

.company-card-orbital .company-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e7ecef;
}

.company-card-orbital p,
.company-card-orbital small,
.company-card-orbital strong {
  color: #f4f7f8;
}

.company-card-orbital .button-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f7f8;
}

.company-card-orbital .logo-plate {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.company-card-ori {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 247, 245, 0.96));
  border-color: rgba(73, 198, 181, 0.18);
}

.company-card-ori .company-badge {
  background: rgba(73, 198, 181, 0.12);
  border-color: rgba(73, 198, 181, 0.18);
}

.company-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0 0.3rem;
}

.logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 32, 0.08);
}

.logo-plate img {
  display: block;
  max-width: 100%;
  height: 70px;
}

/* .logo-plate img[src$=".svg"] {
  width: 74px;
}

.logo-plate img[src$=".png"] {
  width: 74px;
} */

.logo-plate-light {
  background: rgba(255, 255, 255, 0.96);
}

/* .logo-plate-light img {
  width: min(100%, 220px);
} */

.company-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.company-dot-yellow {
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 199, 26, 0.45);
}

.company-dot-mint {
  background: var(--mint);
  box-shadow: 0 0 18px rgba(73, 198, 181, 0.38);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
}

.process-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  height: 1px;
  background: linear-gradient(90deg, rgba(73, 198, 181, 0.35), rgba(255, 199, 26, 0.35));
}

.process-step {
  position: relative;
  padding-top: 2.2rem;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--yellow));
  box-shadow: 0 0 18px rgba(255, 199, 26, 0.22);
}

.manifesto-box {
  padding: 2.4rem;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2227, #15171b);
  border-color: rgba(21, 23, 27, 0.75);
}

.manifesto-box::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.manifesto-box h2,
.manifesto-box p,
.manifesto-box strong {
  color: #eef2f2;
}

.manifesto-box strong {
  display: block;
  margin-top: 1.6rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  line-height: 1.35;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.4rem;
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 250, 0.95)),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 220ms ease, box-shadow 220ms ease;
  justify-content: flex-start;
  align-items: flex-start;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 72px rgba(18, 20, 22, 0.13);
}

.cta-card-orbital {
  background: linear-gradient(180deg, #202227, #131519);
  border-color: rgba(18, 20, 22, 0.7);
  color: #f4f7f8;
}

.cta-card-orbital .cta-card-body p {
  color: rgba(244, 247, 248, 0.65);
}

.cta-card-orbital .cta-card-link {
  color: var(--yellow);
}

.cta-card-ori {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 247, 245, 0.96));
  border-color: rgba(73, 198, 181, 0.18);
}

.cta-card-ori .cta-card-link {
  color: var(--mint);
}

.cta-card-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  flex-shrink: 0;
}

.cta-card-logo img {
  max-width: 100%;
  height: auto;
}

.cta-card-logo-light {
  width: auto;
  min-width: 64px;
  height: auto;
  min-height: 52px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(16, 24, 32, 0.08);
}

.cta-card-logo-light img {
  height: 32px;
  width: auto;
}

.cta-card-body {
  flex: 1;
}

.cta-card-body strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.cta-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
 
.cta-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: auto;
  padding-top: 0.25rem;
}

.cta-card-link::after {
  content: "→";
}

.site-footer {
  padding: 2rem 0 1.6rem;
  /* border-top: 1px solid rgba(16, 24, 32, 0.06);  */
  background: rgba(0, 0, 0, 0.03);
}

.footer-layout,
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  max-width: 640px;
}

.footer-brand p {
  margin: 1rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.4rem;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(16, 24, 32, 0.06);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-content,
  .feature-grid,
  .company-grid,
  .cta-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .process-line::before {
    left: 7px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .process-step {
    padding-top: 0;
    padding-left: 2rem;
  }

  .process-step::before {
    top: 0.55rem;
  }

  .section-heading {
    max-width: none;
  }

}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(16, 24, 32, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  #planet-canvas {
    display: none;
  }

  .hero-section {
    padding-top: 6rem;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .hero-panel,
  .feature-card,
  .company-card,
  .manifesto-box {
    padding: 1.25rem;
  }

  .cta-card {
    padding: 1.25rem;
  }

  .footer-layout,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .brand-logo img {
    height: 30px;
  }

  .brand-logo {
    padding: 0;
  }


}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .site-nav a,
  .footer-links a,
  .cta-card {
    transition: none;
  }
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}