:root {
  color-scheme: light;
  --ink: #122a43;
  --muted: #43596e;
  --paper: #fff;
  --soft: #f1f5fa;
  --line: #c9d4e0;
  --accent: #a63c3c;
  --light-ink: #dce6f0;
  --code-bg: #0d1e30;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, Helvetica, sans-serif; font-size: 1.0625rem; line-height: 1.65; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
main:focus { outline: none; }
h1, h2, h3, p { margin-top: 0; }
p { margin-bottom: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.18; letter-spacing: -.03em; font-weight: 650; margin-bottom: 2rem; max-width: 46rem; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 650; margin-bottom: .5rem; }
.shell { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 10; padding: .8rem 1rem; background: white; }
.skip:focus { top: 1rem; }

.header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.monogram { position: relative; padding: .85rem .65rem; border: 1px solid var(--ink); font-size: 1.3rem; line-height: 1; }
.monogram span { position: absolute; bottom: -1px; left: -1px; width: 24px; height: 4px; background: var(--accent); }
nav { display: flex; align-items: center; gap: 1.75rem; font-size: 1rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-cta { padding: 0 1.1rem; border: 1px solid var(--ink); font-weight: 600; }
.nav-cta:hover { background: var(--ink); color: #fff; text-decoration: none; }

.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; color: var(--muted); font-size: .8125rem; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.accent-rule { width: 26px; height: 3px; flex: 0 0 26px; background: var(--accent); }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; padding-block: 4.5rem 5rem; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.1rem); line-height: 1.06; letter-spacing: -.05em; margin: .5rem 0 1.5rem; font-weight: 650; }
.hero h1 span { color: var(--accent); }
.hero-intro { max-width: 34rem; color: var(--muted); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.5rem; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid var(--ink); }
.button:hover { background: #0b1d30; }
.button-light { background: #fff; color: var(--ink); border-color: #fff; }
.button-light:hover { background: var(--light-ink); }
.text-link { font-weight: 600; }

.terminal { background: var(--code-bg); color: #d6e2ee; border-radius: 10px; box-shadow: 0 24px 48px #122a4333; overflow: hidden; min-width: 0; }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; background: #142b44; }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3b5674; }
.terminal-bar b { margin-left: .5rem; color: #8ea6bf; font: 600 .75rem/1 Consolas, "Courier New", monospace; }
.terminal pre { margin: 0; padding: 1.25rem 1.25rem 1.5rem; overflow-x: auto; font: .875rem/1.6 Consolas, "Courier New", monospace; }
.t-user { color: #fff; }
.t-tool { color: #e9a3a3; }
.t-out { color: #9fd3b0; }

.band { background: var(--soft); border-block: 1px solid var(--line); padding-block: 4.5rem; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.product { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.product-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.tag { flex: 0 0 auto; padding: .15rem .6rem; border: 1px solid var(--line); color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product p { color: var(--muted); }
.product ul { margin: 1rem 0 0; padding: 0; list-style: none; font-size: .9375rem; }
.product li { position: relative; padding-left: 1.1rem; margin-top: .3rem; }
.product li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--accent); }
.also { margin-top: 1.75rem; color: var(--muted); font-size: .9375rem; }

.how { padding-block: 4.5rem; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.principles div { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.principles p { color: var(--muted); font-size: .9875rem; }

.contact { background: var(--ink); color: #fff; padding-block: 3.5rem; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.contact h2 { margin-bottom: .5rem; }
.contact p { color: var(--light-ink); max-width: 36rem; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 2rem; color: var(--muted); font-size: .9375rem; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-block: 3rem 3.5rem; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  nav a:not(.nav-cta) { display: none; }
  .products, .principles { grid-template-columns: 1fr; }
  .band, .how { padding-block: 3rem; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .terminal pre { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
