:root {
  --surface: #fbf9f5;
  --surface-low: #f5f3ef;
  --surface-high: #ffffff;
  --surface-dark: #141414;
  --ink: #1b1c1a;
  --ink-soft: #5f5e5e;
  --muted: #6b655f;
  --line: #e4dfd8;
  --line-strong: #c8c6c5;
  --red: #ba061b;
  --red-hot: #ff4444;
  --red-soft: #ffdad7;
  --green: #1f8a4c;
  --teal: #006761;
  --container: min(1440px, 100vw);
  --page-pad: clamp(16px, 4vw, 40px);
  --gutter: 24px;
  --header-h: 73px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --headline: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px),
    var(--surface);
  background-position: center top;
  background-size: 40px 40px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
}

::selection {
  background: var(--red);
  color: #fff;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 450, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: var(--container);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 14px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--headline);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: var(--ink);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link,
.button,
.label,
.metric-label,
.section-kicker,
.doc-index a,
.footer-grid h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-link {
  color: var(--ink);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  border-color: var(--red);
}

.menu-toggle {
  display: none !important;
}

.button,
.icon-button {
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 120ms ease;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
  color: var(--surface);
}

.button-dark:hover {
  background: transparent;
  color: var(--ink);
}

.button-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button-red:hover {
  background: var(--surface-high);
  color: var(--red);
}

.button-light {
  background: var(--surface-high);
  color: var(--red);
  border-color: var(--surface-high);
}

.button-light:hover {
  background: transparent;
  color: #fff;
}

#app {
  width: var(--container);
  min-height: calc(100vh - var(--header-h));
  margin: 0 auto;
  padding-top: var(--header-h);
  background: var(--surface);
  border-inline: 1px solid rgba(228, 223, 216, 0.65);
  outline: none;
}

.page-shell {
  position: relative;
}

.section {
  position: relative;
  padding: clamp(56px, 8vw, 96px) var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section-white {
  background: var(--surface-high);
}

.section-dark {
  background: var(--surface-dark);
  color: var(--surface);
}

.section-red {
  background: var(--red);
  color: #fff;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gutter);
}

.hero {
  min-height: min(820px, calc(100vh - var(--header-h) + 120px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(64px, 10vw, 116px) var(--page-pad) 88px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(251, 249, 245, 0) 60%, var(--surface) 100%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--surface-high);
  color: var(--ink);
}

.pulse,
.pulse-ring {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red-hot);
  flex: 0 0 auto;
}

.pulse::after,
.pulse-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

@keyframes pulse {
  to {
    opacity: 0;
    transform: scale(2.35);
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.headline-xl {
  margin-bottom: 24px;
  font-family: var(--headline);
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}

.headline-lg {
  margin-bottom: 20px;
  font-family: var(--headline);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.headline-md {
  margin-bottom: 14px;
  font-family: var(--headline);
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: 0;
}

.body-lg {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero .body-lg {
  max-width: 620px;
}

.marker {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.marker::after {
  content: "";
  position: absolute;
  inset: auto 0 4px;
  height: 8px;
  z-index: -1;
  background: var(--red-hot);
  transform: rotate(-1deg);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.terminal-panel {
  position: relative;
  min-height: 510px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(251, 249, 245, 0.94)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=80")
      center / cover;
  overflow: hidden;
}

.terminal-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: rgba(251, 249, 245, 0.92);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.chart-frame {
  position: absolute;
  inset: auto 0 0;
  height: 68%;
  padding: 48px 20px 20px;
  background:
    repeating-linear-gradient(to top, transparent 0, transparent 24%, rgba(228, 223, 216, 0.8) 24%, transparent calc(24% + 1px)),
    var(--surface);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  gap: 10px;
}

.bar {
  position: relative;
  flex: 1;
  min-width: 34px;
  background: var(--line);
  transition: height 220ms ease;
}

.bar strong {
  position: absolute;
  inset: -26px 0 auto;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
}

.bar-hot {
  background: var(--surface-dark);
  color: var(--ink);
}

.terminal-panel:hover .bar:nth-child(1) {
  height: 41% !important;
}

.terminal-panel:hover .bar:nth-child(2) {
  height: 56% !important;
}

.terminal-panel:hover .bar:nth-child(3) {
  height: 92% !important;
}

.terminal-panel:hover .bar:nth-child(4) {
  height: 72% !important;
}

.terminal-panel:hover .bar:nth-child(5) {
  height: 52% !important;
}

.crosshair {
  position: absolute;
  width: 9px;
  height: 9px;
  pointer-events: none;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.crosshair::before {
  top: 4px;
  left: 0;
  width: 9px;
  height: 1px;
}

.crosshair::after {
  top: 0;
  left: 4px;
  width: 1px;
  height: 9px;
}

.tl {
  top: -5px;
  left: -5px;
}

.tr {
  top: -5px;
  right: -5px;
}

.bl {
  bottom: -5px;
  left: -5px;
}

.br {
  right: -5px;
  bottom: -5px;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
  min-height: 300px;
  border-bottom: 1px solid var(--line);
}

.split-intro > * {
  padding: clamp(28px, 4vw, 40px);
}

.split-intro > :first-child {
  border-right: 1px solid var(--line);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.large-statement {
  max-width: 980px;
  font-family: var(--headline);
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.35;
}

.protocol-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.protocol-grid > * {
  min-height: 320px;
  padding: clamp(24px, 4vw, 40px);
  border-right: 1px solid var(--line);
}

.protocol-grid > :last-child {
  border-right: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid var(--ink);
  background: var(--surface-high);
  font-family: var(--headline);
  font-size: 24px;
  font-weight: 700;
}

.step-hot {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

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

.metric {
  min-height: 180px;
  padding: 28px;
  background: var(--surface-high);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.metric-value {
  font-family: var(--headline);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  margin-bottom: 16px;
  color: var(--muted);
}

.cta-band {
  text-align: center;
  display: grid;
  place-items: center;
  gap: 24px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
}

.page-hero {
  padding: clamp(56px, 8vw, 96px) var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr);
  gap: var(--gutter);
  align-items: end;
}

.hairline-grid {
  display: grid;
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.hairline-grid > * {
  background: var(--surface);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.4fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-layout > * {
  background: var(--surface);
  padding: 28px;
}

.tree-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tree-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
}

.tree-list li:last-child {
  border-bottom: 0;
}

.tree-list .active {
  color: var(--red);
  font-weight: 700;
}

.metric-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--line);
  gap: 1px;
}

.metric-cell {
  min-height: 132px;
  padding: 18px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-cell strong {
  font-family: var(--headline);
  font-size: 27px;
  line-height: 1;
}

.panel {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(24px, 4vw, 36px);
}

.panel-dark {
  background: var(--surface-dark);
  color: var(--surface);
}

.panel-dark .body-lg,
.panel-dark p,
.panel-dark .section-kicker {
  color: var(--surface);
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
}

.mini-table th,
.mini-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.mini-table th:last-child,
.mini-table td:last-child {
  text-align: right;
}

.progress {
  height: 8px;
  background: var(--line);
  position: relative;
}

.progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: var(--ink);
}

.progress::after {
  content: "";
  position: absolute;
  inset: -5px auto -5px 68%;
  width: 1px;
  background: var(--red);
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.tile {
  min-height: 230px;
  padding: 28px;
  background: var(--surface);
}

.tile .material-symbols-outlined {
  margin-bottom: 22px;
  font-size: 32px;
}

.pricing-toggle {
  display: inline-flex;
  border: 1px solid var(--ink);
  background: var(--surface);
}

.pricing-toggle button {
  border: 0;
  background: transparent;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-toggle button.active {
  background: var(--ink);
  color: var(--surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.price-card {
  position: relative;
  padding: 30px;
  background: var(--surface);
  display: flex;
  min-height: 540px;
  flex-direction: column;
}

.price-card.featured {
  background: var(--surface-high);
}

.price-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--red);
  color: #fff;
  padding: 8px 11px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.price {
  font-family: var(--headline);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 700;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  gap: 16px;
  flex: 1;
}

.check-list li {
  display: flex;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.45;
}

.check-list .material-symbols-outlined {
  color: var(--red);
  font-size: 18px;
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: var(--gutter);
}

.doc-index {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 18px;
  display: grid;
  gap: 14px;
}

.doc-index a,
.doc-index button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

.doc-index a:hover,
.doc-index button:hover {
  color: var(--red);
}

.doc-article {
  display: grid;
  gap: 52px;
}

.doc-section {
  position: relative;
  padding-bottom: 8px;
}

.doc-section h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.doc-section a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-section li + li {
  margin-top: 8px;
}

.doc-section ul,
.doc-section ol {
  padding-left: 22px;
}

.info-box {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface-low);
}

.info-box .section-kicker {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
}

.info-box-red {
  border-color: var(--red);
  background: #fff5f5;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  border: 1px solid var(--line);
}

.contact-grid > * {
  padding: clamp(24px, 5vw, 48px);
}

.contact-grid > :first-child {
  border-right: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.field {
  display: grid;
  gap: 9px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 190px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.form-message {
  margin: 18px 0 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
}

.security-log {
  height: 220px;
  overflow: hidden;
  padding: 18px;
  background: var(--surface-dark);
  color: var(--surface);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.security-log .hot {
  color: var(--red-hot);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: var(--gutter);
}

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

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

.faq-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  gap: 14px;
  color: var(--ink);
  text-align: left;
}

.faq-button strong {
  font-size: 19px;
  font-weight: 600;
}

.faq-content {
  display: none;
  max-width: 760px;
  padding: 0 0 26px 62px;
  color: var(--muted);
}

.faq-item.open .faq-content {
  display: block;
}

.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: clamp(48px, 8vw, 96px) var(--page-pad);
}

.auth-card {
  position: relative;
  width: min(100%, 460px);
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--ink);
  background: var(--surface);
}

.auth-card form {
  display: grid;
  gap: 22px;
}

.auth-field {
  display: grid;
  gap: 10px;
}

.auth-field label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
}

.auth-input-wrap:focus-within {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.auth-input-wrap .material-symbols-outlined {
  padding: 0 12px;
  color: var(--muted);
}

.auth-input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 48px;
  outline: none;
  padding: 11px 12px 11px 0;
}

.oauth-button {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.google-mark {
  width: 20px;
  height: 20px;
}

.signup-standalone {
  border-color: var(--surface-dark);
}

.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.cookie-banner {
  position: fixed;
  right: var(--page-pad);
  bottom: 18px;
  left: var(--page-pad);
  z-index: 60;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--ink);
  background: var(--surface-high);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-banner a {
  color: var(--red);
  text-decoration: underline;
}

.cookie-banner > div {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.footer-grid {
  width: var(--container);
  margin: 0 auto;
  padding: 46px var(--page-pad);
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-grid h2 {
  margin: 0 0 4px;
  color: var(--ink);
}

.footer-grid a:hover {
  color: var(--red);
  text-decoration: underline;
}

.desktop-only {
  display: initial;
}

.hide {
  display: none !important;
}

@media (max-width: 980px) {
  .nav-shell {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
  }

  .nav-shell.open .nav-links {
    display: flex;
  }

  .nav-links .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-actions {
    display: none;
  }

  .hero,
  .two-col,
  .page-hero-inner,
  .feature-layout,
  .contact-grid,
  .doc-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

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

  .grid-12 > * {
    grid-column: 1 / -1 !important;
  }

  .card-grid-3[style],
  .hairline-grid[style] {
    grid-template-columns: 1fr !important;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .terminal-panel {
    min-height: 420px;
  }

  .split-intro,
  .protocol-grid,
  .metrics-grid,
  .metric-matrix,
  .pricing-grid,
  .card-grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-intro > :first-child,
  .protocol-grid > *,
  .contact-grid > :first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .protocol-grid > :last-child {
    border-bottom: 0;
  }

  .doc-index,
  .faq-layout > aside {
    position: static;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner > div {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .headline-xl {
    font-size: 44px;
  }

  .hero-actions .button,
  .inline-actions .button,
  .contact-grid .button,
  .auth-card .button {
    width: 100%;
  }

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

  .faq-button {
    grid-template-columns: 38px 1fr 28px;
  }

  .faq-button strong {
    font-size: 17px;
  }

  .faq-content {
    padding-left: 52px;
  }
}
