:root {
  color-scheme: dark;
  --font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --bg: #0b0c0b;
  --bg-soft: #121413;
  --graphite: #1a1d1f;
  --graphite-2: #24282a;
  --milk: #f2ece3;
  --milk-2: #e4d9cc;
  --paper: #f7f0e7;
  --paper-soft: #ebe1d5;
  --text: #f5efe7;
  --text-soft: rgba(245, 239, 231, 0.78);
  --text-muted: rgba(245, 239, 231, 0.62);
  --text-dark: #171513;
  --text-dark-soft: rgba(23, 21, 19, 0.74);
  --line: rgba(245, 239, 231, 0.13);
  --line-dark: rgba(23, 21, 19, 0.12);
  --accent: #4d72d9;
  --accent-soft: rgba(77, 114, 217, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: 1180px;
  --step--1: 14px;
  --step-0: 18px;
  --step-1: 20px;
  --step-2: 24px;
  --step-3: clamp(30px, 3.2vw, 44px);
  --step-4: clamp(38px, 4.6vw, 62px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  font-size: var(--step-0);
  line-height: 1.7;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0.6em;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h1 {
  font-size: var(--step-4);
  font-weight: 820;
}

h2 {
  font-size: var(--step-3);
  font-weight: 780;
}

h3 {
  font-size: var(--step-2);
  font-weight: 730;
}

p {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(11, 12, 11, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(210px, 18vw, 285px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-soft);
  font-size: var(--step--1);
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-cta {
  border: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
}

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

.button-primary {
  background: var(--text);
  color: var(--text-dark);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.section {
  padding: clamp(76px, 8vw, 118px) 0;
}

.section-dark {
  background:
    radial-gradient(circle at 18% 12%, rgba(77, 114, 217, 0.18), transparent 32%),
    linear-gradient(135deg, var(--bg), var(--graphite));
}

.section-warm {
  background: var(--paper);
  color: var(--text-dark);
}

.hero {
  min-height: 780px;
  display: grid;
  align-items: center;
  padding: 110px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 640px;
  color: var(--text-soft);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 45%, rgba(77, 114, 217, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(245, 239, 231, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(245, 239, 231, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(245, 239, 231, 0.08), rgba(245, 239, 231, 0.025));
  background-size: auto, 52px 52px, 52px 52px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 68px;
  border: 1px solid rgba(245, 239, 231, 0.18);
  border-radius: 999px;
}

.hero-visual::after {
  inset: 138px 96px;
  border-color: rgba(77, 114, 217, 0.24);
}

.brand-system {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(270px, 60%);
  padding: 30px;
  border: 1px solid rgba(245, 239, 231, 0.18);
  border-radius: 24px;
  background: rgba(11, 12, 11, 0.72);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(16px);
}

.brand-system img {
  width: min(190px, 100%);
  height: auto;
}

.brand-system p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.system-map {
  position: absolute;
  inset: 0;
}

.system-node {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(245, 239, 231, 0.16);
  border-radius: 999px;
  background: rgba(245, 239, 231, 0.08);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 760;
}

.system-node-main {
  display: none;
}

.node-light { left: 38px; top: 58px; }
.node-climate { right: 38px; top: 96px; }
.node-curtains { left: 52px; bottom: 108px; }
.node-security { right: 46px; bottom: 76px; }
.node-scenarios { left: 50%; bottom: 34px; transform: translateX(-50%); }
}

.section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.text-stack p,
.final-copy p {
  color: var(--text-dark-soft);
  font-size: var(--step-1);
  line-height: 1.75;
}

.section-dark .section-heading p:not(.eyebrow),
.section-dark .final-copy p {
  color: var(--text-soft);
}

.cards-grid,
.scenario-grid {
  display: grid;
  gap: 18px;
}

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

.cards-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 246px;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
}

.card h3 {
  color: var(--text-dark);
}

.card p {
  margin-bottom: 0;
  color: var(--text-dark-soft);
  font-size: var(--step-1);
  line-height: 1.7;
}

.step-card span {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--accent);
  font-weight: 820;
}

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

.scenario-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(245, 239, 231, 0.09), rgba(245, 239, 231, 0.055));
  overflow: hidden;
}

.scenario-card span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 820;
}

.scenario-card p {
  color: var(--text-soft);
  font-size: var(--step-0);
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 40px;
}

.text-stack {
  display: grid;
  gap: 16px;
}

.process-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 54px;
  align-items: start;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(245, 239, 231, 0.065);
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list div {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(245, 239, 231, 0.055);
}

.process-list strong {
  color: var(--text);
  font-size: var(--step-1);
}

.process-list span {
  color: var(--text-soft);
}

.final-cta {
  padding: clamp(80px, 9vw, 128px) 0;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 34px;
  align-items: center;
}

.final-copy {
  max-width: 820px;
}

.final-brand-mark {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 239, 231, 0.06);
  justify-self: end;
}

.final-brand-mark img {
  width: 108px;
  height: auto;
  opacity: 0.92;
}

.site-footer {
  padding: 34px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.footer-inner img {
  width: auto;
  height: 32px;
  object-fit: contain;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding-top: 10px;
  }

  .site-nav.is-open a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero-grid,
  .two-column,
  .process-panel {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
    padding-top: 72px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 14px;
  }

  .brand img {
    width: 190px;
    max-height: 48px;
  }

  .cards-grid--three,
  .cards-grid--four,
  .scenario-grid,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    border-radius: 22px;
    padding: 28px;
  }

  .hero-visual::before,
  .hero-visual::after {
    display: none;
  }

  .brand-system {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }

  .system-map {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .system-node {
    position: static;
    min-width: 0;
    transform: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card,
  .scenario-card {
    min-height: auto;
    padding: 24px;
  }

  .final-brand-mark {
    justify-self: start;
    width: 124px;
    height: 124px;
  }

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

@media (max-width: 420px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-bottom: 64px;
  }

  .hero-points span {
    width: 100%;
  }

}
