:root {
  --bg: #f4f2ee;
  --bg-sidebar: #f1eee8;
  --bg-card: #ffffff;
  --bg-soft: #f8f6f2;
  --bg-hover: #f0ede7;
  --border: #eeedea;
  --border-strong: #dedbd5;
  --text: #1a1a1a;
  --text-secondary: #5d5852;
  --text-muted: #6f6963;
  --text-label: #7a746e;
  --accent: #4a7c59;
  --accent-soft: #e4ece6;
  --warning-soft: #f6ece0;
  --shadow-soft: 0 12px 34px rgba(22, 18, 14, 0.07);
  --shadow-panel: 0 18px 60px rgba(22, 18, 14, 0.12);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'DM Mono', 'SFMono-Regular', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--sans);
  background:
    radial-gradient(circle at 16% 14%, rgba(228, 236, 230, 0.38), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(246, 236, 224, 0.34), transparent 18%),
    var(--bg-sidebar);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.2;
  z-index: -1;
}

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

button, input, textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

code {
  font-family: var(--mono);
}

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

main {
  position: relative;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(241, 238, 232, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222, 219, 213, 0.72);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.mark rect {
  opacity: 0.18;
  transform-origin: center;
  transform-box: fill-box;
  animation: buffer-wave 1.85s cubic-bezier(0.37, 0, 0.22, 1) infinite;
}

.mark .c1 { animation-delay: 0s; }
.mark .c2 { animation-delay: 0.12s; }
.mark .c3 { animation-delay: 0.24s; }
.mark .c4 { animation-delay: 0.12s; }
.mark .c5 { animation-delay: 0.24s; }
.mark .c6 { animation-delay: 0.36s; }
.mark .c7 { animation-delay: 0.24s; }
.mark .c8 { animation-delay: 0.36s; }
.mark .c9 { animation-delay: 0.48s; }

@keyframes buffer-wave {
  0%, 100% { opacity: 0.16; transform: scale(0.92); }
  40% { opacity: 1; transform: scale(1); }
  70% { opacity: 0.34; transform: scale(0.96); }
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(74, 124, 89, 0.18);
}

.nav-cta:hover {
  background: #416d4f;
}

.nav-cta-main {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.nav-cta-copy {
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero,
.problem-section,
.feature,
.local-callout,
.closer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  width: min(1200px, calc(100% - 40px));
  position: relative;
  min-height: calc(100vh - 77px);
  padding: 52px 0 88px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  justify-items: center;
}

.hero-copy {
  max-width: 860px;
  padding-top: 0;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(74, 124, 89, 0.14);
  background: rgba(228, 236, 230, 0.72);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-inverse {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  margin-top: 18px;
  max-width: 10.5ch;
  font-size: clamp(48px, 5.35vw, 68px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-inline: auto;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero p,
.problem-copy p,
.feature-copy p,
.local-copy p,
.closer-card p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.65;
}

.hero p {
  margin-top: 20px;
  max-width: 42rem;
  line-height: 1.72;
  margin-inline: auto;
}

.hero p strong {
  color: var(--text);
  font-weight: 700;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
  justify-content: center;
}

.btn-p,
.btn-g,
.btn-cmd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-p {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(74, 124, 89, 0.17);
}

.btn-p:hover,
.btn-p:focus-visible {
  background: #416d4f;
  transform: translateY(-1px);
}

.btn-g {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-secondary);
}

.btn-g:hover,
.btn-g:focus-visible {
  border-color: rgba(74, 124, 89, 0.3);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-cmd {
  gap: 12px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(74, 124, 89, 0.18);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(74, 124, 89, 0.17);
}

.btn-cmd:hover,
.btn-cmd:focus-visible {
  background: #416d4f;
  transform: translateY(-1px);
}

.cmd-main {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.cmd-copy {
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-p-inverse {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.btn-p-inverse:hover,
.btn-p-inverse:focus-visible {
  background: #f6f8f6;
}

.btn-g-inverse {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
}

.btn-g-inverse:hover,
.btn-g-inverse:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-cmd-inverse {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.btn-cmd-inverse:hover,
.btn-cmd-inverse:focus-visible {
  background: #f6f8f6;
}

.btn-cmd-inverse .cmd-copy {
  background: rgba(74, 124, 89, 0.08);
  border-color: rgba(74, 124, 89, 0.12);
}

.local-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.local-badges span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(222, 219, 213, 0.9);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.hero-details {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  list-style: none;
  justify-content: center;
}

.hero-details li,
.feature-note,
.stack-note-title,
.local-stage-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-details li {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  justify-self: center;
}

.hero-details li::before,
.feature-note::before,
.stack-note-title::before,
.local-stage-kicker::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 1px;
  flex-shrink: 0;
  background: var(--accent);
  box-shadow:
    6px 0 0 rgba(74, 124, 89, 0.75),
    12px 0 0 rgba(74, 124, 89, 0.55),
    0 6px 0 rgba(74, 124, 89, 0.75),
    6px 6px 0 rgba(74, 124, 89, 0.55),
    12px 6px 0 rgba(74, 124, 89, 0.35);
  margin-right: 10px;
}

.hero-preview {
  position: relative;
  width: 100%;
  max-width: 760px;
  justify-self: center;
  min-height: 0;
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-orb-a {
  top: 72px;
  right: 14%;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(228, 236, 230, 0.94) 0%, rgba(228, 236, 230, 0.12) 70%, transparent 100%);
}

.hero-orb-b {
  top: 240px;
  left: 42%;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(246, 236, 224, 0.9) 0%, rgba(246, 236, 224, 0.1) 70%, transparent 100%);
}

.preview-shell {
  width: min(100%, 760px);
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(222, 219, 213, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.94));
  box-shadow:
    0 18px 60px rgba(22, 18, 14, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

.hero-details-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 26px;
  max-width: 1040px;
  margin-top: 10px;
}

.hero-details-inline li {
  justify-self: auto;
  padding: 0;
  white-space: nowrap;
}

.hero-demo-shell {
  box-shadow:
    0 18px 60px rgba(22, 18, 14, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(238, 237, 234, 0.92);
  background: linear-gradient(180deg, rgba(248, 246, 242, 0.95), rgba(255, 255, 255, 0.96));
}

.preview-dots {
  display: inline-flex;
  gap: 6px;
}

.preview-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(122, 116, 110, 0.35);
}

.preview-label {
  color: var(--text-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-demo-stage {
  position: relative;
  aspect-ratio: 1.75 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 24%, rgba(228, 236, 230, 0.72), transparent 28%),
    radial-gradient(circle at 80% 74%, rgba(246, 236, 224, 0.74), transparent 26%),
    linear-gradient(180deg, rgba(244, 242, 238, 0.98), rgba(248, 246, 242, 0.96));
}

.hero-demo-flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0) 72%);
  opacity: 0;
  transform: translateX(-120%);
  animation: hero-flash 7.2s ease-in-out infinite;
  pointer-events: none;
}

.hero-terminal {
  position: absolute;
  inset: 13% 11% 17%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.16);
  background:
    linear-gradient(180deg, rgba(26, 28, 34, 0.98), rgba(17, 18, 22, 0.98));
  box-shadow: 0 30px 60px rgba(17, 18, 22, 0.24);
  transform-origin: center;
  animation: hero-terminal-exit 7.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.hero-terminal-top {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hero-terminal-title {
  color: rgba(239, 237, 232, 0.62);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-terminal-body {
  display: grid;
  gap: 12px;
  padding: 28px 28px 30px;
  color: #eef3ec;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
}

.hero-terminal-command {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  color: #fff6e8;
}

.hero-terminal-prompt {
  color: #89c198;
}

.hero-terminal-typed {
  display: inline-block;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f8f2e6;
  animation: hero-type-command 7.2s steps(15, end) infinite;
}

.hero-terminal-cursor {
  width: 8px;
  height: 19px;
  border-radius: 1px;
  background: #89c198;
  animation: hero-cursor-blink 0.9s steps(1, end) infinite;
}

.hero-terminal-line {
  opacity: 0;
  color: rgba(194, 217, 200, 0.78);
  transform: translateY(6px);
}

.hero-terminal-line-one {
  animation: hero-terminal-line-one 7.2s ease infinite;
}

.hero-terminal-line-two {
  animation: hero-terminal-line-two 7.2s ease infinite;
}

.hero-product-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  filter: blur(10px) saturate(0.92);
  clip-path: inset(14% 14% 16% 14% round 22px);
  animation: hero-product-enter 7.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.hero-product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes hero-type-command {
  0%, 8% { width: 0; }
  28%, 100% { width: 15ch; }
}

@keyframes hero-terminal-line-one {
  0%, 26% { opacity: 0; transform: translateY(6px); }
  32%, 58% { opacity: 1; transform: translateY(0); }
  66%, 100% { opacity: 0; transform: translateY(0); }
}

@keyframes hero-terminal-line-two {
  0%, 34% { opacity: 0; transform: translateY(6px); }
  40%, 58% { opacity: 1; transform: translateY(0); }
  66%, 100% { opacity: 0; transform: translateY(0); }
}

@keyframes hero-terminal-exit {
  0%, 42% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  55%, 100% {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
    filter: blur(10px);
  }
}

@keyframes hero-product-enter {
  0%, 36% {
    opacity: 0;
    transform: scale(1.035);
    filter: blur(10px) saturate(0.92);
    clip-path: inset(14% 14% 16% 14% round 22px);
  }
  54%, 82% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) saturate(1);
    clip-path: inset(0 0 0 0 round 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.01);
    filter: blur(0) saturate(1);
    clip-path: inset(0 0 0 0 round 0);
  }
}

@keyframes hero-flash {
  0%, 38% {
    opacity: 0;
    transform: translateX(-120%);
  }
  46% {
    opacity: 0.92;
    transform: translateX(0);
  }
  56%, 100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes hero-cursor-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.problem-section {
  margin-top: 8px;
}

.problem-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
  gap: 34px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(222, 219, 213, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 246, 242, 0.9)),
    var(--bg-card);
  box-shadow: var(--shadow-soft);
}

.problem-copy h2,
.feature-copy h2,
.local-copy h2,
.closer-card h2 {
  margin-top: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.problem-copy p,
.feature-copy p,
.local-copy p,
.closer-card p {
  margin-top: 14px;
}

.problem-visual {
  position: relative;
  min-height: 180px;
  transform: translate3d(0, -16px, 0);
  will-change: transform;
}

.stack-note {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 16%, rgba(228, 236, 230, 0.62), transparent 34%),
    linear-gradient(180deg, rgba(237, 243, 238, 0.84), rgba(241, 238, 232, 0.92));
  border: 1px solid rgba(136, 167, 143, 0.22);
  box-shadow: 0 18px 40px rgba(22, 18, 14, 0.06);
  will-change: transform;
  animation: card-breathe 7.2s ease-in-out infinite;
}

.stack-note-title,
.local-stage-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-label);
}

.problem-card .stack-note-title {
  color: rgba(74, 124, 89, 0.86);
}

.files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.files span {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(222, 219, 213, 0.9);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 12px;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.files .x {
  text-decoration: line-through;
  opacity: 0.5;
}

.files .hi {
  background: rgba(228, 236, 230, 0.92);
  border-color: rgba(74, 124, 89, 0.18);
  color: var(--accent);
  font-weight: 600;
}

.problem-card:hover .files span {
  transform: translate3d(0, -1px, 0);
}

.problem-card:hover .files .hi {
  background: rgba(228, 236, 230, 0.98);
  border-color: rgba(74, 124, 89, 0.28);
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: 68px;
  align-items: center;
  padding: 106px 0;
}

.feature-alt {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
}

.feature-alt .feature-copy {
  order: 2;
}

.feature-alt .feature-visual {
  order: 1;
}

.feature-copy {
  max-width: 470px;
}

.feature-copy code,
.local-copy code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(241, 238, 232, 0.88);
  border: 1px solid rgba(222, 219, 213, 0.94);
  color: var(--text);
  font-size: 14px;
}

.feature-visual {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  will-change: transform;
}

.app-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(222, 219, 213, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-panel);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-frame img {
  width: 100%;
  height: auto;
}

.feature-media {
  aspect-ratio: 16 / 9;
  min-height: 340px;
  background:
    radial-gradient(circle at 18% 20%, rgba(228, 236, 230, 0.42), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.95));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.feature-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-frame.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature:hover .feature-media,
.feature:focus-within .feature-media {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 24px 72px rgba(22, 18, 14, 0.14);
}

.feature-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(222, 219, 213, 0.9);
  color: var(--text-label);
  box-shadow: var(--shadow-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.local-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  margin-top: 10px;
  padding: 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 22%, rgba(228, 236, 230, 0.9), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 246, 242, 0.95));
  border: 1px solid rgba(222, 219, 213, 0.92);
  box-shadow: var(--shadow-soft);
}

.local-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(222, 219, 213, 0.92);
  background:
    radial-gradient(circle at 18% 16%, rgba(228, 236, 230, 0.78), transparent 30%),
    radial-gradient(circle at 82% 86%, rgba(246, 236, 224, 0.72), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(241, 238, 232, 0.92));
}

.local-stage::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(74, 124, 89, 0.12);
  pointer-events: none;
}

.local-stage-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(222, 219, 213, 0.96);
  box-shadow: var(--shadow-panel);
}

.local-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.local-stage-state {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(228, 236, 230, 0.82);
  border: 1px solid rgba(74, 124, 89, 0.14);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.local-stage-shell {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0.98), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(222, 219, 213, 0.94);
  box-shadow: 0 10px 24px rgba(22, 18, 14, 0.08);
  animation: float-card 7.5s ease-in-out infinite;
}

.local-stage-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.local-stage-mark {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.local-stage-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.local-stage-mark rect {
  opacity: 0.18;
}

.local-stage-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.local-stage-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(222, 219, 213, 0.9);
}

.local-stage-command code {
  color: var(--text);
  font-size: 14px;
}

.local-stage-command span {
  color: var(--text-label);
  font-size: 12px;
  font-weight: 500;
}

.local-stage-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.line {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(222, 219, 213, 0.7);
}

.line-accent {
  background: rgba(74, 124, 89, 0.18);
}

.line-soft {
  background: rgba(246, 236, 224, 0.88);
}

.line-long {
  width: 100%;
}

.line-mid {
  width: 78%;
}

.line-short {
  width: 56%;
}

.local-stage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.local-stage-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(222, 219, 213, 0.9);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.closer {
  position: relative;
  padding: 122px 0 96px;
}

.closer-card {
  position: relative;
  overflow: hidden;
  padding: 52px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.1), transparent 26%),
    linear-gradient(145deg, #476f54 0%, #3d654b 54%, #355944 100%);
  color: #fff;
  box-shadow: 0 22px 80px rgba(33, 54, 40, 0.26);
}

.closer-card p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.8);
}

.closer-card h2 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.82);
}

.closer-card .hero-btns {
  margin-top: 28px;
}

footer {
  padding: 0 20px 34px;
  color: var(--text-muted);
  text-align: center;
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes card-breathe {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

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

[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

button:focus-visible,
a:focus-visible,
code:focus-visible {
  outline: 2px solid rgba(74, 124, 89, 0.9);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero-inner,
  .feature,
  .feature-alt,
  .local-callout,
  .problem-card {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    max-width: 100%;
    justify-self: center;
    min-height: 460px;
    padding-top: 0;
  }

  .hero-media-shell {
    width: min(100%, 760px);
  }

  .hero-terminal {
    inset: 10% 7% 14%;
  }

  .hero-terminal-body {
    padding: 22px 20px 24px;
    font-size: 13px;
  }

  .hero-terminal-command {
    gap: 8px;
  }

  .problem-visual {
    transform: translate3d(0, 0, 0);
  }

  .feature {
    gap: 34px;
    padding: 80px 0;
  }

  .feature-alt .feature-copy,
  .feature-alt .feature-visual {
    order: initial;
  }

  .feature-copy,
  .hero-copy,
  .problem-copy,
  .local-copy {
    max-width: 100%;
  }

  .problem-card,
  .local-callout {
    padding: 32px;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 14px 18px;
  }

  .nav-r {
    gap: 12px;
  }

  .nav-r a:first-child {
    display: none;
  }

  .hero,
  .problem-section,
  .feature,
  .local-callout,
  .closer {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 88px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 0.98;
    max-width: none;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero p,
  .problem-copy p,
  .feature-copy p,
  .local-copy p,
  .closer-card p {
    font-size: 16px;
  }

  .hero p {
    margin-top: 24px;
    line-height: 1.68;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    margin-top: 30px;
  }

  .hero-inner {
    gap: 24px;
  }

  .nav-cta {
    width: auto;
    padding-inline: 12px 8px;
  }

  .nav-cta-main {
    font-size: 12px;
  }

  .nav-cta-copy {
    padding: 6px 8px;
  }

  .hero-details-inline {
    display: grid;
    gap: 12px;
    margin-top: 18px;
  }

  .hero-details-inline li {
    justify-self: center;
    white-space: normal;
  }

  .term {
    width: 100%;
    justify-content: space-between;
  }

  .feature-note {
    font-size: 10px;
  }

  .problem-card,
  .local-callout,
  .closer-card {
    padding: 24px;
  }

  .feature-note {
    position: static;
    margin-top: 14px;
    width: fit-content;
  }

  .feature-media {
    min-height: 220px;
  }

  .local-stage {
    min-height: 290px;
  }

  .local-stage-panel {
    width: 100%;
  }

  .local-stage-command {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .closer {
    padding-top: 88px;
    padding-bottom: 60px;
  }
}

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

  .mark rect,
  .local-stage-shell,
  .hero-demo-flash,
  .hero-terminal,
  .hero-terminal-typed,
  .hero-terminal-line-one,
  .hero-terminal-line-two,
  .hero-product-shot,
  .hero-terminal-cursor,
  .stack-note {
    animation: none;
  }

  [data-parallax],
  .feature:hover .feature-media,
  .feature:focus-within .feature-media,
  .problem-card:hover .files span {
    transform: none;
  }

  .hero-terminal {
    opacity: 0;
  }

  .hero-product-shot {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: inset(0 0 0 0 round 0);
  }

  .reveal,
  .app-frame {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
