:root {
  color-scheme: light;
  --blue: #006ecc;
  --ink: #000;
  --muted: rgb(0 0 0 / 62%);
  --line: rgb(0 0 0 / 10%);
  --surface: rgb(0 110 204 / 3%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
a:hover { color: var(--blue); }
p, h1, h2, h3 { margin: 0; }
.page-width { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 12px; background: #fff; transform: translateY(-160%); z-index: 2; }
.skip-link:focus { transform: none; }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 116px; border-bottom: 1px solid var(--line); }
.brand { display: block; width: 82px; height: 82px; }
.brand img { display: block; width: 100%; height: 100%; }
nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
nav a { padding-block: 12px; }

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 640px; padding-block: 72px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
h1 { margin-top: 22px; font-size: clamp(42px, 4.7vw, 66px); font-weight: 600; line-height: 1.06; letter-spacing: -.055em; }
.intro { max-width: 370px; margin-top: 26px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; font-size: 14px; }
.button { display: inline-flex; align-items: center; gap: 18px; padding: 14px 20px; border-radius: 7px; background: var(--blue); color: #fff; font-weight: 500; }
.button:hover { background: var(--ink); color: #fff; }
.text-link { color: var(--blue); font-size: 14px; font-weight: 500; line-height: 1.5; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link span { margin-left: 7px; }
.hero-art { overflow: hidden; margin-left: -50px; }
.hero-art img { display: block; width: 130%; max-width: none; height: auto; margin-left: -30%; animation: illustration-arrive 800ms ease-out both; }
@keyframes illustration-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.value { padding-block: 76px 80px; border-top: 1px solid var(--line); }
.builder { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 76px 80px; border-top: 1px solid var(--line); }
.builder-copy > p:not(.eyebrow) { max-width: 460px; margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.builder-copy > .text-link { display: inline-block; margin-top: 24px; }
.builder-example { border: 1px solid var(--line); border-radius: 12px; padding: 32px; background: var(--surface); }
.example-request { padding-top: 26px; }
.example-request:first-child { padding-top: 0; }
.example-request + .example-request { border-top: 1px solid var(--line); margin-top: 26px; }
.example-request > p:last-child { margin-top: 12px; font-size: 20px; line-height: 1.5; letter-spacing: -.02em; }
.builder-caption { margin-top: 30px; color: var(--muted); font-size: 12px; line-height: 1.5; }
h2 { margin-top: 16px; font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.card { position: relative; padding: 32px; background: linear-gradient(145deg, #fff, var(--surface)); border: 1px solid var(--line); border-radius: 12px; transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.card::before { content: ""; display: block; width: 24px; height: 2px; margin-bottom: 22px; background: var(--blue); border-radius: 1px; opacity: .6; transition: width 180ms ease, opacity 180ms ease; }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px) scale(1.012); border-color: rgb(0 110 204 / 26%); box-shadow: 0 12px 30px rgb(0 0 0 / 6%); }
  .card:hover::before { width: 40px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card::before { transition: none; }
  .card:hover { transform: none; }
  .hero-art img { animation: none; }
}
h3 { max-width: 310px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.card p { max-width: 410px; margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.card .package-label { margin: 0 0 24px; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.5; }
.card code { color: var(--ink); font-size: .9em; }
.explanation-link { display: inline-block; margin-top: 26px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-block: 26px 36px; color: var(--muted); font-size: 12px; }
.site-footer p span { margin-inline: 8px; }

@media (min-width: 1440px) {
  .hero { min-height: 700px; }
}

@media (max-width: 800px) {
  .page-width { width: calc(100% - 48px); }
  .site-header { min-height: 96px; }
  .brand { width: 72px; height: 72px; }
  .hero { grid-template-columns: 1fr; padding-block: 56px 40px; }
  h1 { font-size: clamp(44px, 8vw, 64px); }
  .intro { max-width: 460px; }
  .hero-art { width: min(100%, 540px); margin: 36px auto 0; }
  .hero-art img { width: 100%; margin: 0; }
  .value { padding-block: 52px; }
  .builder { grid-template-columns: 1fr; gap: 32px; padding-block: 52px; }
  .builder-example { padding: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card { padding: 24px; }
}

@media (max-width: 560px) {
  .page-width { width: calc(100% - 40px); }
  nav { gap: 18px; font-size: 13px; }
  .hero-links { gap: 20px; }
  .cards { grid-template-columns: 1fr; }
}
