/* ==========================================================================
   PilotAI Design System
   Restrained, editorial, technical typography & layout for getpilotai.co
   ========================================================================== */

:root {
  /* Color Palette - Disciplined & Low-Noise */
  --bg: #080c14;
  --surface: #0e131d;
  --surface-raised: #141b28;
  --surface-code: #06090f;
  
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border: #1a2232;
  --border-hover: #2a354c;

  --text-primary: #edf2f7;
  --text-secondary: #8b99a8;
  --text-tertiary: #526070;
  --text-muted: #3a4654;

  /* Functional Accents - Strict Usage */
  --accent-teal: #2ec494;          /* Verification pass & active state */
  --accent-blue: #6495ed;          /* Architectural contracts & planning */
  --accent-amber: #e5a93c;         /* Compiler warning / residual diagnostic */
  --accent-red: #eb5757;           /* Type error / diff deletion */

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, ui-monospace, monospace;

  /* Layout */
  --max-width: 1120px;
  --nav-height: 64px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Transitions */
  --transition: 0.15s ease;
}

/* ---------------- Base Reset ---------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------------- Accessibility ---------------- */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--text-primary);
  color: var(--bg);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

/* ---------------- Container & Core Layout ---------------- */
.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

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

h1, h2, h3 {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-block;
  color: var(--text-tertiary);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------------- Header & Navigation ---------------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(8, 12, 20, 0.88);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.nav-link {
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

/* ---------------- Buttons ---------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.button:hover {
  background: #ffffff;
  color: #000000;
}

.button-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

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

.button-small {
  padding: 6px 12px;
  font-size: 12.5px;
}

.button-subtle {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
}

.button-subtle:hover {
  color: var(--text-primary);
}

/* ---------------- Hero Section ---------------- */
.hero {
  padding: 88px 0 54px;
}

.hero-content {
  max-width: 820px;
}

.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5.4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-weight: 650;
  margin-bottom: 22px;
  overflow-wrap: break-word;
}

.hero h1 span.muted-text {
  color: var(--text-secondary);
  font-weight: 400;
}

.hero-copy {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------------- Product IDE Visualization ---------------- */
.product-showcase {
  margin-top: 48px;
}

.ide-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-code);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.ide-header {
  height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.ide-controls {
  display: flex;
  gap: 6px;
}

.ide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #252e3d;
}

.ide-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ide-disclaimer {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

/* Tabs */
.ide-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: #090d15;
  overflow-x: auto;
  scrollbar-width: none;
}

.ide-tabs::-webkit-scrollbar {
  display: none;
}

.ide-tab-btn {
  padding: 11px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-tertiary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.ide-tab-btn:hover {
  color: var(--text-secondary);
}

.ide-tab-btn.active {
  color: var(--text-primary);
  background: var(--surface-code);
  border-bottom-color: var(--accent-teal);
}

.tab-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
}

.ide-tab-btn.active .tab-num {
  color: var(--accent-teal);
}

/* Views */
.ide-panel {
  display: none;
  min-height: 400px;
}

.ide-panel.active {
  display: block;
}

.ide-split {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 400px;
}

.ide-sidebar {
  border-right: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  background: #090d15;
}

.sidebar-title {
  font-size: 10.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.sidebar-meta-text {
  font-size: 11.5px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.stat-add {
  color: var(--accent-teal);
  font-family: var(--font-mono);
  font-size: 11px;
}

.badge-warn {
  color: var(--accent-amber);
}

.badge-clean {
  color: var(--accent-teal);
}

.flow-desc {
  max-width: 620px;
}

.footer-brand-text {
  font-weight: 600;
  color: var(--text-primary);
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  margin-bottom: 4px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.sidebar-item.selected {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.ide-editor {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}

.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.editor-path {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.editor-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-tertiary);
}

/* Code & Lines */
.code-window {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: #cfd7e0;
  overflow-x: auto;
}

.code-row {
  display: flex;
}

.code-num {
  width: 32px;
  color: #354050;
  user-select: none;
  flex-shrink: 0;
  text-align: right;
  margin-right: 16px;
}

.code-text {
  flex: 1;
}

.code-kw { color: #79c0ff; }
.code-fn { color: #d2a8ff; }
.code-type { color: #7ee787; }
.code-str { color: #a5d6ff; }
.code-comment { color: #586674; font-style: italic; }

.diff-add {
  background: rgba(46, 196, 148, 0.08);
  color: #7ee787;
  display: block;
}

.diff-rem {
  background: rgba(235, 87, 87, 0.08);
  color: #f85149;
  display: block;
}

/* Verification list & Console */
.verify-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.verify-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.verify-symbol {
  font-family: var(--font-mono);
  font-weight: 600;
  flex-shrink: 0;
}

.symbol-ok { color: var(--accent-teal); }
.symbol-warn { color: var(--accent-amber); }

.console-output {
  margin-top: 14px;
  padding: 12px 14px;
  background: #04060a;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.console-output strong {
  color: var(--accent-amber);
}

.console-clean {
  color: var(--accent-teal);
}

.subtle-action-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* ---------------- Value Proposition Section ---------------- */
.section-transition {
  padding: 96px 0 80px;
  border-top: 1px solid var(--border-subtle);
}

.transition-content {
  max-width: 680px;
}

.transition-content h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.18;
}

.transition-content p {
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--text-secondary);
}

/* ---------------- Why PilotAI (Editorial Principles) ---------------- */
.section-principles {
  padding: 80px 0 48px;
  border-top: 1px solid var(--border-subtle);
}

.principles-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
}

.principles-header h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.principles-header p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.principles-list {
  display: flex;
  flex-direction: column;
}

.principle-entry {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.principle-entry:first-child {
  border-top: none;
  padding-top: 0;
}

.principle-entry:last-child {
  padding-bottom: 0;
}

.principle-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.principle-entry h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.principle-entry p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 620px;
}

/* ---------------- How It Works (Engineering Pipeline) ---------------- */
.section-flow {
  padding: 56px 0 72px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(14, 19, 29, 0.4);
}

.flow-header {
  margin-bottom: 44px;
}

.flow-header h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pipeline-step {
  border-top: 2px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}

.pipeline-step:hover {
  border-top-color: var(--accent-blue);
}

.pipeline-step:nth-child(3):hover,
.pipeline-step:nth-child(4):hover {
  border-top-color: var(--accent-teal);
}

.pipeline-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.pipeline-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.pipeline-step p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------------- Supervised Private Beta CTA & Form ---------------- */
.section-beta {
  padding: 88px 0 100px;
  border-top: 1px solid var(--border-subtle);
}

.beta-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: start;
}

.beta-lead {
  display: flex;
  flex-direction: column;
}

.beta-lead h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.beta-lead p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.beta-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.beta-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.meta-item-bullet {
  color: var(--text-tertiary);
  font-size: 14px;
}

.beta-secondary-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.secondary-contact-label {
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.direct-email {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.direct-email:hover {
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}

.beta-form-wrap {
  position: relative;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.required-mark {
  color: var(--teal);
  font-size: 12px;
}

.label-optional {
  font-size: 11.5px;
  color: var(--text-tertiary);
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #080c12;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13.5px;
  padding: 9px 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #425066;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2L6 6.5L10.5 2' stroke='%238391a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-group select option {
  background: #0e131d;
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(100, 149, 237, 0.15);
}

.form-hint {
  font-size: 11.5px;
  color: var(--text-tertiary);
  line-height: 1.35;
  margin-top: 1px;
}

.form-error {
  display: none;
  font-size: 11.5px;
  color: #eb5757;
  line-height: 1.3;
}

.field-has-error input,
.field-has-error select,
.field-has-error textarea {
  border-color: #eb5757;
}

.field-has-error .form-error {
  display: block;
}

.form-submit-row {
  margin-top: 4px;
}

.form-submit-row .button {
  width: 100%;
  justify-content: center;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.form-submit-row .button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.form-privacy-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-tertiary);
  text-align: center;
  margin: 0;
}

.form-general-error {
  padding: 10px 14px;
  background: rgba(235, 87, 87, 0.1);
  border: 1px solid rgba(235, 87, 87, 0.3);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 12.5px;
  line-height: 1.4;
}

/* Success State */
.form-status-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px;
  background: rgba(46, 196, 148, 0.04);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-md);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-status-success .status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-muted);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.form-status-success .status-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.form-status-success .status-copy {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------------- Minimal Footer ---------------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0 36px;
  background: var(--bg);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-copy {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------------- Legal Pages (Privacy / Terms) ---------------- */
.legal-page {
  padding: 64px 0 100px;
  max-width: 740px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 8px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-section h2 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-section p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.legal-section ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.legal-section li {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

.legal-callout {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(46, 196, 148, 0.04);
  border: 1px solid rgba(46, 196, 148, 0.2);
  margin: 8px 0;
}

.legal-callout p {
  margin: 0;
  font-size: 14px;
  color: #b8e6d5;
}

.link-accent {
  color: var(--accent-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-block {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--accent-teal);
  line-height: 1.8;
}

/* ---------------- Mobile Menu & Responsiveness ---------------- */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 6px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .principles-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pipeline-grid {
    grid-template-columns: 1fr 1fr;
  }
  .beta-panel {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .ide-split {
    grid-template-columns: 1fr;
  }
  .ide-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max-width), calc(100% - 32px));
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 16px;
  }
  .menu-toggle {
    display: flex;
  }
  .ide-header {
    padding: 8px 12px;
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ide-title {
    font-size: 11px;
  }
  .pipeline-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .button {
    width: 100%;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 28px;
  }
  .beta-panel {
    padding: 24px 18px;
  }
}

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