/* ============================================================
   SHUUUT — responsive product site (SoftWhere visual language)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg:       #f2e8d8;
  --ink:      #1a0f0a;
  --cream:    #fbf4e9;
  --rust:     #e94b1b;
  --rust-soft:#f3a37e;
  --warm:     #d2541c;
  --ink-70: rgba(26,15,10,0.70);
  --ink-60: rgba(26,15,10,0.60);
  --ink-45: rgba(26,15,10,0.45);
  --ink-12: rgba(26,15,10,0.12);
  --ink-08: rgba(26,15,10,0.08);
  --cream-70: rgba(251,244,233,0.70);
  --cream-45: rgba(251,244,233,0.45);
  --cream-14: rgba(251,244,233,0.14);
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; scroll-padding-top: 84px; }
html, body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============= NAV ============= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  backdrop-filter: blur(10px);
  background: rgba(242,232,216,0.6);
  border-bottom: 1px solid rgba(26,15,10,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--ink); }
.nav-icon {
	
  width: 44px; height: 44px; background: var(--ink); border-radius: 10px;
  display: flex; font-family: var(--mono);
  font-size: 20px; font-weight: 700; color: var(--cream); letter-spacing: -0.05em; line-height: 1;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.nav-icon .slash { color: var(--rust); }
.nav-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.nav-name b { font-weight: 700; }
.nav-name .sub { color: var(--ink-45); font-weight: 500; }
.nav-links { display: flex; gap: 26px; font-size: 13px; font-weight: 500; font-family: var(--mono); letter-spacing: 0.04em; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; opacity: 0.7; transition: opacity 0.15s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.back { opacity: 0.55; }
.nav-cta {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 18px; background: var(--ink); color: var(--cream); border-radius: 999px; text-decoration: none; transition: background 0.15s;
}
.nav-cta:hover { background: var(--rust); }

/* ============= LAYOUT PRIMITIVES ============= */
.section { position: relative; padding: 120px 48px; overflow: hidden; scroll-snap-align: start; }
.section.dark { background: var(--ink); color: var(--cream); }
.wrap { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }

.dots-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(var(--ink-08) 1px, transparent 1.5px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 30%, transparent 78%);
  opacity: 0.7;
}
.dark .dots-bg { background-image: radial-gradient(var(--cream-14) 1px, transparent 1.5px); }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 22px;
}
.label::before { content: ''; width: 26px; height: 2px; background: currentColor; }

h2.head {
  font-size: clamp(32px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  text-wrap: balance;
}
.sl { color: var(--rust); }
.section .lede {
  font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; color: var(--ink-70);
  max-width: 720px; margin-top: 22px; text-wrap: pretty;
}
.dark .lede { color: var(--cream-70); }
.section-head { max-width: 880px; margin-bottom: 60px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.18,.7,.26,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
/* staggered children inside card containers */
.grid .reveal, .cases .reveal, .pricing .reveal, .road .reveal, .gallery .reveal { transition-delay: 0s; }
.grid .reveal:nth-child(2), .cases .reveal:nth-child(2), .pricing .reveal:nth-child(2), .road .reveal:nth-child(2), .gallery .reveal:nth-child(2) { transition-delay: .09s; }
.grid .reveal:nth-child(3), .cases .reveal:nth-child(3), .pricing .reveal:nth-child(3), .road .reveal:nth-child(3), .gallery .reveal:nth-child(3) { transition-delay: .18s; }
.grid .reveal:nth-child(4), .road .reveal:nth-child(4), .gallery .reveal:nth-child(4) { transition-delay: .27s; }
.grid .reveal:nth-child(5) { transition-delay: .36s; }
.grid .reveal:nth-child(6) { transition-delay: .45s; }
/* section heads get a subtle clip-rise */
.section-head.reveal:not(.in), .hero-title.reveal:not(.in) { transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============= HERO ============= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 150px 48px 90px; overflow: hidden; scroll-snap-align: start;
}
.hero .dots-bg { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); }
.hero-big-slash {
  position: absolute; top: 50%; right: -6%; transform: translateY(-50%);
  font-family: var(--mono); font-weight: 700; font-size: clamp(420px, 60vw, 760px);
  color: var(--rust); opacity: 0.06; line-height: 1; user-select: none; z-index: 0;
}
.hero-wrap { max-width: 1180px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.hero-mark {
  width: 76px; height: 76px; border-radius: 18px; background: var(--ink); color: var(--cream);
  display: flex; font-family: var(--mono); font-weight: 700; font-size: 36px; letter-spacing: -0.06em;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.hero-mark .sl { color: var(--rust); }
.hero-badge .pn { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.hero-badge .pn small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-45); margin-top: 3px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust); padding: 9px 17px; border: 1px solid rgba(233,75,27,0.3); border-radius: 999px; margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.65); } }
h1.hero-title { font-size: clamp(46px, 8vw, 100px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.96; max-width: 14ch; }
.hero .lede { color: var(--ink-70); margin: 30px 0 38px; }
.taglines { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.tag { font-family: var(--mono); font-size: 14px; font-weight: 500; padding: 11px 18px; border: 1px solid var(--ink-12); border-radius: 999px; color: var(--ink-70); }
.tag b { color: var(--rust); font-weight: 700; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 28px; border-radius: 999px; text-decoration: none; transition: all 0.18s ease;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: none;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--rust); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink-12); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(26,15,10,0.05); }
.dark .btn-ghost { color: var(--cream); border-color: var(--cream-14); }
.dark .btn-ghost:hover { border-color: var(--cream); background: rgba(251,244,233,0.06); }

/* ============= DÉFI — two columns ============= */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.col { padding: 40px; border-radius: 22px; }
.col.before { background: rgba(26,15,10,0.035); border: 1px solid var(--ink-12); }
.col.after { background: var(--ink); color: var(--cream); }
.col .ctag { font-family: var(--mono); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.col.before .ctag { color: var(--ink-45); }
.col.after .ctag { color: var(--rust); }
.col h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 26px; }
.col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.col li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; line-height: 1.4; }
.col.before li { color: var(--ink-60); }
.col.after li { color: var(--cream-70); }
.mk { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 14px; margin-top: 1px; }
.mk.x { background: var(--ink-08); color: var(--ink-45); }
.mk.v { background: var(--rust); color: var(--cream); }

/* ============= CARD GRIDS ============= */
.grid { display: grid; gap: 22px; }
.grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--cream); border: 1px solid var(--ink-08); border-radius: 20px; padding: 32px;
  box-shadow: 0 24px 50px -36px rgba(26,15,10,0.4);
}
.dark .card { background: rgba(251,244,233,0.04); border-color: var(--cream-14); box-shadow: none; }
.card .ico { width: 56px; height: 56px; border-radius: 14px; background: rgba(233,75,27,0.12); display: grid; place-items: center; margin-bottom: 20px; }
.card .num { font-family: var(--mono); font-weight: 800; color: var(--rust); font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.15; }
.card p { font-size: 16.5px; line-height: 1.55; color: var(--ink-60); }
.dark .card p { color: var(--cream-70); }
.card .tagline { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-45); display: flex; align-items: center; gap: 9px; }
.card .tagline::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
.iabadge { position: absolute; top: 28px; right: 30px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--rust); border: 1px solid rgba(233,75,27,0.45); border-radius: 999px; padding: 5px 11px; }
.card.rel { position: relative; }

/* ============= CASES ============= */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.case-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.case .cn { font-family: var(--mono); font-weight: 700; color: var(--rust); font-size: 18px; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(233,75,27,0.4); display: grid; place-items: center; flex: none; }
.case .scale { text-align: right; }
.case .scale .v { font-size: 50px; font-weight: 800; letter-spacing: -0.03em; line-height: 0.85; }
.case .scale .l { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-45); margin-top: 8px; }
.case .scale .v2 { font-family: var(--mono); font-size: 14px; color: var(--ink-45); margin-top: 12px; }
.case .scale .v2 b { color: var(--rust); font-weight: 700; }
.case .t { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.case .loc { font-family: var(--mono); font-size: 13px; color: var(--ink-45); margin-top: 5px; letter-spacing: 0.06em; }
.case .divider { height: 1px; background: var(--ink-08); }
.case ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.case li { font-size: 16px; line-height: 1.4; color: var(--ink-60); padding-left: 20px; position: relative; }
.case li::before { content: '/'; position: absolute; left: 0; color: var(--rust); font-family: var(--mono); }

/* ============= PRICING ============= */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.feat { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.plan .pk { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); }
.plan h3 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; }
.plan .desc { font-size: 15.5px; line-height: 1.5; color: var(--ink-60); }
.plan.feat .desc { color: var(--cream-70); }
.plan .divider { height: 1px; background: var(--ink-08); }
.plan.feat .divider { background: var(--cream-14); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan li { font-size: 15.5px; line-height: 1.4; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-60); }
.plan.feat li { color: var(--cream-70); }
.plan li .b { color: var(--rust); font-family: var(--mono); flex: none; }
.plan li b { color: var(--ink); font-weight: 700; }
.plan.feat li b { color: var(--cream); }
.ribbon { position: absolute; top: -13px; right: 26px; background: var(--rust); color: var(--cream); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; font-weight: 600; }

/* ============= COMPARISON ============= */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { text-align: left; padding: 18px 24px; }
.cmp thead th { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-45); }
.cmp thead .c2 { color: var(--rust); }
.cmp tbody tr { border-top: 1px solid var(--cream-14); }
.cmp .crit { font-weight: 600; font-size: 18px; }
.cmp .trad { font-size: 16.5px; color: var(--cream-70); }
.cmp .ss { font-size: 16.5px; font-weight: 600; color: var(--cream); }
.cmp .col-ss { background: rgba(233,75,27,0.09); }
.cmp .mkx { color: var(--rust-soft); font-family: var(--mono); margin-right: 9px; }
.cmp .mkv { color: var(--rust); font-family: var(--mono); margin-right: 9px; font-weight: 700; }

/* ============= ROADMAP / STEPS ============= */
.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rstep { display: flex; flex-direction: column; gap: 14px; position: relative; padding: 0 16px; }
.rstep .node { width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(233,75,27,0.55); background: var(--ink); display: grid; place-items: center; position: relative; box-shadow: 0 0 0 8px rgba(233,75,27,0.06); }
.rstep .rn { position: absolute; top: -6px; right: -6px; width: 34px; height: 34px; border-radius: 50%; background: var(--rust); color: var(--cream); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 14px; }
.rstep h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.rstep p { font-size: 16px; line-height: 1.5; color: var(--cream-70); }
.contact-bar { margin-top: 56px; background: var(--rust); border-radius: 22px; padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.contact-bar .cta-t { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.contact-bar .cta-t .c2 { color: var(--cream); }
.contact-bar .info { text-align: right; font-family: var(--mono); color: rgba(26,15,10,0.8); font-size: 17px; line-height: 1.7; }
.contact-bar .info b { color: var(--ink); font-weight: 700; }
.contact-bar .info .muted { color: rgba(26,15,10,0.55); }

/* ============= DEMO FORM ============= */
.demo-wrap { margin-top: 56px; }
.demo-card { background: var(--cream); color: var(--ink); border-radius: 26px; padding: 52px; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5); }
.demo-card .dc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.demo-card h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.025em; }
.demo-card .dc-sub { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.demo-grid .field { display: flex; flex-direction: column; gap: 12px; }
.demo-grid .field.full { grid-column: 1 / -1; }
.demo-grid .field-label { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); }
.demo-grid input, .demo-grid select, .demo-grid textarea {
  font-family: var(--sans); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  background: transparent; border: none; border-bottom: 2px solid var(--ink-12); padding: 12px 0; outline: none; width: 100%;
  transition: border-color 0.2s; resize: none; -webkit-appearance: none; appearance: none;
}
.demo-grid textarea { font-weight: 500; font-size: 18px; line-height: 1.4; }
.demo-grid select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e94b1b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 4px center; background-size: 24px; padding-right: 34px;
}
.demo-grid input::placeholder, .demo-grid textarea::placeholder { color: var(--ink-45); font-weight: 500; }
.demo-grid input:focus, .demo-grid select:focus, .demo-grid textarea:focus { border-bottom-color: var(--rust); }
.demo-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 14px; margin-top: 4px; }
.demo-consent input[type="checkbox"] {
	flex: none; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--rust); cursor: pointer;
	appearance: checkbox;
}
.demo-consent span { font-size: 14px; line-height: 1.5; color: var(--ink-60); }
.demo-consent a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.demo-submit { grid-column: 1 / -1; justify-self: start; margin-top: 8px; background: var(--rust); color: var(--cream); }
.demo-submit:hover { background: var(--ink); transform: translateY(-1px); }
.demo-msg { margin-top: 28px; font-size: clamp(18px, 2vw, 24px); font-weight: 600; }
.demo-msg.err { color: var(--rust); }
.demo-sent { display: none; text-align: center; padding: 20px 0; }
.demo-sent .big { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.demo-sent .big .sl { color: var(--rust); }
@media (max-width: 600px) {
  .demo-card { padding: 32px 24px; }
  .demo-grid { grid-template-columns: 1fr; }
}

/* ============= GALLERY ============= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.clip { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; background: #2a1812; text-decoration: none; color: var(--cream); box-shadow: 0 24px 50px -34px rgba(0,0,0,0.6); transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s; }
.clip:hover { transform: translateY(-6px); box-shadow: 0 36px 64px -30px rgba(0,0,0,0.72); }
.clip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,15,10,0.05) 35%, rgba(26,15,10,0.82)); }
.clip .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(233,75,27,0.94); display: grid; place-items: center; z-index: 2; box-shadow: 0 8px 30px -6px rgba(233,75,27,0.6); transition: transform .26s; }
.clip:hover .play { transform: translate(-50%,-50%) scale(1.12); }
.clip .play::before { content: ''; border-left: 17px solid var(--cream); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.clip .yt { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); background: rgba(26,15,10,0.5); padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.clip .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.clip .cap .t { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.clip .cap .d { font-family: var(--mono); font-size: 13px; color: var(--cream-70); margin-top: 3px; letter-spacing: 0.05em; }

/* ============= ARCHITECTURE (animated flow) ============= */
.sysflow { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 120px; }
.sysflow .links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.sys-col { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.tier-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 6px; }
.snode, .pnode { background: rgba(251,244,233,0.05); border: 1px solid var(--cream-14); border-radius: 14px; min-height: 76px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; transition: border-color .35s, background .35s, box-shadow .35s; }
.snode .ic, .pnode .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(233,75,27,0.13); display: grid; place-items: center; flex: none; transition: background .35s, transform .35s; }
.snode .nm, .pnode .nm { font-weight: 600; font-size: 17px; line-height: 1.25; }
.snode .nm small, .pnode .nm small { display: block; font-family: var(--mono); font-weight: 400; font-size: 12.5px; color: var(--cream-45); margin-top: 2px; }
.pnode .sw { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.pnode .sw i { width: 3px; height: 8px; border-radius: 2px; background: var(--rust); opacity: .5; }
.snode.active, .pnode.active { border-color: rgba(233,75,27,0.75); background: rgba(233,75,27,0.12); box-shadow: 0 0 30px -8px rgba(233,75,27,0.6); }
.snode.active .ic, .pnode.active .ic { transform: scale(1.08); background: rgba(233,75,27,0.24); }
.hub { background: var(--rust); border-radius: 20px; padding: 28px 30px; text-align: center; box-shadow: 0 0 60px -12px rgba(233,75,27,0.6); position: relative; z-index: 1; transition: box-shadow .35s; }
.hub.active { box-shadow: 0 0 90px -6px rgba(233,75,27,0.9); }
.hub::after { content: ''; position: absolute; inset: -7px; border-radius: 26px; border: 2px solid rgba(233,75,27,0.55); opacity: 0; }
.hub .hic { width: 54px; height: 54px; margin: 0 auto 12px; display: grid; place-items: center; }
.hub .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,15,10,0.6); }
.hub .big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 6px 0 14px; white-space: nowrap; }
.hub .hub-specs { display: flex; flex-direction: column; gap: 5px; font-family: var(--mono); font-size: 13px; color: rgba(26,15,10,0.72); }
.link-base { fill: none; stroke: rgba(233,75,27,0.16); stroke-width: 2; }
.link-flow { fill: none; stroke: rgba(233,75,27,0.5); stroke-width: 2; stroke-dasharray: 5 11; stroke-linecap: round; transition: stroke .35s, stroke-width .35s; }
.link.active .link-flow { stroke: var(--rust); stroke-width: 3.5; }
.pkt-dot { fill: var(--rust); filter: drop-shadow(0 0 5px rgba(233,75,27,0.9)); }
.flow-arrow { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .link-flow { animation: dashflow 0.9s linear infinite; }
  .hub::after { animation: hubring 2.4s ease-out infinite; }
  .pnode .sw i { animation: swbar 1.1s ease-in-out infinite; }
  .pnode .sw i:nth-child(2) { animation-delay: .18s; }
  .pnode .sw i:nth-child(3) { animation-delay: .36s; }
  .pnode.active .sw i { animation-duration: .5s; }
}
@keyframes dashflow { to { stroke-dashoffset: -16; } }
@keyframes hubring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.16); opacity: 0; } }
@keyframes swbar { 0%,100% { height: 6px; } 50% { height: 20px; opacity: .9; } }

.result-band { margin-top: 40px; border: 1px dashed rgba(233,75,27,0.5); border-radius: 16px; padding: 24px 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.result-band .rk { font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); }
.result-band .rt { font-size: 19px; font-weight: 600; }
.result-band .rt b { color: var(--rust); }

/* ============= FOOTER ============= */
footer {
  background: var(--bg); padding: 80px 48px 48px; border-top: 1px solid var(--ink-08);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: start;
}
footer .foot-brand { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
footer address { font-style: normal; font-size: 13px; line-height: 1.6; color: var(--ink-60); }
footer .foot-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 8px; }
footer a { color: var(--ink-70); text-decoration: none; font-size: 13px; line-height: 1.9; transition: color 0.15s; display: block; }
footer a:hover { color: var(--rust); }
footer .foot-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-45); letter-spacing: 0.06em; align-self: end; }
footer .foot-meta div { line-height: 1.8; }

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

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .grid.cols4 { grid-template-columns: repeat(2, 1fr); }
  .road { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 880px) {
  html { scroll-snap-type: none; }
  .section { padding: 88px 28px; }
  .hero { padding: 130px 28px 70px; }
  .twocol { grid-template-columns: 1fr; }
  .grid.cols3, .cases, .pricing { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  /* architecture stacks vertically */
  .sysflow { grid-template-columns: 1fr; row-gap: 18px; }
  .sysflow .links { display: none; }
  .flow-arrow { display: grid; place-items: center; color: var(--rust); font-family: var(--mono); font-size: 26px; }
  .hub { order: 0; }
  .contact-bar { flex-direction: column; align-items: flex-start; }
  .contact-bar .info { text-align: left; }
}
@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .grid.cols4 { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; padding: 60px 24px 32px; }
}
