:root {
  --bg: #07111f;
  --bg-soft: #0c1729;
  --panel: rgba(9, 18, 33, 0.72);
  --panel-strong: rgba(10, 20, 38, 0.9);
  --border: rgba(157, 180, 214, 0.14);
  --border-strong: rgba(157, 180, 214, 0.24);
  --text: #eff6ff;
  --text-soft: rgba(239, 246, 255, 0.78);
  --text-faint: rgba(239, 246, 255, 0.5);
  --accent: #60a5fa;
  --accent-2: #8b5cf6;
  --accent-3: #22d3ee;
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #f43f5e;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --max-width: 1180px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(96, 165, 250, 0.08), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #081221 36%, #060d19 100%);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
  touch-action: none;
}

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

button,
a {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

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

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 22%, transparent 90%);
  pointer-events: none;
  opacity: 0.22;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(rgba(255,255,255,0.7) 0.5px, transparent 0.5px);
  background-size: 10px 10px;
  mix-blend-mode: soft-light;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.bg-orb-1 {
  width: 420px;
  height: 420px;
  top: 90px;
  left: -120px;
  background: rgba(96, 165, 250, 0.17);
}

.bg-orb-2 {
  width: 420px;
  height: 420px;
  top: 220px;
  right: -80px;
  background: rgba(139, 92, 246, 0.16);
}

.bg-orb-3 {
  width: 360px;
  height: 360px;
  bottom: 80px;
  left: 20%;
  background: rgba(34, 211, 238, 0.1);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: rgba(6, 13, 25, 0.96);
  backdrop-filter: blur(18px);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-box {
  width: min(420px, calc(100% - 40px));
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(12, 23, 41, 0.92), rgba(8, 16, 29, 0.96));
  box-shadow: var(--shadow);
}

.loader-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.24), rgba(139, 92, 246, 0.28));
  border: 1px solid rgba(255,255,255,0.08);
}

.loader-text {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.loader-text strong {
  font-size: 22px;
}

.loader-text span {
  color: var(--text-soft);
}

.loader-bar {
  margin-top: 22px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  transition: width 0.16s linear;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  z-index: 999;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(7, 17, 31, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(139, 92, 246, 0.28));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 30px rgba(16, 24, 40, 0.28);
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 15px;
}

.brand-text small {
  font-size: 12px;
  color: var(--text-faint);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.nav a {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 999px;
  color: var(--text-soft);
}

.nav a.is-active,
.nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  box-shadow: 0 16px 35px rgba(59, 130, 246, 0.22);
}

.button-secondary {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

.button-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.12);
}

.section {
  position: relative;
  padding: 96px 0;
}

.first-section {
  padding-top: 48px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.hero-copy {
  padding: 44px 0 0;
}

.eyebrow,
.small-label,
.project-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

.eyebrow::before,
.small-label::before,
.project-meta::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.page-title,
.section-heading h2,
.cta-panel h2 {
  margin: 20px 0 0;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(42px, 6.8vw, 78px);
}

.page-title,
.section-heading h2,
.cta-panel h2 {
  font-size: clamp(32px, 4.5vw, 56px);
}

.contact-highlight h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.02;
  margin: 16px 0 0;
  letter-spacing: -0.04em;
}

.gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, #dbeafe 0%, #93c5fd 32%, #a78bfa 68%, #67e8f9 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #dbeafe;
  animation: gradientShift 7s linear infinite;
}
.hero-text,
.section-heading p,
.project-card p,
.feature-card p,
.compact-card p,
.status-card p,
.cta-panel p,
.reason-card p {
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.action-row,
.cta-actions,
.hero-metrics,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.hero-metrics {
  margin-top: 34px;
}

.metric-card,
.glass-card,
.feature-card,
.project-card,
.faq-item {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(12, 23, 41, 0.72), rgba(8, 16, 29, 0.88));
  box-shadow: var(--shadow);
}

.metric-card,
.feature-card,
.project-card,
.glass-card,
.terminal-card,
.cta-panel,
.faq-item {
  border-radius: var(--radius-lg);
}

.metric-card {
  min-width: 180px;
  padding: 18px 18px 20px;
}

.metric-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--text-faint);
  font-size: 14px;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.terminal-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(8, 13, 24, 0.92);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.terminal-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.terminal-head span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.terminal-body {
  padding: 20px 18px 22px;
  display: grid;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #dbeafe;
}

.mono-accent {
  color: #93c5fd;
}

.mono-muted {
  color: #64748b;
}

.status-card,
.compact-card,
.feature-card,
.project-card,
.cta-panel,
.reason-card {
  padding: 28px;
}

.card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-top-row h3,
.feature-card h3,
.project-card h3,
.compact-card h3,
.status-card h3,
.reason-card h3 {
  margin: 10px 0 0;
  font-size: 26px;
  line-height: 1.14;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
  font-size: 13px;
}

.chip-row {
  margin-top: 22px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.status-up {
  color: var(--ok);
  background: rgba(34, 197, 94, 0.08);
}

.status-down {
  color: var(--danger);
  background: rgba(244, 63, 94, 0.08);
}

.status-unknown {
  color: var(--warn);
  background: rgba(245, 158, 11, 0.08);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading.narrow {
  max-width: 760px;
}

.cards-grid {
  display: grid;
  gap: 20px;
}

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

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

.feature-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.22));
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 800;
  color: #dbeafe;
}

.feature-card h3,
.project-card h3,
.compact-card h3 {
  margin-top: 18px;
}

.section-contrast {
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stacked-cards {
  display: grid;
  gap: 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  line-height: 1.6;
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #93c5fd;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  font-size: 18px;
  font-weight: 600;
}

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

.faq-item p {
  margin: 0;
  padding: 0 28px 24px;
  color: var(--text-soft);
  line-height: 1.7;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  padding: 28px 0 50px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-inner p {
  margin: 8px 0 0;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.section-tracker {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 90;
  display: grid;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(8, 16, 29, 0.68);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.tracker-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 34px;
  color: var(--text-faint);
}

.tracker-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.12);
  flex: 0 0 auto;
}

.tracker-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: max-width 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
  font-size: 13px;
}

.tracker-link:hover .tracker-label,
.tracker-link.is-active .tracker-label {
  max-width: 160px;
  opacity: 1;
  transform: translateX(0);
}

.tracker-link.is-active {
  color: var(--text);
}

.tracker-link.is-active .tracker-dot {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.45);
}

.tracker-link-contact {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.reason-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 0.9fr;
  gap: 20px;
}

.reason-card-accent,
.contact-highlight {
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 35%),
    radial-gradient(circle at left center, rgba(96, 165, 250, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(13, 24, 44, 0.92), rgba(8, 16, 29, 0.94));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}

.contact-section {
  padding-top: 88px;
}

.contact-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 28px;
  margin-bottom: 28px;
}

.contact-highlight p {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.72;
}

.contact-highlight-actions {
  display: grid;
  gap: 12px;
}

.contact-grid .button {
  width: auto;
}

section[id],
main[id] {
  scroll-margin-top: 112px;
}

.hero-title {
  overflow: visible;
}

.title-line {
  display: block;
}

.title-line-1,
.title-line-2 {
  opacity: 0;
  transform: translateY(24px);
  animation: titleReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.title-line-2 {
  animation-delay: 0.18s;
}

.hero-note {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.72;
}

.reveal-inline {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.4s;
}

.animated-card {
  position: relative;
  overflow: hidden;
  animation: floatCard 5.8s ease-in-out infinite;
}

.animated-card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -30%;
  width: 58%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: rotate(18deg);
  animation: cardShine 7.2s linear infinite;
  pointer-events: none;
}

.animated-card-delay-1 {
  animation-delay: 0.8s;
}

.animated-card-delay-2 {
  animation-delay: 1.6s;
}

.eyebrow,
.small-label,
.project-meta {
  position: relative;
}

.eyebrow {
  animation: fadeInUp 0.7s ease forwards;
}



.status-card,
.feature-card,
.project-card,
.reason-card,
.compact-card,
.faq-item,
.contact-highlight {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.status-card:hover,
.feature-card:hover,
.project-card:hover,
.reason-card:hover,
.compact-card:hover,
.faq-item:hover,
.contact-highlight:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 180, 214, 0.32);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.contact-highlight {
  position: relative;
  overflow: hidden;
}

.contact-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.08), transparent 24%);
  pointer-events: none;
}

.faq-item[open] {
  border-color: rgba(96, 165, 250, 0.24);
}

.faq-item summary {
  position: relative;
  padding-right: 56px;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  font-size: 26px;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--text);
}

.feature-card,
.project-card,
.reason-card,
.compact-card,
.status-card,
.contact-highlight,
.metric-card {
  position: relative;
  isolation: isolate;
}

.feature-card::before,
.project-card::before,
.reason-card::before,
.compact-card::before,
.status-card::before,
.contact-highlight::after,
.metric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(96, 165, 250, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: -1;
}

.feature-card:hover::before,
.project-card:hover::before,
.reason-card:hover::before,
.compact-card:hover::before,
.status-card:hover::before,
.contact-highlight:hover::after,
.metric-card:hover::before {
  opacity: 1;
}

.parallax-card {
  will-change: transform;
  transition: transform 0.16s ease;
}

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

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

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes cardShine {
  0% {
    transform: translateX(-140%) rotate(18deg);
  }
  100% {
    transform: translateX(280%) rotate(18deg);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .cards-grid-3,
  .reason-grid,
  .contact-highlight {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .cta-panel,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-tracker {
    right: 12px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .section-tracker {
    display: none;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .first-section {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 56px);
  }

  .page-title,
  .section-heading h2,
  .cta-panel h2 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .hero-text,
  .section-heading p,
  .project-card p,
  .feature-card p,
  .compact-card p,
  .status-card p,
  .cta-panel p,
  .reason-card p {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .contact-highlight {
    padding: 24px;
    border-radius: 22px;
  }

  .nav a {
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .metric-card,
  .feature-card,
  .project-card,
  .compact-card,
  .status-card,
  .cta-panel,
  .reason-card {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }
}


.hero-title {
  text-wrap: balance;
}

.hero-text,
.hero-note {
  max-width: 62ch;
}

.hero-metrics > * {
  flex: 1 1 180px;
}

.metric-card {
  min-height: 112px;
}

.button {
  text-align: center;
}

@media (max-width: 900px) {
  .hero-grid {
    gap: 22px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero-panel {
    order: 2;
  }
}

@media (max-width: 820px) {
  .brand-text small {
    font-size: 11px;
  }

  .nav {
    gap: 6px;
    padding: 6px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 10vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .title-line-2 {
    margin-top: 6px;
  }

  .hero-text {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-note {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-metrics {
    gap: 12px;
  }

  .metric-card {
    min-width: 0;
    flex: 1 1 calc(50% - 12px);
  }

  .terminal-body {
    font-size: 12px;
    overflow-x: auto;
  }

  .card-top-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .contact-highlight-actions .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .brand-text small {
    line-height: 1.35;
  }

  .section {
    padding: 64px 0;
  }

  .first-section {
    padding-top: 18px;
  }

  .eyebrow,
  .small-label,
  .project-meta {
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .eyebrow::before,
  .small-label::before,
  .project-meta::before {
    width: 16px;
  }

  .hero h1 {
    font-size: clamp(28px, 11vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  .title-line-2 {
    margin-top: 4px;
  }

  .hero-text,
  .section-heading p,
  .project-card p,
  .feature-card p,
  .compact-card p,
  .status-card p,
  .cta-panel p,
  .reason-card p,
  .hero-note,
  .contact-highlight p,
  .faq-item p {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-actions,
  .cta-actions,
  .hero-metrics,
  .chip-row {
    gap: 10px;
  }

  .metric-card {
    flex-basis: 100%;
    min-height: 0;
    padding: 18px;
  }

  .metric-value {
    font-size: 24px;
  }

  .status-card,
  .feature-card,
  .project-card,
  .compact-card,
  .cta-panel,
  .reason-card,
  .contact-highlight,
  .faq-item summary,
  .faq-item p {
    border-radius: 20px;
  }

  .status-card,
  .feature-card,
  .project-card,
  .compact-card,
  .cta-panel,
  .reason-card,
  .contact-highlight {
    padding: 20px;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .card-top-row h3,
  .feature-card h3,
  .project-card h3,
  .compact-card h3,
  .status-card h3,
  .reason-card h3 {
    font-size: 22px;
    line-height: 1.16;
  }

  .faq-item summary {
    padding: 20px 20px;
    font-size: 16px;
  }

  .faq-item p {
    padding: 0 20px 20px;
  }

  .footer-inner,
  .footer-links {
    gap: 14px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .title-line-1,
  .title-line-2,
  .reveal-inline,
  .animated-card,
  .animated-card::after,
  .gradient-text,
  .eyebrow,
  .parallax-card {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
