:root {
  --paper: #f4f2ed;
  --surface: #fffefa;
  --ink: #202522;
  --muted: #69716c;
  --line: #d9dcd5;
  --teal: #177f76;
  --coral: #c76545;
  --mustard: #c49a2c;
  --charcoal: #252c28;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
}

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

.landing-header {
  height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 254, 250, 0.96);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.landing-brand { display: inline-flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--charcoal);
  color: white;
  box-shadow: 4px 4px 0 var(--mustard);
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
}

.landing-brand strong,
.landing-brand small { display: block; }
.landing-brand strong { font-family: "Unbounded", sans-serif; font-size: 14px; line-height: 1.1; }
.landing-brand small { margin-top: 3px; color: var(--muted); font-size: 10px; text-transform: uppercase; }

.header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.header-action svg,
.primary-action svg { width: 17px; height: 17px; }

.hero {
  min-height: min(700px, calc(100svh - 170px));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 32px clamp(20px, 7vw, 110px);
  background: #f5eee5;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-character.png");
  background-repeat: no-repeat;
  background-position: right 34% center;
  background-size: auto 118%;
}

.hero-copy { width: min(610px, 48vw); position: relative; z-index: 2; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-kicker svg { width: 16px; height: 16px; }
h1, h2 { margin: 0; letter-spacing: 0; }

.hero h1 {
  max-width: 650px;
  margin-top: 22px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
}

.hero-copy > p {
  max-width: 560px;
  margin: 24px 0 0;
  color: #4e5751;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; }

.primary-action {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--coral);
  color: white;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-action:hover { transform: translateY(-2px); background: #b9583b; }
.hero-actions > span strong,
.hero-actions > span small { display: block; }
.hero-actions > span strong { font-size: 13px; }
.hero-actions > span small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.result-note {
  position: absolute;
  right: clamp(16px, 3vw, 48px);
  bottom: 22px;
  z-index: 2;
  padding-left: 14px;
  border-left: 3px solid var(--mustard);
}

.result-note span,
.result-note strong { display: block; }
.result-note span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.result-note strong { margin-top: 4px; font-size: 12px; }

.capabilities {
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.capabilities article {
  min-height: 190px;
  padding: 36px clamp(20px, 3vw, 44px);
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-content: center;
  border-right: 1px solid var(--line);
}

.capabilities article:last-child { border-right: 0; }
.capabilities article > span { color: var(--coral); font-family: "Unbounded", sans-serif; font-size: 11px; }
.capabilities h2 { font-family: "Unbounded", sans-serif; font-size: 17px; line-height: 1.35; }
.capabilities p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.final-band {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 7vw, 110px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  background: var(--charcoal);
  color: white;
}

.final-band span { color: #aeb8b1; font-size: 11px; text-transform: uppercase; }
.final-band h2 { max-width: 720px; margin-top: 14px; font-family: "Unbounded", sans-serif; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; }
.primary-action.light { flex: 0 0 auto; background: white; color: var(--ink); }
.primary-action.light:hover { background: #f1ede5; }

.landing-footer {
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .hero { min-height: calc(100svh - 150px); align-items: end; padding-top: 250px; }
  .hero-image { background-position: center top; background-size: auto 78%; opacity: 0.5; }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 720px; }
  .capabilities { grid-template-columns: 1fr; }
  .capabilities article { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .capabilities article:last-child { border-bottom: 0; }
  .final-band { align-items: start; flex-direction: column; }
}

@media (max-width: 600px) {
  .landing-header { height: 64px; }
  .landing-brand small,
  .header-action span,
  .result-note { display: none; }
  .header-action { width: 40px; justify-content: center; border: 1px solid var(--line); border-radius: 6px; }
  .hero { min-height: calc(100svh - 140px); padding: 160px 20px 32px; }
  .hero-image { background-position: center -55px; background-size: auto 58%; opacity: 0.42; }
  .hero-kicker { font-size: 10px; }
  .hero h1 { margin-top: 14px; font-size: 32px; line-height: 1.08; }
  .hero-copy > p { margin-top: 16px; font-size: 14px; line-height: 1.5; }
  .hero-actions { margin-top: 20px; align-items: stretch; flex-direction: column; gap: 0; }
  .hero-actions > span { display: none; }
  .primary-action { width: 100%; }
  .capabilities { padding: 0 20px; }
  .capabilities article { padding: 28px 0; }
  .landing-footer { align-items: start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
