﻿:root {
  color-scheme: light;
  --paper: #fbf9f4;
  --linen: #faf6ee;
  --ink: #121212;
  --muted: #555555;
  --line: #121212;
  --grid-line: #ebe6da;
  --white: #fffdf8;
  --accent: #a23b19;
  --forest: #1b4332;
  --bad: #fff0ea;
  --good: #edf6ee;
  --border-thick: 2px solid var(--line);
  --border-thin: 1px solid var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px, 42px 42px, auto;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
main, .topbar, .footer { position: relative; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  border-bottom: var(--border-thick);
  background: rgba(251, 249, 244, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  display: grid;
  grid-template-columns: 70px auto;
  align-items: center;
  min-height: 70px;
  border-right: var(--border-thick);
  font-weight: 950;
  letter-spacing: 0;
}

.logo-frame {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-right: var(--border-thick);
  background: var(--linen);
}

.brand-mark { width: 48px; height: 48px; border-radius: 6px; }
.brand > span:last-child { padding: 0 22px; white-space: nowrap; }

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  overflow-x: auto;
}

.nav a {
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 0 18px;
  border-left: var(--border-thick);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--paper);
  background: var(--ink);
  outline: 0;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(360px, 0.4fr);
  min-height: calc(100vh - 72px);
  border-bottom: var(--border-thick);
}

.hero-copy {
  display: grid;
  background: var(--paper);
  align-content: center;
  padding: clamp(46px, 7vw, 96px) clamp(20px, 5vw, 76px);
  border-right: var(--border-thick);
}

.tiny-label {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: "Space Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 10vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy p,
.section-title p,
.compare-col p,
.blueprint-stack p,
.build-item p,
.method-steps p,
.contact-copy p,
.contact-direct span,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p { max-width: 720px; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn, .contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: var(--border-thick);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}
.btn.primary, .contact-form button { background: var(--ink); color: var(--paper); font-family: "Space Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: 0.02em; transition: background 0.1s ease, color 0.1s ease, box-shadow 0.1s ease; }
.btn.ghost:hover { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--accent); }
.btn.primary:hover, .contact-form button:hover { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--accent); }

.execution-log {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 46px);
  background: var(--linen);
}
.log-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: var(--border-thick);
  border-bottom: 0;
  background: var(--white);
  font-family: "Space Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 900;
}
.log-head strong { background: var(--grid-line); border: 1px solid var(--line); padding: 2px 8px; }
.execution-log ol { margin: 0; padding: 0; list-style: none; border: var(--border-thick); background: var(--white); }
.execution-log li { display: grid; gap: 6px; padding: 18px; border-bottom: var(--border-thick); font-family: "Space Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace; }
.execution-log li:last-child { border-bottom: 0; }
.execution-log b { font-size: 0.92rem; }
.execution-log span { color: var(--muted); font-size: 0.82rem; }

.friction, .blueprint, .builds, .method, .contact { background: var(--paper); padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 76px); border-bottom: var(--border-thick); }
.section-title { display: grid; gap: 14px; max-width: 1000px; margin-bottom: 34px; }
.section-title.wide { max-width: none; }
.section-title h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.3rem, 5vw, 5.5rem); line-height: 0.98; letter-spacing: 0; }
.section-title p { max-width: 760px; margin-bottom: 0; }

.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; border: var(--border-thick); background: var(--line); gap: 2px; }
.compare-col { display: grid; align-content: start; gap: 14px; padding: 24px; background: var(--white); }
.compare-col.bad { background: var(--bad); }
.compare-col.good { background: var(--good); }
.compare-col h3 { margin-bottom: 0; font-size: 1.35rem; text-transform: uppercase; }
.compare-col ul { display: grid; gap: 0; margin: 10px 0; padding: 0; list-style: none; border: var(--border-thick); background: var(--white); }
.compare-col li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; min-height: 58px; padding: 12px; border-bottom: var(--border-thick); }
.compare-col li:last-child { border-bottom: 0; }
.compare-col li span { font-family: "Space Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 950; }
.compare-col strong { margin-top: 4px; }

.blueprint { background: var(--linen); }
.blueprint-stack { display: grid; border: var(--border-thick); background: var(--white); }
.blueprint-stack article { display: grid; grid-template-columns: minmax(220px, 0.35fr) 1fr; gap: 22px; padding: 24px; border-bottom: var(--border-thick); }
.blueprint-stack article:last-child { border-bottom: 0; }
.blueprint-stack span { font-family: "Space Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 950; text-transform: uppercase; }
.blueprint-stack p { margin-bottom: 0; }

.build-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.build-item { display: grid; align-content: start; min-height: 310px; padding: 2.5rem; border: var(--border-thick); background: var(--paper); box-shadow: 4px 4px 0 var(--line); transition: transform 0.1s ease, box-shadow 0.1s ease; }
.build-item:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.build-item h3 { margin-bottom: 18px; font-size: 1.45rem; }
.build-item p { margin-bottom: 26px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.specs span { display: inline-flex; align-items: center; min-height: 30px; padding: 0.25rem 0.5rem; border: var(--border-thin); background: rgba(0, 0, 0, 0.03); font-family: "Space Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.7rem; font-weight: 900; }

.method { background: var(--linen); }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--border-thick); background: var(--white); }
.method-steps article { min-height: 280px; padding: 22px; border-right: var(--border-thick); }
.method-steps article:last-child { border-right: 0; }
.method-steps b { display: block; margin-bottom: 44px; font-family: "Space Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 3rem; line-height: 1; }
.method-steps h3 { margin-bottom: 12px; font-size: 1.18rem; }
.method-steps p { margin-bottom: 0; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact-copy p { max-width: 660px; font-size: 1.05rem; }
.contact-direct { display: grid; margin-top: 30px; border: var(--border-thick); background: var(--white); }
.contact-direct a, .contact-direct span { display: block; padding: 14px 16px; border-bottom: var(--border-thick); font-weight: 900; }
.contact-direct span { font-weight: 750; }
.contact-direct span:last-child { border-bottom: 0; }
.contact-form { display: grid; gap: 14px; padding: 20px; border: var(--border-thick); background: var(--white); box-shadow: 4px 4px 0 var(--line); }
.contact-form label { display: grid; gap: 8px; font-size: 0.84rem; font-weight: 900; }
.contact-form input, .contact-form textarea { width: 100%; border: var(--border-thick); background: var(--paper); color: var(--ink); padding: 13px 14px; font: inherit; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.contact-form button { min-height: 54px; }

.footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px clamp(20px, 5vw, 76px); background: var(--ink); color: var(--white); }
.footer div { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; }
.footer-mark { width: 30px; height: 30px; border-radius: 5px; }
.footer p { margin-bottom: 0; color: rgba(255, 255, 255, 0.72); }

@media (max-width: 1040px) {
  .topbar { grid-template-columns: 1fr; }
  .brand { border-right: 0; border-bottom: var(--border-thick); }
  .nav { justify-content: flex-start; }
  .nav a:first-child { border-left: 0; }
  .hero-shell, .comparison-grid, .contact { grid-template-columns: 1fr; }
  .hero-copy { border-right: 0; border-bottom: var(--border-thick); }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-steps article:nth-child(2n) { border-right: 0; }
  .method-steps article:nth-child(-n + 2) { border-bottom: var(--border-thick); }
}

@media (max-width: 720px) {
  .brand { grid-template-columns: 64px auto; min-height: 64px; }
  .logo-frame { width: 64px; height: 64px; }
  .brand-mark { width: 44px; height: 44px; }
  .hero-shell { min-height: auto; }
  h1 { font-size: clamp(3.5rem, 18vw, 5.8rem); }
  .blueprint-stack article, .build-grid, .method-steps { grid-template-columns: 1fr; }
  .method-steps article, .method-steps article:nth-child(2n) { border-right: 0; border-bottom: var(--border-thick); }
  .method-steps article:last-child { border-bottom: 0; }
  .compare-col li { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}


