:root {
  color-scheme: light;
  --ink: #111814;
  --muted: #5b655e;
  --paper: #f7f5ee;
  --panel: #fffdf7;
  --line: #d8ddd5;
  --night: #111814;
  --night-2: #1a2420;
  --green: #255c42;
  --green-2: #8fb89d;
  --blue: #4e7180;
  --copper: #a7653f;
  --cream: #fff7e8;
  --shadow: 0 24px 70px rgba(17, 24, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-header {
  --header-bg: rgba(17, 24, 20, 0.78);
  --header-line: rgba(255, 247, 232, 0.12);
  --header-text: var(--cream);
  --header-muted: rgba(255, 247, 232, 0.76);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 15px clamp(18px, 4vw, 56px);
  color: var(--header-text);
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(18px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header[data-theme="light"] {
  --header-bg: rgba(247, 245, 238, 0.88);
  --header-line: rgba(17, 24, 20, 0.12);
  --header-text: var(--ink);
  --header-muted: rgba(17, 24, 20, 0.68);
  box-shadow: 0 14px 42px rgba(17, 24, 20, 0.08);
}

.site-header[data-theme="dark"] {
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: var(--header-muted);
  font-size: 0.95rem;
}

.site-nav a {
  padding-block: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--header-text);
}

.hero {
  position: relative;
  min-height: 58svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 88px clamp(20px, 5vw, 72px) 40px;
  background: var(--night);
  color: var(--cream);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 20, 0.96) 0%, rgba(17, 24, 20, 0.84) 40%, rgba(17, 24, 20, 0.5) 100%);
  pointer-events: none;
}

.system-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.surface-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 247, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 247, 232, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}

.surface-panel {
  position: absolute;
  border: 1px solid rgba(255, 247, 232, 0.14);
  border-radius: 8px;
  background: rgba(24, 34, 30, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.command-panel {
  right: clamp(20px, 6vw, 110px);
  top: 120px;
  width: min(520px, 44vw);
  padding: 18px;
}

.panel-topline {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.panel-topline span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 247, 232, 0.32);
}

.command-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 50px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 247, 232, 0.1);
  color: rgba(255, 247, 232, 0.72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
}

.command-row.active {
  color: var(--cream);
  background: rgba(143, 184, 157, 0.08);
}

.command-row strong {
  color: var(--green-2);
  font-size: 0.76rem;
  font-weight: 800;
}

.signal-panel {
  right: 12vw;
  top: 52%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  min-width: 360px;
  overflow: hidden;
}

.signal-panel div {
  padding: 18px;
  background: rgba(255, 247, 232, 0.06);
}

.metric-label {
  display: block;
  color: rgba(255, 247, 232, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
}

.signal-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--cream);
  font-size: 2rem;
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dca678;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.8rem, 10vw, 8.5rem);
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
}

h3 {
  font-size: 1.05rem;
}

.hero-copy {
  width: min(720px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 247, 232, 0.78);
  font-size: clamp(1.12rem, 2.1vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.product-card {
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.2;
}

.button.primary {
  background: var(--cream);
  color: var(--night);
}

.button.secondary {
  border-color: rgba(255, 247, 232, 0.28);
  color: var(--cream);
}

.external-icon {
  display: block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.button:focus-visible,
.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-1px);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.exploration-layout {
  display: grid;
  gap: 20px;
}

.idea-number {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.product-copy p,
.idea-card p,
.product-card span {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.product-section {
  background: var(--paper);
  color: var(--ink);
}

.product-copy p {
  color: var(--muted);
}

.product-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(143, 184, 157, 0.18), rgba(78, 113, 128, 0.09)),
    var(--panel);
  box-shadow: var(--shadow);
}

.product-card strong {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.section-heading {
  position: sticky;
  top: 104px;
}

.exploration-section .section-heading {
  position: static;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.idea-grid {
  display: grid;
  gap: 12px;
  width: 100%;
}

.idea-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.idea-card:first-child {
  border-top: 1px solid var(--line);
}

.idea-title-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.idea-link-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.idea-card a:hover,
.idea-card a:focus-visible {
  color: var(--green-2);
}

.exploration-section {
  background: var(--night-2);
  color: var(--cream);
}

.exploration-section .eyebrow {
  color: #dca678;
}

.exploration-section .idea-card p {
  color: rgba(255, 247, 232, 0.72);
}

.exploration-section .idea-number,
.exploration-section .idea-card a:hover,
.exploration-section .idea-card a:focus-visible {
  color: var(--green-2);
}

.exploration-section .idea-card {
  border-bottom-color: rgba(255, 247, 232, 0.14);
}

.exploration-section .idea-card:first-child {
  border-top-color: rgba(255, 247, 232, 0.14);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-row a {
  color: var(--green);
  font-weight: 750;
}

.footer-row a:hover,
.footer-row a:focus-visible {
  color: var(--ink);
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
    --header-bg: var(--night);
  }

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

  .hero::after {
    background: rgba(17, 24, 20, 0.88);
  }

  .command-panel,
  .signal-panel {
    opacity: 0.58;
  }

  .command-panel {
    right: -160px;
    width: 520px;
  }

  .signal-panel {
    right: -60px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .idea-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .idea-card p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.88rem;
  }

  .hero {
    padding-inline: 18px;
    padding-bottom: 54px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3rem, 14.5vw, 4.35rem);
  }

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

  .command-panel {
    top: 120px;
    right: -260px;
  }

  .signal-panel {
    display: none;
  }

  .footer-row {
    flex-direction: column;
  }
}
