:root {
  --blue: var(--pine);
  --ink: var(--blue);
  --lime: var(--leaf);
  --coral: var(--amber);
  --body-size: 1.0625rem;
}
body { font-size: var(--body-size); line-height: 1.5; }
.mast, .hero, .trust, footer { background: var(--forest); color: var(--cream); }
.mast .brand { font: 700 .9rem var(--mono); }
.mast-inner { min-height: 52px; }
.mast nav a, .foot a { font-size: .9375rem; }
.hero-grid { grid-template-areas: "art" "lead" "install"; padding-bottom: 32px; }
.paper-art { isolation: isolate; position: relative; width: 60%; height: clamp(85.8px, 23.4vw, 147px); margin-block: 2px 11px; }
.paper-word {
  display: block; position: absolute; left: 1%; padding: 0 .22em .065em;
  color: var(--blue); font-size: clamp(1.92rem, 9.18vw, 4.08rem); font-weight: 1000;
  letter-spacing: -.055em; line-height: 1.02;
}
.paper-word.first { top: 4%; background: var(--cream); transform: rotate(-5deg); }
.paper-word.second { top: 46%; left: 7%; background: var(--gold); transform: rotate(2deg); }
.paper-dog {
  z-index: -1; position: absolute; right: 0; top: 19%; width: 39%; height: 71%;
  display: grid; place-items: center; background: var(--lime); transform: rotate(7deg);
  clip-path: polygon(0 7%, 8% 10%, 12% 0, 20% 8%, 27% 1%, 35% 9%, 42% 0, 51% 7%, 61% 1%, 68% 9%, 77% 0, 84% 8%, 94% 1%, 100% 6%, 98% 93%, 89% 89%, 83% 100%, 75% 91%, 65% 100%, 59% 92%, 49% 100%, 39% 93%, 33% 100%, 25% 92%, 16% 100%, 10% 91%, 0 97%);
}
.paper-dog img { width: 80%; height: 91%; object-fit: contain; transform: rotate(-7deg); }

.lead { padding-bottom: 22px; }
.lead .stamp {
  display: inline-block; margin: 0 0 12px; padding: 3px 9px;
  background: var(--coral); color: var(--blue);
  font: 800 .8125rem/1.45 var(--mono); letter-spacing: .07em; text-transform: uppercase;
}
h1 { max-width: 17ch; font-size: 2.5rem; line-height: 1.02; }
h2 { font-size: 2.25rem; line-height: 1.05; }
.lead .subline { max-width: 42ch; margin-top: 12px; font-size: var(--body-size); }
.installer {
  padding: 20px; border-radius: 0 25px 0 0; background: var(--cream);
  box-shadow: 5px 5px 0 var(--gold);
}
.install-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
.installer h2 { margin: 0; font: 1000 1.75rem/1.1 Mulish, sans-serif; letter-spacing: -.035em; text-transform: none; }
.install-heading p { font-weight: 750; }
.tabs { gap: 4px; border-bottom: 1px solid var(--blue); }
.tabs button { color: var(--blue); border-radius: 14px 14px 0 0; font-size: 1rem; }
.tabs button[aria-selected="true"] { background: var(--blue); color: var(--cream); }
.hint, .speaker, .term-bar, .watch-field label, .prices small { font-size: 1rem; line-height: 1.45; }
.installer code {
  white-space: pre; overflow-wrap: normal; overflow-x: auto;
  margin: 8px 0 18px; padding-block: 4px;
  font-size: 1rem; line-height: 1.5;
}
.action {
  background: var(--lime); color: var(--blue); border: 2px solid var(--blue);
  border-radius: 999px; font-size: var(--body-size); line-height: 1.45;
}
.copy { box-shadow: 3px 3px 0 var(--blue); }
.facts { background: var(--gold); }
.fact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.fact-list li { padding: 20px clamp(4px, calc(5vw - 12px), 20px); background: var(--blue); color: var(--cream); }
.fact-list li:nth-child(2) { background: var(--coral); color: var(--blue); }
.fact-list li:nth-child(3) { background: var(--cream); color: var(--blue); }
.number { font-size: clamp(1.5rem, 7.5vw, 3rem); font-variant-numeric: lining-nums tabular-nums; }
.fact-list p { margin-top: 6px; font-size: var(--body-size); }
.sources { margin-top: 14px; font-size: clamp(.8125rem, 4vw, .875rem); line-height: 1.55; }
.steps { padding-block: clamp(36px, 6vw, 88px); }
.step-list { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: step; display: grid; gap: 20px; }
.step-list li {
  counter-increment: step; display: grid; grid-template-columns: 48px 1fr;
  align-content: start; gap: 5px 14px; padding-top: 14px; border-top: 2px solid var(--blue);
}
.step-list li::before { content: counter(step); grid-row: span 2; font-size: 2.75rem; line-height: 1; font-weight: 1000; }
.step-list h3 { font-size: 1.375rem; line-height: 1.15; }
.step-list p { max-width: 39ch; }
.name-checks { padding-block: clamp(28px, 4vw, 54px); background: var(--gold); }
.name-checks dl { margin-top: 18px; display: grid; gap: 14px 32px; }
.name-checks dl > div {
  display: flex; flex-wrap: wrap; align-content: start; align-items: baseline; gap: 6px;
  min-width: 0; padding-top: 10px; border-top: 2px solid var(--blue);
}
.name-checks dt { flex: 0 0 100%; font-weight: 900; }
.name-checks .check-note { flex: 0 0 100%; }
.name-checks dd:not(.check-note) {
  max-width: 100%; padding: 2px 8px; overflow-wrap: anywhere;
  background: var(--cream); color: var(--blue); border: 1px solid currentColor;
  font: 700 1rem/1.45 var(--mono);
}
.demo { background: var(--coral); }
.demo-summary { display: grid; align-content: start; justify-items: start; gap: 20px; }
.receipt {
  width: fit-content; max-width: 100%; padding: 16px 20px;
  border: 1px solid var(--blue); background: var(--cream); box-shadow: 3px 3px 0 var(--blue);
  font: 600 1rem/1.5 var(--mono); overflow-wrap: anywhere;
}
.receipt .checks { display: grid; gap: 6px; list-style: none; padding: 0; }
.receipt .checks li { position: relative; padding-inline-start: 1.5em; }
.receipt .checks li::before {
  content: ""; position: absolute; left: .25em; top: .22em; width: .45em; height: .85em;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.receipt del { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--blue); }
.terminal { border-radius: 0 26px 0 0; border: 2px solid var(--blue); overflow: hidden; }
.term-bar { background: var(--blue); color: var(--cream); flex-wrap: wrap; }
.turn p, .watch-note, .result p { font-size: var(--body-size); line-height: 1.5; }
.result { background: var(--lime); border-top: 1px dashed var(--blue); }
.result > strong { color: var(--blue); }
.result .prices { flex-wrap: wrap; }
.trust { padding-block: 20px; }
.trust strong { color: var(--lime); }
.watch-section { background: var(--cream); }
.watch {
  grid-area: watch;
  min-width: 0;
  padding: clamp(16px, 3vw, 32px);
  border-radius: 0 25px 0 0;
  background: var(--cream);
  color: var(--blue);
}
.paper-art { grid-area: art; }
.lead { grid-area: lead; }
.installer { grid-area: install; }
.watch h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.watch-intro { font-weight: 750; }
.watch h2 + .watch-intro { margin-top: 6px; }
.watch-controls { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
.watch-field input { font-family: var(--mono); }
.watch-field input::placeholder { color: var(--forest); }
.watch-field input[aria-invalid="true"] { border: 2px solid currentColor; }
.watch-news {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-block: 10px;
  cursor: pointer;
}
.watch-news input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.watch-submit { width: 100%; }
.watch-help {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  border-top: 1px solid var(--blue);
  font-size: .9375rem;
}
.watch-help summary, .watch-help > a { padding-block: 12px; cursor: pointer; }
.watch-help p { max-width: 57ch; margin-bottom: 10px; }
.watch-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--forest); }
.watch-page main { flex: 1; }
.watch-page .hero-grid { grid-template-areas: "lead" "watch"; }
.watch-page .lead img { padding: 4px; background: var(--lime); }
.watch-page footer { background: var(--gold); color: var(--blue); }
.faq { background: var(--gold); }
.faq dl { margin: 0; padding-inline: 20px; background: var(--cream); }
.faq dl > div:first-child { border-top: 0; }
.install-close { padding-block: clamp(20px, 3vw, 36px); background: var(--lime); color: var(--blue); }
.install-close > .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.close-feedback { font-weight: 800; }
@media (max-width: 759px) {
  .installer code { white-space: pre-wrap; overflow-wrap: anywhere; }
}
@media (min-width: 760px) {
  :root { --body-size: 1.125rem; }
  h1 { font-size: 3rem; }
  h2 { font-size: 3rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); grid-template-areas: "art install" "lead install";
    gap: 0 6%; padding-block: 20px 48px; align-items: center;
  }
  .paper-art { grid-area: art; width: auto; height: clamp(165px, 18vw, 255px); margin: 0 0 15px; }
  .paper-word { font-size: clamp(3.75rem, 7.7vw, 7.4rem); }
  .lead { grid-area: lead; padding: 0; }
  .installer { grid-area: install; padding: clamp(20px, 3vw, 44px); }
  .watch-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-submit { width: auto; min-width: 10rem; }
  .watch-page .hero-grid { grid-template-areas: "lead watch"; padding-block: clamp(24px, 5vw, 80px); }
  .watch-page .watch { margin: 0; }
  .watch-page .watch-controls { grid-template-columns: minmax(0, 1fr); }
  .watch-page .watch-submit { width: 100%; }
  .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step-list li { display: block; }
  .step-list li::before { display: block; margin-bottom: 16px; font-size: 3.5rem; }
  .step-list h3 { margin-bottom: 8px; }
  .name-checks dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .name-checks dl > div:first-child { grid-column: 1 / -1; }
  .demo-grid { grid-template-columns: .85fr 1.25fr; }
  .trust { padding-block: 26px; font-size: 1.375rem; }
}
@media (min-width: 1100px) {
  h1 { font-size: 4.125rem; }
  h2 { font-size: 3.75rem; }
  .number { font-size: 4.25rem; }
  .fact-list li { padding: 28px; }
  .step-list { gap: 36px; }
}
