:root {
  --paper: #f7f6f4;
  --paper-2: #fbfaf8;
  --ink: #0b0b0c;
  --muted: #68686c;
  --line: rgba(11, 11, 12, .14);
  --violet: #0d0176;
  --purple: #4e0579;
  --magenta: #8b014b;
  --red: #e11437;
  --orange: #fe8b32;
  --max: 1460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; }
.shell { width: min(calc(100% - 9vw), var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 99;
  background: #000;
  color: #fff;
  padding: .75rem 1rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 20%, rgba(139,1,75,.045), transparent 26%),
    radial-gradient(circle at 72% 85%, rgba(13,1,118,.035), transparent 27%);
}

.hero-visual {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 42%;
  background-image:
    linear-gradient(90deg, var(--paper) 0%, rgba(247,246,244,.83) 9%, rgba(247,246,244,.08) 31%, rgba(247,246,244,0) 100%),
    url("../img/hero-hands.webp");
  background-size: cover;
  background-position: center right;
  filter: saturate(.65) contrast(.98);
}

.hero-inner { position: relative; min-height: 650px; padding-top: 52px; padding-bottom: 42px; }

.brand { width: max-content; max-width: 100%; }
.wordmark {
  font-size: clamp(19px, 1.55vw, 27px);
  font-weight: 500;
  letter-spacing: .34em;
  white-space: nowrap;
}
.brand-rule {
  width: min(270px, 86%);
  height: 2px;
  margin: 12px 0 11px;
  background: linear-gradient(90deg, var(--red), var(--orange) 22%, var(--violet) 61%, var(--magenta));
  opacity: .86;
}
.brand p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.hero-copy { margin-top: 67px; width: min(570px, 46vw); }
.hero h1 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -.052em;
  font-size: clamp(56px, 5.1vw, 86px);
  line-height: .93;
}
.micro-rule {
  width: 48px;
  height: 2px;
  margin: 27px 0 22px;
  background: linear-gradient(90deg, var(--violet), var(--red), var(--orange));
  opacity: .72;
}
.sectors,
.invitation {
  margin: 0;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .28em;
  line-height: 1.8;
}
.sectors { white-space: nowrap; }
.sectors span { margin-inline: .45em; color: #8a8a8d; }
.invitation { margin-top: 24px; font-weight: 500; }

.scroll-cue {
  margin-top: 23px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,.55);
  border-radius: 50%;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.scroll-cue:hover { background: #0a0a0b; color: #fff; transform: translateY(2px); }
.scroll-cue:focus-visible,
.enter-button:focus-visible,
.password-toggle:focus-visible,
input:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.private-section { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.private-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) 1px minmax(0, 1.12fr);
  gap: clamp(52px, 6vw, 100px);
  align-items: stretch;
  padding-top: 44px;
  padding-bottom: 46px;
}
.private-copy { max-width: 480px; }
.private-copy h2 {
  font-size: clamp(29px, 2.25vw, 37px);
  font-weight: 400;
  letter-spacing: -.035em;
  margin: 0 0 24px;
}
.private-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.accent-divider {
  width: 1px;
  min-height: 205px;
  background: linear-gradient(180deg, transparent 0%, rgba(13,1,118,.45) 18%, rgba(139,1,75,.44) 55%, rgba(254,139,50,.48) 86%, transparent 100%);
}

.access-panel { width: min(100%, 520px); }
.access-panel h2 {
  margin: 4px 0 24px;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .42em;
}
.login-form { display: grid; gap: 9px; }
.login-form input {
  display: block;
  width: 100%;
  height: 46px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.36);
  color: #111;
  padding: 0 15px;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color .18s ease, background .18s ease;
}
.login-form input:hover { border-color: rgba(0,0,0,.32); }
.login-form input:focus { border-color: rgba(0,0,0,.55); background: #fff; outline: none; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 68px; }
.password-toggle {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 38px;
  border: 0;
  background: transparent;
  padding: 0 10px;
  color: #737377;
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.enter-button {
  position: relative;
  overflow: hidden;
  height: 47px;
  margin-top: 3px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #09090a;
  cursor: pointer;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 12px;
}
.enter-button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--violet), var(--magenta) 50%, var(--red) 76%, var(--orange));
  opacity: .86;
}
.enter-button span { position: relative; z-index: 1; }
.enter-button:hover { background: #151517; }
.secure-note {
  margin: 14px 0 0;
  color: #828286;
  font-size: 12px;
  line-height: 1.35;
}
.form-message {
  border-left: 2px solid var(--violet);
  background: rgba(13,1,118,.045);
  color: #414146;
  margin: -6px 0 13px;
  padding: 9px 11px;
  font-size: 12px;
}
.form-message.error { border-left-color: var(--red); background: rgba(225,20,55,.045); }

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
}
.site-footer p {
  margin: 0;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .24em;
  color: #7b7b7f;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .shell { width: min(calc(100% - 48px), var(--max)); }
  .hero { min-height: 720px; }
  .hero-inner { min-height: 720px; }
  .hero-visual { inset: 0 0 0 34%; opacity: .8; }
  .hero-copy { width: min(580px, 72vw); }
  .hero h1 { font-size: clamp(55px, 8vw, 78px); }
  .private-grid { gap: 38px; grid-template-columns: minmax(0,1fr) 1px minmax(0,1.15fr); }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 34px), var(--max)); }
  .hero { min-height: auto; }
  .hero-inner { min-height: 780px; padding-top: 30px; padding-bottom: 35px; }
  .wordmark { font-size: 18px; letter-spacing: .27em; }
  .brand p { font-size: 9px; }
  .hero-visual {
    inset: 260px -120px 0 8%;
    background-image:
      linear-gradient(180deg, var(--paper) 0%, rgba(247,246,244,.18) 28%, rgba(247,246,244,0) 55%),
      linear-gradient(90deg, rgba(247,246,244,.55), transparent 26%),
      url("../img/hero-hands.webp");
    background-position: center right;
    opacity: .72;
  }
  .hero-copy { width: 100%; margin-top: 58px; position: relative; z-index: 1; }
  .hero h1 { font-size: clamp(48px, 14vw, 70px); line-height: .94; }
  .sectors { white-space: normal; max-width: 330px; font-size: 9px; letter-spacing: .21em; }
  .invitation { font-size: 10px; }
  .private-grid { display: block; padding-top: 38px; padding-bottom: 38px; }
  .private-copy { max-width: none; }
  .accent-divider { width: 100%; min-height: 1px; height: 1px; margin: 30px 0 35px; background: linear-gradient(90deg, transparent, rgba(13,1,118,.38), rgba(139,1,75,.42), rgba(254,139,50,.45), transparent); }
  .access-panel { width: 100%; }
  .site-footer { min-height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   KATAN V6.7 — LIVE INTELLIGENCE NETWORK / PUBLIC LANDING
   ============================================================ */
.hero-visual{display:none!important}
.hero{min-height:720px;background:#08080b;color:#f4f2ee;border-color:rgba(255,255,255,.08)}
.hero::after{background:radial-gradient(circle at 76% 32%,rgba(104,78,255,.16),transparent 26%),radial-gradient(circle at 88% 76%,rgba(221,70,153,.11),transparent 24%),linear-gradient(180deg,rgba(255,255,255,.015),transparent)}
.hero-inner{min-height:720px;z-index:4}
.hero .brand p,.hero .sectors,.hero .invitation{color:rgba(245,243,239,.68)}
.hero .brand-rule{opacity:.95}.hero .micro-rule{opacity:.92}.hero .scroll-cue{border-color:rgba(255,255,255,.55)}
.hero .scroll-cue:hover{background:#f5f3ef;color:#111}
.hero-map-shell{position:absolute;z-index:1;right:-2vw;top:28px;width:min(67vw,1050px);height:650px;overflow:hidden;pointer-events:none;filter:drop-shadow(0 30px 90px rgba(0,0,0,.4))}
.hero-world-map{position:absolute;inset:28px 0 86px 0;width:100%;height:auto;opacity:.94}
.world-fill path{fill:rgba(255,255,255,.045);stroke:rgba(255,255,255,.16);stroke-width:1.1;vector-effect:non-scaling-stroke}
.world-lines path{fill:none;stroke:rgba(255,255,255,.045);stroke-width:1;stroke-dasharray:4 9;vector-effect:non-scaling-stroke}
.hero-map-shell::before{content:"";position:absolute;inset:12% 4% 20%;background:radial-gradient(ellipse at center,rgba(101,88,217,.08),transparent 62%);border:1px solid rgba(255,255,255,.025);border-radius:50%}
.hero-map-orbit{position:absolute;border:1px solid rgba(255,255,255,.045);border-radius:50%;transform:rotate(-8deg)}
.orbit-a{width:86%;height:48%;left:6%;top:26%}.orbit-b{width:66%;height:64%;left:18%;top:18%;transform:rotate(14deg)}
.hero-map-points{position:absolute;inset:28px 0 86px 0}
.hero-map-point{position:absolute;left:var(--x);top:var(--y);width:9px;height:9px;transform:translate(-50%,-50%) scale(var(--scale,1));border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.035),0 0 24px rgba(142,99,255,.9),0 0 52px rgba(225,20,55,.38)}
.hero-map-point i{position:absolute;inset:-9px;border:1px solid rgba(255,255,255,.2);border-radius:50%;animation:v67pulse 4.6s ease-out infinite}
.hero-map-point:nth-child(3n) i{animation-delay:1.2s}.hero-map-point:nth-child(4n) i{animation-delay:2.1s}
@keyframes v67pulse{0%{transform:scale(.45);opacity:0}18%{opacity:.75}75%,100%{transform:scale(2.8);opacity:0}}
.hero-map-caption{position:absolute;right:4.6%;bottom:22px;width:350px;padding:18px 22px 17px;border-top:1px solid rgba(255,255,255,.18);background:linear-gradient(180deg,rgba(8,8,11,.04),rgba(8,8,11,.65));backdrop-filter:blur(10px)}
.hero-map-caption>span{display:block;font-size:10px;letter-spacing:.28em;color:rgba(255,255,255,.55)}
.hero-map-caption>strong{display:block;font-size:56px;font-weight:300;letter-spacing:-.055em;line-height:1;margin:8px 0 4px;font-variant-numeric:tabular-nums}
.hero-map-caption p{margin:0;color:rgba(255,255,255,.78);font-size:12px;letter-spacing:.04em}
.hero-map-caption small{display:flex;align-items:center;gap:7px;margin-top:10px;color:rgba(255,255,255,.46);font-size:10px;text-transform:uppercase;letter-spacing:.12em}
.hero-map-caption small i{width:6px;height:6px;border-radius:50%;background:#6ee7a8;box-shadow:0 0 12px rgba(110,231,168,.7)}
.hero-map-caption small b{font-weight:600;color:rgba(255,255,255,.7)}
.hero-copy{position:relative;z-index:3;width:min(545px,42vw)}
.hero h1{font-size:clamp(55px,4.65vw,81px);text-shadow:0 12px 46px rgba(0,0,0,.35)}
.private-section{position:relative;z-index:5}
@media(max-width:1050px){.hero-map-shell{width:75vw;right:-18vw;opacity:.78}.hero-copy{width:min(560px,60vw)}.hero-map-caption{right:19%;width:320px}}
@media(max-width:720px){.hero{min-height:860px}.hero-inner{min-height:860px}.hero-map-shell{top:265px;right:-35%;width:142%;height:570px;opacity:.82}.hero-world-map{inset:15px 0 90px}.hero-map-points{inset:15px 0 90px}.hero-map-caption{left:30%;right:auto;bottom:25px;width:52%;min-width:260px}.hero-map-caption>strong{font-size:44px}.hero-copy{width:100%}.hero h1{font-size:clamp(48px,13vw,68px)}}
@media(prefers-reduced-motion:reduce){.hero-map-point i{animation:none}}

/* ============================================================
   KATAN V6.7.4.2 — WORLD MAP VISUAL REFINEMENT ONLY
   Data, counts, markets and sync semantics are unchanged.
   ============================================================ */
.hero-world-map{
  position:absolute;
  inset:28px 0 86px 0;
  width:100%;
  height:auto;
  opacity:.88;
  object-fit:contain;
  filter:drop-shadow(0 0 28px rgba(108,88,232,.08));
}
.hero-map-shell::before{
  inset:11% 3.5% 19%;
  background:
    radial-gradient(ellipse at 54% 46%,rgba(101,88,217,.10),transparent 57%),
    radial-gradient(ellipse at 84% 68%,rgba(162,67,146,.055),transparent 38%);
  border-color:rgba(255,255,255,.018);
}
.hero-map-orbit{border-color:rgba(255,255,255,.032)}
.hero-map-point{
  width:7px;
  height:7px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.025),
    0 0 13px rgba(151,125,255,.62),
    0 0 28px rgba(119,85,225,.22);
}
.hero-map-point i{
  inset:-6px;
  border-color:rgba(225,219,255,.13);
  animation:v6742pulse 5.4s ease-out infinite;
}
@keyframes v6742pulse{
  0%{transform:scale(.65);opacity:0}
  18%{opacity:.42}
  72%,100%{transform:scale(1.95);opacity:0}
}
.hero-map-caption{
  border-top-color:rgba(255,255,255,.14);
  background:linear-gradient(180deg,rgba(8,8,11,.02),rgba(8,8,11,.72));
}
@media(max-width:720px){
  .hero-world-map{inset:15px 0 90px;opacity:.82}
  .hero-map-point{width:6px;height:6px}
  .hero-map-point i{inset:-5px}
}
@media(prefers-reduced-motion:reduce){.hero-map-point i{animation:none}}

/* KATAN Phase 7 — curated public network pulse */
.p7-public-pulse{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:14px;border-top:1px solid rgba(255,255,255,.10);border-bottom:1px solid rgba(255,255,255,.08)}.p7-public-pulse span{padding:10px 9px 9px;border-right:1px solid rgba(255,255,255,.08)}.p7-public-pulse span:last-child{border-right:0}.p7-public-pulse b,.p7-public-pulse em{display:block}.p7-public-pulse b{font-size:18px;font-weight:400;color:rgba(255,255,255,.9);font-variant-numeric:tabular-nums}.p7-public-pulse em{font-size:7px;line-height:1.35;font-style:normal;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.38);margin-top:3px}@media(max-width:720px){.p7-public-pulse{grid-template-columns:1fr}.p7-public-pulse span{border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}.p7-public-pulse span:last-child{border-bottom:0}}
