:root {
  --ink: #202329;
  --paper: #fffaf0;
  --yellow: #f6cf57;
  --yellow-soft: #fff1a8;
  --brown: #9a6545;
  --brown-dark: #503323;
  --green: #2f7557;
  --line: #202329;
  --muted: #666b72;
  --white: #ffffff;
  --shadow: 8px 8px 0 #202329;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(32, 35, 41, .12) 1px, transparent 0) 0 0 / 24px 24px,
    var(--paper);
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { overflow: hidden; }
.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  color: var(--white);
  background: rgba(32, 35, 41, .95);
  border: 2px solid var(--line);
  border-radius: 18px;
  position: relative;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: -.04em;
}
/* No circle crop on the wordmark: the portrait has transparent margin baked in,
   so a contained, larger mark fills the same optical space without a frame. */
.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.topbar nav { display: flex; justify-content: center; gap: 30px; }
.topbar nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.topbar nav a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 5px; }

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.button-small { min-height: 42px; padding: 0 16px; font-size: 13px; box-shadow: none; }
/* Always set colour with background: these buttons sit on both paper and ink
   surfaces, and an inherited colour lands white-on-yellow in the topbar. */
.button-primary { color: var(--ink); background: var(--yellow); }
.button-dark { color: var(--white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); }

.section-frame, .content-section { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.hero {
  min-height: 680px;
  padding: 82px 0 72px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 46px;
  align-items: center;
}
.eyebrow, .kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 9px 13px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.status-dot { width: 9px; height: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(47, 117, 87, .15); }
h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(62px, 7.3vw, 104px);
  line-height: .9;
  letter-spacing: -.075em;
}
.hero-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: #4d5259;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.62;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.hero-note span {
  padding: 7px 10px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}
.hero-art { min-height: 520px; position: relative; }
.sunburst {
  width: 430px;
  height: 430px;
  position: absolute;
  top: 42px;
  right: 24px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: repeating-conic-gradient(var(--yellow) 0 10deg, var(--yellow-soft) 10deg 20deg);
  box-shadow: var(--shadow);
}
.mascot-card {
  width: 320px;
  padding: 22px;
  position: absolute;
  top: 100px;
  right: 82px;
  z-index: 5;
  text-align: center;
  border: 3px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  transform: rotate(2.5deg);
  box-shadow: var(--shadow);
}
/* Caption sits above the portrait: the after-card overlaps this card's lower
   corner, and it must land on the image, never on readable text. */
.mascot-card img { width: 230px; height: 230px; margin: 0 auto; border-radius: 50%; object-fit: cover; border: 3px solid var(--line); }
/* reggie.png is transparent around the portrait, so a scene set as the element's
   own background reads as the room he is standing in. Assets are pre-faded to
   40% alpha — do not add opacity here or the portrait fades with them. */
.mascot-card img { background: var(--white) url('assets/scene-dogpark.png') center / cover no-repeat; }
.pr-header img { background: var(--white) url('assets/scene-doghouse.png') center / cover no-repeat; }
.final-cta img { background: var(--white) url('assets/scene-livingroom.png') center / cover no-repeat; }
.mascot-card p { margin: 13px 0 14px; font-size: 18px; font-weight: 950; }
.mascot-tag { display: inline-block; padding: 7px 10px; border: 2px solid var(--line); border-radius: 999px; background: var(--yellow); font-size: 11px; font-weight: 950; letter-spacing: .12em; }
.mini-card {
  width: 210px;
  padding: 12px;
  position: absolute;
  z-index: 7;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--line);
}
.mini-card > span { display: inline-block; margin-bottom: 8px; font-size: 11px; font-weight: 950; letter-spacing: .1em; }
/* The two mini-cards overlap the mascot card's corners on purpose, but they must
   clear its caption band — before-card sits above it, after-card below it. */
.before-card { left: -4px; top: -16px; transform: rotate(-7deg); }
.after-card { right: -4px; bottom: 38px; transform: rotate(7deg); }
.mock-window {
  padding: 14px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: repeat(3, 20px);
  gap: 10px;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}
.mock-window i { grid-column: 1; height: 12px; background: #c7c9cb; border-radius: 3px; }
.mock-window b { grid-column: 2; height: 17px; background: #dcdedf; border-radius: 3px; }
/* Pin each pair to its own row: column-only placement staggers the bars
   across five implicit rows and spills them out of the frame. */
.mock-window i:nth-of-type(1), .mock-window b:nth-of-type(1) { grid-row: 1; }
.mock-window i:nth-of-type(2), .mock-window b:nth-of-type(2) { grid-row: 2; }
.mock-window i:nth-of-type(3), .mock-window b:nth-of-type(3) { grid-row: 3; }
.mock-window.improved i:first-child, .mock-window.improved b:nth-of-type(2) { background: var(--yellow); }

.ticker {
  min-height: 66px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-block: 2px solid var(--line);
  background: var(--ink);
  color: white;
  font-weight: 950;
  letter-spacing: .1em;
  white-space: nowrap;
}
.ticker span { color: var(--yellow); }

.content-section { padding: 110px 0; }
.section-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 72px minmax(0, 760px);
  gap: 28px;
  align-items: start;
}
.section-number {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 950;
}
.section-heading h2, .install-copy h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
}
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card {
  min-height: 390px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--line);
}
.step-card:nth-child(2), .step-card:nth-child(4) { transform: translateY(26px); }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: auto; border: 2px solid var(--line); border-radius: 50%; font-size: 18px; font-weight: 950; }
/* Each badge fills with a darker shade of its own card so the number reads as
   a solid token rather than an outline floating on the card colour. */
.yellow-card .step-icon { color: var(--ink); background: #cd9a24; }
.cream-card .step-icon { color: var(--ink); background: #d5d8dc; }
.brown-card .step-icon { color: var(--white); background: var(--brown-dark); }
.green-card .step-icon { color: var(--white); background: #1c4c36; }
.step-card h3 { margin: 36px 0 12px; font-size: 36px; letter-spacing: -.04em; }
.step-card p { font-family: system-ui, sans-serif; line-height: 1.55; }
.step-card code { margin-top: auto; padding-top: 16px; border-top: 1px solid currentColor; font-size: 11px; font-weight: 800; }
.yellow-card { background: var(--yellow); }
.cream-card { background: white; }
.brown-card { color: white; background: var(--brown); }
.green-card { color: white; background: var(--green); }

.report-section { padding-top: 140px; }
.report-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 55px; align-items: center; }
.report-copy { display: grid; gap: 14px; }
.feature-row { padding: 20px 0; display: grid; grid-template-columns: 46px 1fr; gap: 14px; border-bottom: 2px solid var(--line); }
.feature-row > span { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--paper); }
.icon-sprite { display: none; }
.icon { width: 27px; height: 27px; display: block; }
.prompt-icon { width: 30px; height: 30px; }
.feature-row h3 { margin: 0 0 7px; font-size: 20px; }
.feature-row p { margin: 0; color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.5; }
.pr-window { border: 2px solid var(--line); border-radius: 18px; background: white; box-shadow: 10px 10px 0 var(--line); overflow: hidden; transform: rotate(1deg); }
.pr-toolbar { height: 50px; padding: 0 18px; display: flex; align-items: center; gap: 9px; border-bottom: 2px solid var(--line); background: #f2f3f4; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 800; }
.pr-toolbar .octo { margin-right: 5px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.pr-toolbar i { width: 10px; height: 10px; margin-left: auto; border-radius: 50%; background: #d0d2d4; }
.pr-toolbar i + i { margin-left: 0; }
.pr-body { padding: 30px; font-family: system-ui, sans-serif; }
.pr-header h3 { margin: 0 0 8px; display: flex; gap: 10px; align-items: center; font-size: 26px; }
.pr-header img { width: 34px; height: 34px; object-fit: contain; }
.pr-header p { margin: 0; color: #50555b; }
.pr-body hr { margin: 28px 0; border: 0; border-top: 1px solid #d7d9dc; }
.pr-body h4 { margin-bottom: 8px; font-size: 19px; }
.pr-body > p { color: #555b62; line-height: 1.55; }
.comparison-preview { margin: 20px 0 12px; padding: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 1px solid #d7d9dc; border-radius: 12px; background: #fffaf0; }
.comparison-preview span { display: inline-block; margin-bottom: 7px; padding: 4px 7px; border-radius: 999px; background: var(--ink); color: white; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.comparison-preview > div:last-child span { background: var(--green); }
.ui-shot { height: 170px; border: 1px solid #b9bdc0; border-radius: 7px; background-color: white; background-image: linear-gradient(90deg, #e7e8e9 28%, transparent 28%), repeating-linear-gradient(#edf0f1 0 12px, transparent 12px 28px); background-size: 100% 100%, 60% 100%; background-position: 0 0, 80% 16px; background-repeat: no-repeat; }
.shot-after { background-image: linear-gradient(90deg, #f6cf57 28%, transparent 28%), repeating-linear-gradient(#dceee6 0 12px, transparent 12px 28px); }
.pr-body small { color: #777d84; }

.feature-strip { padding-block: 30px 100px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.feature-pill { min-height: 115px; padding: 20px; display: flex; flex-direction: column; justify-content: center; border: 2px solid var(--line); border-radius: 15px; background: white; }
.feature-pill strong { margin-bottom: 7px; font-size: 17px; }
.feature-pill span { color: var(--muted); font-family: system-ui, sans-serif; font-size: 13px; line-height: 1.4; }

.install-section { padding-top: 40px; }
.install-panel { padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; border: 2px solid var(--line); border-radius: 30px; background: var(--yellow); box-shadow: 10px 10px 0 var(--line); }
.install-copy > p:not(.kicker) { max-width: 540px; margin: 24px 0 30px; font-family: system-ui, sans-serif; font-size: 18px; line-height: 1.6; }
.prompt-card { overflow: hidden; border: 2px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 7px 7px 0 var(--line); }
.prompt-top {
  min-height: 56px;
  padding: 9px 12px 9px 14px;
  display: flex;
  gap: 11px;
  align-items: center;
  border-bottom: 2px solid var(--line);
  background: var(--paper);
}
.prompt-top img { width: 30px; height: 30px; border: 2px solid var(--line); border-radius: 50%; object-fit: cover; }
.prompt-top > span { font-size: 13px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.copy-button {
  min-height: 36px;
  margin-left: auto;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--line);
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: background .12s ease, transform .08s ease;
}
.copy-button:hover { background: var(--yellow-soft); }
.copy-button:active { transform: translateY(1px); }
.copy-button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.copy-button.copied { background: var(--green); color: var(--white); }
.prompt-note { margin: 16px 2px 0; font-family: system-ui, sans-serif; font-size: 15px; line-height: 1.55; }
.prompt-note code { padding: 2px 7px; border: 1.5px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .65); font-size: 13px; font-weight: 800; }
.prompt-body {
  margin: 0;
  padding: 22px;
  color: #33383f;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.terminal { overflow: hidden; border: 2px solid var(--line); border-radius: 16px; background: #191c20; color: #f7f7f7; box-shadow: 7px 7px 0 var(--line); }
.terminal-top { height: 44px; padding: 0 14px; display: flex; gap: 7px; align-items: center; border-bottom: 1px solid #41454b; background: #2a2e34; }
.terminal-top i { width: 10px; height: 10px; border-radius: 50%; background: #676d75; }
.terminal-top span { margin-left: auto; color: #a9afb7; font-family: ui-monospace, monospace; font-size: 11px; }
.terminal pre { margin: 0; padding: 25px; overflow-x: auto; font-size: 13px; line-height: 1.75; }
.prompt { color: var(--yellow); }
.comment { color: #7fbd9f; }

.final-cta { padding-block: 90px; display: grid; grid-template-columns: 120px 1fr auto; gap: 34px; align-items: center; }
.final-cta img { width: 110px; height: 110px; border: 3px solid var(--line); border-radius: 50%; object-fit: cover; box-shadow: 5px 5px 0 var(--line); }
.final-cta h2 { max-width: 720px; font-size: clamp(40px, 5vw, 64px); }

footer {
  min-height: 115px;
  padding: 24px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  border-top: 2px solid var(--line);
  background: var(--ink);
  color: white;
}
footer p { margin: 0; font-family: system-ui, sans-serif; font-size: 13px; }
footer p:last-child { text-align: right; }
.footer-brand img { border-color: white; }

@media (max-width: 980px) {
  /* The hidden nav generates no grid box, so the button would auto-place into
     the 1fr track and stretch. Drop to two tracks once the nav is gone. */
  .topbar nav { display: none; }
  .topbar { grid-template-columns: auto auto; justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-art { min-height: 540px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card:nth-child(2), .step-card:nth-child(4) { transform: none; }
  .report-layout, .install-panel { grid-template-columns: minmax(0, 1fr); }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-cta { grid-template-columns: 100px 1fr; }
  .final-cta .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 660px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar .button-small { font-size: 0; width: 44px; padding: 0; }
  .topbar .button-small::after { content: '→'; font-size: 18px; }
  .hero { min-height: auto; padding-bottom: 36px; }
  h1 { font-size: 60px; }
  .hero-lead { font-size: 17px; }
  .hero-art { min-height: 430px; transform: scale(.84); transform-origin: top center; margin-bottom: -70px; }
  .sunburst { width: 360px; height: 360px; right: 50%; transform: translateX(50%); }
  .mascot-card { width: 270px; right: 50%; transform: translateX(50%) rotate(2deg); }
  .mascot-card img { width: 180px; height: 180px; }
  .before-card { left: -30px; }
  .after-card { right: -30px; }
  .ticker { justify-content: flex-start; padding-left: 20px; }
  .content-section { padding-block: 80px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading h2, .install-copy h2 { font-size: 46px; }
  .steps-grid, .feature-strip { grid-template-columns: 1fr; }
  .step-card { min-height: 320px; }
  .report-layout { gap: 34px; }
  .pr-body { padding: 20px; }
  .pr-header { grid-template-columns: 58px 1fr; }
  .pr-header img { width: 56px; height: 56px; }
  .comparison-preview { grid-template-columns: 1fr; }
  .install-panel { padding: 28px; }
  .terminal pre { font-size: 11px; }
  .final-cta { grid-template-columns: 76px 1fr; padding-block: 70px; }
  .final-cta img { width: 72px; height: 72px; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p:last-child { text-align: left; }
}
