:root {
  --bg: #efefe9;
  --bg-soft: #f7f7f1;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --ink: #0f100f;
  --ink-soft: #62685f;
  --line: rgba(16, 17, 16, 0.08);
  --green: #92d559;
  --green-deep: #329244;
  --green-soft: #e1f1c8;
  --shadow: 0 18px 46px rgba(16, 17, 16, 0.08);
  --shadow-soft: 0 12px 30px rgba(16, 17, 16, 0.05);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 84% 6%, rgba(146, 213, 89, 0.13), transparent 24%),
    radial-gradient(circle at 10% 0%, rgba(255,255,255,0.92), transparent 22%),
    linear-gradient(180deg, #f4f4ef 0%, #eeeee8 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(16, 17, 16, 0.05) 0.45px, transparent 0.45px);
  background-size: 11px 11px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.4), transparent 75%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.page-shell {
  width: min(calc(100% - 44px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 60px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand, .site-nav, .header-actions, .hero-actions, .hero-tags, .signal-grid { display: flex; align-items: center; flex-wrap: wrap; }
.brand { gap: 14px; min-width: 0; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; }
.brand-wordmark {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.site-nav { justify-content: center; gap: 26px; color: var(--ink-soft); }
.site-nav a, .text-link { transition: color 180ms ease; }
.site-nav a:hover, .text-link:hover { color: var(--ink); }
.header-actions { gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover, .product-card:hover, .support-card:hover, .contact-panel a:hover { transform: translateY(-2px); }
.btn-dark { background: #121513; color: #fff; box-shadow: 0 16px 28px rgba(16, 17, 16, 0.18); }
.btn-light { background: rgba(255,255,255,0.78); border: 1px solid var(--line); }
.text-link { padding: 0 4px; font-weight: 600; }

main { display: grid; gap: 22px; }
.brand-intro, .hero, .section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  box-shadow: var(--shadow);
}
.brand-intro::before, .hero::before, .section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.5), transparent 40%);
}

.brand-intro {
  text-align: center;
  padding: 70px 40px 56px;
}
.center { justify-content: center; }
.eyebrow, .card-top span, .mini-label, .support-card span, .contact-panel a span, .stage-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.intro-title {
  position: relative;
  z-index: 1;
  margin: 10px 0 16px;
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}
.intro-meta, .intro-note {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}
.intro-note { margin-top: 8px; font-size: 1rem; }

.hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: stretch;
  padding: 40px;
}
.hero-copy, .network-stage, .product-grid, .signal-grid, .support-grid, .contact-panel, .section-head { position: relative; z-index: 1; }
.hero-copy { padding: 16px 8px 10px; }
.hero-title {
  margin: 14px 0 16px;
  font-size: clamp(4.2rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.09em;
}
.hero-text, .card-body p, .support-card p, .section-note, .contact-copy p, .map-copy p, .list-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero-actions { gap: 12px; margin: 28px 0 22px; }
.hero-tags { gap: 10px; }
.hero-tags span, .signal-tile, .presence-tags span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  font-size: 0.92rem;
  font-weight: 600;
}

.network-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 760px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(241,241,235,0.98), rgba(248,248,242,0.95));
  overflow: hidden;
}
.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 0;
}
.stage-dots { display: inline-flex; align-items: center; gap: 10px; }
.stage-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}
.stage-dot:hover { transform: scale(1.08); }
.stage-dot.red { background: #e56557; }
.stage-dot.yellow { background: #e9b24d; }
.stage-dot.green { background: #73bb57; }
.stage-view {
  position: relative;
  display: grid;
  padding: 18px;
  min-height: 0;
}
.stage-map-view { grid-template-columns: 1fr 210px; gap: 18px; }
.map-card, .list-card, .mini-panel, .branch-item {
  border: 1px solid rgba(16,17,16,0.08);
  border-radius: 26px;
  background: rgba(255,255,255,0.68);
  box-shadow: var(--shadow-soft);
}
.map-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 22px;
}
.map-copy h3, .list-head h3 {
  margin: 8px 0 8px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.branch-map {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #f3f3ee;
}
.map-sidecards {
  display: grid;
  gap: 14px;
  align-content: start;
}
.mini-panel { padding: 18px 16px; }
.mini-panel span, .branch-item strong {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mini-panel strong, .branch-item span {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.45;
}
.stage-list-view {
  position: absolute;
  inset: 52px 18px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
}
.list-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  height: 100%;
  padding: 22px;
}
.branch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.branch-item {
  min-height: 130px;
  padding: 18px;
}
.branch-item-logo {
  display: grid;
  place-items: center;
}
.branch-item-logo img {
  width: 150px;
  object-fit: contain;
}
.network-stage.is-list .stage-list-view {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.network-stage.is-list .stage-map-view {
  opacity: 0.18;
  filter: blur(5px);
}

.section { padding: 42px 38px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head.split { align-items: start; }
.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card, .support-card, .contact-panel a {
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-soft);
}
.card-visual {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(146,213,89,0.08), rgba(255,255,255,0.08));
}
.card-visual img { width: min(90%, 210px); }
.card-body { padding: 22px; }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.card-top strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink-soft);
}
.card-body h3 {
  margin: 0 0 10px;
  font-size: 1.54rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.accent-card .card-visual { background: linear-gradient(180deg, rgba(46,143,64,0.08), rgba(255,255,255,0.06)); }
.stock-card .card-visual { background: linear-gradient(180deg, rgba(134,207,77,0.16), rgba(255,255,255,0.06)); }
.dark-edge { background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(246,246,240,0.76)); }

.signal { display: grid; gap: 22px; }
.signal-grid { gap: 12px; }
.signal-copy h2 { margin: 10px 0 0; }
.signal-tile { font-weight: 700; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.support-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.76);
  box-shadow: var(--shadow-soft);
}
.support-card h3 {
  margin: 14px 0 10px;
  font-size: 1.45rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.contact-panel a {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-soft);
}
.contact-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
  line-height: 1.35;
}
.contact-quote {
  background: linear-gradient(135deg, #131614, #1f2b19 70%, #2f9244);
  color: #fff;
}
.contact-quote span { color: rgba(255,255,255,0.74); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 140ms; }
.reveal-delay-3 { transition-delay: 200ms; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr; justify-items: center; border-radius: 28px; }
  .site-nav { order: 3; }
  .hero, .product-grid, .support-grid, .contact-panel { grid-template-columns: 1fr 1fr; }
  .network-stage { min-height: 640px; }
}

@media (max-width: 880px) {
  .page-shell { width: min(calc(100% - 24px), var(--max-width)); }
  .brand-intro { padding: 56px 22px 44px; }
  .hero, .product-grid, .support-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero { padding: 24px; }
  .hero-copy { padding: 8px 2px; }
  .network-stage { min-height: 720px; }
  .stage-map-view { grid-template-columns: 1fr; }
  .map-sidecards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .branch-list { grid-template-columns: 1fr; }
  .stage-list-view { inset: 52px 12px 12px; }
  .section { padding: 26px 22px; }
  .section-head { display: block; }
}

@media (max-width: 640px) {
  .brand-wordmark { font-size: 0.9rem; letter-spacing: 0.12em; }
  .header-actions { width: 100%; justify-content: center; }
  .site-nav { gap: 14px 18px; }
  .hero-title, .intro-title { font-size: clamp(3rem, 16vw, 4.6rem); }
  .map-sidecards { grid-template-columns: 1fr; }
  .network-stage { min-height: 640px; }
}
