:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --sidebar: #f7f7f5;
  --text: #37352f;
  --muted: rgba(55, 53, 47, 0.65);
  --faint: rgba(55, 53, 47, 0.45);
  --line: rgba(55, 53, 47, 0.11);
  --line-soft: rgba(55, 53, 47, 0.07);
  --hover: rgba(55, 53, 47, 0.055);
  --green: #62c871;
  --green-text: #2c7a3a;
  --green-tint: #ecf8ee;
  --orange: #ef6b2e;
  --orange-tint: #fff0e8;
  --yellow-text: #7a5518;
  --yellow-tint: #fdf4e3;
  --ink: #1f1f1f;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --r: 8px;
  --r-lg: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 760;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--green);
  box-shadow: inset 0 0 0 4px var(--surface);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.nav-cta {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--text);
  background: var(--surface);
  font-weight: 680;
}

.nav-cta:hover {
  border-color: rgba(55, 53, 47, 0.22);
  background: var(--hover);
}

.hero {
  max-width: var(--max);
  min-height: calc(100vh - 56px);
  margin: 0 auto;
  padding: 72px 24px 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-text);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 760;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  font-weight: 720;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 680;
}

.lede,
.copy-panel p,
.workspace-card p,
.dev-notes li {
  color: var(--muted);
}

.lede {
  max-width: 610px;
  margin-bottom: 24px;
  font-size: 19px;
  line-height: 1.48;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--green-text);
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 680;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--green-text);
}

.button.primary:hover {
  background: #256633;
}

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

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

.status-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.status-pill {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}

.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}

.status-pill.shipping .dot {
  background: var(--green);
}

.status-pill.planned .dot,
.status-pill.preview .dot {
  background: var(--orange);
}

.hero-media,
.product-frame {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(55, 53, 47, 0.08);
}

.hero-media {
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

.hero-media img {
  border-radius: var(--r-lg);
}

.media-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  color: var(--muted);
  font-size: 12px;
}

.media-note strong {
  color: var(--text);
  font-weight: 700;
}

.media-note span:first-child {
  color: var(--orange);
  font-weight: 760;
}

.metric-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.metric-band div {
  min-height: 118px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.metric-band div:first-child {
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}

.metric-band div:last-child {
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}

.metric-band span {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
}

.metric-band strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  font-weight: 760;
}

.metric-band p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 42px;
  align-items: center;
}

.split.flip {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.copy-panel {
  min-width: 0;
}

.spec-list {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--green-text);
  font-weight: 760;
}

.spec-list dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

.workspace-card {
  min-height: 230px;
  padding: 20px;
  border-left: 1px solid var(--line);
}

.workspace-card:first-child {
  border-left: 0;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 46px;
}

.card-index {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.tag.green {
  color: var(--green-text);
  background: var(--green-tint);
}

.tag.yellow {
  color: var(--yellow-text);
  background: var(--yellow-tint);
}

.route-list {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

.route-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 82px;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
}

.route-list div:first-child {
  border-top: 0;
}

.route-list strong {
  color: var(--ink);
  font-size: 14px;
}

.route-list span {
  color: var(--muted);
  min-width: 0;
}

.route-list em {
  justify-self: end;
  color: var(--faint);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.developer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 22px;
}

.code-block {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #f2f2ef;
}

.code-block pre {
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  color: #282722;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
}

.copy-btn {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover {
  color: var(--text);
  border-color: rgba(55, 53, 47, 0.22);
}

.dev-notes {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.dev-notes ul {
  margin: 12px 0 18px;
  padding-left: 18px;
}

.dev-notes li + li {
  margin-top: 8px;
}

.closing {
  max-width: 920px;
  margin: 0 auto;
  padding: 68px 24px 72px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.closing h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

.footer span:first-child,
.footer a {
  color: var(--text);
  font-weight: 760;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .split.flip,
  .developer-grid {
    grid-template-columns: 1fr;
  }

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

  .workspace-grid,
  .metric-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace-card:nth-child(odd) {
    border-left: 0;
  }

  .workspace-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .metric-band div:first-child,
  .metric-band div:last-child {
    border-radius: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    padding: 0 16px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 34px;
  }

  .lede {
    font-size: 17px;
  }

  .hero,
  .section,
  .closing {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions .button,
  .inline-actions .button {
    width: 100%;
  }

  .media-note {
    position: static;
    margin-top: 8px;
    grid-template-columns: 1fr;
  }

  .metric-band {
    padding: 0 16px 44px;
    grid-template-columns: 1fr;
  }

  .metric-band div {
    min-height: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .workspace-card,
  .workspace-card:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .workspace-card:first-child {
    border-top: 0;
  }

  .card-top {
    margin-bottom: 30px;
  }

  .spec-list div,
  .route-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .route-list em {
    justify-self: start;
  }

  .code-block pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .footer {
    display: grid;
    padding: 22px 16px;
  }
}
