:root {
  --sos-bg: #f3ede4;
  --sos-surface: rgba(255, 250, 242, 0.84);
  --sos-surface-strong: rgba(255, 255, 255, 0.92);
  --sos-surface-muted: rgba(239, 230, 216, 0.8);
  --sos-ink: #151515;
  --sos-ink-soft: rgba(21, 21, 21, 0.7);
  --sos-line: rgba(21, 21, 21, 0.1);
  --sos-line-strong: rgba(21, 21, 21, 0.18);
  --sos-coral: #f0642d;
  --sos-blue: #2670ff;
  --sos-green: #16805c;
  --sos-gold: #b9851b;
  --sos-violet: #5f45d2;
  --sos-dark: #121212;
  --sos-shadow: 0 24px 80px rgba(26, 20, 14, 0.12);
  --sos-radius-xl: 38px;
  --sos-radius-lg: 28px;
  --sos-radius-md: 22px;
  --sos-radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(240, 100, 45, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(38, 112, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #f6f1e8 0%, #efe6d8 100%);
  color: var(--sos-ink);
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 18% 16%, rgba(240, 100, 45, 0.08), transparent 22%),
    radial-gradient(circle at 80% 14%, rgba(38, 112, 255, 0.08), transparent 22%),
    radial-gradient(circle at 58% 72%, rgba(22, 128, 92, 0.06), transparent 28%);
  filter: blur(90px);
  opacity: 0.46;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: blur(16px);
}

.site-nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  color: rgba(21, 21, 21, 0.78);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--sos-ink);
  background: rgba(21, 21, 21, 0.05);
}

.nav-link.cta,
.button.cta,
.button-dark {
  background: var(--sos-dark);
  color: #fff;
  box-shadow: 0 10px 30px rgba(21, 21, 21, 0.12);
}

.nav-link.cta:hover,
.button.cta:hover,
.button-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(21, 21, 21, 0.16);
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-outline {
  border: 1px solid rgba(21, 21, 21, 0.14);
  color: var(--sos-ink);
  background: rgba(255, 255, 255, 0.5);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.76);
}

.header-lang-slot {
  display: flex;
  align-items: center;
}

.language-switcher {
  position: relative;
  display: inline-block;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.94);
  color: var(--sos-ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(21, 21, 21, 0.05);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  background: rgba(255, 250, 242, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.24s ease;
  z-index: 20;
}

.language-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(21, 21, 21, 0.72);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-option:hover {
  background: rgba(21, 21, 21, 0.05);
  color: var(--sos-ink);
}

.lang-option.active {
  background: rgba(38, 112, 255, 0.1);
  color: var(--sos-blue);
  font-weight: 600;
}

.lang-name {
  font-family: 'IBM Plex Sans', sans-serif;
}

.mobile-menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.92);
  cursor: pointer;
}

.mobile-menu-btn .hamburger {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--sos-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.site-main {
  position: relative;
  z-index: 1;
}

.section-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 110px 24px;
}

.section-shell[id] {
  scroll-margin-top: 100px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(21, 21, 21, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(16, 20, 27, 0.9);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 18px 0 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.section-head p {
  margin: 0;
  color: var(--sos-ink-soft);
  font-size: 15px;
}

.hero-shell {
  padding-top: 64px;
  padding-bottom: 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.overview-card,
.module-card,
.health-band,
.app-card,
.app-note,
.usecase-card,
.cta-frame,
.footer-inner {
  border-radius: var(--sos-radius-xl);
  border: 1px solid var(--sos-line);
  background: var(--sos-surface);
  box-shadow: var(--sos-shadow);
  backdrop-filter: blur(10px);
}

.hero-copy {
  padding: 42px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(245, 237, 226, 0.94));
}

.hero-copy h1 {
  margin: 20px 0 0;
  max-width: 11ch;
  font-family: 'Sora', sans-serif;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.hero-lede {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--sos-ink-soft);
  font-size: 17px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-chip,
.tech-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(21, 21, 21, 0.76);
  font-size: 13px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.hero-fact {
  padding: 16px 18px;
  border-radius: var(--sos-radius-md);
  border: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.hero-fact strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-fact span {
  display: block;
  margin-top: 8px;
  color: var(--sos-ink-soft);
  font-size: 14px;
}

.hero-panel {
  padding: 28px;
  display: grid;
  gap: 18px;
  align-content: start;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(231, 239, 255, 0.92));
}

.hero-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hero-panel-head strong {
  font-size: 15px;
  font-weight: 700;
}

.hero-panel-head span {
  color: var(--sos-ink-soft);
  font-size: 13px;
}

.signal-grid {
  display: grid;
  gap: 12px;
}

.signal-card {
  padding: 18px;
  border-radius: var(--sos-radius-md);
  border: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.signal-card h3 {
  margin: 0 0 10px;
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  line-height: 1.1;
}

.signal-card p {
  margin: 0;
  color: var(--sos-ink-soft);
  font-size: 14px;
}

.signal-card ul,
.module-content ul,
.health-list,
.feature-list,
.app-list,
.usecase-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.signal-card li,
.module-content li,
.feature-list li,
.app-list li,
.usecase-list li,
.health-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--sos-ink-soft);
  font-size: 14px;
}

.signal-card li::before,
.module-content li::before,
.feature-list li::before,
.app-list li::before,
.usecase-list li::before,
.health-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--sos-coral);
  transform: translateY(-50%);
}

.signal-card.signal-watch {
  background: linear-gradient(160deg, rgba(255, 241, 230, 0.92), rgba(255, 255, 255, 0.86));
}

.signal-card.signal-app {
  background: linear-gradient(160deg, rgba(231, 239, 255, 0.9), rgba(255, 255, 255, 0.86));
}

.signal-card.signal-dispatch {
  background: linear-gradient(160deg, rgba(234, 247, 241, 0.9), rgba(255, 255, 255, 0.86));
}

.overview-grid,
.apps-grid,
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.overview-card,
.app-card,
.usecase-card {
  padding: 28px;
}

.overview-card h3,
.app-card h3,
.usecase-card h3,
.module-header h3,
.health-band h3,
.app-note h3,
.cta-frame h2 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  line-height: 1.05;
}

.overview-card h3,
.app-card h3,
.usecase-card h3 {
  font-size: 1.45rem;
}

.overview-card p,
.module-card p,
.app-card p,
.usecase-card p,
.app-note p,
.cta-frame p,
.health-band p {
  color: var(--sos-ink-soft);
  font-size: 15px;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.08);
  color: var(--sos-ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill.is-soft {
  background: rgba(38, 112, 255, 0.12);
  color: var(--sos-blue);
}

.status-pill.is-build {
  background: rgba(185, 133, 27, 0.14);
  color: var(--sos-gold);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.modules-shell {
  border-radius: 46px;
  padding: 56px 42px 46px;
  background: linear-gradient(180deg, #101317 0%, #18202b 100%);
  box-shadow: 0 40px 120px rgba(17, 14, 12, 0.22);
}

.modules-shell .section-label {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

.modules-shell .section-head h2,
.modules-shell .section-head p {
  color: #fff;
}

.modules-shell .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.module-card:nth-child(3n + 1) .module-number {
  background: rgba(240, 100, 45, 0.16);
}

.module-card:nth-child(3n + 2) .module-number {
  background: rgba(38, 112, 255, 0.18);
}

.module-card:nth-child(3n) .module-number {
  background: rgba(22, 128, 92, 0.18);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.module-header h3 {
  font-size: 1.15rem;
  color: #fff;
}

.module-content li {
  color: rgba(255, 255, 255, 0.72);
}

.module-content li::before {
  background: rgba(255, 255, 255, 0.8);
}

.health-band {
  padding: 34px 36px;
  background:
    linear-gradient(160deg, rgba(234, 247, 241, 0.92), rgba(255, 255, 255, 0.9));
}

.health-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.health-band h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.05em;
}

.health-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 6px;
}

.health-list li {
  margin-bottom: 0;
}

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

.app-card,
.usecase-card {
  background: var(--sos-surface-strong);
}

.app-note {
  margin-top: 18px;
  padding: 24px 28px;
  background: linear-gradient(160deg, rgba(231, 239, 255, 0.9), rgba(255, 255, 255, 0.88));
}

.app-note h3 {
  font-size: 1.3rem;
}

.cta-frame {
  padding: 36px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(255, 241, 230, 0.92), rgba(255, 255, 255, 0.9));
}

.cta-frame h2 {
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  letter-spacing: -0.06em;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 0 24px 34px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-radius: var(--sos-radius-lg);
  background: rgba(255, 250, 242, 0.74);
  box-shadow: 0 16px 36px rgba(21, 21, 21, 0.05);
}

.footer-copy {
  color: var(--sos-ink-soft);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--sos-ink-soft);
  font-size: 14px;
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .hero-grid,
  .section-head,
  .health-band-grid,
  .cta-frame {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    position: fixed;
    inset: 78px 16px auto;
    display: block;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(21, 21, 21, 0.1);
    background: rgba(255, 250, 242, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.24s ease;
    z-index: 35;
  }

  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu-content {
    display: grid;
    gap: 10px;
  }

  .mobile-menu-content a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--sos-ink);
    font-weight: 600;
    background: rgba(21, 21, 21, 0.04);
  }

  .mobile-menu-content a.cta {
    justify-content: center;
    background: var(--sos-dark);
    color: #fff;
  }

  .mobile-menu .language-switcher {
    margin-top: 6px;
  }

  .mobile-menu .lang-current {
    width: 100%;
    justify-content: center;
  }

  .module-grid,
  .health-list,
  .overview-grid,
  .apps-grid,
  .usecases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-shell {
    padding: 88px 16px;
  }

  .hero-shell {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .site-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy,
  .hero-panel,
  .overview-card,
  .module-card,
  .health-band,
  .app-card,
  .app-note,
  .usecase-card,
  .cta-frame,
  .footer-inner {
    padding: 26px 22px;
    border-radius: 28px;
  }

  .modules-shell {
    padding: 34px 20px 20px;
    border-radius: 30px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.4rem, 11vw, 4.1rem);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
