/* ============================================================
   ohttp.io, design system
   Deep-navy dark-first palette, glass material, hairline grid,
   Space Grotesk display / Inter body / IBM Plex Mono technical.
   ============================================================ */

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #05060f;
  --bg-raise: #090b18;
  --body: rgba(200, 212, 234, 0.78);
  --body-dim: rgba(200, 212, 234, 0.52);
  --loud: #e8eefb;
  --loud-2: #c7d3ea;
  --accent-from: #d8ecf8;
  --accent-to: #98c0ef;
  --accent-solid: #9cc4f2;
  --glass: rgba(186, 214, 247, 0.03);
  --glass-2: rgba(186, 214, 247, 0.06);
  --line: rgba(186, 215, 247, 0.12);
  --line-soft: rgba(186, 215, 247, 0.07);
  --glow: rgba(152, 192, 239, 0.24);
  --ok: #7de8c3;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.6, 0.6, 0, 1);
  --wrap: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(152, 192, 239, 0.28); color: #fff; }

a { color: var(--accent-solid); text-decoration: none; }
a:hover { color: var(--accent-from); }

img, svg, canvas { display: block; max-width: 100%; }

/* ---------- layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* framed page: hairline vertical rails at the wrap edges */
.frame {
  position: relative;
}
.frame::before,
.frame::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-soft);
  pointer-events: none;
  z-index: 1;
}
.frame::before { left: max(24px, calc((100vw - var(--wrap)) / 2)); }
.frame::after { right: max(24px, calc((100vw - var(--wrap)) / 2)); }
@media (max-width: 720px) {
  .frame::before, .frame::after { display: none; }
}

/* gradient hairline separator between sections */
.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent 0%, var(--line) 25% 75%, transparent 100%);
}

section { position: relative; }

.section-pad { padding-block: clamp(72px, 10vw, 128px); }

/* mono microcopy label */
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-solid);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-to), transparent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--loud);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.h-display {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 500;
}

.h-section {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-top: 18px;
}

.h-sub {
  font-size: clamp(19px, 2vw, 23px);
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--body);
  max-width: 640px;
}

/* gradient text on key words */
.grad {
  background: linear-gradient(0deg, var(--accent-from) 0%, var(--accent-to) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 24px rgba(174, 207, 242, 0.18);
}

/* ---------- header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-soft);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--loud);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--loud); }
.brand .tld { color: var(--accent-solid); font-weight: 500; margin-left: -0.45em; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a.nav-link {
  color: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a.nav-link:hover { color: var(--loud); background: var(--glass-2); }
.nav a.nav-link[aria-current="page"] { color: var(--loud); }

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
/* the copy inside .nav is the mobile-menu fallback */
.nav .head-actions { display: none; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease, background 0.25s ease, color 0.2s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-ghost {
  color: var(--loud-2);
  background: transparent;
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--loud); border-color: rgba(186, 215, 247, 0.3); background: var(--glass); }

.btn-solid {
  color: #060a16;
  background: linear-gradient(0deg, var(--accent-from) 0%, var(--accent-to) 100%);
  box-shadow: 0 6px 24px -8px var(--glow);
}
.btn-solid:hover { color: #060a16; box-shadow: 0 10px 32px -8px var(--glow); transform: translateY(-1px); }

/* glowing conic-border button (hero primary) */
.btn-glow {
  position: relative;
  color: var(--loud);
  background:
    radial-gradient(31.2% 40.91% at 50% 151.14%, rgba(186, 214, 247, 0.08) 0%, rgba(186, 214, 247, 0) 100%),
    rgba(186, 214, 247, 0.06);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 999px;
  padding: 14px 26px;
}
.btn-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), transparent 0%, var(--accent-to) 18%, var(--accent-from) 26%, transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spin-angle 6s linear infinite;
  opacity: 0.9;
  pointer-events: none;
}
.btn-glow:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.28), 0 8px 30px -10px var(--glow); }

@keyframes spin-angle { to { --angle: 360deg; } }

.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--glass);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 18px;
  transform-origin: center;
  height: 1.5px;
  background: var(--loud-2);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 24px 26px;
    background: rgba(5, 6, 15, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.3s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a.nav-link { padding: 13px 10px; font-size: 16px; }
  .head-actions { display: none; }
  .nav .head-actions { display: flex; margin: 14px 0 0; }
  .nav .head-actions .btn { flex: 1; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 90px;
  overflow: hidden;
}

#net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(to top, var(--bg) 8%, transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-in { position: relative; z-index: 2; max-width: 860px; }

.hero .h-display { margin: 26px 0 24px; }
.hero .lede { margin-bottom: 40px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-meta {
  margin-top: 58px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--body-dim);
  letter-spacing: 0.04em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(125, 232, 195, 0.6);
  font-style: normal;
}

/* vertical scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 15vh;
  background: linear-gradient(to bottom, transparent, var(--line));
  z-index: 2;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: -1.5px;
  top: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-to);
  animation: cue-drop 2.6s var(--ease) infinite;
}
@keyframes cue-drop {
  0% { top: 0; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: calc(100% - 4px); opacity: 0; }
}

/* ---------- protocol flow diagram ---------- */

.flow {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.flow-node {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--glass);
  border: 1px solid var(--line-soft);
  border-left: 0;
}
.flow-node:first-child { border-left: 1px solid var(--line-soft); border-radius: 14px 0 0 14px; }
.flow-node:last-child { border-radius: 0 14px 14px 0; }

.flow-node .role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-solid);
  margin-bottom: 10px;
}
.flow-node h3 { font-size: 19px; margin-bottom: 8px; }
.flow-node p { font-size: 13.5px; line-height: 1.6; color: var(--body-dim); }

.flow-node .sees {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--body-dim);
}
.flow-node .sees b { color: var(--loud-2); font-weight: 500; }

/* travelling packet along the diagram */
.flow-line {
  grid-column: 1 / -1;
  position: relative;
  height: 56px;
  border-inline: 1px solid var(--line-soft);
}
.flow-line::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 12% 88%, transparent);
}
.packet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--accent-from);
  box-shadow: 0 0 14px 2px var(--glow);
  animation: packet-run 5.5s var(--ease) infinite;
}
.packet.p2 { animation-delay: 2.75s; background: var(--ok); box-shadow: 0 0 14px 2px rgba(125, 232, 195, 0.35); }
@keyframes packet-run {
  0% { left: 2%; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 98%; opacity: 0; }
}
.flow-caption {
  grid-column: 1 / -1;
  padding: 14px 4px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--body-dim);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-node { border-left: 1px solid var(--line-soft); border-top: 0; border-radius: 0 !important; }
  .flow-node:nth-child(-n+2) { border-top: 1px solid var(--line-soft); }
  .flow-node:first-child { border-radius: 14px 0 0 0 !important; }
  .flow-node:nth-child(2) { border-radius: 0 14px 0 0 !important; }
  .flow-node:nth-child(3) { border-radius: 0 0 0 14px !important; }
  .flow-node:last-child { border-radius: 0 0 14px 0 !important; }
}

/* ---------- feature grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 54px;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.cell {
  position: relative;
  background: var(--bg);
  padding: 34px 30px 32px;
  transition: background 0.35s ease;
}
.cell:hover { background: var(--bg-raise); }

/* corner dots craft detail */
.cell::before,
.cell::after {
  content: "";
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-to), transparent 70%);
  opacity: 0.55;
}
.cell::before { top: 10px; left: 10px; }
.cell::after { top: 10px; right: 10px; }

.cell .k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-dim);
  margin-bottom: 14px;
}
.cell h3 { font-size: 19px; margin-bottom: 10px; }
.cell p { font-size: 14.5px; color: var(--body); }

.cell svg.glyph {
  width: 30px; height: 30px;
  margin-bottom: 18px;
  stroke: var(--accent-solid);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- code block ---------- */

.codeblock {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #070912;
  overflow: hidden;
}
.codeblock .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--body-dim);
}
.codeblock .bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
}
.codeblock .bar .fname { margin-left: 8px; }
.codeblock pre {
  padding: 20px 22px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--loud-2);
}
.codeblock .c { color: rgba(200, 212, 234, 0.38); }
.codeblock .k { color: var(--accent-solid); }
.codeblock .s { color: var(--ok); }

/* two-col split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  background: var(--bg);
  padding: 34px 28px;
}
.stat .n {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  color: var(--loud);
  letter-spacing: -0.02em;
}
.stat .n em { font-style: normal; color: var(--accent-solid); }
.stat .d {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--body-dim);
  text-transform: uppercase;
}

/* ---------- docs layout ---------- */

.docs-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .docs-grid { grid-template-columns: 1fr; } }

.docs-toc {
  position: sticky;
  top: 100px;
  border-left: 1px solid var(--line-soft);
  padding-left: 20px;
}
@media (max-width: 900px) { .docs-toc { position: static; border-left: 0; padding-left: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; } }
.docs-toc a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--body-dim);
  transition: color 0.2s ease;
}
.docs-toc a:hover { color: var(--loud); }
.docs-toc .toc-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-solid);
  margin-bottom: 10px;
}

.doc-sec { margin-bottom: clamp(56px, 7vw, 88px); scroll-margin-top: 96px; }
.doc-sec h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.doc-sec h3 { font-size: 19px; margin: 30px 0 12px; }
.doc-sec p { margin-bottom: 14px; max-width: 720px; }
.doc-sec ul, .doc-sec ol { margin: 0 0 16px 20px; max-width: 700px; }
.doc-sec li { margin-bottom: 8px; }
.doc-sec code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--glass-2);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--loud-2);
}
.doc-sec .codeblock { margin: 20px 0; }

/* spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  max-width: 720px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.spec-table th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-solid);
  font-weight: 500;
}
.spec-table td:first-child { font-family: var(--font-mono); font-size: 13px; color: var(--loud-2); white-space: nowrap; }

/* callout */
.callout {
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--accent-to);
  border-radius: 0 12px 12px 0;
  background: var(--glass);
  padding: 18px 22px;
  margin: 22px 0;
  max-width: 720px;
  font-size: 14.5px;
}
.callout b { color: var(--loud); font-weight: 600; }

/* ---------- pricing ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
  align-items: stretch;
}
@media (max-width: 1400px) { .tiers { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 980px) { .tiers { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr !important; max-width: 520px; margin-inline: auto; } }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--glass);
  padding: 34px 30px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.35s ease;
}
.tier:hover { border-color: rgba(186, 215, 247, 0.24); transform: translateY(-4px); }

.tier.featured {
  background:
    radial-gradient(120% 90% at 50% 130%, rgba(152, 192, 239, 0.1) 0%, transparent 60%),
    var(--glass);
  border-color: rgba(152, 192, 239, 0.35);
  box-shadow: 0 24px 60px -30px var(--glow);
}
.tier.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), transparent 0%, var(--accent-to) 16%, transparent 34%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spin-angle 8s linear infinite;
  pointer-events: none;
}

.tier .plan {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-solid);
}
.tier .price {
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  color: var(--loud);
  letter-spacing: -0.03em;
}
.tier .price small { font-size: 15px; color: var(--body-dim); font-family: var(--font-body); letter-spacing: 0; white-space: nowrap; }
.tier .tagline { font-size: 14px; color: var(--body-dim); margin-bottom: 26px; }
.tier ul { list-style: none; margin-bottom: 30px; flex: 1; }
.tier li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 14.5px;
  border-bottom: 1px dashed var(--line-soft);
}
.tier li:last-child { border-bottom: 0; }
.tier li::before {
  content: "";
  position: absolute;
  left: 2px; top: 16px;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--ok);
  border-bottom: 1.5px solid var(--ok);
  transform: rotate(-45deg);
}
.tier .btn { width: 100%; }

/* the OHTTP promise statement */
.promise {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}
.promise .lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 44px;
  text-align: left;
}
@media (max-width: 720px) { .promise .lines { grid-template-columns: 1fr; } }
.promise .line {
  background: var(--bg);
  padding: 34px 32px 30px;
}
.promise .line .who {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-solid);
  margin-bottom: 14px;
}
.promise .line p {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--loud);
  letter-spacing: -0.01em;
}
.promise .line p .dim { color: var(--body-dim); }
.promise .line p .grad { text-shadow: none; }
.promise .seal {
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--body-dim);
}
.promise .seal b { color: var(--accent-solid); font-weight: 500; }

/* compare table (pricing + home) */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 44px;
  font-size: 14.5px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  display: block;
  overflow-x: auto;
}
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-dim);
  font-weight: 500;
  background: var(--glass);
}
.compare thead th.us {
  color: var(--accent-solid);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--loud-2); font-weight: 500; }
.compare td.us {
  background: rgba(152, 192, 239, 0.05);
  color: var(--loud);
}
.compare .yes { color: var(--ok); }
.compare .no { color: var(--body-dim); }

/* trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 54px;
}
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }
.trust .t {
  background: var(--bg);
  padding: 26px 26px 24px;
}
.trust .t .k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-solid);
  margin-bottom: 10px;
}
.trust .t p { font-size: 13.5px; color: var(--body); }
.trust .t a { font-size: 13.5px; }

/* people */
.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 54px;
  max-width: 820px;
}
@media (max-width: 760px) { .people { grid-template-columns: 1fr; max-width: 560px; } }
.person {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--glass);
  padding: 30px 28px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.person:hover { border-color: rgba(186, 215, 247, 0.24); transform: translateY(-3px); }
.person .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #060a16;
  background: linear-gradient(0deg, var(--accent-from) 0%, var(--accent-to) 100%);
  margin-bottom: 20px;
}
.person h3 { font-size: 20px; margin-bottom: 4px; }
.person .role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-solid);
  margin-bottom: 14px;
}
.person p { font-size: 14.5px; color: var(--body); }
.person .links { margin-top: 16px; display: flex; gap: 16px; }
.person .links a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--body-dim);
}
.person .links a:hover { color: var(--accent-from); }

/* comparison / FAQ */
.faq { max-width: 780px; margin-top: 54px; }
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 4px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--loud);
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-from); }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent-solid);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 14px 0 4px; font-size: 15px; max-width: 640px; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    radial-gradient(90% 140% at 50% 160%, rgba(152, 192, 239, 0.12) 0%, transparent 55%),
    var(--glass);
  padding: clamp(48px, 7vw, 84px) clamp(28px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 16px; }
.cta-band p { max-width: 520px; margin: 0 auto 34px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 40px;
  margin-top: clamp(72px, 10vw, 128px);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body-dim);
  font-weight: 500;
  margin-bottom: 16px;
}
.foot-grid a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--body);
}
.foot-grid a:hover { color: var(--loud); }
.foot-brand p { font-size: 14px; max-width: 300px; margin-top: 14px; color: var(--body-dim); }
.foot-base {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--body-dim);
}

.foot-base a {
  color: var(--body-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot-base a:hover {
  color: var(--loud);
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* ---------- page hero (subpages) ---------- */

.page-hero {
  padding-top: 170px;
  padding-bottom: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 720px;
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(152, 192, 239, 0.1), transparent);
  pointer-events: none;
}
.page-hero .h-display { font-size: clamp(36px, 5.4vw, 62px); margin: 24px 0 20px; }

/* ---------- accessibility ---------- */

:focus-visible {
  outline: 2px solid rgba(187, 215, 247, 0.4);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--accent-to);
  color: #060a16;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { left: 8px; }

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