@font-face {
  font-family: "Geist Sans";
  src: url("./fonts/GeistSans-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("./fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./fonts/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --surface: #0f1117;
  --surface-raised: #161b27;
  --surface-border: #1e2535;
  --surface-panel: #111827;
  --surface-panel-alt: #0b1220;
  --overlay-scrim: rgb(0 0 0 / 0.58);
  --accent: #5b8dee;
  --accent-hover: #4a7de0;
  --accent-muted: #2a3f6e;
  --accent-soft: #93c5fd;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --text-primary: #e2e8f0;
  --text-secondary: #8b9ab4;
  --text-subtle: #cbd5e1;
  --text-tertiary: #94a3b8;
  --line: rgb(148 163 184 / 0.14);
  --line-strong: rgb(148 163 184 / 0.24);
  --glow: 0 1.5rem 4rem rgb(0 0 0 / 0.34);
  --font-sans: "Geist Sans", system-ui, sans-serif;
  --font-display: "Geist Sans", system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.animate-in {
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 150ms;
}

.delay-2 {
  animation-delay: 300ms;
}

.delay-3 {
  animation-delay: 450ms;
}

.delay-4 {
  animation-delay: 600ms;
}

.delay-5 {
  animation-delay: 750ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgb(148 163 184 / 0.25) transparent;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgb(148 163 184 / 0.25);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(148 163 184 / 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  background:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgb(255 255 255 / 0.035) 0%, transparent 100%),
    linear-gradient(180deg, #0d121c 0%, #05070a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background:
    linear-gradient(rgb(255 255 255 / 0.05) 0.0625rem, transparent 0.0625rem),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 0.0625rem, transparent 0.0625rem);
  background-size: 2rem 2rem;
  -webkit-mask-image: radial-gradient(ellipse 150% 120% at 50% 10%, black 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 150% 120% at 50% 10%, black 10%, transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / 0.08) 0.03rem, transparent 0.03rem);
  background-size: 0.55rem 0.55rem;
  opacity: 0.04;
}

a {
  color: inherit;
}

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

.site-shell {
  position: relative;
  z-index: 1;
  width: min(78rem, calc(100vw - 1.5rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.75rem;
  background: rgb(15 17 23 / 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 0.0625rem solid var(--line-strong);
  border-top: none;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 12px 24px -12px rgb(0 0 0 / 0.5);
  margin: 0 -0.5rem -6rem -0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-mark {
  width: clamp(8.6rem, 21vw, 12rem);
  height: auto;
}

.brand-note {
  display: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.topnav a {
  flex: 0 0 auto;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 160ms ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.topnav a[aria-current="page"] {
  color: var(--text-primary);
}

.topbar-actions {
  display: none;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.2rem;
  border-radius: 0.625rem;
  border: 0.0625rem solid transparent;
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-0.0625rem);
}

.button-primary {
  color: white;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%);
  box-shadow: 0 0.85rem 2rem rgb(91 141 238 / 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 1rem 2.2rem rgb(91 141 238 / 0.28);
}

.button-secondary {
  color: var(--text-primary);
  border-color: rgb(148 163 184 / 0.18);
  background: rgb(255 255 255 / 0.03);
}

.button-mono {
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.button-wide {
  min-width: 14rem;
}

/* Premium Topbar Actions Override */
.topbar-actions .button {
  width: 11.5rem;
  min-height: 2.6rem;
  padding: 0;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-actions .button-secondary {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.01));
  border-color: rgb(255 255 255 / 0.12);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.1), 0 4px 12px -4px rgb(0 0 0 / 0.3);
}

.topbar-actions .button-secondary:hover,
.topbar-actions .button-secondary:focus-visible {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.03));
  border-color: rgb(255 255 255 / 0.2);
}

.topbar-actions .button-primary {
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.3), 0 0.6rem 1.6rem rgb(91 141 238 / 0.28);
  border-color: var(--accent-soft);
}

.topbar-actions .button-primary:hover,
.topbar-actions .button-primary:focus-visible {
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.45), 0 0.8rem 2rem rgb(91 141 238 / 0.36);
  border-color: #fff;
}

main {
  display: grid;
  gap: 5rem;
}

.hero {
  position: relative;
  display: grid;
  gap: 2rem;
  min-height: calc(100vh - 5.5rem);
  padding: 8rem 0 0.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 0.0625rem solid var(--line);
  border-radius: 2rem 2rem 3rem 3rem;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.02), transparent 40%),
    linear-gradient(180deg, rgb(255 255 255 / 0.04), transparent 64%);
  -webkit-mask-image: linear-gradient(180deg, black 85%, transparent 100%);
  mask-image: linear-gradient(180deg, black 85%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 1.35rem 1.35rem 2.5rem 2.5rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.02) 0%, transparent 100%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.08);
  -webkit-mask-image: linear-gradient(180deg, black 85%, transparent 100%);
  mask-image: linear-gradient(180deg, black 85%, transparent 100%);
}

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

.hero-copy {
  padding: 1.75rem 1.1rem 0;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.9;
  font-weight: 700;
}

h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.93;
  font-weight: 670;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.05;
  font-weight: 620;
}

.hero-copy p,
.lede,
.body-copy,
.feature-copy,
.flow-copy,
.faq-answer,
.footer-copy {
  color: var(--text-secondary);
  line-height: 1.72;
}

.hero-copy .lede {
  max-width: 39rem;
  margin: 1.4rem 0 0;
  font-size: 1.04rem;
}

.hero-actions,
.stack-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.signal-strip,
.capability-strip,
.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.signal-strip {
  margin-top: 1.35rem;
}

.chip {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 0.0625rem solid var(--line);
  background: rgb(255 255 255 / 0.03);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.hero-board {
  padding: 0 1rem 1rem;
}

.board {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 32rem;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 0.0625rem solid var(--line-strong);
  background:
    linear-gradient(180deg, rgb(11 18 32 / 0.9), rgb(15 17 23 / 0.98)),
    linear-gradient(135deg, rgb(91 141 238 / 0.08), transparent 45%);
  box-shadow: var(--glow), inset 0 1px 1px rgb(255 255 255 / 0.08);
}

.board-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  background: rgb(255 255 255 / 0.02);
  border-bottom: 0.0625rem solid var(--line);
}

.board-dots {
  display: flex;
  gap: 0.5rem;
}

.board-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--text-tertiary);
  opacity: 0.3;
}

.board-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.board-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.board-sidebar {
  border-bottom: 0.0625rem solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: rgb(255 255 255 / 0.01);
}

.board-main {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

.board-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.board-artifact {
  padding: 0;
  border: none;
  margin: 0;
}

.board-artifact+.board-artifact {
  margin-top: -0.2rem;
}

.board-metric {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.board-metric strong {
  font-size: 1.6rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  line-height: 1;
}

.board-metric span {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.1;
}

.board-section+.board-section {
  margin-top: 0.5rem;
}

.board-section:last-child {
  margin-top: auto;
}

.board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(255 255 255 / 0.035) 0.0625rem, transparent 0.0625rem),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 0.0625rem, transparent 0.0625rem);
  background-size: 2.8rem 2.8rem;
  opacity: 0.32;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.9), transparent 88%);
}

.surface {
  position: absolute;
  border: 0.0625rem solid var(--line-strong);
  background: rgb(15 17 23 / 0.76);
  backdrop-filter: blur(1rem);
  box-shadow: 0 1.4rem 2.4rem rgb(0 0 0 / 0.24);
}

.surface-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.surface-head-tight {
  margin: 0 0 0.5rem;
}

.surface-label {
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.surface-state {
  color: var(--success);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.surface-terminal {
  top: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 1rem;
  border-radius: 1.2rem;
}

.terminal-line {
  color: var(--text-subtle);
  font-family: "JetBrains Mono", var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.8;
}

.terminal-token {
  display: inline-block;
  min-width: 1rem;
  color: var(--accent-soft);
}

.terminal-cursor {
  animation: pulse-glow 1s infinite;
  width: 0.6rem;
  height: 1.1rem;
  display: inline-block;
  background: var(--text-secondary);
  vertical-align: middle;
}

.surface-artifacts {
  left: 1rem;
  right: 9rem;
  bottom: 1rem;
  padding: 1rem;
  border-radius: 1.1rem;
}

.artifact-row,
.stack-row,
.pricing-row,
.faq-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 0.0625rem solid var(--line);
}

.artifact-row:first-of-type,
.stack-row:first-of-type,
.pricing-row:first-of-type {
  border-top: 0;
  padding-top: 0.1rem;
}

.artifact-row strong,
.stack-row strong,
.pricing-row strong {
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 550;
}

.status-review {
  color: var(--warning);
}

.status-applied {
  color: var(--success);
}

.state-pill-start {
  align-self: flex-start;
}

.surface-metrics {
  top: 8.7rem;
  right: 1rem;
  width: 7rem;
  padding: 0.85rem;
  border-radius: 1.05rem;
  display: grid;
  gap: 0.8rem;
}

.metric {
  display: grid;
  gap: 0.18rem;
}

.metric strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: -0.05em;
}

.metric span {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.35;
}

.surface-state-card {
  right: 1rem;
  bottom: 1rem;
  width: 8.5rem;
  padding: 0.95rem;
  border-radius: 1.05rem;
}

.state-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.52rem;
  border-radius: 999px;
  background: rgb(52 211 153 / 0.13);
  color: var(--success);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.state-copy {
  margin-top: 0.8rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

.page-hero {
  position: relative;
  display: grid;
  gap: 1.4rem;
  padding: 8rem 0 1rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), transparent 72%);
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.95), transparent 96%);
}

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

.hero-summary,
.stack-panel,
.partner-panel,
.faq-panel,
.site-map-card {
  border: 0.0625rem solid var(--line);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgb(17 24 39 / 0.86), rgb(11 18 32 / 0.76));
  box-shadow: var(--glow);
}

.hero-summary {
  padding: 1.2rem;
}

.contact-layout {
  display: grid;
  gap: 1.4rem;
}

.contact-form-panel,
.contact-note-panel {
  border: 0.0625rem solid var(--line);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgb(17 24 39 / 0.86), rgb(11 18 32 / 0.76));
  box-shadow: var(--glow);
  padding: 1.75rem 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.6rem;
}

.contact-form-header {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.contact-note-header {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.contact-form-header p,
.contact-note-header p {
  margin: 0;
}

.form-row {
  display: grid;
  gap: 1.2rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  gap: 0.75rem;
}

.form-label {
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-input,
.form-textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.95rem 1.1rem;
  border: 0.0625rem solid rgb(148 163 184 / 0.2);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.02));
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-sans);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.05);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgb(147 197 253 / 0.45);
  box-shadow: 0 0 0 0.1875rem rgb(91 141 238 / 0.16);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.03));
}

.form-textarea {
  height: 12rem;
  min-height: 12rem;
  max-height: 12rem;
  overflow-y: auto;
  resize: none;
}

.form-actions {
  display: grid;
  gap: 0.75rem;
}

.form-actions .button {
  width: 100%;
}

.form-note {
  margin: 0;
  padding: 0.6rem 0 0.6rem 0.85rem;
  border-left: 2px solid rgb(148 163 184 / 0.22);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.form-helper {
  color: var(--text-tertiary);
  font-size: 0.82rem;
  line-height: 1.5;
}

.intent-grid {
  display: grid;
  gap: 0.6rem;
  margin-top: calc(0.75rem - 4px);
}

.intent-option {
  display: block;
}

.intent-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.intent-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 1rem;
  border: 0.0625rem solid rgb(148 163 184 / 0.18);
  border-radius: 0.625rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.015));
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.04);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.intent-title {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.intent-copy {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

.intent-option:hover .intent-card {
  border-color: rgb(147 197 253 / 0.26);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.025));
  transform: translateY(-0.0625rem);
}

.intent-input:focus-visible+.intent-card {
  outline: 0;
  border-color: rgb(147 197 253 / 0.42);
  box-shadow: 0 0 0 0.1875rem rgb(91 141 238 / 0.16);
}

.intent-input:checked+.intent-card {
  border-color: rgb(147 197 253 / 0.45);
  background:
    linear-gradient(180deg, rgb(91 141 238 / 0.18), rgb(91 141 238 / 0.08)),
    linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.02));
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 0.08),
    0 0 0 0.0625rem rgb(147 197 253 / 0.1);
}

.contact-note-grid {
  display: grid;
  gap: 1.75rem;
}

.contact-note-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-note-item {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.4rem;
  border-top: 0.0625rem solid var(--line);
}

.contact-note-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-note-item span {
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-note-item p,
.contact-direct-copy,
.thanks-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
}

.contact-direct {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 1.2rem;
  border-top: 0.0625rem solid var(--line);
}

.contact-direct strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 550;
}

.section {
  display: grid;
  gap: 1.5rem;
}

.section-header {
  display: grid;
  gap: 0.45rem;
}

.section-header p {
  margin: 0;
}

.section-note {
  max-width: 44rem;
  color: var(--text-secondary);
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-row,
.site-map {
  display: grid;
  gap: 1rem;
}

.feature-row {
  padding-top: 1rem;
  border-top: 0.0625rem solid var(--line);
}

.feature-index {
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-copy {
  max-width: 44rem;
}

.feature-copy p,
.stack-copy p,
.partner-copy p,
.faq-answer p,
.site-map-card p,
.mini-note p {
  margin: 0;
}

.feature-copy p+p,
.stack-copy p+p,
.partner-copy p+p,
.faq-answer p+p {
  margin-top: 0.75rem;
}

.feature-side {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.83rem;
  line-height: 1.55;
}

.stack {
  display: grid;
  gap: 1rem;
}

.stack-panel,
.partner-panel,
.faq-panel,
.site-map-card {
  padding: 1.25rem;
}

.stack-grid {
  display: grid;
  gap: 1rem;
}

.stack-copy {
  color: var(--text-secondary);
}

.flow-grid,
.metrics-grid,
.two-column,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 2.5rem;
  /* Increased from 1rem to separate borderless components */
}

.flow-step,
.metric-card,
.pricing-card {
  border: none;
  border-top: 0.0625rem solid var(--line);
  border-radius: 0;
  padding: 1.5rem 0 0;
  background: transparent;
}

.flow-step span,
.metric-card span,
.pricing-card span {
  display: block;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.flow-step h3,
.metric-card strong,
.pricing-card strong {
  display: block;
  color: var(--text-primary);
  margin-top: 0;
}

.flow-step p,
.metric-card p,
.pricing-card p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.metric-card strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
  letter-spacing: -0.05em;
}

.faq-panel details {
  border-top: 0.0625rem solid var(--line);
}

.faq-panel details:first-of-type {
  border-top: 0;
}

.faq-panel summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  color: var(--text-primary);
  font-weight: 560;
}

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

.faq-answer {
  padding: 0 0 1rem;
}

.site-map-card {
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.site-map-card:hover,
.site-map-card:focus-visible {
  transform: translateY(-0.125rem);
  border-color: rgb(147 197 253 / 0.28);
  background: linear-gradient(180deg, rgb(20 29 45 / 0.92), rgb(11 18 32 / 0.78));
}

.site-map-card .mini-links {
  margin-top: 0.9rem;
}

.mini-link {
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 0.0625rem solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-label {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text-primary);
}

.footer-email {
  color: var(--text-secondary);
}

.footer-copy {
  margin: 0;
  max-width: 22rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-top: 0.0625rem solid var(--line);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 44rem) {
  .site-shell {
    width: min(78rem, calc(100vw - 2.5rem));
  }

  .brand-note,
  .topbar-actions {
    display: flex;
  }

  .hero-actions,
  .stack-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .flow-grid,
  .metrics-grid,
  .pricing-grid,
  .site-map,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .faq-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    align-items: start;
  }

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

  .form-actions {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .form-actions .button {
    width: auto;
    min-width: 14rem;
  }

  .surface-terminal {
    right: 8.5rem;
  }
}

@media (min-width: 64rem) {
  .topbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 0 -6rem 0;
    padding: 1.25rem 0.75rem;
    gap: 1.5rem;
  }

  .brand {
    margin-right: auto;
  }

  .topnav {
    width: auto;
    overflow: visible;
    padding-bottom: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(31rem, 0.96fr);
    align-items: center;
    padding: 8rem 0 2.4rem;
  }

  .hero-copy {
    padding: 0 1.25rem 0 0.75rem;
  }

  .hero-board {
    padding: 0;
  }

  .board {
    min-height: 37rem;
  }

  .board-body {
    flex-direction: row;
  }

  .board-sidebar {
    width: 15rem;
    border-bottom: none;
    border-right: 0.0625rem solid var(--line);
  }

  .surface-terminal {
    right: 10rem;
    top: 1.35rem;
    left: 1.35rem;
  }

  .surface-metrics {
    top: 1.35rem;
    right: 1.35rem;
    width: 7.5rem;
  }

  .surface-artifacts {
    left: 1.35rem;
    right: 10rem;
    bottom: 1.35rem;
  }

  .surface-state-card {
    right: 1.35rem;
    bottom: 1.35rem;
    width: 8rem;
  }

  .feature-row {
    grid-template-columns: 13.5rem minmax(0, 1fr) minmax(14rem, 18rem);
    align-items: start;
  }

  .stack-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  }

  .footer-grid {
    grid-template-columns: 1fr auto auto;
    gap: 6rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
