/* ═══════════════════════════════════════════════════════
   RESET
════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
  min-width: 0;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
p, h1, h2, h3, h4, li, label, a, span, td, th {
  overflow-wrap: break-word;
  word-break: break-word;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS
════════════════════════════════════════════════════════ */
:root {
  --navy:       #1b3a5c;
  --navy-dk:    #0f2335;
  --navy-md:    #2a5080;
  --navy-lt:    #e5ecf7;
  --bg:         #f6f4f0;
  --bg2:        #eeebe5;
  --surface:    #ffffff;
  --border:     #d8d4cc;
  --border-lt:  #e8e4dc;
  --text:       #191612;
  --text2:      #575249;
  --text3:      #948f87;
  --amber:      #c4581a;
  --amber-dk:   #9e4412;
  --amber-lt:   #fdf1e8;
  --amber-br:   #f0d4b8;
  --cobalt:     #1f5da6;
  --cobalt-lt:  #e4edf9;
  --cobalt-br:  #c0d3e8;
  --slate:      #475060;
  --slate-lt:   #eaecf0;
  --slate-br:   #cdd0d8;
  --r:          10px;
  --r-lg:       16px;
  --r-xl:       22px;
  --sh:         0 4px 24px rgba(0,0,0,.07);
  --sh-lg:      0 12px 52px rgba(0,0,0,.09);
}

/* ═══════════════════════════════════════════════════════
   LAYOUT UTILITIES
════════════════════════════════════════════════════════ */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  width: 100%;
}
section { padding: 96px 0; }

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.sec-label::before {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: var(--amber);
  flex-shrink: 0;
}
.sec-h {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: -.012em;
  color: var(--text);
  margin-bottom: 16px;
}
.sec-sub {
  font-size: .97rem;
  color: var(--text2);
  line-height: 1.82;
  max-width: 580px;
  margin-bottom: 52px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  line-height: 1;
  white-space: nowrap;
  transition: background .18s, transform .15s, box-shadow .18s, color .18s, border-color .18s;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 14px rgba(27,58,92,.22);
  border: 1.5px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dk);
  transform: translateY(-1px);
  box-shadow: 0 5px 22px rgba(27,58,92,.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background: var(--bg2); border-color: #c0bcb5; }

/* ═══════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  height: 62px;
  display: flex;
  align-items: center;
  background: rgba(246,244,240,.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-lt);
}
.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-mark {
  width: 34px; height: 34px;
  background: var(--navy);
  border-radius: 8px;
  display: grid; place-items: center;
  position: relative; flex-shrink: 0;
}
.nav-mark::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 50%;
}
.nav-mark::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
}
.nav-wordmark {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem; font-weight: 600;
  color: var(--navy);
}
.nav-links {
  display: flex; align-items: center;
  gap: 2px; list-style: none;
}
.nav-links a {
  display: block;
  padding: 7px 13px;
  font-size: .86rem; font-weight: 500;
  color: var(--text2);
  border-radius: var(--r);
  white-space: nowrap;
  transition: background .16s, color .16s;
}
.nav-links a:hover { background: var(--bg2); color: var(--text); }
.nav-links .nav-cta {
  background: var(--navy);
  color: #fff; margin-left: 6px;
  padding: 7px 16px;
}
.nav-links .nav-cta:hover { background: var(--navy-dk); color: #fff; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  border-radius: var(--r); padding: 9px;
  transition: background .16s;
}
.hamburger:hover { background: var(--bg2); }
.hamburger .bar {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .28s, opacity .28s;
}
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mob-drawer {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 8999;
  padding: 8px 16px 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
}
.mob-drawer.open { display: block; }
.mob-drawer a {
  display: block;
  padding: 13px 16px;
  font-size: .95rem; font-weight: 500;
  color: var(--text2);
  border-radius: var(--r);
  transition: background .16s, color .16s;
}
.mob-drawer a:hover { background: var(--bg); color: var(--text); }
.mob-drawer .mob-cta {
  margin-top: 8px;
  background: var(--navy); color: #fff;
  text-align: center; font-weight: 600;
  border-radius: var(--r);
}
.mob-drawer .mob-cta:hover { background: var(--navy-dk); color: #fff; }

/* ═══════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero {
  padding: 136px 0 92px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 75% 35%,
    rgba(27,58,92,.055) 0%, transparent 65%);
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center; gap: 7px;
  background: var(--navy-lt); color: var(--navy);
  border: 1px solid rgba(27,58,92,.18);
  border-radius: 100px;
  padding: 5px 14px; margin-bottom: 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%; background: var(--navy);
  flex-shrink: 0;
  animation: blink 2.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.28} }

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.1; letter-spacing: -.015em;
  color: var(--text); margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--amber); }

.hero-desc {
  font-size: 1rem; line-height: 1.82;
  color: var(--text2); margin-bottom: 38px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero panel */
.hero-panel-wrap { width: 100%; min-width: 0; }
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--sh-lg);
  width: 100%;
}
.panel-hdr {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
}
.panel-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: .67rem; color: var(--text3);
  letter-spacing: .1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  padding-left: 3px;
}
.panel-lbl::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #48bb78;
  box-shadow: 0 0 0 3px rgba(72,187,120,.22);
  flex-shrink: 0;
}
.panel-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem; color: var(--navy);
  background: var(--navy-lt);
  border: 1px solid rgba(27,58,92,.18);
  border-radius: 100px;
  padding: 3px 9px; white-space: nowrap; flex-shrink: 0;
}

/* node grid */
.node-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px; margin-bottom: 14px;
}
.node-cell {
  background: var(--bg);
  border: 1px solid var(--border-lt);
  border-radius: var(--r);
  padding: 10px 6px;
  display: flex; flex-direction: column;
  align-items: center; gap: 5px;
  min-width: 0; cursor: default;
  transition: border-color .2s, background .2s, transform .2s;
}
.node-cell:hover { border-color: var(--navy); background: var(--navy-lt); transform: scale(1.04); }
.node-cell.is-core { background: var(--navy-lt); border-color: rgba(27,58,92,.22); }
.node-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.nd-navy  { background: #2060b2; }
.nd-amber { background: #d97a34; }
.nd-slate { background: #6070a0; }
.nd-rose  { background: #bc587a; }
.node-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(.58rem, 1.4vw, .7rem);
  font-weight: 500; color: var(--text2);
  text-align: center; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  width: 100%;
}
.node-cell.is-core .node-code { color: var(--navy); }
.node-city {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(.52rem, 1.1vw, .62rem);
  color: var(--text3); text-align: center; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  width: 100%;
}

/* metric row */
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  font-weight: 600;
}
.metric-cell {
  background: var(--bg);
  border: 1px solid var(--border-lt);
  border-radius: var(--r);
  padding: 10px 6px; text-align: center; min-width: 0;
}
.m-val {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(.95rem, 2.2vw, 1.22rem);
  color: var(--navy); line-height: 1.2;
  margin-top: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(.5rem, 1.1vw, .6rem);
  color: var(--text3); letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════════════ */
.how-sec { background: var(--surface); }

.steps-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 48px;
}
.step-card {
  padding: 34px 26px;
  border-right: 1px solid var(--border);
  transition: background .22s;
}
.step-card:last-child { border-right: none; }
.step-card:hover { background: var(--bg); }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem; font-weight: 300;
  color: var(--border); line-height: 1;
  margin-bottom: 18px; transition: color .22s;
}
.step-card:hover .step-num { color: var(--navy); }
.step-ico {
  width: 42px; height: 42px;
  border-radius: 10px; background: var(--navy-lt);
  display: grid; place-items: center;
  margin-bottom: 18px; transition: background .22s;
}
.step-card:hover .step-ico { background: var(--navy); }
.step-ico svg {
  width: 20px; height: 20px;
  stroke: var(--navy); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .22s;
}
.step-card:hover .step-ico svg { stroke: #fff; }
.step-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400; font-size: 1.08rem;
  line-height: 1.28; margin-bottom: 10px; color: var(--text);
}
.step-card p { font-size: .86rem; color: var(--text2); line-height: 1.74; }

/* ═══════════════════════════════════════════════════════
   FEATURES — 3 × 2
════════════════════════════════════════════════════════ */
.feat-sec { background: var(--bg); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column;
  transition: box-shadow .22s, transform .22s, border-color .22s;
}
.feat-card:hover { box-shadow: var(--sh); transform: translateY(-2px); border-color: var(--border); }
.feat-ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-size: 1.25rem; margin-bottom: 18px; flex-shrink: 0;
}
.ico-navy   { background: var(--navy-lt); }
.ico-amber  { background: var(--amber-lt); }
.ico-cobalt { background: var(--cobalt-lt); }
.ico-slate  { background: var(--slate-lt); }
.feat-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400; font-size: 1.06rem;
  line-height: 1.28; margin-bottom: 10px; color: var(--text);
}
.feat-card p { font-size: .86rem; color: var(--text2); line-height: 1.76; flex: 1; }

/* ═══════════════════════════════════════════════════════
   ARCHITECTURE 
════════════════════════════════════════════════════════ */
.arch-sec { background: var(--surface); }

/* ── Two-column layout ── */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.arch-diagram {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  color: var(--text2);
  line-height: 1.9;
  text-align: center;
}

.arch-layer {
  padding: 12px 16px;
  border-radius: var(--r);
  margin-bottom: 8px;
  border: 1px solid transparent;
  transition: all .25s;
  cursor: default;
}
.arch-layer:last-child { margin-bottom: 0; }
.arch-layer:hover { transform: translateX(4px); }

.arch-layer.l1 { background: var(--navy-lt);   border-color: rgba(27,58,92,.3);   color: var(--navy); }
.arch-layer.l2 { background: var(--cobalt-lt); border-color: var(--cobalt-br);    color: var(--cobalt); }
.arch-layer.l3 { background: var(--amber-lt);  border-color: var(--amber-br);     color: var(--amber); }
.arch-layer.l4 { background: var(--slate-lt);  border-color: var(--slate-br);     color: var(--slate); }

.arch-arrow {
  text-align: center;
  color: var(--text3);
  margin: 4px 0;
  font-size: 1rem;
}

.arch-desc {}
.arch-desc h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.22;
  margin-bottom: 16px;
  color: var(--text);
}
.arch-desc > p {
  font-size: .9rem;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.arch-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.arch-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8rem;
  color: var(--text2);
  line-height: 1.7;
}
.arch-list li::before {
  content: '→';
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   USE CASES — 3 × 2
════════════════════════════════════════════════════════ */
.uc-sec { background: var(--bg); }
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.uc-card {
  background: var(--surface);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex; flex-direction: column;
  transition: box-shadow .22s, transform .22s, border-color .22s;
}
.uc-card:hover { box-shadow: var(--sh); transform: translateY(-2px); border-color: var(--border); }
.uc-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px;
  margin-bottom: 15px; align-self: flex-start;
}
.t-navy   { background: var(--navy-lt);   color: var(--navy-md); }
.t-amber  { background: var(--amber-lt);  color: var(--amber); }
.t-cobalt { background: var(--cobalt-lt); color: var(--cobalt); }
.t-slate  { background: var(--slate-lt);  color: var(--slate); }
.uc-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400; font-size: 1.02rem;
  line-height: 1.28; margin-bottom: 10px; color: var(--text);
}
.uc-card p { font-size: .86rem; color: var(--text2); line-height: 1.76; flex: 1; }

.mobile-on { display: none; }
.mobile-off { display: display; }

/* ═══════════════════════════════════════════════════════
   STATS BAND
════════════════════════════════════════════════════════ */
.stats-band { background: var(--navy); padding: 64px 0; }
.stats-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.st-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400; color: #fff;
  line-height: 1; margin-bottom: 10px;
}
.st-lbl { font-size: .84rem; color: rgba(255,255,255,.62); line-height: 1.58; }

/* ═══════════════════════════════════════════════════════
   APPLY
════════════════════════════════════════════════════════ */
.apply-sec { background: var(--surface); }
.apply-layout {
  display: grid;
  grid-template-columns: 1fr 1.75fr;
  gap: 56px; align-items: start;
}
.apply-side .sec-h   { max-width: 340px; }
.apply-side .sec-sub { max-width: 340px; margin-bottom: 28px; }
.notices { display: flex; flex-direction: column; gap: 14px; }
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 15px;
  background: var(--bg);
  border: 1px solid var(--border-lt);
  border-radius: var(--r);
}
.n-ico {
  width: 30px; height: 30px;
  border-radius: 7px; background: var(--navy-lt);
  display: grid; place-items: center;
  font-size: .88rem; flex-shrink: 0;
}
.n-txt strong { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 2px; line-height: 1.4; }
.n-txt span   { font-size: .79rem; color: var(--text2); line-height: 1.62; }

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
}
.form-title {
  font-family: 'Fraunces', serif;
  font-weight: 400; font-size: 1.42rem;
  color: var(--text);
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg .span2 { grid-column: 1 / -1; }
.f-grp { display: flex; flex-direction: column; gap: 5px; }
.f-lbl { font-size: .81rem; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.f-lbl .req { color: var(--amber); margin-left: 2px; }
.f-hint { font-size: .75rem; color: var(--text3); line-height: 1.52; }

.f-inp, .f-sel, .f-ta {
  width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .875rem; color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 10px 14px; outline: none;
  line-height: 1.5;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none; appearance: none;
}
.f-inp::placeholder, .f-ta::placeholder { color: var(--text3); }
.f-inp:focus, .f-sel:focus, .f-ta:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,92,.1);
}
.f-sel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23948f87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px; cursor: pointer;
}
.f-ta { resize: vertical; min-height: 108px; }
.f-checks { display: flex; flex-direction: column; gap: 9px; }
.f-check {
  display: flex; align-items: center; gap: 9px;
  font-size: .84rem; color: var(--text2);
  cursor: pointer; user-select: none;
}
.f-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--navy); flex-shrink: 0; }
.f-divider   { grid-column: 1 / -1; height: 1px; background: var(--border); margin: 4px 0; }
.f-agree-row {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .8rem; color: var(--text2); line-height: 1.64;
}
.f-agree-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.f-agree-row a { color: var(--navy); text-decoration: underline; }
.f-submit-row {
  grid-column: 1 / -1;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-top: 4px;
}
.f-note { font-size: .77rem; color: var(--text3); line-height: 1.62; flex: 1; min-width: 180px; }
.f-result {
  display: none; grid-column: 1 / -1;
  padding: 16px 18px;
  background: #eaf5f1; border: 1px solid #b2d9c6;
  border-radius: var(--r);
  font-size: .87rem; color: #1b5c3e; line-height: 1.68;
}
.f-result.show { display: block; }

/* ═══════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════ */
.faq-sec { background: var(--bg); }
.faq-item {
  width: 68%;
  margin-top:12px;
  background: var(--surface);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg); overflow: hidden;
}
.faq-btn {
  width: 100%; text-align: left;
  background: none; border: none;
  padding: 19px 22px;
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 14px;
  font-size: .91rem; font-weight: 600;
  color: var(--text); line-height: 1.48;
  transition: background .16s;
}
.faq-btn:hover { background: var(--bg); }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0; margin-top: 1px;
  color: var(--text3); transition: transform .28s ease;
}
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-item.active .faq-body { max-height: 360px; }
.faq-ans {
  padding: 0 22px 18px;
  border-top: 1px solid var(--border-lt); padding-top: 15px;
  font-size: .86rem; color: var(--text2); line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer { background: var(--navy-dk); color: rgba(255,255,255,.62); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 52px;
}
.ft-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.ft-mark {
  width: 32px; height: 32px; background: var(--navy);
  border-radius: 7px; display: grid; place-items: center;
  position: relative; flex-shrink: 0;
}
.ft-mark::before { content: ''; position: absolute; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.82); border-radius: 50%; }
.ft-mark::after  { content: ''; position: absolute; width: 6px; height: 6px; background: rgba(255,255,255,.82); border-radius: 50%; }
.ft-wordmark { font-family: 'Fraunces', serif; font-size: 1.22rem; font-weight: 400; color: #fff; }
.ft-brand p { font-size: .83rem; color: rgba(255,255,255,.42); line-height: 1.78; max-width: 265px; }
.ft-col h4 { font-family: 'JetBrains Mono', monospace; font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 18px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ft-col ul li a { font-size: .86rem; color: rgba(255,255,255,.52); transition: color .16s; line-height: 1.5; }
.ft-col ul li a:hover { color: #fff; }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ft-info { font-size: .77rem; line-height: 1.6; }
.ft-info a{ color: #fff; }

/* ═══════════════════════════════════════════════════════
   REVEAL
════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 1024 px
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .faq-item { width: 100%; }
  .steps-wrap { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2) { border-right: none; }
  .step-card:nth-child(1),
  .step-card:nth-child(2) { border-bottom: 1px solid var(--border); }
  .step-card:nth-child(3) { border-right: 1px solid var(--border); }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 900 px
════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero .wrap      { grid-template-columns: 1fr; gap: 44px; }
  .arch-grid       { grid-template-columns: 1fr; gap: 36px; }
  .feat-grid       { grid-template-columns: repeat(2, 1fr); }
  .uc-grid         { grid-template-columns: repeat(2, 1fr); }
  .apply-layout    { grid-template-columns: 1fr; gap: 44px; }
  .apply-side .sec-h, .apply-side .sec-sub { max-width: 100%; }
  .faq-grid        { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .stats-inner     { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .fg              { grid-template-columns: 1fr; }
  .fg .span2, .f-divider, .f-agree-row, .f-submit-row, .f-result { grid-column: auto; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 640 px
════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  section { padding: 72px 0; }
  .hero { padding: 108px 0 72px; }
  .wrap, .stats-inner { padding-left: 20px; padding-right: 20px; }

  .node-city   { display: none; }
  .hero-panel  { padding: 18px; }
  .node-grid   { gap: 5px; }
  .node-cell   { padding: 8px 4px; gap: 5px; }
  .metric-row  { gap: 5px; }
  .metric-cell { padding: 9px 4px; }

  .steps-wrap { grid-template-columns: 1fr; }
  .step-card  { border-right: none !important; border-bottom: 1px solid var(--border); }
  .step-card:last-child { border-bottom: none; }

  .feat-grid   { grid-template-columns: 1fr; }
  .uc-grid     { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .form-card { padding: 22px 18px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .ft-brand p  { max-width: 100%; }
  .ft-bottom   { flex-direction: column; align-items: flex-start; gap: 14px; }

  .hero-btns      { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .f-submit-row      { flex-direction: column; align-items: stretch; }
  .f-submit-row .btn { width: 100%; justify-content: center; }

  /* On small screens, wrap the arch-layer text */
  .arch-layer { white-space: normal; line-height: 1.6; }
}
/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 640 px
════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .mobile-on { display: block; }
  .mobile-off { display: none; }
}