/* PlainFork - cool paper, electric blue, one acid accent. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-normal-400_600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plexmono-normal-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plexmono-normal-500.woff2") format("woff2");
}

:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #edf1f8;
  --ink: #0a0c10;
  --muted: #5a6475;
  --blue: #2947ff;
  --blue-dark: #1b33d6;
  --blue-soft: #eaefff;
  --blue-tint: #e6ebff;
  --lime: #d2f86b;
  --lime-soft: #f6ffdf;
  --coral: #ff6b4a;
  --coral-ink: #c9381d;
  --navy: #0b1222;
  --line: #e2e7f1;
  --line-strong: #cad3e4;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1280px;
  --arr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

a {
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--sans);
  text-wrap: balance;
}

button {
  font: inherit;
}

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

.closing :focus-visible,
.code-card :focus-visible {
  outline-color: var(--lime);
}

.skip {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip:focus {
  transform: none;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
}

/* ------- type ------- */

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

.eyebrow-light {
  color: var(--blue-tint);
}

.spark {
  display: inline-flex;
  flex: 0 0 auto;
}
.spark svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.arr {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: var(--arr) center / contain no-repeat;
  mask: var(--arr) center / contain no-repeat;
  transition: transform 0.25s ease;
}

/* ------- buttons ------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover .arr {
  transform: translateX(3px);
}
.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.btn-lime:hover {
  background: #fff;
  border-color: #fff;
}
.btn-off {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue);
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--blue-dark);
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 247, 251, 0.82);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}
.site-head.scrolled {
  background: rgba(245, 247, 251, 0.96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  min-height: 44px;
}
.brand img {
  width: auto;
  height: 24px;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--blue);
}

.head-cta {
  min-height: 44px;
  padding: 0 16px;
  font-size: 12.5px;
}

.menu-btn {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, top 0.25s;
}
.menu-btn span:first-child {
  top: 18px;
}
.menu-btn span:last-child {
  top: 25px;
}
.menu-btn[aria-expanded="true"] span:first-child {
  top: 21.5px;
  transform: rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:last-child {
  top: 21.5px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 26px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(11, 13, 18, 0.08);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav > a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.mobile-nav .btn {
  margin-top: 16px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 82px) 0 clamp(64px, 7vw, 100px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(41, 71, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 71, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 68% 42%, #000 0, transparent 67%);
  mask-image: radial-gradient(circle at 68% 42%, #000 0, transparent 67%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

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

.hero-eyebrow {
  margin-bottom: clamp(24px, 3.2vw, 36px);
  color: var(--blue);
}
.hero-eyebrow .spark {
  color: var(--blue);
}

.hero-title {
  margin-left: -0.055em;
  font-size: clamp(4.7rem, 9.5vw, 9.3rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.075em;
}
.mark-word {
  display: inline-block;
  margin-left: -0.025em;
  padding: 0.01em 0.08em 0.055em 0.045em;
  background: var(--lime);
  border-radius: 0.08em;
  color: var(--ink);
  transform: rotate(-1.5deg);
  transform-origin: left bottom;
}

.hero-line {
  max-width: 26ch;
  margin-top: clamp(24px, 3vw, 32px);
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 540px;
  margin: 44px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.hero-facts strong {
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.hero-facts .unit {
  margin-left: 1px;
  font-family: var(--mono);
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.hero-facts span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 610px;
}

.orb-wrap {
  position: absolute;
  top: 50%;
  left: 48%;
  width: min(43vw, 548px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  animation: orb-in 1.1s 0.08s cubic-bezier(0.22, 0.72, 0.24, 1) both;
}
.orb {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8da0ff 0%, #4a67ff 32%, #2447ff 70%, #1733c9 100%);
  box-shadow: 0 34px 90px rgba(41, 71, 255, 0.34);
}
.orb::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 2px solid var(--lime);
  opacity: 0.9;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(41, 71, 255, 0.22);
}
.ring-a {
  inset: 3.5%;
}
.ring-b {
  inset: -5%;
  border-style: dashed;
  border-color: rgba(41, 71, 255, 0.28);
}
.ring-c {
  inset: -14%;
  border-color: rgba(41, 71, 255, 0.12);
}

.proof-card {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  margin: 3% 0 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 42px 80px -26px rgba(11, 13, 18, 0.4), 0 2px 0 rgba(255, 255, 255, 0.9) inset;
  transform: rotate(-2deg);
  animation: card-in 0.95s 0.16s cubic-bezier(0.22, 0.72, 0.24, 1) both;
}
.card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: #fafbff;
  border-bottom: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}
.card-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(41, 71, 255, 0.45);
  animation: pulse 2.6s infinite;
}
.card-count {
  position: absolute;
  top: -15px;
  right: -11px;
  z-index: 3;
  padding: 7px 12px;
  background: var(--coral);
  color: var(--ink);
  border: 2px solid var(--surface);
  border-radius: 6px;
  box-shadow: 0 4px 0 rgba(11, 13, 18, 0.16);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(5deg);
}
.card-ms {
  color: var(--blue);
}
.card-body {
  padding: 24px 24px 22px;
}
.card-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}
.card-line {
  margin-top: 9px;
  font-size: 1.72rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}
.cut {
  padding: 0 4px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: line-through;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
}
.card-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  padding: 4px 8px;
  background: #ffede8;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.card-note .spark svg {
  width: 9px;
  height: 9px;
}
.plain-block {
  margin-top: 18px;
  padding: 16px 18px 18px;
  background: var(--blue);
  border-radius: 13px;
  color: #fff;
}
.card-label-plain {
  color: var(--blue-tint);
}
.plain-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  font-size: 1.55rem;
}
.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
  color: var(--lime);
}
.tick svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: #fafbff;
  border-top: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-foot span:last-child {
  color: var(--blue);
}

/* ------- sections ------- */

.section {
  padding: clamp(84px, 9vw, 124px) 0;
}
.section-head {
  max-width: 820px;
  margin-bottom: clamp(38px, 5vw, 60px);
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(3.1rem, 5.5vw, 5.4rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.07em;
}
.section-head h2 em,
.closing h2 em {
  font-style: normal;
  color: var(--blue);
}

/* ------- proof ------- */

.proof-section {
  background: var(--surface);
}
.proof-panel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: 0 34px 70px -38px rgba(11, 13, 18, 0.38);
}
.proof-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue);
  z-index: 2;
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 26px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: var(--ink);
}
.panel-ms {
  color: var(--blue);
}
.panel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.panel-col {
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: clamp(30px, 4.2vw, 56px);
}
.panel-draft {
  background: #fff8f5;
}
.panel-plain {
  background: var(--blue);
  color: #fff;
}
.panel-label {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.panel-label-plain {
  color: var(--blue-tint);
}
.panel-text {
  margin-top: 28px;
  font-size: clamp(2.1rem, 3.2vw, 3.15rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.mark {
  padding: 0 0.06em;
  background: var(--lime);
  color: var(--ink);
  text-decoration: underline wavy var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.14em;
}
.panel-plain .tick {
  display: inline-flex;
  width: 0.48em;
  height: 0.48em;
  margin-left: 0.16em;
  vertical-align: 0.02em;
}
.panel-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 36px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.panel-flag .spark svg {
  width: 9px;
  height: 9px;
}
.panel-flag-clean {
  color: var(--lime);
}
.tick-small {
  width: 12px;
  height: 12px;
}
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 6px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------- patterns ------- */

.patterns {
  background: var(--surface-2);
}
.patterns-head {
  margin-bottom: 42px;
}
.pattern-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pattern-list li {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 16px 0;
  border-top: 1px solid var(--line-strong);
  transition: border-color 0.2s;
}
.p-num {
  flex: 0 0 22px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.p-name {
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  transition: color 0.2s, transform 0.25s;
}
.pattern-list li:hover .p-name {
  color: var(--blue);
  transform: translateX(3px);
}
.pattern-list li:hover {
  border-color: var(--blue);
}

/* ------- connect ------- */

.connect {
  background: var(--surface);
}
.connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.modes {
  border-top: 1px solid var(--line-strong);
}
.mode {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 118px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.mode-num {
  align-self: start;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.mode-name {
  font-size: clamp(2.9rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.075em;
  transition: color 0.2s;
}
.mode-meta {
  align-self: end;
  max-width: 20ch;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.mode:hover .mode-name,
.mode.is-active .mode-name {
  color: var(--blue);
}

.code-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--navy);
  color: #fff;
  border: 1px solid #223258;
  border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(10, 16, 32, 0.6);
  overflow: hidden;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px 8px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.code-title {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.copy-btn {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.copy-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.code-card pre {
  flex: 1;
  margin: 0;
  padding: 28px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.78;
  color: #e8ecff;
  tab-size: 2;
}
.code-card code {
  font: inherit;
}
.c-dim {
  color: #8b98b8;
}
.c-str {
  color: var(--lime);
}
.c-key {
  color: #9db0ff;
}
.c-num {
  color: #ff9b7f;
}
.code-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9c4e6;
}
.code-note {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b9c4e6;
}

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

.pricing {
  background: var(--surface-2);
}
.included {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.included span {
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.included span:first-child {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: 30px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.plan-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.plan h3 {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.price {
  margin-top: 24px;
  font-size: clamp(4.3rem, 6.4vw, 5.9rem);
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.08em;
}
.currency {
  display: inline-block;
  margin-right: 2px;
  font-size: 0.32em;
  font-weight: 500;
  vertical-align: 0.95em;
  letter-spacing: 0;
  color: var(--muted);
}
.per {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.checks {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.checks strong {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.plan .btn {
  width: 100%;
  margin-top: 20px;
}

/* ------- closing ------- */

.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 11vw, 150px) 0 clamp(90px, 10vw, 138px);
  background: var(--blue);
  color: #fff;
}
.closing-orb {
  position: absolute;
  top: 50%;
  right: -160px;
  width: min(58vw, 680px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.closing-disc {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 100px rgba(201, 249, 79, 0.25);
}
.closing-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.closing-ring-a {
  inset: 8%;
}
.closing-ring-b {
  inset: -3%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.22);
}
.closing-in {
  position: relative;
  z-index: 1;
}
.closing h2 {
  margin-top: 16px;
  font-size: clamp(4.1rem, 10vw, 9.4rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.075em;
  color: #fff;
}
.closing h2 em {
  display: inline-block;
  padding: 0.01em 0.08em 0.055em 0.045em;
  background: var(--lime);
  border-radius: 0.08em;
  color: var(--ink);
  transform: rotate(-1.5deg);
  transform-origin: left bottom;
}
.closing-note {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-tint);
}
.closing .btn {
  margin-top: 28px;
}

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

.site-foot {
  padding: 56px 0 24px;
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.foot-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.foot-brand img {
  width: auto;
  height: 28px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 48px;
}
.foot-cols h3 {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-cols a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.foot-cols a:hover {
  color: var(--blue);
}
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}
.foot-bottom a:hover {
  color: var(--blue);
}

/* ------- reveal + motion ------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-copy > * {
  animation: rise 0.8s cubic-bezier(0.22, 0.72, 0.24, 1) both;
}
.hero-copy > *:nth-child(1) {
  animation-delay: 0.04s;
}
.hero-copy > *:nth-child(2) {
  animation-delay: 0.1s;
}
.hero-copy > *:nth-child(3) {
  animation-delay: 0.16s;
}
.hero-copy > *:nth-child(4) {
  animation-delay: 0.22s;
}
.hero-copy > *:nth-child(5) {
  animation-delay: 0.28s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(26px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-2deg);
  }
}
@keyframes orb-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(41, 71, 255, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(41, 71, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(41, 71, 255, 0);
  }
}

/* ------- responsive ------- */

@media (max-width: 1120px) {
  .hero-title {
    font-size: clamp(4.4rem, 9vw, 7.6rem);
  }
  .hero-art {
    min-height: 550px;
  }
  .orb-wrap {
    width: min(45vw, 480px);
  }
  .nav {
    gap: 20px;
  }
}

@media (max-width: 1000px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .head-in {
    gap: 14px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-title {
    font-size: clamp(4.8rem, 13vw, 8.4rem);
  }
  .hero-art {
    min-height: 0;
    padding: 14px 0 6px;
  }
  .orb-wrap {
    width: min(66vw, 500px);
  }
  .proof-card {
    width: min(100%, 540px);
    margin: 0 auto;
  }
  .connect-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 0;
  }
  .mode {
    border-top: 1px solid var(--line-strong);
  }
  .mode:first-child {
    border-right: 1px solid var(--line-strong);
    padding-right: 24px;
  }
  .mode:last-child {
    padding-left: 24px;
  }
}

@media (max-width: 860px) {
  .wrap {
    padding: 0 28px;
  }
  .panel-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .panel-col {
    min-height: 280px;
  }
  .panel-plain {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .panel-flag {
    margin-top: 28px;
    padding-top: 0;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan {
    min-height: 0;
  }
  .price {
    font-size: 5rem;
  }
  .checks {
    margin-top: 26px;
  }
  .plan .btn {
    width: auto;
    align-self: flex-start;
    min-width: 180px;
  }
  .plan-featured {
    box-shadow: 0 0 0 3px var(--blue-soft);
  }
}

@media (max-width: 760px) {
  .pattern-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-top {
    flex-direction: column;
    gap: 30px;
  }
  .foot-cols {
    width: 100%;
    gap: 24px;
  }
  .closing-orb {
    right: -240px;
    width: 560px;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding: 0 20px;
  }
  .head-cta {
    display: none;
  }
  .hero {
    padding-top: 34px;
  }
  .hero-title {
    font-size: clamp(3rem, 18vw, 6.4rem);
  }
  .hero-line {
    font-size: 1rem;
  }
  .cta-row .btn {
    flex: 1 1 auto;
  }
  .hero-facts {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
  }
  .hero-art {
    padding: 14px 0 4px;
  }
  .orb-wrap {
    width: 86vw;
    left: 45%;
  }
  .proof-card {
    transform: none;
    animation-name: card-in-flat;
  }
  .card-count {
    top: -13px;
    right: 6px;
  }
  .card-body {
    padding: 20px 18px 18px;
  }
  .card-line {
    font-size: 1.48rem;
  }
  .plain-line {
    font-size: 1.35rem;
  }
  .card-bar,
  .card-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section {
    padding: 74px 0;
  }
  .section-head h2 {
    font-size: clamp(2.3rem, 13vw, 3.8rem);
  }
  .panel-bar {
    gap: 14px;
    padding: 14px 18px;
  }
  .panel-col {
    padding: 26px 22px 28px;
    min-height: 220px;
  }
  .panel-text {
    margin-top: 20px;
    font-size: clamp(1.8rem, 7.4vw, 2.3rem);
  }
  .panel-foot {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }
  .pattern-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .pattern-list li {
    padding: 13px 0;
  }
  .p-name {
    font-size: 1.25rem;
  }
  .modes {
    grid-template-columns: minmax(0, 1fr);
  }
  .mode {
    min-height: 94px;
    grid-template-columns: 24px minmax(0, 1fr);
    row-gap: 4px;
  }
  .mode:first-child {
    border-right: 0;
    padding-right: 0;
  }
  .mode:last-child {
    padding-left: 0;
  }
  .mode-name {
    font-size: 3.2rem;
  }
  .mode-meta {
    grid-column: 2;
    justify-self: start;
    max-width: none;
    text-align: left;
  }
  .mode-num {
    grid-row: 1 / span 2;
  }
  .code-card pre {
    padding: 20px 16px;
    font-size: 11px;
  }
  .included {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .included span {
    text-align: center;
  }
  .foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .foot-cols a {
    font-size: 12px;
  }
  .foot-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .closing-orb {
    right: -270px;
    width: 520px;
  }
  .closing h2 {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: clamp(2.8rem, 18vw, 3.8rem);
  }
  .section-head h2 {
    font-size: clamp(2rem, 13vw, 3.4rem);
  }
  .hero-facts strong {
    font-size: 1.8rem;
  }
  .cta-row .btn {
    width: 100%;
  }
  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@keyframes card-in-flat {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .proof-card {
    transform: none;
  }
  .mark-word,
  .closing h2 em {
    transform: none;
  }
}
