/* KRYLS · lightweight Liquid Glass system */
:root {
  color-scheme: dark;
  --bg: #03060b;
  --surface: #0a1119;
  --surface-raised: #0c1721;
  --text: #f3f8fc;
  --muted: #aab9c8;
  --quiet: #77899a;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, .12);
  --purple: #bd00ff;
  --purple-soft: rgba(189, 0, 255, .12);
  --line: rgba(166, 207, 225, .13);
  --line-bright: rgba(0, 229, 255, .25);
  --radius-card: 20px;
  --radius-panel: 27px;
  --page-width: 1200px;
  --gutter: clamp(16px, 3vw, 28px);
  --section-space: clamp(68px, 9vw, 124px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding-right: env(safe-area-inset-right, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse 40rem 34rem at 12% 1%, rgba(0, 229, 255, .075), transparent 72%),
    radial-gradient(ellipse 38rem 34rem at 94% 36%, rgba(91, 32, 153, .09), transparent 72%);
}
a { color: inherit; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 8px;
}
::selection { color: #001014; background: var(--cyan); }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--page-width)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--cyan);
  color: #001014;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

/* Compact, single-surface navigation */
.site-header {
  position: sticky;
  z-index: 20;
  top: calc(12px + env(safe-area-inset-top, 0px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid rgba(176, 221, 239, .13);
  border-radius: 19px;
  background: rgba(5, 10, 15, .88);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}
.brand img { display: block; flex: 0 0 auto; width: 38px; height: 38px; object-fit: contain; }
.brand-copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.12; }
.brand-copy strong { font-size: .96rem; font-weight: 850; letter-spacing: -.045em; }
.brand-copy > span { margin-top: 3px; color: var(--quiet); font-size: .69rem; white-space: nowrap; }
.site-nav { display: flex; min-width: 0; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 25px); }
.site-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: #b7c6d3;
  font-size: .83rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease;
}
.site-nav a:hover { color: var(--cyan); }
.header-status, .status-label {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(0, 229, 255, .23);
  border-radius: 999px;
  background: rgba(0, 229, 255, .055);
  color: #a8f7ff;
  font-size: .73rem;
  font-weight: 750;
  white-space: nowrap;
}
.status-dot, .launch-dot, .network-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .10);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-top: clamp(54px, 8vw, 106px);
  padding-bottom: clamp(56px, 8vw, 108px);
}
.hero-copy { min-width: 0; max-width: 690px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #a9c1cf;
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .115em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow-mark {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  border-radius: 1px;
  background: var(--cyan);
  box-shadow: 0 0 11px rgba(0, 229, 255, .34);
}
.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 29px 0 13px;
  color: #c3d0d9;
  font-size: .82rem;
  font-weight: 650;
}
.launch-dot { width: 6px; height: 6px; }
.hero h1 {
  margin: 0;
  font-size: clamp(3.15rem, 6.9vw, 6.1rem);
  font-weight: 850;
  letter-spacing: -.085em;
  line-height: .94;
}
.hero h1 span {
  display: block;
  width: fit-content;
  margin-top: .12em;
  background: linear-gradient(105deg, #fff 2%, #d6faff 38%, var(--cyan) 96%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  max-width: 60ch;
  margin: 24px 0 0;
  color: #b4c1cf;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.8;
}
.hero-principle {
  max-width: 55ch;
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(0, 229, 255, .65);
  color: #c8d4de;
  font-size: .96rem;
  line-height: 1.6;
}
.hero-principle strong { color: var(--text); font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .91rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button svg { width: 18px; height: 18px; }
.button-primary {
  border-color: rgba(255, 255, 255, .28);
  background: var(--cyan);
  color: #001115;
  box-shadow: 0 7px 22px rgba(0, 229, 255, .13);
}
.button-primary:hover { transform: translateY(-2px); background: #c5fbff; }
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #9df4ff;
  font-size: .89rem;
  font-weight: 720;
  text-decoration: none;
}
.text-link span { color: var(--cyan); font-size: 1.1em; }
.text-link:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(0, 229, 255, .6); text-underline-offset: 4px; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.highlight {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid rgba(178, 208, 226, .12);
  border-radius: 999px;
  background: rgba(9, 16, 23, .66);
  color: #aebdca;
  font-size: .72rem;
  line-height: 1.3;
  white-space: nowrap;
}
.highlight b { color: var(--cyan); font-weight: 750; }

/* Static product-flow visual: no canvas, remote asset, or animation loop */
.glass-surface {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(137, 213, 239, .17);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(ellipse 28rem 18rem at 92% 4%, rgba(0, 229, 255, .075), transparent 66%),
    linear-gradient(145deg, rgba(12, 24, 33, .97), rgba(5, 10, 16, .97));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .045);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.flow-panel { min-width: 0; padding: clamp(18px, 2.6vw, 28px); }
.flow-panel::before {
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .42), rgba(189, 0, 255, .3), transparent);
}
.flow-panel-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-kicker, .state-caption, .layer-label, .route-overline, .stack-overline, .network-label, .note-label, .status-label {
  letter-spacing: .09em;
  text-transform: uppercase;
}
.panel-kicker { margin: 0 0 5px; color: #91a8b6; font-size: .64rem; font-weight: 750; }
.flow-panel-head h2 { margin: 0; font-size: 1.08rem; font-weight: 750; letter-spacing: -.025em; }
.network-chip {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid rgba(0, 229, 255, .16);
  border-radius: 999px;
  background: rgba(0, 229, 255, .045);
  color: #a7edf5;
  font-size: .62rem;
  font-weight: 700;
  white-space: nowrap;
}
.network-dot { width: 6px; height: 6px; box-shadow: none; }
.participants { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 23px 0 14px; color: #d6e0e8; font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.participants > :last-child { text-align: right; }
.participant-link { position: relative; display: flex; width: 68px; align-items: center; justify-content: space-between; }
.participant-link::before { position: absolute; right: 3px; left: 3px; height: 1px; content: ""; background: linear-gradient(90deg, rgba(0, 229, 255, .22), rgba(189, 0, 255, .42)); }
.participant-link i { position: relative; width: 6px; height: 6px; border: 1px solid #72eefa; border-radius: 50%; background: #0a141c; }
.flow-layer { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(137, 213, 239, .12); border-radius: 16px; background: rgba(3, 8, 13, .63); }
.flow-app { border-color: rgba(0, 229, 255, .15); }
.flow-protocol { border-color: rgba(189, 0, 255, .25); background: linear-gradient(105deg, rgba(20, 11, 27, .82), rgba(4, 9, 14, .75)); }
.layer-number { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(0, 229, 255, .19); border-radius: 11px; background: rgba(0, 229, 255, .065); color: var(--cyan); font-size: .68rem; font-weight: 800; }
.flow-protocol .layer-number { border-color: rgba(189, 0, 255, .26); background: rgba(189, 0, 255, .10); color: #e19aff; }
.layer-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.layer-label { color: #8da0ae; font-size: .58rem; font-weight: 750; }
.layer-copy strong { margin-top: 2px; color: #f2f8fb; font-size: .98rem; line-height: 1.4; }
.layer-copy small { color: #9cabb8; font-size: .72rem; line-height: 1.5; }
.layer-mode { flex: 0 0 auto; color: #70e9f3; font-size: .56rem; font-weight: 800; letter-spacing: .08em; }
.layer-mode.on-chain { color: #d69aff; }
.flow-connector { position: relative; width: 1px; height: 19px; margin-left: 31px; background: linear-gradient(rgba(0, 229, 255, .42), rgba(189, 0, 255, .42)); }
.flow-connector::after { position: absolute; bottom: 0; left: -2px; width: 5px; height: 5px; content: ""; transform: rotate(45deg); border-right: 1px solid #b58bdb; border-bottom: 1px solid #b58bdb; }
.state-path { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 19px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, .08); }
.state-caption { color: #8396a5; font-size: .59rem; font-weight: 750; }
.state-path p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; margin: 0; color: #c1cdd7; font-size: .65rem; font-weight: 680; }
.state-path i { color: var(--cyan); font-style: normal; }
.panel-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #96a6b2; font-size: .72rem; }
.foot-line { width: 17px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--purple)); }

/* Product capabilities */
.section { padding-block: var(--section-space); scroll-margin-top: 95px; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2, .escrow-intro h2, .status-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: 1.04;
}
.section-heading > p:last-child { max-width: 62ch; margin: 17px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.capability-card {
  position: relative;
  min-width: 0;
  min-height: 218px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, rgba(11, 21, 29, .85), rgba(6, 11, 17, .84));
  transition: transform 170ms ease, border-color 170ms ease, background-color 170ms ease;
}
.capability-card:hover { transform: translateY(-3px); border-color: rgba(0, 229, 255, .3); background-color: rgba(12, 24, 33, .94); }
.capability-index { position: absolute; top: 21px; right: 20px; color: #687b8b; font-size: .65rem; font-weight: 750; letter-spacing: .06em; }
.capability-icon { display: grid; width: 39px; height: 39px; place-content: center; gap: 4px; border: 1px solid rgba(0, 229, 255, .18); border-radius: 12px; background: rgba(0, 229, 255, .055); }
.icon-market { grid-template-columns: repeat(2, 6px); grid-template-rows: repeat(2, 6px); }
.icon-market i { width: 6px; height: 6px; border: 1px solid #64e8f3; border-radius: 2px; }
.icon-chat { align-content: center; justify-items: center; }
.icon-chat i { width: 17px; height: 10px; border: 1px solid #64e8f3; border-radius: 6px 6px 6px 2px; }
.icon-chat i + i { width: 12px; margin-left: 8px; border-color: #b57ae0; border-radius: 6px 6px 2px 6px; }
.icon-wallet { position: relative; }
.icon-wallet i { width: 22px; height: 16px; border: 1px solid #64e8f3; border-radius: 4px; }
.icon-wallet i::after { display: block; width: 5px; height: 5px; margin: 4px 0 0 12px; border-radius: 50%; background: #64e8f3; content: ""; }
.icon-milestone { display: flex; align-items: center; justify-content: center; gap: 4px; }
.icon-milestone i { width: 6px; height: 6px; border: 1px solid #64e8f3; border-radius: 50%; background: #0b1820; }
.icon-milestone i:nth-child(2) { background: var(--cyan); box-shadow: 0 0 7px rgba(0, 229, 255, .4); }
.capability-card h3 { margin: 16px 0 7px; font-size: 1.04rem; font-weight: 730; letter-spacing: -.025em; line-height: 1.3; }
.capability-card p { max-width: 35ch; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.layer-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 15px;
  padding: 19px 22px;
  border: 1px solid rgba(159, 203, 224, .11);
  border-radius: 17px;
  background: rgba(7, 13, 19, .7);
}
.bridge-side { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.bridge-label { color: var(--cyan); font-size: .69rem; font-weight: 800; letter-spacing: .1em; }
.bridge-side > span:last-child { color: #98a9b6; font-size: .78rem; line-height: 1.5; }
.bridge-protocol .bridge-label { color: #d79aff; }
.bridge-connector { position: relative; height: 1px; background: linear-gradient(90deg, rgba(0, 229, 255, .48), rgba(189, 0, 255, .55)); }
.bridge-connector::after { position: absolute; top: -3px; right: 0; width: 6px; height: 6px; content: ""; transform: rotate(45deg); border-top: 1px solid #c781ed; border-right: 1px solid #c781ed; }

/* Project lifecycle */
.section-lifecycle { border-top: 1px solid rgba(156, 199, 221, .09); border-bottom: 1px solid rgba(156, 199, 221, .09); }
.section-heading-row { display: grid; grid-template-columns: 1fr minmax(260px, .78fr); align-items: end; gap: 50px; max-width: none; }
.section-heading-row > p:last-child { max-width: 46ch; margin: 0 0 5px; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.step-card {
  min-width: 0;
  min-height: 184px;
  padding: 21px;
  border: 1px solid rgba(152, 199, 221, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(12, 21, 29, .83), rgba(6, 11, 17, .82));
}
.step-highlight { border-color: rgba(0, 229, 255, .27); background: linear-gradient(145deg, rgba(0, 229, 255, .075), rgba(7, 14, 20, .9) 58%); }
.step-number { color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.step-card h3 { margin: 16px 0 6px; font-size: 1.17rem; font-weight: 730; letter-spacing: -.03em; }
.step-card p { max-width: 37ch; margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.65; }
.dispute-note {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 15px;
  padding: 18px 21px;
  border: 1px solid rgba(189, 0, 255, .2);
  border-radius: 17px;
  background: linear-gradient(100deg, rgba(103, 26, 132, .12), rgba(8, 13, 20, .86) 55%);
}
.dispute-mark { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(189, 0, 255, .22); border-radius: 11px; color: #d79aff; font-size: 1.1rem; }
.dispute-note > div { min-width: 0; flex: 1; }
.note-label { margin: 0 0 3px; color: #c38bd8; font-size: .61rem; font-weight: 800; }
.dispute-note h3 { margin: 0; color: #f3e8fb; font-size: .97rem; font-weight: 730; }
.dispute-note > div > p:last-child { max-width: 87ch; margin: 4px 0 0; color: #b9adbf; font-size: .79rem; line-height: 1.65; }
.note-tag { flex: 0 0 auto; padding: 7px 9px; border: 1px solid rgba(189, 0, 255, .22); border-radius: 999px; color: #d5a0eb; font-size: .63rem; font-weight: 750; white-space: nowrap; }

/* Protocol centerpiece */
.escrow-surface {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4.5vw, 52px);
  border: 1px solid rgba(0, 229, 255, .17);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 34rem 24rem at 92% 5%, rgba(0, 229, 255, .085), transparent 70%),
    radial-gradient(ellipse 26rem 20rem at 0% 100%, rgba(189, 0, 255, .075), transparent 70%),
    linear-gradient(145deg, rgba(10, 19, 27, .96), rgba(5, 9, 15, .96));
  box-shadow: 0 24px 64px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .04);
}
.escrow-intro { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(250px, .8fr); align-items: end; gap: 36px; }
.escrow-intro .eyebrow { margin-bottom: 15px; }
.escrow-intro h2 { max-width: 700px; }
.escrow-intro h2 span { color: var(--cyan); }
.escrow-intro > p { max-width: 49ch; margin: 0 0 5px; color: #aebdc9; font-size: .95rem; line-height: 1.75; }
.protocol-route { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 38px; }
.route-node { position: relative; display: flex; min-height: 190px; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: 23px; border: 1px solid rgba(146, 196, 220, .17); border-radius: 18px; background: rgba(3, 9, 14, .69); }
.route-node::before { position: absolute; top: 0; left: 20px; width: 38px; height: 2px; content: ""; background: var(--cyan); }
.route-contract { border-color: rgba(189, 0, 255, .3); background: linear-gradient(145deg, rgba(40, 13, 51, .32), rgba(5, 10, 16, .8)); }
.route-contract::before { background: var(--purple); }
.route-settlement { border-color: rgba(0, 229, 255, .23); background: linear-gradient(145deg, rgba(0, 229, 255, .055), rgba(4, 10, 15, .8)); }
.route-overline { color: #82a0af; font-size: .62rem; font-weight: 800; }
.route-node h3 { margin: 14px 0 5px; font-size: 1.18rem; font-weight: 760; letter-spacing: -.035em; }
.route-node p { max-width: 27ch; min-height: 44px; margin: 0; color: #aab9c5; font-size: .84rem; line-height: 1.6; }
.route-status { margin-top: 15px; padding: 6px 9px; border: 1px solid rgba(140, 198, 219, .14); border-radius: 999px; color: #b9c7d0; font-size: .62rem; font-weight: 680; }
.route-arrow { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #7b94a3; }
.route-arrow span { font-size: .54rem; font-weight: 800; letter-spacing: .08em; text-align: center; }
.route-arrow i { color: var(--cyan); font-size: 1.2rem; font-style: normal; }
.route-arrow-end i { color: #d397f2; }
.protocol-primitives { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.protocol-primitives span { padding: 7px 10px; border: 1px solid rgba(152, 194, 215, .12); border-radius: 999px; background: rgba(3, 8, 13, .48); color: #afbdc8; font-size: .72rem; }
.protocol-footnote { display: flex; align-items: center; gap: 9px; margin: 20px 0 0; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, .08); color: #c6d4dd; font-size: .86rem; }
.protocol-footnote span { color: var(--cyan); }

/* Stack and distinct networks */
.section-architecture { border-top: 1px solid rgba(156, 199, 221, .09); }
.architecture-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: stretch; gap: 15px; }
.stack-card {
  min-width: 0;
  padding: clamp(19px, 2.8vw, 27px);
  border: 1px solid rgba(152, 199, 221, .15);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, rgba(11, 20, 28, .93), rgba(5, 10, 16, .92));
}
.stack-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.stack-symbol, .network-symbol { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(0, 229, 255, .2); border-radius: 12px; background: rgba(0, 229, 255, .065); color: var(--cyan); font-size: .94rem; font-weight: 850; }
.stack-overline { display: block; margin-bottom: 2px; color: #8197a5; font-size: .59rem; font-weight: 780; }
.stack-card-head h3 { margin: 0; font-size: 1.08rem; font-weight: 740; }
.stack-list { margin: 8px 0 0; padding: 0; list-style: none; }
.stack-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-width: 0; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.stack-step { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(0, 229, 255, .15); border-radius: 9px; color: #81eaf3; font-size: .62rem; font-weight: 780; }
.stack-list li > div { display: flex; min-width: 0; flex-direction: column; }
.stack-list small { color: #8093a1; font-size: .58rem; font-weight: 760; letter-spacing: .08em; }
.stack-list strong { overflow-wrap: anywhere; color: #d9e3ea; font-size: .86rem; font-weight: 660; }
.stack-type { color: #7e8f9d; font-size: .65rem; }
.compatibility-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.compatibility-row span { padding: 6px 8px; border: 1px solid rgba(189, 0, 255, .18); border-radius: 999px; background: rgba(189, 0, 255, .045); color: #c39bd4; font-size: .63rem; line-height: 1.35; }
.network-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 13px; }
.network-card { min-width: 0; padding: 20px 22px; border: 1px solid rgba(0, 229, 255, .17); border-radius: var(--radius-card); background: linear-gradient(140deg, rgba(9, 22, 29, .92), rgba(5, 10, 16, .92)); }
.network-polygon { border-color: rgba(189, 0, 255, .2); background: linear-gradient(140deg, rgba(26, 13, 33, .84), rgba(6, 10, 16, .93)); }
.network-card-head { display: flex; align-items: center; gap: 10px; }
.network-symbol { width: 32px; height: 32px; border-radius: 10px; font-size: .8rem; }
.network-polygon .network-symbol { border-color: rgba(189, 0, 255, .26); background: rgba(189, 0, 255, .09); color: #d39af0; }
.network-label { color: #8ea2b0; font-size: .59rem; font-weight: 790; }
.network-polygon .network-label { color: #b69ac0; }
.network-card h3 { margin: 13px 0 3px; font-size: 1.2rem; font-weight: 760; letter-spacing: -.035em; }
.network-card p { max-width: 52ch; margin: 0; color: #a9b7c3; font-size: .83rem; line-height: 1.55; }
.asset-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.asset-row span { padding: 5px 8px; border: 1px solid rgba(0, 229, 255, .15); border-radius: 7px; background: rgba(0, 229, 255, .04); color: #b5eff4; font-size: .65rem; font-weight: 740; }
.network-polygon .asset-row span { border-color: rgba(189, 0, 255, .2); background: rgba(189, 0, 255, .06); color: #d5b0e3; }
.asset-row small { margin-left: 3px; color: #8293a0; font-size: .65rem; }

/* Status and footer */
.status-surface {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
  gap: 42px;
  padding: clamp(24px, 4vw, 43px);
  border: 1px solid rgba(0, 229, 255, .16);
  border-radius: 24px;
  background: linear-gradient(115deg, rgba(10, 22, 29, .95), rgba(7, 12, 19, .94) 65%, rgba(19, 11, 27, .9));
}
.status-copy .eyebrow { margin-bottom: 14px; }
.status-copy h2 { font-size: clamp(2rem, 3.7vw, 3.1rem); }
.status-copy > p:last-child { max-width: 58ch; margin: 16px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.status-detail { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .09); }
.status-label { min-height: 34px; }
.audit-note { max-width: 43ch; margin: 17px 0 10px; color: #aab8c3; font-size: .82rem; line-height: 1.65; }
.audit-note strong { color: #e1eaf0; font-weight: 750; }
.status-detail .text-link { font-size: .82rem; }
.site-footer { padding-top: 28px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(152, 197, 218, .1); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 25px; }
.footer-brand { max-width: 510px; }
.footer-brand .brand-copy > span { color: #8395a3; }
.footer-brand p { margin: 12px 0 0; color: #8998a5; font-size: .79rem; line-height: 1.75; }
.footer-brand p a { color: #bceef3; text-decoration-color: rgba(0, 229, 255, .3); text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.social-link {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(0, 229, 255, .16);
  border-radius: 999px;
  background: rgba(0, 229, 255, .035);
  color: #adc0ca;
  font-size: .72rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.social-link svg { width: 17px; height: 17px; flex: 0 0 auto; }
.social-link:hover { border-color: rgba(0, 229, 255, .37); background: rgba(0, 229, 255, .08); color: #e6fbff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .055); color: #71808c; font-size: .7rem; }
.footer-bottom i { padding-inline: 4px; color: var(--cyan); font-style: normal; }

@media (hover: hover) {
  .social-link:hover { transform: translateY(-1px); }
}
@media (max-width: 1020px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: .78rem; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); gap: 32px; }
  .hero h1 { font-size: clamp(3.15rem, 6.6vw, 4.6rem); }
  .flow-panel { padding: 20px; }
  .layer-mode { font-size: .51rem; }
  .capability-card { padding: 18px; }
  .protocol-route { grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr) 52px minmax(0, 1fr); gap: 7px; }
  .route-node { padding: 19px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 128px; }
  .site-header { display: flex; flex-wrap: wrap; gap: 5px 14px; }
  .site-nav { order: 3; width: 100%; flex: 0 0 100%; justify-content: flex-start; gap: 19px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .header-status { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 35px; padding-top: 58px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: clamp(3.4rem, 8.7vw, 5.7rem); }
  .flow-panel { width: min(100%, 700px); justify-self: center; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading-row { grid-template-columns: 1fr minmax(220px, .75fr); gap: 28px; }
  .step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .escrow-intro { grid-template-columns: 1fr .82fr; gap: 25px; }
  .protocol-route { grid-template-columns: minmax(0, 1fr) 45px minmax(0, 1fr) 45px minmax(0, 1fr); }
  .route-node { min-height: 205px; padding: 16px; }
  .route-node h3 { font-size: 1.05rem; }
  .route-node p { font-size: .77rem; }
  .architecture-grid { grid-template-columns: 1fr; }
  .network-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-space: 72px; --radius-card: 17px; }
  html { scroll-padding-top: 118px; }
  .site-header { top: calc(7px + env(safe-area-inset-top, 0px)); min-height: 0; margin-top: 8px; padding: 8px 10px 6px; border-radius: 16px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .brand-copy strong { font-size: .88rem; }
  .brand-copy > span { font-size: .63rem; }
  .header-status { min-height: 32px; gap: 7px; padding: 0 9px; font-size: .66rem; }
  .site-nav { gap: 15px; padding: 2px 0 1px; }
  .site-nav a { min-height: 34px; font-size: .74rem; }
  .hero { gap: 30px; padding-top: 48px; padding-bottom: 66px; }
  .eyebrow { align-items: flex-start; font-size: .63rem; letter-spacing: .095em; }
  .eyebrow-mark { margin-top: 4px; }
  .launch-note { margin-top: 23px; font-size: .77rem; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 4.35rem); }
  .hero-lead { margin-top: 19px; font-size: 1rem; line-height: 1.72; }
  .hero-principle { margin-top: 16px; font-size: .88rem; }
  .hero-actions { align-items: stretch; gap: 8px; margin-top: 22px; }
  .button-primary { width: 100%; }
  .text-link { min-height: 42px; }
  .hero-highlights { gap: 7px; margin-top: 20px; }
  .highlight { min-height: 31px; padding: 5px 8px; font-size: .66rem; }
  .flow-panel { padding: 18px; border-radius: 21px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .flow-panel-head h2 { font-size: 1rem; }
  .network-chip { font-size: .58rem; }
  .participants { margin-top: 18px; font-size: .62rem; }
  .flow-layer { gap: 9px; padding: 12px 10px; }
  .layer-number { width: 30px; height: 30px; border-radius: 9px; font-size: .62rem; }
  .layer-label { font-size: .53rem; }
  .layer-copy strong { font-size: .91rem; }
  .layer-copy small { font-size: .65rem; }
  .layer-mode { font-size: .48rem; }
  .state-path { align-items: flex-start; flex-direction: column; gap: 6px; }
  .state-path p { gap: 4px 5px; font-size: .63rem; }
  .panel-foot { font-size: .67rem; }
  .section-heading { margin-bottom: 25px; }
  .section-heading .eyebrow { margin-bottom: 12px; }
  .section-heading h2, .escrow-intro h2 { font-size: clamp(2.05rem, 9.5vw, 3.1rem); }
  .section-heading > p:last-child { margin-top: 13px; font-size: .91rem; }
  .wide-only { display: none; }
  .capability-grid { gap: 9px; }
  .capability-card { min-height: 190px; padding: 15px 13px; }
  .capability-index { top: 15px; right: 13px; font-size: .59rem; }
  .capability-icon { width: 34px; height: 34px; border-radius: 10px; }
  .capability-card h3 { margin-top: 13px; font-size: .94rem; }
  .capability-card p { font-size: .82rem; line-height: 1.55; }
  .layer-bridge { grid-template-columns: 1fr; gap: 11px; margin-top: 12px; padding: 15px; }
  .bridge-side > span:last-child { font-size: .73rem; }
  .bridge-connector { width: 1px; height: 20px; justify-self: start; margin-left: 4px; background: linear-gradient(rgba(0, 229, 255, .5), rgba(189, 0, 255, .55)); }
  .bridge-connector::after { top: auto; right: auto; bottom: 0; left: -3px; transform: rotate(135deg); }
  .section-heading-row { display: block; }
  .section-heading-row > p:last-child { margin-top: 14px; }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .step-card { min-height: 170px; padding: 16px 14px; }
  .step-card h3 { margin-top: 12px; font-size: 1.04rem; }
  .step-card p { font-size: .82rem; line-height: 1.56; }
  .dispute-note { flex-wrap: wrap; align-items: flex-start; gap: 11px; padding: 15px; }
  .dispute-mark { width: 31px; height: 31px; }
  .dispute-note > div { flex-basis: calc(100% - 48px); }
  .dispute-note > div > p:last-child { font-size: .75rem; }
  .note-tag { margin-left: 42px; }
  .escrow-surface { padding: 22px 16px; border-radius: 22px; }
  .escrow-intro { grid-template-columns: 1fr; gap: 13px; }
  .escrow-intro h2 { font-size: clamp(2rem, 9.2vw, 2.9rem); }
  .escrow-intro > p { font-size: .88rem; }
  .protocol-route { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 24px; }
  .route-node { min-height: 154px; padding: 19px; }
  .route-node h3 { margin-top: 10px; font-size: 1.1rem; }
  .route-node p { min-height: 0; font-size: .82rem; }
  .route-status { margin-top: 10px; }
  .route-arrow { min-height: 46px; flex-direction: row; justify-content: flex-start; gap: 10px; padding-left: 19px; }
  .route-arrow span { font-size: .52rem; }
  .route-arrow i { transform: rotate(90deg); }
  .protocol-primitives { gap: 6px; margin-top: 14px; }
  .protocol-primitives span { padding: 6px 8px; font-size: .65rem; }
  .protocol-footnote { align-items: flex-start; margin-top: 15px; font-size: .77rem; }
  .network-stack { grid-template-columns: 1fr; gap: 10px; }
  .network-card { padding: 17px; }
  .stack-card { padding: 18px 15px; }
  .stack-list li { grid-template-columns: 29px minmax(0, 1fr); gap: 9px; }
  .stack-type { display: none; }
  .stack-list strong { font-size: .81rem; }
  .compatibility-row span { font-size: .61rem; }
  .status-surface { grid-template-columns: 1fr; gap: 20px; padding: 23px 18px; border-radius: 21px; }
  .status-copy h2 { font-size: clamp(2rem, 9.2vw, 2.9rem); }
  .status-copy > p:last-child { font-size: .87rem; }
  .status-detail { padding: 17px 0 0; border-top: 1px solid rgba(255, 255, 255, .09); border-left: 0; }
  .site-footer { padding-top: 24px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 20px; padding-bottom: 20px; }
  .footer-links { justify-content: flex-start; gap: 7px; }
  .social-link { min-height: 42px; gap: 6px; padding: 0 9px; font-size: .68rem; }
  .footer-bottom { font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
