@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #111315;
  --muted: #6c7278;
  --line: #e5e7e9;
  --paper: #f7f7f5;
  --white: #fff;
  --accent: #b8f15a;
  --dark: #111315;
  --dark2: #191c1f;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: auto;
  padding: 0 24px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 8px; background: var(--ink); color: var(--accent); font-weight: 800;
}
nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
nav > a:not(.nav-cta) { color: #4e5459; }
.nav-cta {
  background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 7px;
}
.hero { padding: 76px 24px 100px; border-top: 1px solid var(--line); overflow: hidden; }
.hero-grid { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1.03fr .97fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 20px; font: 500 11px/1 "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #777d82; }
h1 { margin: 0; font-size: clamp(48px, 6.1vw, 82px); line-height: .99; letter-spacing: -.065em; font-weight: 800; }
h1 span { color: #737a80; }
.hero-lead { max-width: 640px; margin: 28px 0 30px; font-size: 18px; line-height: 1.7; color: #5e6469; }
.hero-lead strong { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 7px; font-weight: 700; font-size: 13px; transition: transform .2s, opacity .2s; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); opacity: .92; }
.button-primary { background: var(--ink); color: #fff; }
.button-dark { background: var(--ink); color: #fff; margin-top: 18px; }
.button-light { background: #fff; color: var(--ink); }
.text-link { font-size: 13px; font-weight: 700; }
.hero-visual { position: relative; min-height: 450px; display: grid; place-items: center; }
.code-window {
  width: min(500px, 100%); border: 1px solid #303438; border-radius: 12px;
  background: #151719; color: #d9dde0; box-shadow: 0 30px 70px rgba(0,0,0,.18); overflow: hidden;
}
.window-top { height: 46px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid #2b2e31; font: 10px "DM Mono"; color: #747b81; }
.window-top i { width: 7px; height: 7px; border-radius: 50%; background: #555b60; }
.window-top span { margin-left: 10px; }
.code { padding: 27px 30px 18px; font: 13px/2.2 "DM Mono", monospace; }
.code p { margin: 0; }
.code em { color: #5e6469; font-style: normal; display: inline-block; width: 28px; }
.code b { color: var(--accent); font-weight: 500; }
.code .success { color: var(--accent); }
.code-result { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 18px 30px 24px; background: #101214; font-size: 11px; color: #737a80; }
.code-result strong { color: #fff; font: 500 12px "DM Mono"; }
.floating-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: 11px; font-weight: 700; box-shadow: 0 14px 35px rgba(0,0,0,.09); }
.floating-card span { color: #557b1d; margin-right: 7px; }
.card-one { left: 0; bottom: 67px; }
.card-two { right: -5px; top: 58px; }

.statement, .applications, .method, .process-section { max-width: var(--max); margin: auto; padding: 110px 24px; }
.statement h2, .section-heading h2, .method h2, .cta h2 {
  max-width: 800px; margin: 0; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.055em;
}
.statement-text { max-width: 720px; margin: 25px 0 55px; color: var(--muted); font-size: 17px; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.problem-grid > div { padding: 25px 22px 0 0; border-right: 1px solid var(--line); margin-right: 22px; }
.problem-grid > div:last-child { border: 0; }
.problem-grid span, .process-grid span { font: 11px "DM Mono"; color: #8a9095; }
.problem-grid h3 { margin: 17px 0 6px; font-size: 16px; }
.problem-grid p { margin: 0; font-size: 13px; color: var(--muted); }

.dark-section { background: var(--dark); color: #fff; padding: 110px 24px; }
.dark-section .section-heading, .solution-grid { max-width: var(--max); margin-left: auto; margin-right: auto; }
.dark-section .eyebrow { color: #858b90; }
.section-heading { margin-bottom: 55px; }
.section-heading > p:last-child { color: #777e84; max-width: 620px; margin-top: 20px; }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #303337; border: 1px solid #303337; }
.solution-grid article { background: var(--dark); padding: 28px; min-height: 290px; display: flex; flex-direction: column; }
.number { font: 11px "DM Mono"; color: #70767b; }
.solution-grid h3 { margin: 65px 0 10px; font-size: 21px; letter-spacing: -.025em; }
.solution-grid p { margin: 0; color: #888f94; font-size: 13px; }
.tag { margin-top: auto; color: var(--accent); font: 10px "DM Mono"; text-transform: uppercase; }

.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.application-grid article { background: #fff; border: 1px solid var(--line); padding: 28px; min-height: 185px; border-radius: 8px; transition: transform .2s, border-color .2s; }
.application-grid article:hover { transform: translateY(-4px); border-color: #bcc1c4; }
.application-grid span { font: 20px "DM Mono"; }
.application-grid h3 { margin: 35px 0 7px; font-size: 17px; }
.application-grid p { margin: 0; color: var(--muted); font-size: 12px; }

.method { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.method-copy > p:not(.eyebrow) { color: var(--muted); max-width: 560px; font-size: 15px; }
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.flow > div { background: #fff; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.flow small { font: 10px "DM Mono"; color: #8b9196; letter-spacing: .1em; }
.flow strong { font-size: 14px; }
.flow span { color: #a1a6aa; }
.flow .highlight { background: var(--ink); color: #fff; padding: 13px 12px; margin: -2px -12px; border-radius: 4px; }

.process-section { border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-grid > div { padding-right: 35px; border-right: 1px solid var(--line); margin-right: 35px; }
.process-grid > div:last-child { border: 0; }
.process-grid h3 { font-size: 17px; margin: 22px 0 8px; }
.process-grid p { color: var(--muted); font-size: 13px; }

.cta { background: var(--accent); padding: 115px 24px; text-align: center; }
.cta .eyebrow { color: #57711f; }
.cta h2 { max-width: 800px; margin: auto; }
.cta > p:not(.eyebrow) { max-width: 650px; margin: 25px auto 30px; color: #4e5c35; font-size: 15px; }
.cta small { display: block; margin-top: 18px; color: #59683e; font: 10px "DM Mono"; }
footer { max-width: var(--max); margin: auto; padding: 35px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #73797e; font-size: 11px; }
footer .brand { color: var(--ink); font-size: 16px; }
footer .brand-mark { width: 25px; height: 25px; font-size: 14px; }

@media (max-width: 900px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero-grid, .method { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .solution-grid, .application-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .problem-grid > div:nth-child(2), .process-grid > div:nth-child(2) { border-right: 0; }
  .problem-grid > div:nth-child(3), .process-grid > div:nth-child(3) { border-top: 1px solid var(--line); padding-top: 25px; }
  .process-grid > div:nth-child(3), .process-grid > div:nth-child(4) { padding-top: 25px; }
}
@media (max-width: 600px) {
  .site-header { height: 68px; }
  .nav-cta { padding: 9px 11px; font-size: 11px; }
  .hero { padding-top: 55px; }
  h1 { font-size: 49px; }
  .hero-lead { font-size: 15px; }
  .hero-visual { min-height: 330px; }
  .floating-card { display: none; }
  .code { padding: 20px 15px 12px; font-size: 10px; }
  .code-result { padding: 14px 15px 17px; }
  .statement, .applications, .method, .process-section { padding: 75px 20px; }
  .problem-grid, .solution-grid, .application-grid, .process-grid, .method { grid-template-columns: 1fr; }
  .problem-grid > div, .process-grid > div { border-right: 0 !important; border-top: 1px solid var(--line); margin: 0; padding: 22px 0 !important; }
  .solution-grid { gap: 1px; }
  .solution-grid article { min-height: 230px; }
  .solution-grid h3 { margin-top: 35px; }
  .application-grid article { min-height: 160px; }
  .flow { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
}
