:root {
  color-scheme: light;
  --ink: #141414;
  --ink-soft: #3f444a;
  --muted: #68717d;
  --line: #d9dee5;
  --surface: #ffffff;
  --surface-alt: #f5f7fa;
  --surface-green: #edf8f2;
  --surface-blue: #eef4ff;
  --green: #147d59;
  --blue: #2558d6;
  --coral: #db5a2e;
  --gold: #b78317;
  --shadow: 0 20px 55px rgba(20, 20, 20, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(37, 88, 214, 0.42);
  outline-offset: 3px;
}

p,
h1,
h2,
h3,
figure,
blockquote,
dl {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 222, 229, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 13px;
}

.site-nav {
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.header-actions a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 11px;
}

.header-actions a.header-cta {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}


.hero,
.section,
.contact-section,
.site-footer {
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
  min-height: 800px;
  max-height: 800px;
  padding-top: 76px;
  padding-bottom: 76px;
  background:
    linear-gradient(135deg, rgba(237, 248, 242, 0.85), rgba(255, 255, 255, 0) 42%),
    linear-gradient(315deg, rgba(238, 244, 255, 0.8), rgba(255, 255, 255, 0) 45%),
    var(--surface);
}

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

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

h1 {
  margin-top: 16px;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  font-weight: 850;
}

h2 {
  margin-top: 10px;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  font-weight: 820;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 780;
}

.hero-copy {
  max-width: 700px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.proof-strip span,
.case-tag,
.build-card span,
.thinking-card span,
.metric-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

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

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

.button,
.inline-actions a,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-weight: 800;
}

.button-primary {
  background: var(--ink);
  color: white;
}

.button-primary:hover {
  color: white;
  background: #2b2b2b;
}

.button-secondary,
.inline-actions a,
.contact-actions a {
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-visual {
  position: relative;
  align-self: center;
  height: 600px;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.hero-visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  font-weight: 650;
  backdrop-filter: blur(12px);
}

.hero-visual figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-contrast {
  background: var(--surface-alt);
}

.section-muted {
  background: linear-gradient(90deg, var(--surface-green), var(--surface-blue));
}

.section-heading {
  display: block;
  max-width: 1600px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: none;
}

.section-heading p:last-child {
  max-width: none;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.metric-panel {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}

.metric-panel-wide {
  background: var(--ink);
  color: white;
}

.metric-panel-wide .metric-label {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.metric-panel strong {
  display: block;
  margin-top: 24px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.9;
  font-weight: 850;
}

.metric-panel p {
  margin-top: 18px;
  color: inherit;
  opacity: 0.78;
}

.case-grid,
.build-grid,
.thinking-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-card,
.build-card,
.thinking-card,
.testimonial-grid figure,
.lab-cards article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.case-card h3,
.build-card h3,
.lab-cards h3,
.timeline h3 {
  margin-top: 16px;
}

.case-card p,
.build-card p,
.thinking-card p,
.lab-cards p,
.timeline p {
  margin-top: 12px;
  color: var(--muted);
}

.case-card ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.case-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
}

.case-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.build-feature {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}

.product-frame {
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111111;
  box-shadow: var(--shadow);
}

.frame-top {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.frame-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.frame-top span:nth-child(2) {
  background: var(--gold);
}

.frame-top span:nth-child(3) {
  background: var(--green);
}

.frame-body {
  display: grid;
  align-content: center;
  gap: 22px;
  min-height: 390px;
  padding: 26px;
  background:
    linear-gradient(140deg, rgba(20, 125, 89, 0.24), rgba(37, 88, 214, 0.12)),
    #161616;
}

.intent-card,
.recommendation-stack div,
.signal-row span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.intent-card {
  border-radius: var(--radius);
  padding: 20px;
}

.intent-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.intent-card strong {
  display: block;
  margin-top: 8px;
  max-width: 360px;
  font-size: 28px;
  line-height: 1.08;
}

.recommendation-stack {
  display: grid;
  gap: 10px;
}

.recommendation-stack div {
  height: 54px;
  border-radius: var(--radius);
}

.recommendation-stack div:nth-child(1) {
  width: 92%;
}

.recommendation-stack div:nth-child(2) {
  width: 78%;
}

.recommendation-stack div:nth-child(3) {
  width: 64%;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-row span {
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
}

.build-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--surface);
}

.build-copy p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 18px;
}

.proof-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.proof-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.proof-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-list dd {
  margin: 0;
  color: var(--ink-soft);
}

.inline-actions {
  margin-top: 24px;
}

.build-card:nth-child(1) {
  border-top: 5px solid var(--green);
}

.build-card:nth-child(2) {
  border-top: 5px solid var(--blue);
}

.build-card:nth-child(3) {
  border-top: 5px solid var(--coral);
}

.build-card:nth-child(4) {
  border-top: 5px solid var(--gold);
}

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

.build-card span {
  margin-top: 18px;
  background: var(--surface-alt);
}

.lab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.workflow div {
  min-height: 260px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.workflow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 850;
}

.workflow strong {
  display: block;
  margin-top: 24px;
  font-size: 20px;
}

.workflow p {
  margin-top: 10px;
  color: var(--muted);
}

.lab-cards {
  display: grid;
  gap: 12px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.thinking-card {
  min-height: 220px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.thinking-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.thinking-card strong {
  display: block;
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.1;
}

.thinking-card time {
  display: block;
  margin-top: 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.testimonial-grid figure {
  display: grid;
  gap: 16px;
}

.testimonial-grid img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

blockquote {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.45;
}

figcaption {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 36px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--ink);
  color: white;
}

.contact-section .eyebrow {
  color: #7ee0b6;
}

.contact-section h2 {
  max-width: 800px;
}

.contact-section p {
  margin-top: 16px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact-actions {
  justify-content: flex-end;
}

.contact-actions a {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  gap: 8px;
}

.contact-icon {
  line-height: 1;
}

.contact-actions a:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero,
  .section-heading,
  .build-feature,
  .lab-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    max-height: none;
  }

  .hero-visual {
    height: 420px;
  }

  .impact-grid,
  .case-grid,
  .testimonial-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .section,
  .contact-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .proof-strip span,
  .button,
  .inline-actions a,
  .contact-actions a {
    width: 100%;
  }

  .hero-visual {
    height: 360px;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .impact-grid,
  .case-grid,
  .build-grid,
  .workflow,
  .thinking-grid,
  .testimonial-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .metric-panel {
    min-height: 190px;
  }

  .product-frame {
    min-height: 360px;
  }

  .frame-body {
    min-height: 310px;
  }

  .intent-card strong {
    font-size: 23px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
