/* ==========================================================================
   Claude Code Services — design system
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f1eb;
  --paper-2: #faf9f5;
  --paper-3: #eeece5;
  --ink: #0a0c11;
  --ink-2: #141821;
  --body: #4e535e;
  --muted: #6d727c;
  --muted-2: #92959c;
  --line: rgba(10, 12, 17, 0.12);
  --line-strong: rgba(10, 12, 17, 0.22);
  --blue: #1240ff;
  --blue-deep: #0a31d8;
  --blue-soft: #e8edff;
  --blue-wash: #f0f3ff;
  --white: #ffffff;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    sans-serif;
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", "SF Mono", Consolas,
    "Liberation Mono", monospace;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(76px, 9vw, 124px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 0.68, 0.18, 1);
}

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

html {
  margin: 0;
  padding: 0;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

strong {
  font-weight: 600;
}

sup {
  position: relative;
  top: -0.15em;
  font-size: 0.62em;
  line-height: 0;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.on-dark :focus-visible,
.on-blue :focus-visible {
  outline-color: var(--white);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(56px, 7vw, 88px);
}

.section--white {
  background: var(--paper-2);
}

.section--blue {
  background: var(--blue-soft);
}

.on-dark {
  background: var(--ink);
  color: var(--white);
}

.on-blue {
  background: var(--blue);
  color: var(--white);
}

/* ==========================================================================
   Typography & shared bits
   ========================================================================== */

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow__num {
  color: var(--blue);
  font-weight: 500;
}

.eyebrow__rule {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--line-strong);
}

.eyebrow__slash {
  color: var(--muted-2);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.56);
}

.eyebrow--light .eyebrow__num {
  color: #91a8ff;
}

.eyebrow--light .eyebrow__rule {
  background: rgba(255, 255, 255, 0.24);
}

.eyebrow--onblue {
  color: rgba(255, 255, 255, 0.64);
}

.eyebrow--onblue .eyebrow__num {
  color: var(--white);
}

.eyebrow--onblue .eyebrow__rule {
  background: rgba(255, 255, 255, 0.3);
}

.display-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.section-head {
  margin-bottom: clamp(38px, 5vw, 62px);
}

.section-head h2 {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(2.35rem, 4.45vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.section-head__lede {
  max-width: 520px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.85;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
}

.section-head--split .section-head__lede {
  justify-self: end;
  padding-bottom: 6px;
}

.section-head--light h2 {
  color: var(--white);
}

.section-head--light .section-head__lede {
  color: rgba(255, 255, 255, 0.58);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  border-bottom: 1px solid rgba(18, 64, 255, 0.28);
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

.text-link:hover {
  border-color: var(--blue);
}

.text-link__arrow {
  transition: transform 180ms var(--ease);
}

.text-link:hover .text-link__arrow {
  transform: translate(2px, -2px);
}

.text-link--light {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.32);
}

.text-link--light:hover {
  border-color: var(--white);
}

.text-link--muted {
  color: var(--muted);
  border-bottom-color: var(--line);
}

.text-link--muted:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease),
    border-color 180ms var(--ease), color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 12px;
}

.btn--wide {
  width: 100%;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 7px 20px rgba(18, 64, 255, 0.16);
}

.btn--primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 10px 26px rgba(18, 64, 255, 0.26);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: #242936;
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--blue-soft);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(10, 12, 17, 0.03);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
}

.btn--ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.btn__arrow {
  flex: 0 0 auto;
  transition: transform 180ms var(--ease);
}

.btn:hover .btn__arrow {
  transform: translate(2px, -2px);
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pill--blue {
  border-color: rgba(18, 64, 255, 0.24);
  background: var(--blue-soft);
  color: var(--blue);
}

.pill--dark {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
}

.note {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.fine-print {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

/* ==========================================================================
   Header
   ========================================================================== */

.utility-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 32px;
}

.utility-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.utility-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6f8aff;
}

.utility-meta {
  color: rgba(255, 255, 255, 0.36);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 241, 235, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  overflow: hidden;
}

.brand__type {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.075em;
}

.brand__sub {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--body);
  font-size: 12.5px;
  line-height: 1.4;
  transition: color 160ms var(--ease);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease);
}

.desktop-nav a:hover {
  color: var(--ink);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.header-tg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  transition: color 160ms var(--ease);
}

.header-tg:hover {
  color: var(--blue);
}

.header-tg__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__line {
  position: absolute;
  left: 13px;
  width: 15px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}

.nav-toggle__line:nth-child(1) {
  top: 17px;
}

.nav-toggle__line:nth-child(2) {
  top: 24px;
}

body.nav-open .nav-toggle__line:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle__line:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

@media (max-width: 1160px) {
  .header-tg {
    display: none;
  }
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    padding: 126px var(--gutter) 34px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease),
      visibility 220ms;
  }

  body.nav-open .mobile-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav__list {
    border-top: 1px solid var(--line);
  }

  .mobile-nav__list a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.045em;
  }

  .mobile-nav__list .num {
    color: var(--blue);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.04em;
  }

  .mobile-nav__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav__handle {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
  }

  .mobile-nav__note {
    margin-top: 14px;
    color: var(--muted-2);
    font-size: 10px;
    line-height: 1.6;
    max-width: 30ch;
  }
}

@media (max-width: 560px) {
  .utility-inner {
    min-height: 30px;
  }

  .utility-meta {
    display: none !important;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand__mark {
    width: 31px;
    height: 31px;
    border-radius: 8px;
  }

  .brand__name {
    font-size: 12px;
  }

  .mobile-nav {
    padding-top: 112px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 7.6vw, 102px) clamp(58px, 7vw, 94px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(
      to right,
      rgba(10, 12, 17, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(10, 12, 17, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 74%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 74%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -28%;
  right: -10%;
  z-index: 0;
  width: 62vw;
  height: 62vw;
  max-width: 920px;
  max-height: 920px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(18, 64, 255, 0.1) 0%,
    rgba(18, 64, 255, 0.035) 42%,
    transparent 68%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, 0.94fr);
  align-items: center;
  gap: clamp(38px, 5.8vw, 82px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 780px;
  margin-top: clamp(20px, 2.6vw, 32px);
  font-size: clamp(3.3rem, 6.55vw, 6.25rem);
  line-height: 1.015;
  letter-spacing: -0.068em;
}

.hero h1 > span {
  display: block;
}

.hero h1 .hero-accent {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  color: var(--blue);
}

.hero h1 .hero-accent::after {
  content: "";
  position: absolute;
  right: -0.02em;
  bottom: 0.02em;
  left: 0;
  height: 0.055em;
  background: var(--blue);
}

.hero-lede {
  max-width: 540px;
  margin-top: clamp(24px, 3vw, 34px);
  color: var(--body);
  font-size: clamp(14.5px, 1.35vw, 16.5px);
  line-height: 1.9;
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 34px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 11.5px;
  line-height: 1.6;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 500px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.7;
}

.hero-note::before {
  content: "";
  width: 14px;
  height: 1px;
  flex: 0 0 auto;
  margin-top: 0.8em;
  background: var(--blue);
}

/* Hero visual */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 53%;
  z-index: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(18rem, 31vw, 28rem);
  font-weight: 600;
  line-height: 0.7;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1px rgba(18, 64, 255, 0.16);
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(103%, 510px);
  aspect-ratio: 1;
  border: 1px solid rgba(18, 64, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(18, 64, 255, 0.09);
}

.hero-orbit::before {
  inset: 12%;
}

.hero-orbit::after {
  inset: 27%;
}

.hero-orbit__point {
  position: absolute;
  top: 8%;
  right: 16%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(18, 64, 255, 0.08);
}

.stack-card {
  position: relative;
  z-index: 2;
  width: min(100%, 438px);
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: var(--ink);
  background-image: radial-gradient(
      circle at 88% 0%,
      rgba(18, 64, 255, 0.27),
      transparent 38%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 45%);
  color: var(--white);
  box-shadow: 0 30px 70px rgba(14, 18, 35, 0.24),
    0 2px 0 rgba(255, 255, 255, 0.08) inset;
  transform: rotate(-1.1deg);
  transition: transform 500ms var(--ease);
}

.stack-card:hover {
  transform: rotate(0deg) translateY(-3px);
}

.stack-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stack-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.stack-kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6e8aff;
}

.stack-code {
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.stack-rows {
  display: grid;
}

.stack-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stack-num {
  color: #6b82d9;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
}

.stack-row__body {
  min-width: 0;
}

.stack-row__title {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-row__meta {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-check {
  width: 18px;
  height: 18px;
  color: #7890f0;
}

.stack-terminal {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(2, 4, 9, 0.44);
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: -0.01em;
}

.terminal-line {
  display: flex;
  gap: 7px;
  min-width: 0;
}

.terminal-line .t-prompt {
  color: #9aabff;
}

.terminal-line .t-cmd {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.33);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.07em;
}

.stack-foot__state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8ea2f1;
}

.stack-foot__state::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8ea2f1;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 14px;
  border: 1px solid rgba(10, 12, 17, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 34px rgba(16, 24, 55, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-chip span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.hero-chip strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-chip--one {
  top: 10%;
  right: 0;
}

.hero-chip--two {
  bottom: 10%;
  left: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .eyebrow,
  .hero-copy > h1,
  .hero-copy > .hero-lede,
  .hero-copy > .hero-actions,
  .hero-copy > .hero-trust,
  .hero-copy > .hero-note,
  .stack-card,
  .hero-chip {
    animation: hero-rise 780ms var(--ease) both;
  }

  .hero-copy > h1 {
    animation-delay: 70ms;
  }

  .hero-copy > .hero-lede {
    animation-delay: 130ms;
  }

  .hero-copy > .hero-actions {
    animation-delay: 180ms;
  }

  .hero-copy > .hero-trust,
  .hero-copy > .hero-note {
    animation-delay: 230ms;
  }

  .stack-card {
    animation-delay: 150ms;
  }

  .hero-chip {
    animation-delay: 320ms;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 38px;
  }

  .hero-visual {
    min-height: 510px;
  }

  .hero-chip {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 10.4vw, 5.6rem);
  }

  .hero-visual {
    width: min(100%, 500px);
    min-height: 0;
    margin-inline: auto;
    padding-block: 20px;
  }

  .hero-watermark {
    font-size: clamp(18rem, 48vw, 26rem);
  }

  .hero-orbit {
    width: min(100%, 470px);
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    margin-top: 19px;
    font-size: clamp(2.95rem, 13.1vw, 4rem);
    letter-spacing: -0.07em;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 24px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-trust {
    gap: 7px 13px;
    margin-top: 26px;
    font-size: 10.5px;
  }

  .hero-note {
    font-size: 10px;
  }

  .stack-card {
    padding: 18px;
    border-radius: 20px;
    transform: none;
  }

  .stack-row {
    min-height: 61px;
  }

  .stack-row__title {
    font-size: 12px;
  }

  .stack-terminal {
    font-size: 9px;
  }

  .hero-orbit {
    width: 112%;
  }
}

/* ==========================================================================
   Spec strip
   ========================================================================== */

.spec-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spec-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 118px;
  padding: 20px 28px;
  border-left: 1px solid var(--line);
}

.spec-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.spec-value {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.spec-value small {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.spec-label {
  margin-top: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.spec-meta {
  margin-top: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-item {
    min-height: 104px;
    padding: 18px 20px;
  }

  .spec-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .spec-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .spec-value {
    font-size: 31px;
  }
}

/* ==========================================================================
   Compare
   ========================================================================== */

.compare-section {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.compare-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  padding: clamp(25px, 3.4vw, 40px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-card--old {
  border: 1px solid var(--line);
  background: rgba(243, 241, 235, 0.36);
}

.compare-card--ours {
  border: 1px solid var(--blue);
  background: var(--blue);
  background-image: radial-gradient(
      circle at 92% 4%,
      rgba(255, 255, 255, 0.25),
      transparent 38%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 50%);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(18, 64, 255, 0.16);
}

.compare-card--ours::after {
  content: "04";
  position: absolute;
  right: -0.06em;
  bottom: -0.2em;
  color: transparent;
  font-family: var(--font-display);
  font-size: 18rem;
  font-weight: 600;
  line-height: 0.7;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.17);
  pointer-events: none;
}

.compare-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-card--ours .compare-kicker {
  color: rgba(255, 255, 255, 0.58);
}

.compare-kicker__tag {
  color: var(--blue);
}

.compare-card--ours .compare-kicker__tag {
  color: var(--white);
}

.compare-card h3 {
  position: relative;
  z-index: 1;
  max-width: 90%;
  margin-top: 28px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.compare-card--ours h3 {
  color: var(--white);
}

.compare-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.compare-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.7;
}

.compare-card--ours .compare-list li {
  color: rgba(255, 255, 255, 0.84);
}

.compare-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
}

.compare-card--ours .compare-mark {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.compare-foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.compare-card--ours .compare-foot {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .section-head--split .section-head__lede {
    justify-self: start;
    padding-bottom: 0;
  }
}

@media (max-width: 820px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-card {
    min-height: 0;
  }

  .compare-card h3 {
    max-width: 100%;
  }

  .compare-card--ours::after {
    font-size: 14rem;
  }
}

@media (max-width: 560px) {
  .compare-card {
    padding: 24px;
    border-radius: 20px;
  }

  .compare-card h3 {
    margin-top: 24px;
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .compare-list {
    margin-top: 26px;
  }

  .compare-foot {
    margin-top: 28px;
  }
}

/* ==========================================================================
   Architecture
   ========================================================================== */

.architecture {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  background-image: radial-gradient(
      circle at 88% 4%,
      rgba(18, 64, 255, 0.2),
      transparent 31%
    ),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, 100px 100px, 100px 100px;
  color: var(--white);
}

.architecture::before {
  content: "04";
  position: absolute;
  top: 0.1em;
  right: -0.06em;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(22rem, 45vw, 42rem);
  font-weight: 600;
  line-height: 0.7;
  letter-spacing: -0.15em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  pointer-events: none;
}

.architecture > .shell {
  position: relative;
  z-index: 1;
}

.architecture .section-head h2 {
  max-width: 760px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.72fr);
  align-items: start;
  gap: clamp(40px, 6vw, 86px);
}

.layers {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.layer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 29px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition: border-color 200ms var(--ease);
}

.layer:hover {
  border-color: rgba(110, 138, 255, 0.56);
}

.layer__index {
  padding-top: 3px;
  color: #7289e8;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.layer__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}

.layer h3 {
  color: var(--white);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.layer__label {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layer p {
  max-width: 570px;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  line-height: 1.8;
}

.layer__tag {
  display: inline-flex;
  margin-top: 13px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.architecture-aside {
  position: sticky;
  top: 116px;
}

.aside-quote {
  position: relative;
  padding: 2px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.aside-quote::before {
  content: "“";
  display: block;
  height: 0.48em;
  color: #6e86ef;
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 0.8;
}

.aside-quote p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.terminal-window {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: #10131a;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 37px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.terminal-dots {
  display: inline-flex;
  gap: 4px;
}

.terminal-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.19);
}

.terminal-body {
  overflow-x: auto;
  padding: 16px 15px 18px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.95;
  white-space: pre;
}

.terminal-body .t-comment {
  color: rgba(255, 255, 255, 0.3);
}

.terminal-body .t-prompt {
  color: #8499f3;
}

.terminal-body .t-green {
  color: #7fd0a8;
}

.terminal-caption {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10.5px;
  line-height: 1.7;
}

.architecture-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(42px, 6vw, 64px);
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.architecture-foot__note {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  line-height: 1.75;
}

.architecture-foot__note strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

@media (max-width: 960px) {
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .architecture-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
    gap: 28px;
    align-items: start;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .aside-quote {
    border: 0;
    padding: 0;
  }

  .terminal-window {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .architecture-aside {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .layer {
    grid-template-columns: 33px minmax(0, 1fr);
    gap: 10px;
    padding: 24px 0;
  }

  .layer p {
    font-size: 13px;
  }

  .layer__tag {
    margin-top: 10px;
  }

  .architecture-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   Process
   ========================================================================== */

.process-section {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process-item {
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 24px 24px 2px 0;
  border-right: 1px solid var(--line);
}

.process-item + .process-item {
  padding-left: 24px;
}

.process-item:last-child {
  border-right: 0;
}

.process-num {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.process-item h3 {
  margin-top: auto;
  padding-top: 46px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.process-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.process-meta {
  display: block;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-item {
    min-height: 210px;
    padding-right: 20px;
  }

  .process-item + .process-item {
    padding-left: 20px;
  }

  .process-item:nth-child(2) {
    border-right: 0;
  }

  .process-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-item + .process-item {
    padding-left: 0;
  }

  .process-item:last-child {
    border-bottom: 0;
  }

  .process-item h3 {
    margin-top: 0;
    padding-top: 20px;
  }
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-section {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.pricing-heading-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.price-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 482px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}

.price-card--standard {
  border-color: var(--blue);
  box-shadow: 0 20px 54px rgba(18, 64, 255, 0.1);
}

.price-card--standard::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 26px;
  left: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--blue);
}

.price-card--premium {
  border-color: var(--ink);
  background: var(--ink);
  background-image: radial-gradient(
    circle at 80% 0%,
    rgba(18, 64, 255, 0.26),
    transparent 38%
  );
  color: var(--white);
}

.price-card--muted {
  border-style: dashed;
  background: transparent;
}

.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
}

.price-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.price-card--premium .price-name {
  color: var(--white);
}

.price-card--muted .price-name {
  color: var(--muted);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-badge--blue {
  border-color: rgba(18, 64, 255, 0.24);
  background: var(--blue-soft);
  color: var(--blue);
}

.price-card--premium .price-badge {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
}

.price-multiplier {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 31px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.price-multiplier strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-card--premium .price-multiplier {
  color: rgba(255, 255, 255, 0.45);
}

.price-card--premium .price-multiplier strong {
  color: #91a8ff;
}

.price-card--muted .price-multiplier strong {
  color: var(--muted);
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  min-height: 76px;
  margin-top: 12px;
  color: var(--ink);
}

.price-currency {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 5.1vw, 4.25rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-variant-numeric: tabular-nums;
}

.price-period {
  margin-left: 5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.price-card--premium .price-value {
  color: var(--white);
}

.price-card--premium .price-period {
  color: rgba(255, 255, 255, 0.4);
}

.price-value--unavailable {
  display: block;
  padding-top: 10px;
  color: var(--muted-2);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.price-desc {
  min-height: 46px;
  margin-top: 12px;
  color: var(--body);
  font-size: 12.5px;
  line-height: 1.75;
}

.price-card--premium .price-desc {
  color: rgba(255, 255, 255, 0.5);
}

.price-card--muted .price-desc {
  color: var(--muted);
}

.price-features {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.price-card--premium .price-features {
  border-color: rgba(255, 255, 255, 0.14);
}

.price-card--muted .price-features {
  border-color: var(--line);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--body);
  font-size: 11.5px;
  line-height: 1.65;
}

.price-card--premium .price-features li {
  color: rgba(255, 255, 255, 0.67);
}

.price-card--muted .price-features li {
  color: var(--muted);
}

.price-features .tick {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--blue);
}

.price-card--premium .price-features .tick {
  color: #8499f3;
}

.price-card--muted .price-features .tick {
  color: var(--muted-2);
}

.price-card .btn {
  margin-top: auto;
}

.price-card .price-action {
  margin-top: auto;
  padding-top: 26px;
}

.price-card .price-action .btn {
  margin-top: 0;
}

.price-card .text-link {
  min-height: 40px;
  font-size: 12px;
}

.price-card--muted .text-link {
  color: var(--muted);
  border-bottom-color: var(--line);
}

.price-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 38px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.price-notes p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.price-notes span {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.9;
}

.price-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.price-cta p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card--muted {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .price-card--muted .price-features {
    margin-bottom: 24px;
  }

  .price-card--muted .price-action {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
    padding: 23px;
    border-radius: 20px;
  }

  .price-card--muted {
    grid-column: auto;
  }

  .price-card .price-action {
    margin-top: 24px;
  }

  .price-notes {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .price-amount {
    font-size: 3.5rem;
  }

  .price-desc {
    min-height: 0;
  }
}

/* ==========================================================================
   Assurance
   ========================================================================== */

.assurance {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(18, 64, 255, 0.16);
  background: var(--blue-soft);
}

.assurance::after {
  content: "TRUST";
  position: absolute;
  top: -0.12em;
  right: -0.03em;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(11rem, 24vw, 22rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1px rgba(18, 64, 255, 0.1);
  pointer-events: none;
}

.assurance > .shell {
  position: relative;
  z-index: 1;
}

.assurance .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  align-items: end;
  gap: 40px;
}

.assurance .section-head h2 {
  max-width: 570px;
}

.assurance .section-head__lede {
  justify-self: end;
  max-width: 430px;
  color: #4a5578;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(18, 64, 255, 0.2);
}

.assurance-item {
  padding: 25px 24px 2px 0;
  border-right: 1px solid rgba(18, 64, 255, 0.18);
}

.assurance-item + .assurance-item {
  padding-left: 24px;
}

.assurance-item:last-child {
  border-right: 0;
}

.assurance-num {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.assurance-item h3 {
  margin-top: 27px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.assurance-item p {
  margin-top: 9px;
  color: #4f5b7e;
  font-size: 12px;
  line-height: 1.8;
}

.assurance-quote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding: 20px 24px;
  border: 1px solid rgba(18, 64, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.assurance-quote p {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}

.assurance-quote cite {
  color: #6e7a9e;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.assurance-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .assurance .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .assurance .section-head__lede {
    justify-self: start;
  }

  .assurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assurance-item {
    padding: 23px 24px 23px 0;
  }

  .assurance-item + .assurance-item {
    padding-left: 24px;
  }

  .assurance-item:nth-child(2) {
    border-right: 0;
  }

  .assurance-item:nth-child(n + 3) {
    border-top: 1px solid rgba(18, 64, 255, 0.18);
  }

  .assurance-item:nth-child(3) {
    padding-left: 0;
  }

  .assurance-item h3 {
    margin-top: 20px;
  }
}

@media (max-width: 520px) {
  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .assurance-item {
    padding: 22px 0;
    border-right: 0;
    border-top: 1px solid rgba(18, 64, 255, 0.18);
  }

  .assurance-item:first-child {
    border-top: 0;
  }

  .assurance-item + .assurance-item {
    padding-left: 0;
  }

  .assurance-item h3 {
    margin-top: 14px;
  }

  .assurance-quote {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
  background: var(--paper-2);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(40px, 7vw, 100px);
}

.faq-side {
  position: sticky;
  top: 116px;
}

.faq-side h2 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.05;
}

.faq-side__lede {
  max-width: 320px;
  margin-top: 20px;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.8;
}

.faq-side__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.faq-side__handle {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 74px;
  padding: 18px 0;
  list-style: none;
  color: var(--ink);
  font-size: clamp(14px, 1.45vw, 16.5px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: color 160ms var(--ease);
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-index {
  flex: 0 0 auto;
  width: 24px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.faq-question {
  flex: 1;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--muted);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 3px;
  width: 12px;
  height: 1.5px;
  background: currentColor;
}

.faq-icon::after {
  transform: rotate(90deg);
  transition: transform 200ms var(--ease);
}

.faq-item[open] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-item[open] summary {
  color: var(--blue);
}

.faq-answer {
  max-width: 700px;
  padding: 0 42px 24px 39px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.85;
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer a {
  color: var(--blue);
  border-bottom: 1px solid rgba(18, 64, 255, 0.26);
}

.faq-answer a:hover {
  border-color: var(--blue);
}

.faq-answer code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.92em;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-side {
    position: static;
  }

  .faq-side__lede {
    max-width: 560px;
  }

  .faq-side__contact {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .faq-side__contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-item summary {
    gap: 8px;
    min-height: 68px;
    padding: 16px 0;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 28px 22px 32px;
    font-size: 12.5px;
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  position: relative;
  overflow: hidden;
  background-color: var(--blue);
  background-image: radial-gradient(
      circle at 92% 5%,
      rgba(255, 255, 255, 0.17),
      transparent 31%
    ),
    linear-gradient(135deg, rgba(0, 0, 0, 0.09), transparent 48%);
  color: var(--white);
}

.contact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 74%;
  width: min(56vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 74%;
  width: min(42vw, 570px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact > .shell {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.contact h2 {
  max-width: 650px;
  margin-top: 22px;
  color: var(--white);
  font-size: clamp(3rem, 5.7vw, 5.4rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.contact-lede {
  max-width: 500px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.85;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 29px;
}

.contact-handle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.contact-handle__label {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.contact-handle strong {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.message-template {
  max-width: 480px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 20, 90, 0.15);
}

.message-template__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 37px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.copy-button:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.copy-button.is-copied {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.message-template pre {
  margin: 0;
  padding: 13px;
  overflow-x: auto;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.contact-telegram {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  line-height: 1.6;
}

.contact-telegram::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a8b9ff;
}

.qr-wrap {
  justify-self: end;
  width: min(100%, 342px);
}

.qr-card {
  padding: 18px;
  border-radius: 22px;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 14, 70, 0.22);
}

.qr-card__image {
  width: 100%;
  border-radius: 8px;
  background: var(--white);
}

.qr-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.qr-card__label {
  display: block;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.07em;
}

.qr-card__title {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.qr-card__mark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 7px;
}

.qr-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact h2 {
    max-width: 620px;
  }

  .qr-wrap {
    justify-self: start;
  }

  .qr-card {
    width: min(100%, 330px);
  }

  .qr-note {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .contact h2 {
    font-size: clamp(3.1rem, 13vw, 4.3rem);
  }

  .contact-lede {
    font-size: 13px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .contact-handle {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .qr-wrap {
    width: 100%;
  }

  .qr-card {
    width: 100%;
    max-width: 330px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #080a0e;
  color: rgba(255, 255, 255, 0.46);
  padding: clamp(48px, 6vw, 76px) 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 100px);
  padding-bottom: clamp(38px, 5vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  display: inline-flex;
}

.footer-brand .brand__name {
  color: var(--white);
}

.footer-brand .brand__sub {
  color: rgba(255, 255, 255, 0.3);
}

.footer-brand p {
  max-width: 365px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.85;
}

.footer-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.5;
  transition: color 160ms var(--ease);
}

.footer-tg:hover {
  color: var(--white);
}

.footer-tg__mark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6d87f4;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col h3 {
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
  line-height: 1.5;
  transition: color 160ms var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px 28px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 9.5px;
  line-height: 1.75;
}

.footer-bottom--bare {
  border-top: 0;
  padding-top: 0;
}

.footer-bottom__left {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-disclaimer {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.27);
}

.footer-top-link {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  transition: color 160ms var(--ease);
}

.footer-top-link:hover {
  color: var(--white);
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-cols {
    max-width: 540px;
  }
}

@media (max-width: 560px) {
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ==========================================================================
   Subpages
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(62px, 8vw, 104px) clamp(46px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -80%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(18, 64, 255, 0.09),
    transparent 66%
  );
  pointer-events: none;
}

.page-hero > .shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 910px;
  margin-top: 24px;
  font-size: clamp(2.7rem, 5.7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.page-hero__lede {
  max-width: 590px;
  margin-top: 24px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.85;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

/* Security page */

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.security-side {
  position: sticky;
  top: 116px;
}

.security-side h2 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 3.7vw, 3.3rem);
  line-height: 1.06;
}

.security-side__lede {
  margin-top: 20px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.85;
}

.security-side__nav {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.security-side__nav a {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  transition: color 160ms var(--ease);
}

.security-side__nav a:hover {
  color: var(--blue);
}

.security-content {
  display: grid;
  gap: 58px;
}

.security-block h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.security-block > p {
  max-width: 680px;
  margin-top: 15px;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.9;
}

.layer-table {
  margin-top: 25px;
  border-top: 1px solid var(--line);
}

.layer-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.layer-row__num {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
}

.layer-row__name {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.7;
}

.layer-row__desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}

.flow__node {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.5;
}

.flow__node--primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.flow__arrow {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 13px;
}

.flow__note {
  flex-basis: 100%;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.boundary-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}

.boundary-card h3 {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.boundary-card ul {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.boundary-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.boundary-card li::before {
  content: "—";
  flex: 0 0 auto;
  color: var(--muted-2);
}

.boundary-card--do {
  border-color: rgba(18, 64, 255, 0.18);
  background: var(--blue-wash);
}

.boundary-card--do li::before {
  color: var(--blue);
}

.security-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 2px solid var(--blue);
  background: var(--blue-wash);
  color: var(--body);
  font-size: 12px;
  line-height: 1.85;
}

.security-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.security-cta p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

/* Legal pages */

.legal-hero {
  padding-block: clamp(54px, 7vw, 86px) clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.legal-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.35rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(40px, 8vw, 110px);
  padding-block: clamp(44px, 6vw, 76px) var(--section);
}

.legal-toc {
  position: sticky;
  top: 116px;
}

.legal-toc h2 {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  transition: color 160ms var(--ease);
}

.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.8;
}

.legal-toc a:hover {
  color: var(--blue);
}

.legal-content {
  min-width: 0;
}

.legal-content > p:first-child {
  margin-top: 0;
}

.legal-content h2 {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-content h3 {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
  color: var(--body);
  font-size: 12.5px;
  line-height: 1.9;
}

.legal-content p {
  margin-top: 12px;
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-left: 19px;
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li::marker {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
}

.legal-content a {
  color: var(--blue);
  border-bottom: 1px solid rgba(18, 64, 255, 0.22);
}

.legal-content a:hover {
  border-color: var(--blue);
}

.legal-content strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-note {
  margin-top: 20px;
  padding: 17px 19px;
  border-left: 2px solid var(--blue);
  background: var(--blue-wash);
  color: var(--body);
  font-size: 12px;
  line-height: 1.85;
}

.legal-note strong {
  color: var(--ink);
}

.legal-contact {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
}

.legal-contact p {
  margin: 0;
  font-size: 12px;
}

.legal-contact a {
  font-family: var(--font-mono);
  font-size: 11px;
}

.legal-english {
  margin-top: 8px;
  color: var(--muted) !important;
  font-size: 10.5px !important;
  line-height: 1.8 !important;
}

@media (max-width: 900px) {
  .security-layout {
    grid-template-columns: 1fr;
  }

  .security-side {
    position: static;
  }

  .security-side__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .legal-toc {
    position: static;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
  }
}

@media (max-width: 560px) {
  .page-hero__lede {
    font-size: 13px;
  }

  .layer-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 0;
  }

  .layer-row__desc {
    grid-column: 2;
    margin-top: -8px;
  }

  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .security-content {
    gap: 44px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    padding-bottom: 60px;
  }

  .legal-content h2 {
    margin-top: 36px;
    padding-top: 18px;
  }

  .security-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   404
   ========================================================================== */

.error-page {
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding-block: clamp(64px, 10vw, 120px);
}

.error-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.error-code {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(9rem, 24vw, 22rem);
  font-weight: 600;
  line-height: 0.7;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px rgba(18, 64, 255, 0.3);
}

.error-copy h1 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
}

.error-copy p {
  max-width: 410px;
  margin-top: 18px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.85;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

@media (max-width: 760px) {
  .error-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .error-code {
    font-size: 12rem;
  }
}

/* ==========================================================================
   Toast & utilities
   ========================================================================== */

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  transform: translateY(12px);
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease),
    visibility 180ms;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (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;
  }
}

/* ==========================================================================
   Refinement 02 — ink hero, technical layer
   ========================================================================== */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #89a0ff);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  body::before {
    animation: scroll-progress linear;
    animation-timeline: scroll(root block);
  }
}

@keyframes scroll-progress {
  to {
    transform: scaleX(1);
  }
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: #05070a;
  color: rgba(255, 255, 255, 0.54);
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.09);
  background: rgba(6, 8, 12, 0.84);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025);
}

.brand__name {
  color: var(--white);
}

.brand__sub {
  color: rgba(255, 255, 255, 0.34);
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.56);
}

.desktop-nav a:hover {
  color: var(--white);
}

.header-tg {
  color: rgba(255, 255, 255, 0.48);
}

.header-tg:hover {
  color: #a2b2ff;
}

.header-tg__dot {
  background: #738aff;
  box-shadow: 0 0 0 4px rgba(115, 138, 255, 0.08);
}

.nav-toggle {
  border-color: rgba(255, 255, 255, 0.24);
}

.nav-toggle__line {
  background: var(--white);
}

.site-header :focus-visible {
  outline-color: #9dafff;
}

.hero {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: #07090d;
  color: var(--white);
}

.hero::before {
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  -webkit-mask-image: radial-gradient(
    ellipse 74% 76% at 58% 34%,
    #000 0%,
    transparent 82%
  );
  mask-image: radial-gradient(
    ellipse 74% 76% at 58% 34%,
    #000 0%,
    transparent 82%
  );
}

.hero::after {
  top: -34%;
  right: -13%;
  width: 76vw;
  height: 76vw;
  max-width: 1100px;
  max-height: 1100px;
  background: radial-gradient(
    circle,
    rgba(26, 67, 255, 0.28) 0%,
    rgba(18, 64, 255, 0.09) 36%,
    transparent 66%
  );
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.47);
}

.hero .eyebrow__num {
  color: #95a8ff;
}

.hero .eyebrow__rule {
  background: rgba(255, 255, 255, 0.22);
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 0 80px rgba(18, 64, 255, 0.08);
}

.hero h1 .hero-accent {
  color: #738dff;
}

.hero h1 .hero-accent::after {
  background: linear-gradient(90deg, #1240ff, #8aa0ff);
  box-shadow: 0 0 24px rgba(78, 107, 255, 0.34);
}

.hero-lede {
  color: rgba(255, 255, 255, 0.6);
}

.hero-lede strong {
  color: var(--white);
}

.hero-actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.hero-actions .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.04);
}

.hero-trust {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.57);
}

.hero-trust li::before {
  background: #738dff;
  box-shadow: 0 0 8px rgba(115, 141, 255, 0.65);
}

.hero-note {
  color: rgba(255, 255, 255, 0.33);
}

.hero-note::before {
  background: #738dff;
}

.hero-visual {
  min-height: 594px;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

.hero-visual::before {
  top: 4%;
  left: -1%;
  border-top: 1px solid rgba(128, 149, 255, 0.48);
  border-left: 1px solid rgba(128, 149, 255, 0.48);
}

.hero-visual::after {
  right: -1%;
  bottom: 4%;
  border-right: 1px solid rgba(128, 149, 255, 0.48);
  border-bottom: 1px solid rgba(128, 149, 255, 0.48);
}

.hero-watermark {
  -webkit-text-stroke: 1px rgba(111, 134, 255, 0.21);
}

.hero-orbit {
  border-color: rgba(112, 136, 255, 0.24);
}

.hero-orbit::before,
.hero-orbit::after {
  border-color: rgba(112, 136, 255, 0.13);
}

.hero-orbit__point {
  background: #7188ff;
  box-shadow: 0 0 0 7px rgba(113, 136, 255, 0.1),
    0 0 22px rgba(113, 136, 255, 0.62);
}

.hero-network {
  position: absolute;
  inset: -3%;
  z-index: 0;
  width: 106%;
  height: 106%;
  pointer-events: none;
  opacity: 0.8;
}

.hero-network path {
  stroke: rgba(113, 137, 255, 0.38);
  stroke-width: 1;
  stroke-dasharray: 2 8;
  animation: network-flow 36s linear infinite;
}

.hero-network circle {
  fill: #7c93ff;
}

.hero-network .node-halo {
  fill: rgba(80, 108, 255, 0.12);
  animation: node-pulse 4.5s ease-in-out infinite;
}

@keyframes network-flow {
  to {
    stroke-dashoffset: -180;
  }
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
    transform-origin: center;
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
    transform-origin: center;
  }
}

.hero-hud {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.tech-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tech-label::before {
  content: "";
  width: 4px;
  height: 4px;
  border: 1px solid rgba(136, 156, 255, 0.62);
  transform: rotate(45deg);
}

.tech-label--tl {
  top: 13%;
  left: 0;
}

.tech-label--tr {
  top: 9%;
  right: 0;
}

.tech-label--bl {
  bottom: 12%;
  left: 0;
}

.tech-label--br {
  right: 0;
  bottom: 8%;
}

.stack-card {
  border-color: rgba(127, 148, 255, 0.26);
  background: #0b0f16;
  background-image: radial-gradient(
      circle at 88% 0%,
      rgba(41, 78, 255, 0.32),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.065),
      transparent 44%
    );
  box-shadow: 0 0 0 1px rgba(103, 128, 255, 0.07),
    0 30px 80px rgba(0, 0, 0, 0.42), 0 0 90px rgba(18, 64, 255, 0.19);
}

.stack-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 25px;
  left: 25px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(134, 155, 255, 0.8),
    transparent
  );
  pointer-events: none;
}

.stack-top {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.stack-row {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.stack-terminal {
  border-color: rgba(126, 148, 255, 0.16);
  background: rgba(0, 2, 7, 0.54);
  box-shadow: 0 0 24px rgba(18, 64, 255, 0.08) inset;
}

.hero-chip {
  border-color: rgba(127, 148, 255, 0.2);
  background: rgba(14, 18, 28, 0.72);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-chip span {
  color: rgba(255, 255, 255, 0.35);
}

.hero-chip strong {
  color: var(--white);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(24, 62, 255, 0.19),
    transparent 68%
  );
  filter: blur(8px);
  pointer-events: none;
}

/* Dark mobile navigation */

@media (max-width: 1040px) {
  .mobile-nav {
    background: #07090d;
  }

  .mobile-nav__list {
    border-top-color: rgba(255, 255, 255, 0.13);
  }

  .mobile-nav__list a {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
  }

  .mobile-nav__list .num {
    color: #8ea3ff;
  }

  .mobile-nav__foot {
    border-top-color: rgba(255, 255, 255, 0.13);
  }

  .mobile-nav__handle {
    color: rgba(255, 255, 255, 0.45);
  }

  .mobile-nav__note {
    color: rgba(255, 255, 255, 0.34);
  }
}

/* Technical section details */

.section-head__lede {
  font-size: 15.5px;
}

.compare-list li {
  font-size: 13.5px;
}

.layer p {
  font-size: 14px;
}

.layers {
  position: relative;
}

.layers::before {
  content: "";
  position: absolute;
  top: 41px;
  bottom: 41px;
  left: 13px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(113, 136, 255, 0.55),
    rgba(113, 136, 255, 0.08)
  );
  pointer-events: none;
}

.layer {
  position: relative;
}

.layer__index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  padding-top: 0;
  border: 1px solid rgba(126, 148, 255, 0.32);
  border-radius: 50%;
  background: #0b0f16;
  color: #a0b1ff;
  box-shadow: 0 0 0 5px rgba(7, 9, 13, 0.72);
}

.layer:hover .layer__index {
  border-color: rgba(155, 173, 255, 0.78);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(7, 9, 13, 0.72),
    0 0 22px rgba(73, 105, 255, 0.4);
}

.layer__label {
  color: rgba(255, 255, 255, 0.32);
}

.terminal-body .t-green::after {
  content: "▍";
  margin-left: 3px;
  color: #8da1ff;
  animation: cursor-blink 1.2s step-end infinite;
}

@keyframes cursor-blink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

.process-item p {
  font-size: 13px;
}

.pricing-section {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(
      circle at 100% 0%,
      rgba(18, 64, 255, 0.055),
      transparent 29%
    ),
    linear-gradient(rgba(10, 12, 17, 0.028) 1px, transparent 1px);
  background-size: auto, 100% 74px;
}

.price-card--standard {
  box-shadow: 0 22px 64px rgba(18, 64, 255, 0.14);
}

.price-card--standard:hover {
  box-shadow: 0 28px 74px rgba(18, 64, 255, 0.22);
}

.price-card--premium {
  box-shadow: 0 20px 60px rgba(10, 12, 17, 0.14);
}

.quota {
  margin-top: 9px;
}

.quota__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quota__label strong {
  color: var(--ink);
  font-weight: 500;
}

.price-card--premium .quota__label {
  color: rgba(255, 255, 255, 0.34);
}

.price-card--premium .quota__label strong {
  color: rgba(255, 255, 255, 0.64);
}

.price-card--muted .quota__label strong {
  color: var(--muted);
}

.quota__track {
  height: 3px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.price-card--premium .quota__track {
  background: rgba(255, 255, 255, 0.12);
}

.quota__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5e78ff, var(--blue));
  box-shadow: 0 0 12px rgba(18, 64, 255, 0.4);
}

.quota__fill--one {
  width: 16%;
}

.quota__fill--standard {
  width: 20%;
}

.quota__fill--premium {
  width: 100%;
}

.price-desc {
  font-size: 13px;
}

.assurance {
  background-image: radial-gradient(
      circle at 4% 100%,
      rgba(18, 64, 255, 0.075),
      transparent 26%
    ),
    linear-gradient(rgba(18, 64, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 100% 64px;
}

.assurance-item p {
  font-size: 12.5px;
}

.contact {
  background-image: radial-gradient(
      circle at 92% 5%,
      rgba(255, 255, 255, 0.19),
      transparent 31%
    ),
    radial-gradient(
      circle at 5% 95%,
      rgba(0, 12, 84, 0.25),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(0, 0, 0, 0.1), transparent 48%);
}

.contact::after {
  border-style: dashed;
  animation: contact-orbit 80s linear infinite;
}

@keyframes contact-orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.contact-lede {
  font-size: 14.5px;
}

.faq-answer {
  font-size: 13.5px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-network path,
  .hero-network .node-halo,
  .terminal-body .t-green::after,
  .contact::after {
    animation: none !important;
  }
}

@media (max-width: 1120px) {
  .hero-visual {
    min-height: 540px;
  }

  .hero-hud {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-visual {
    min-height: 0;
  }

  .tech-label,
  .hero-visual::before,
  .hero-visual::after {
    display: none;
  }

  .hero-network {
    inset: -1%;
    width: 102%;
    height: 102%;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 44px;
  }

  .hero h1 .hero-accent {
    color: #8097ff;
  }

  .hero-lede {
    color: rgba(255, 255, 255, 0.62);
  }

  .hero-network {
    display: none;
  }

  .hero-visual {
    padding-block: 10px 4px;
  }

  .stack-card::before {
    right: 20px;
    left: 20px;
  }

  .layer__index {
    width: 25px;
    height: 25px;
  }

  .layers::before {
    left: 12px;
  }
}

/* Overflow and mobile type corrections */

.price-notes p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

.price-notes p > span:last-child {
  min-width: 0;
}

@media (max-width: 560px) {
  .architecture .section-head h2 {
    font-size: clamp(2rem, 9vw, 2.5rem);
    letter-spacing: -0.06em;
  }
}

/* Contrast refinements for small labels and muted copy */

:root {
  --muted: #555b66;
  --muted-2: #646a75;
}

.utility-meta {
  color: rgba(255, 255, 255, 0.54);
}

.header__sub,
.brand__sub {
  color: rgba(255, 255, 255, 0.53);
}

.header-tg {
  color: rgba(255, 255, 255, 0.66);
}

.hero-note {
  color: rgba(255, 255, 255, 0.48);
}

.hero-trust {
  color: rgba(255, 255, 255, 0.68);
}

.mobile-nav__note {
  color: rgba(255, 255, 255, 0.55);
}

.mobile-nav__handle {
  color: rgba(255, 255, 255, 0.62);
}

.terminal-top > span:first-child,
.terminal-body .t-comment {
  color: rgba(255, 255, 255, 0.55);
}

.layer__label {
  color: rgba(255, 255, 255, 0.5);
}

.layer__tag {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.58);
}

.footer-brand .brand__sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.62);
}

.footer-col h3 {
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.55);
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.48);
}

.footer-top-link {
  color: rgba(255, 255, 255, 0.66);
}

.footer-tg {
  color: rgba(255, 255, 255, 0.75);
}

.spec-meta,
.faq-index,
.qr-card__label,
.process-meta {
  color: var(--muted-2);
}

.compare-kicker {
  color: var(--muted-2);
}

.compare-foot,
.process-item p,
.security-side__nav a,
.layer-row__desc,
.boundary-card li,
.security-cta p,
.legal-toc a {
  color: var(--muted);
}

.legal-toc h2 {
  color: var(--muted-2);
}

.security-side__nav a:hover {
  color: var(--blue);
}

/* Security page technical hero */

.page-hero--tech {
  position: relative;
  overflow: hidden;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: #07090d;
  color: var(--white);
}

.page-hero--tech::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  -webkit-mask-image: radial-gradient(
    ellipse 76% 90% at 60% 40%,
    #000 0%,
    transparent 83%
  );
  mask-image: radial-gradient(
    ellipse 76% 90% at 60% 40%,
    #000 0%,
    transparent 83%
  );
  pointer-events: none;
}

.page-hero--tech::after {
  content: "";
  position: absolute;
  top: -55%;
  right: -7%;
  width: 58vw;
  height: 58vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 67, 255, 0.25),
    transparent 68%
  );
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}

.page-hero--tech .page-hero__lede {
  color: rgba(255, 255, 255, 0.64);
}

.page-hero--tech .page-meta {
  color: rgba(255, 255, 255, 0.56);
}

.page-hero--tech .page-meta span::before {
  background: #8097ff;
  box-shadow: 0 0 8px rgba(128, 151, 255, 0.6);
}

.page-hero--tech h1 {
  color: var(--white);
}

.page-hero--tech .eyebrow {
  color: rgba(255, 255, 255, 0.52);
}

.page-hero--tech .eyebrow__num {
  color: #9bafff;
}

.page-hero--tech .eyebrow__rule {
  background: rgba(255, 255, 255, 0.24);
}

.boundary-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 370px;
}

.boundary-visual__orbit {
  position: absolute;
  width: 112%;
  max-width: 450px;
  aspect-ratio: 1;
  border: 1px solid rgba(113, 137, 255, 0.22);
  border-radius: 50%;
  transform: rotate(18deg);
}

.boundary-visual__orbit::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(113, 137, 255, 0.12);
  border-radius: 50%;
}

.boundary-visual__orbit::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 17%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c93ff;
  box-shadow: 0 0 0 7px rgba(124, 147, 255, 0.09),
    0 0 20px rgba(124, 147, 255, 0.55);
}

.boundary-visual__glow {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 64, 255, 0.2), transparent 68%);
  filter: blur(8px);
}

.boundary-card {
  position: relative;
  z-index: 1;
  width: min(100%, 345px);
  overflow: hidden;
  border: 1px solid rgba(127, 148, 255, 0.28);
  border-radius: 18px;
  background: #0b0f16;
  background-image: radial-gradient(
      circle at 88% 0%,
      rgba(41, 78, 255, 0.28),
      transparent 40%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 44%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 60px rgba(18, 64, 255, 0.15);
  transform: rotate(1.2deg);
}

.boundary-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(134, 155, 255, 0.8),
    transparent
  );
}

.boundary-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.boundary-layer {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.boundary-layer__num {
  color: #7e95f7;
  font-family: var(--font-mono);
  font-size: 7px;
}

.boundary-layer strong {
  display: block;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.boundary-layer em {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 8.5px;
  font-style: normal;
  line-height: 1.4;
}

.boundary-layer__state {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 6px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.boundary-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.boundary-card__signal {
  color: #8da2ff;
}

.boundary-chip {
  position: absolute;
  top: 6%;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(127, 148, 255, 0.24);
  border-radius: 8px;
  background: rgba(13, 17, 26, 0.82);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.boundary-chip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8097ff;
  box-shadow: 0 0 8px rgba(128, 151, 255, 0.7);
}

@media (max-width: 900px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .boundary-visual {
    display: none;
  }
}

/* Pointer-reactive hero glow */

.hero-pointer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    360px circle at var(--hero-x, 72%) var(--hero-y, 28%),
    rgba(43, 80, 255, 0.16),
    transparent 62%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--ease);
}

.hero:hover .hero-pointer {
  opacity: 1;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hero-pointer {
    display: none;
  }
}

@media (max-width: 560px) {
  .architecture .section-head h2 {
    font-size: clamp(1.85rem, 8.8vw, 2.5rem);
  }
}
