/* =============================================
   USHUR × CLOUDFLARE REALTIME
   styles.css
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Cloudflare */
  --cf:      #F6821F;
  --cf-lt:   #FBAD41;
  --cf-dk:   #d96b10;
  /* Ushur brand — deep navy/teal */
  --ushur:   #1a56db;
  --ushur-lt:#60a5fa;

  --bg:      #070707;
  --bg-2:    #0d0d0d;
  --bg-3:    #141414;
  --surface: #1a1a1a;
  --surface2:#222;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text:    #f0ede8;
  --muted:   #888;
  --faint:   #444;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'SF Mono', 'Fira Code', monospace;
  --max-w: 1200px;
  --r: 10px;
  --r-lg: 16px;
  --t: 0.24s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }
p { color: var(--muted); font-size: .9rem; line-height: 1.8; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.accent-orange { color: var(--cf); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .72rem 1.5rem; border-radius: 8px;
  font-size: .875rem; font-weight: 600;
  cursor: pointer; border: none; font-family: var(--font);
  transition: var(--t);
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn--primary { background: var(--cf); color: #fff; }
.btn--primary:hover { background: var(--cf-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(246,130,31,.3); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn--ghost:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); transform: translateY(-1px); }

/* ---- Section header ---- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-label { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cf); margin-bottom: .6rem; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin-bottom: .75rem; color: var(--text); }
.section-sub { font-size: .925rem; color: var(--muted); line-height: 1.8; }

.ext-link { color: var(--muted); font-size: .8rem; margin-left: auto; padding: .25rem .5rem; border: 1px solid var(--border); border-radius: 5px; transition: var(--t); }
.ext-link:hover { color: var(--cf); border-color: rgba(246,130,31,.3); }

/* ====================== NAV ====================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem; transition: var(--t);
}
.nav.scrolled {
  background: rgba(7,7,7,.92); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav__brand { display: flex; align-items: center; gap: .5rem; }
.nav__ushur { font-size: .95rem; font-weight: 800; color: var(--ushur-lt); letter-spacing: -.01em; }
.nav__sep { color: var(--faint); font-size: 1rem; }
.nav__cf { flex-shrink: 0; }
.nav__tag {
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cf-lt);
  background: rgba(246,130,31,.1); border: 1px solid rgba(246,130,31,.2);
  padding: .15rem .5rem; border-radius: 4px;
}
.nav__links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav__links a { font-size: .8rem; font-weight: 500; color: var(--muted); transition: color var(--t); }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: var(--cf) !important; color: #fff !important;
  font-weight: 600 !important; padding: .4rem .95rem;
  border-radius: 6px; font-size: .78rem !important;
}
.nav__cta:hover { background: var(--cf-dk) !important; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }

/* ====================== HERO ====================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 70px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: var(--bg); }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(246,130,31,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(246,130,31,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, black 20%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(130px); pointer-events: none; }
.hero__glow--1 { width: 550px; height: 550px; background: radial-gradient(circle, rgba(246,130,31,.09), transparent 70%); top: -80px; right: -100px; animation: gf 14s ease-in-out infinite alternate; }
.hero__glow--2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(26,86,219,.07), transparent 70%); bottom: 0; left: -60px; animation: gf 18s ease-in-out infinite alternate-reverse; }
@keyframes gf { from{transform:translate(0,0)} to{transform:translate(22px,16px)} }

.hero__inner { position: relative; z-index: 2; padding-top: 2rem; padding-bottom: 4rem; }
.hero__eyebrow { margin-bottom: 1.5rem; }
.eyebrow-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 600; color: var(--cf-lt);
  background: rgba(246,130,31,.08); border: 1px solid rgba(246,130,31,.2);
  padding: .28rem .75rem; border-radius: 50px; letter-spacing: .04em;
}
.live-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }

.hero__h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 1.25rem; max-width: 700px; }
.hero__sub { font-size: 1rem; color: var(--muted); max-width: 580px; line-height: 1.8; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* Hero visual */
.hero__visual { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }

/* Phone mockup */
.hv-phone { width: 280px; flex-shrink: 0; }
.hv-phone__chrome { background: #111; border-radius: 36px 36px 0 0; height: 20px; display: flex; justify-content: center; align-items: center; border: 1px solid var(--border2); border-bottom: none; }
.hv-phone__notch { width: 80px; height: 10px; background: #0a0a0a; border-radius: 50px; }
.hv-phone__screen {
  background: var(--bg-2); border: 1px solid var(--border2);
  border-top: none; border-radius: 0 0 28px 28px;
  overflow: hidden; min-height: 420px;
  display: flex; flex-direction: column;
}
.hv-screen__topbar {
  background: var(--surface); padding: .6rem 1rem;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border);
}
.hv-calling {
  display: flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 600; color: #4ade80;
}
.hv-calling svg { width: 11px; height: 11px; }
.pulse-ring { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulse 1.5s ease-in-out infinite; flex-shrink: 0; }
.hv-timer { font-size: .68rem; font-family: var(--mono); color: var(--muted); }
.hv-screen__content { flex: 1; padding: 1rem; }
.hv-step { display: none; }
.hv-step--active { display: block; }
.hv-agent-msg { font-size: .78rem; background: var(--surface2); border-radius: 8px; padding: .7rem .85rem; margin-bottom: .85rem; line-height: 1.5; color: var(--text); border-left: 2px solid var(--cf); }
.hv-wave { margin-right: .25rem; }
.hv-input-group { margin-bottom: .75rem; }
.hv-input-group label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: block; margin-bottom: .3rem; }
.hv-input { width: 100%; background: var(--surface); border: 1px solid var(--border2); border-radius: 6px; padding: .45rem .65rem; font-size: .78rem; color: var(--text); font-family: var(--font); outline: none; }
.hv-input:focus { border-color: var(--cf); }
.hv-btn { width: 100%; background: var(--cf); color: #fff; border: none; border-radius: 7px; padding: .5rem; font-size: .78rem; font-weight: 700; cursor: pointer; transition: var(--t); font-family: var(--font); }
.hv-btn:hover { background: var(--cf-dk); }
.hv-choice-group { display: flex; flex-direction: column; gap: .4rem; }
.hv-choice { width: 100%; background: var(--surface); border: 1px solid var(--border2); color: var(--text); border-radius: 7px; padding: .5rem .75rem; font-size: .78rem; font-weight: 600; cursor: pointer; transition: var(--t); text-align: left; font-family: var(--font); }
.hv-choice:hover { border-color: var(--cf); background: rgba(246,130,31,.06); }
.hv-choice--alt:hover { border-color: var(--ushur-lt); background: rgba(96,165,250,.06); }
.hv-upload { border: 1.5px dashed var(--border2); border-radius: 8px; padding: 1.25rem; text-align: center; margin-bottom: .75rem; cursor: pointer; }
.hv-upload svg { width: 28px; height: 28px; color: var(--muted); display: block; margin: 0 auto .4rem; }
.hv-upload span { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); margin-bottom: .2rem; }
.hv-upload small { font-size: .62rem; color: var(--faint); }
.hv-complete { text-align: center; padding: .5rem 0; }
.hv-complete__icon { width: 44px; height: 44px; background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; font-size: 1.1rem; color: #4ade80; }
.hv-complete h3 { font-size: .9rem; font-weight: 700; margin-bottom: .35rem; }
.hv-complete p { font-size: .75rem; color: var(--muted); margin-bottom: .75rem; }
.hv-complete__meta { display: flex; flex-direction: column; gap: .3rem; }
.hv-complete__meta span { font-size: .68rem; color: var(--faint); }

.hv-screen__progress { padding: .75rem 1rem; border-top: 1px solid var(--border); }
.hv-progress-track { height: 3px; background: var(--surface2); border-radius: 2px; margin-bottom: .35rem; }
.hv-progress-bar { height: 100%; background: linear-gradient(to right, var(--cf), var(--cf-lt)); border-radius: 2px; transition: width .5s ease; }
.hv-progress-label { font-size: .62rem; color: var(--faint); }

/* Infra panel */
.hv-infra { flex: 1; }
.hv-infra__label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--faint); margin-bottom: .75rem; }
.hv-infra__stack { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.hv-infra__item {
  display: flex; align-items: center; gap: .75rem;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: .75rem 1rem;
  transition: var(--t);
}
.hv-infra__item--active { border-color: rgba(246,130,31,.25); background: rgba(246,130,31,.04); }
.hv-infra__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; animation: pulse 2s ease-in-out infinite; }
.hv-infra__item strong { display: block; font-size: .82rem; font-weight: 700; }
.hv-infra__item span { font-size: .7rem; color: var(--muted); }
.hv-infra__stat { margin-left: auto; font-size: .7rem; font-weight: 700; font-family: var(--mono); }
.hv-infra__stat--green { color: #4ade80; }
.hv-infra__compliance { display: flex; flex-wrap: wrap; gap: .35rem; }
.hv-infra__compliance span {
  font-size: .65rem; font-weight: 600; padding: .18rem .5rem;
  background: rgba(74,222,128,.06); border: 1px solid rgba(74,222,128,.15);
  color: #86efac; border-radius: 4px;
}

/* ====================== PROBLEM ====================== */
.problem { padding: 6rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.problem__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.prob-card { background: var(--bg-2); padding: 2rem; transition: background var(--t); }
.prob-card:hover { background: var(--bg-3); }
.prob-card__icon { width: 38px; height: 38px; color: var(--cf); margin-bottom: 1rem; }
.prob-card__icon svg { width: 100%; height: 100%; }
.prob-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.prob-card p { font-size: .855rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.prob-card__tag { display: inline-block; font-size: .65rem; font-weight: 700; padding: .18rem .5rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .08em; }
.prob-card__tag--bad { background: rgba(248,113,113,.08); color: #f87171; border: 1px solid rgba(248,113,113,.2); }

/* ====================== SOLUTION ====================== */
.solution { padding: 6rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.solution__products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.sol-prod { background: var(--bg-2); padding: 2rem; transition: background var(--t); }
.sol-prod:hover { background: var(--bg-3); }
.sol-prod--featured { grid-column: span 2; background: var(--bg-3); border-bottom: 1px solid var(--border); }
.sol-prod__header { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1rem; }
.sol-prod__icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 9px; }
.sol-prod__icon svg { width: 100%; height: 100%; }
.sol-prod__cat { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .1rem; }
.sol-prod h3 { font-size: 1.05rem; font-weight: 700; }
.sol-prod > p { font-size: .865rem; color: var(--muted); line-height: 1.78; margin-bottom: 1.1rem; }
.sol-prod__callout { background: rgba(246,130,31,.05); border: 1px solid rgba(246,130,31,.14); border-radius: 8px; padding: .75rem 1rem; font-size: .8rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.callout-label { font-weight: 700; color: var(--cf-lt); margin-right: .25rem; }
.sol-prod__metrics { display: flex; gap: 2rem; flex-wrap: wrap; }
.metric { display: flex; flex-direction: column; }
.metric strong { font-size: 1.4rem; font-weight: 800; color: var(--cf-lt); line-height: 1; }
.metric span { font-size: .68rem; color: var(--muted); margin-top: .2rem; }

/* ====================== DEMO ====================== */
.demo { padding: 6rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.demo__layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }

/* Step list */
.demo__steps { display: flex; flex-direction: column; gap: .5rem; }
.demo-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.1rem 1.25rem;
  cursor: pointer; transition: var(--t);
}
.demo-step:hover { border-color: var(--border2); }
.demo-step--active { border-color: rgba(246,130,31,.3); background: rgba(246,130,31,.04); }
.demo-step__num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800; color: var(--muted);
  flex-shrink: 0;
}
.demo-step--active .demo-step__num { background: var(--cf); border-color: var(--cf); color: #fff; }
.demo-step__content { flex: 1; }
.demo-step__content strong { display: block; font-size: .875rem; font-weight: 700; margin-bottom: .3rem; color: var(--text); }
.demo-step__content p { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-bottom: .6rem; }
.demo-step__cf { display: flex; flex-wrap: wrap; gap: .3rem; }
.cf-action {
  font-size: .62rem; font-weight: 600; padding: .15rem .45rem;
  background: rgba(246,130,31,.07); border: 1px solid rgba(246,130,31,.16);
  color: var(--cf-lt); border-radius: 4px;
}

/* Demo phone */
.demo__phone { position: sticky; top: 90px; }
.demo-phone__frame {
  background: var(--bg-2); border: 1px solid var(--border2);
  border-radius: 28px; overflow: hidden; margin-bottom: 1rem;
}
.demo-phone__notch { background: #0a0a0a; height: 18px; display: flex; justify-content: center; align-items: center; }
.demo-phone__notch::after { content: ''; width: 70px; height: 8px; background: #111; border-radius: 50px; }
.demo-phone__screen { min-height: 380px; display: flex; flex-direction: column; }

.dph-header { background: var(--surface); padding: .6rem 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.dph-calling { display: flex; align-items: center; gap: .35rem; font-size: .68rem; font-weight: 600; color: #4ade80; }
.dph-secure { font-size: .62rem; color: var(--muted); background: rgba(74,222,128,.06); border: 1px solid rgba(74,222,128,.15); padding: .1rem .4rem; border-radius: 4px; }

.dph-steps { flex: 1; padding: .85rem 1rem; }
.dph-step { display: none; }
.dph-step--active { display: block; }
.dph-agent-bubble { font-size: .76rem; background: var(--surface2); border-radius: 8px; padding: .65rem .8rem; margin-bottom: .75rem; line-height: 1.5; color: var(--text); border-left: 2px solid var(--cf); }
.dph-mic { margin-right: .2rem; }
.dph-visual-area { display: flex; flex-direction: column; gap: .5rem; }
.dph-cf-badge {
  font-size: .63rem; font-weight: 600; padding: .2rem .5rem;
  background: rgba(246,130,31,.07); border: 1px solid rgba(246,130,31,.15);
  color: var(--cf-lt); border-radius: 4px;
}
.dph-field label { display: block; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: .2rem; }
.dph-input-mock { background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: .35rem .6rem; font-size: .76rem; color: var(--text); }
.dph-choice { width: 100%; background: var(--surface); border: 1px solid var(--border2); color: var(--text); border-radius: 6px; padding: .45rem .7rem; font-size: .75rem; font-weight: 600; cursor: pointer; text-align: left; font-family: var(--font); transition: var(--t); }
.dph-choice--confirm { border-color: rgba(74,222,128,.2); color: #86efac; background: rgba(74,222,128,.04); }
.dph-choice--alt { border-color: rgba(96,165,250,.2); color: var(--ushur-lt); background: rgba(96,165,250,.04); }
.dph-sync-badge { font-size: .7rem; font-weight: 600; color: #4ade80; background: rgba(74,222,128,.06); border: 1px solid rgba(74,222,128,.15); border-radius: 6px; padding: .5rem .75rem; display: flex; align-items: center; gap: .4rem; }
.dph-sync-badge svg { width: 13px; height: 13px; }
.dph-upload-mock { background: var(--surface); border: 1px solid rgba(74,222,128,.2); border-radius: 7px; padding: .65rem .85rem; display: flex; align-items: center; gap: .5rem; }
.dph-upload-mock svg { width: 18px; height: 18px; flex-shrink: 0; }
.dph-upload-mock span { font-size: .74rem; color: var(--muted); flex: 1; }
.dph-upload-done { font-size: .68rem; font-weight: 700; color: #4ade80; flex-shrink: 0; }
.dph-complete { text-align: center; padding: .25rem; }
.dph-complete__check { width: 40px; height: 40px; background: rgba(74,222,128,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto .6rem; font-size: 1rem; color: #4ade80; }
.dph-complete strong { display: block; font-size: .88rem; margin-bottom: .25rem; }
.dph-complete p { font-size: .74rem; color: var(--muted); margin-bottom: .5rem; }
.dph-stats { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.dph-stats span { font-size: .64rem; color: var(--cf-lt); background: rgba(246,130,31,.08); border: 1px solid rgba(246,130,31,.15); padding: .12rem .4rem; border-radius: 4px; }

.dph-progress { height: 3px; background: var(--surface2); margin: 0 1rem .75rem; border-radius: 2px; }
.dph-progress-bar { height: 100%; background: linear-gradient(to right, var(--cf), var(--cf-lt)); border-radius: 2px; transition: width .5s ease; }

.demo__nav-btns { display: flex; align-items: center; justify-content: space-between; }
.demo-nav-btn { background: var(--surface); border: 1px solid var(--border2); color: var(--muted); border-radius: 7px; padding: .5rem 1rem; font-size: .78rem; font-weight: 600; cursor: pointer; transition: var(--t); font-family: var(--font); }
.demo-nav-btn:hover:not(:disabled) { border-color: rgba(255,255,255,.2); color: var(--text); }
.demo-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
.demo-nav-btn--primary { background: var(--cf); border-color: var(--cf); color: #fff; }
.demo-nav-btn--primary:hover:not(:disabled) { background: var(--cf-dk); border-color: var(--cf-dk); }
.demo-nav-label { font-size: .72rem; color: var(--muted); }

/* ====================== ARCHITECTURE ====================== */
.architecture { padding: 6rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.arch-diagram { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2.5rem; }
.arch-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.arch-row--middle { padding: 1.5rem 0; border-top: 1px dashed rgba(246,130,31,.12); border-bottom: 1px dashed rgba(246,130,31,.12); gap: 2rem; }
.arch-row--bottom { margin-bottom: 0; }
.arch-node { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; font-size: .76rem; font-weight: 600; }
.arch-node svg { width: 22px; height: 22px; }
.arch-node__icon, .arch-node svg {
  width: 44px; height: 44px; padding: 10px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 10px;
}
.arch-node small { font-size: .62rem; color: var(--muted); font-weight: 400; }
.arch-node--cf svg, .arch-node--cf .arch-node__icon { background: rgba(246,130,31,.1) !important; border-color: rgba(246,130,31,.25) !important; color: var(--cf); }
.arch-node--workers svg { background: rgba(246,130,31,.08); border-color: rgba(246,130,31,.2); color: var(--cf); }
.arch-node--do svg { background: rgba(251,113,133,.08); border-color: rgba(251,113,133,.2); color: #fb7185; }
.arch-node--r2 svg { background: rgba(99,179,237,.08); border-color: rgba(99,179,237,.2); color: #63b3ed; }
.arch-node--agent svg { background: rgba(167,139,250,.08); border-color: rgba(167,139,250,.2); color: #a78bfa; }
.arch-node--ushur svg, .arch-node--ehr svg { background: rgba(96,165,250,.08); border-color: rgba(96,165,250,.2); color: var(--ushur-lt); }
.arch-arrow-h { display: flex; flex-direction: column; align-items: center; gap: .2rem; font-size: .6rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.arch-arrow-h svg { width: 60px; }
.arch-callouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.arch-callout { display: flex; gap: .85rem; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.65; }
.arch-callout strong { color: var(--text); }
.arch-callout__num { width: 22px; height: 22px; border-radius: 50%; background: var(--cf); color: #fff; font-size: .65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

/* ====================== COMPLIANCE ====================== */
.compliance { padding: 6rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.compliance__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2rem; }
.comp-card { background: var(--bg-2); padding: 2rem; transition: background var(--t); }
.comp-card:hover { background: var(--bg-3); }
.comp-card__icon { width: 36px; height: 36px; color: #4ade80; margin-bottom: .85rem; }
.comp-card__icon svg { width: 100%; height: 100%; }
.comp-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.comp-card p { font-size: .845rem; color: var(--muted); line-height: 1.75; }
.compliance__certs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.cert-item { font-size: .72rem; font-weight: 600; padding: .3rem .75rem; background: rgba(74,222,128,.05); border: 1px solid rgba(74,222,128,.15); color: #86efac; border-radius: 50px; }

/* ====================== COMPARE ====================== */
.compare { padding: 6rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.compare-table { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.ct-header, .ct-row { display: grid; grid-template-columns: 1.5fr 1.5fr 1.5fr; }
.ct-header { background: var(--surface); border-bottom: 1px solid var(--border2); }
.ct-col { padding: .75rem 1.1rem; font-size: .78rem; }
.ct-header .ct-col { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ct-col--cf { color: var(--cf-lt); font-weight: 700; }
.ct-row { border-bottom: 1px solid var(--border); transition: background var(--t); }
.ct-row:last-child { border-bottom: none; }
.ct-row:hover { background: var(--bg-2); }
.ct-col--feature { font-weight: 600; color: var(--text); font-size: .82rem; }
.ct-good { color: #4ade80; font-size: .8rem; }
.ct-bad { color: #f87171; font-size: .8rem; }
.ct-neutral { color: var(--muted); font-size: .8rem; }

/* ====================== NEXT STEPS ====================== */
.next-steps { padding: 7rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.next-steps__inner { max-width: 940px; margin: 0 auto; }
.ns-badge { display: inline-flex; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cf-lt); background: rgba(246,130,31,.08); border: 1px solid rgba(246,130,31,.2); padding: .3rem .8rem; border-radius: 50px; margin-bottom: 1.5rem; }
.ns-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .85rem; color: var(--text); }
.ns-sub { font-size: .95rem; color: var(--muted); line-height: 1.8; margin-bottom: 2.5rem; }
.ns-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem; }
.ns-option { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.75rem; transition: var(--t); }
.ns-option:hover { border-color: var(--border2); }
.ns-option--featured { border-color: rgba(246,130,31,.3); background: rgba(246,130,31,.04); }
.ns-option__num { font-size: .65rem; font-weight: 700; color: var(--cf); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .6rem; }
.ns-option h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; color: var(--text); }
.ns-option p { font-size: .83rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.25rem; }
.ns-option p a { color: var(--cf-lt); }
.ns-option__btn { display: inline-block; font-size: .8rem; font-weight: 700; padding: .5rem 1rem; border-radius: 7px; background: var(--surface); border: 1px solid var(--border2); color: var(--text); transition: var(--t); }
.ns-option__btn:hover { border-color: rgba(255,255,255,.22); transform: translateY(-1px); }
.ns-option__btn--primary { background: var(--cf); border-color: var(--cf); color: #fff; }
.ns-option__btn--primary:hover { background: var(--cf-dk); border-color: var(--cf-dk); }
.ns-resources { border-top: 1px solid var(--border); padding-top: 2rem; }
.ns-resources__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: .85rem; }
.ns-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.ns-links a { font-size: .78rem; color: var(--muted); transition: color var(--t); }
.ns-links a:hover { color: var(--cf); }

/* ====================== FOOTER ====================== */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer__brand { display: flex; align-items: center; gap: .45rem; margin-bottom: .55rem; }
.footer__left p { font-size: .74rem; color: var(--faint); max-width: 420px; line-height: 1.65; }
.footer__left a { color: var(--cf); }
.footer__right { display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; }
.footer__right a { font-size: .75rem; color: var(--faint); transition: color var(--t); }
.footer__right a:hover { color: var(--cf); }

/* ====================== FADE ====================== */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .hero__visual { grid-template-columns: 1fr; }
  .hv-phone { width: 100%; max-width: 320px; margin: 0 auto; }
  .solution__products { grid-template-columns: 1fr; }
  .sol-prod--featured { grid-column: span 1; }
  .demo__layout { grid-template-columns: 1fr; }
  .demo__phone { position: static; }
  .arch-callouts { grid-template-columns: 1fr; }
  .compliance__grid { grid-template-columns: 1fr; }
  .ct-header, .ct-row { grid-template-columns: 1.2fr 1.4fr; }
  .ct-col--twilio { display: none; }
  .ns-options { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(7,7,7,.97); align-items: center; justify-content: center; gap: 2rem; font-size: 1.1rem; z-index: 99; }
  .problem__grid { grid-template-columns: 1fr; }
  .arch-row { flex-direction: column; }
  .arch-arrow-h { transform: rotate(90deg); }
  .footer__inner { flex-direction: column; }
  .footer__right { align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .ct-header, .ct-row { grid-template-columns: 1fr 1fr; }
}
