:root {
  --bg: #0b1711;
  --bg-soft: #101f17;
  --panel: #13271d;
  --panel-light: #193226;
  --text: #effaf2;
  --muted: #a9beb1;
  --line: rgba(149, 221, 173, 0.18);
  --accent: #70d895;
  --accent-strong: #35b76f;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 82% 12%, rgba(112, 216, 149, 0.13), transparent 30rem),
    linear-gradient(180deg, #0b1711 0%, #0c1812 42%, #0f1c15 100%);
  color: var(--text);
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(11, 23, 17, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.main-nav,
.language-switch,
.hero-actions,
.trust-strip,
.visual-topline,
.routing-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(112, 216, 149, 0.42);
  border-radius: 8px;
  background: #12281c;
  color: var(--accent);
  font-size: 13px;
}

.main-nav {
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.language-switch {
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-button {
  min-width: 38px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.lang-button.active {
  background: var(--accent);
  color: #07120c;
}

.section-band,
.content-section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 88px) 0 clamp(28px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-text,
.section-copy,
.contact-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 780;
  line-height: 1.2;
}

.button.primary {
  background: var(--accent);
  color: #07120c;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.system-visual {
  position: relative;
  min-height: 520px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(112, 216, 149, 0.12), transparent 46%),
    rgba(19, 39, 29, 0.84);
  box-shadow: 0 24px 80px var(--shadow);
  overflow: hidden;
}

.system-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(112, 216, 149, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 216, 149, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.8;
}

.visual-topline,
.provider-grid,
.routing-panel,
.signal-lines {
  position: relative;
  z-index: 1;
}

.visual-topline {
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.signal-lines {
  height: 128px;
  margin: 30px 0 20px;
}

.signal-lines span {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112, 216, 149, 0.8), transparent);
}

.signal-lines span:nth-child(1) { top: 18px; }
.signal-lines span:nth-child(2) { top: 63px; transform: rotate(-8deg); }
.signal-lines span:nth-child(3) { top: 106px; transform: rotate(8deg); }

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

.provider-card,
.feature-card,
.scenario-grid article,
.stack-list,
.app-visual,
.process-list li,
address {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.provider-card {
  min-height: 92px;
  padding: 14px;
}

.provider-card strong,
.provider-card span {
  display: block;
}

.provider-card strong {
  margin-bottom: 8px;
  color: var(--white);
}

.provider-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.routing-panel {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(6, 15, 10, 0.72);
}

.routing-row {
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.routing-row:last-child {
  border-bottom: 0;
}

.routing-row b {
  color: var(--text);
  text-align: right;
}

.trust-strip {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 34px;
}

.trust-strip span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
}

.content-section {
  padding: clamp(58px, 8vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 720px;
}

.card-grid,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.scenario-grid article {
  padding: 22px;
}

.feature-card p,
.scenario-grid p,
.process-list p,
.detail-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 760;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.icon-box {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: rgba(112, 216, 149, 0.14);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}

.two-column,
.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.stack-list {
  padding: 8px 20px;
}

.stack-list div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.stack-list div:last-child {
  border-bottom: 0;
}

.stack-list span {
  color: var(--accent);
  font-weight: 760;
}

.stack-list b {
  color: var(--text);
  font-weight: 650;
}

.app-section {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
}

.app-visual {
  min-height: 320px;
  padding: 18px;
  background:
    linear-gradient(150deg, rgba(112, 216, 149, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
}

.window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 34px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(112, 216, 149, 0.7);
}

.transcript-lines {
  display: grid;
  gap: 14px;
}

.transcript-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(239, 250, 242, 0.16);
}

.transcript-lines i:nth-child(2) { width: 82%; }
.transcript-lines i:nth-child(3) { width: 64%; }
.transcript-lines i:nth-child(4) { width: 74%; }

.insight-pill {
  display: inline-flex;
  margin-top: 34px;
  margin-right: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #08140d;
  font-size: 13px;
  font-weight: 800;
}

.insight-pill.second {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.process-list li {
  padding: 20px;
}

.process-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(112, 216, 149, 0.14), rgba(255, 255, 255, 0.035));
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(82vh - 72px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 94px) 0 clamp(34px, 6vw, 70px);
}

.page-hero h1 {
  font-size: clamp(40px, 6.2vw, 72px);
}

.page-illustration {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px var(--shadow);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.detail-grid h2 {
  font-size: clamp(24px, 2.4vw, 32px);
}

address {
  display: grid;
  gap: 10px;
  padding: 20px;
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--text);
}

address a {
  color: var(--accent);
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .page-hero,
  .two-column,
  .app-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .card-grid,
  .scenario-grid,
  .process-list,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section-band,
  .page-hero,
  .content-section,
  .contact-section,
  .trust-strip {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .main-nav {
    gap: 16px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .system-visual {
    min-height: auto;
    padding: 16px;
  }

  .provider-grid,
  .card-grid,
  .scenario-grid,
  .process-list,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .stack-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-actions .button {
    width: 100%;
  }

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