/* Everglow site. Night navy, cream and bulb gold from the social posts; forms and buttons from the
   iPhone app. See DESIGN-BRIEF.md. */

@font-face {
  font-family: "DM Serif Display";
  src: url("/fonts/dm-serif-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1423;
  --navy-2: #131e33;
  --cream: #f6ecd6;
  --cream-2: rgba(246, 236, 214, .74);
  --cream-line: rgba(246, 236, 214, .16);
  --gold: #ffc94a;
  --gold-hover: #ffd46e;
  --slate: #b9c3d6;

  --bg: #f2f2f7;
  --card: #fff;
  --ink: #0b1423;
  --ink-2: #5f6470;
  --ink-3: #6e6e73;
  --line: rgba(60, 60, 67, .2);
  --fill: rgba(118, 118, 128, .12);
  --switch-off: rgba(120, 120, 128, .2);
  --seg-on: #fff;
  --green: #235641;
  --green-tint: #e5eee9;
  --on-green: #fff;
  --red: #d70015;

  --display: "DM Serif Display", ui-serif, Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
  --card-radius: 26px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111b2e;
    --card: #1a2640;
    --ink: #f6ecd6;
    --ink-2: #b9c3d6;
    --ink-3: #8e98ab;
    --line: rgba(246, 236, 214, .16);
    --fill: rgba(118, 118, 128, .24);
    --switch-off: rgba(120, 120, 128, .32);
    --seg-on: #2e3b57;
    --green: #93d5af;
    --green-tint: rgba(147, 213, 175, .14);
    --on-green: #0b1423;
    --red: #ff6961;
  }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem); line-height: 1.06; }
p { text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: calc(1120px + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip {
  position: absolute;
  left: 12px; top: -64px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* Night sections: the posts' navy, cream and gold. */
.night { background: var(--navy); color: var(--cream); }
.night :focus-visible { outline-color: var(--gold); }

/* Buttons: the app's PrimaryButtonStyle (52pt tall, 16pt corners). */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 16px;
  background: var(--green);
  color: var(--on-green);
  font: 600 17px/1.1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, opacity .15s;
  -webkit-tap-highlight-color: transparent;
}
.button:hover { opacity: .9; }
.button:active { opacity: .75; }
.button[disabled] { opacity: .55; cursor: progress; }
.button-gold { background: var(--gold); color: var(--navy); }
.button-gold:hover { background: var(--gold-hover); opacity: 1; }
.button-small { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.button-full { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.night .text-link { color: var(--cream); }
.text-link:hover { text-decoration: underline; }
.text-link svg, .chevron {
  width: 7px; height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 400 24px/1 var(--display);
  text-decoration: none;
}
.night .brand { color: var(--cream); }
.brand img { border-radius: 22.5%; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; white-space: nowrap; }
.site-nav a:not(.button) { color: var(--ink); font-weight: 500; text-decoration: none; }
.night .site-nav a:not(.button) { color: var(--cream); }
.site-nav a:not(.button):hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--green); }
.night .site-nav a[aria-current="page"] { color: var(--gold); }
@media (max-width: 599px) {
  .nav-how { display: none; }
  .site-nav { gap: 16px; }
}
@media (max-width: 439px) {
  .site-nav a[href="/pros/"] { display: none; }
}

/* Hero */
.hero { padding-top: 28px; padding-bottom: 64px; }
.hero h1 {
  max-width: 15em;
  font-size: clamp(2.25rem, 9.4vw, 3.6rem);
  line-height: 1.04;
}
.gold { color: var(--gold); }
.hero-row { display: grid; gap: 24px; margin-top: 20px; }
.lede { max-width: 33em; color: var(--cream); font-size: 18px; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.areas { margin-top: 18px; color: var(--slate); font-size: 14px; letter-spacing: .01em; }

@media (min-width: 900px) {
  .hero { padding-top: 56px; padding-bottom: 88px; }
  .hero h1 { font-size: clamp(3.6rem, 1rem + 5.2vw, 5.6rem); }
  .hero-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 56px; margin-top: 28px; }
  .actions { padding-bottom: 4px; }
}

/* Before and after, like the "Your photo / In Everglow" post. */
.compare { --split: 50%; margin-top: 36px; }
.compare-frame {
  position: relative;
  aspect-ratio: 1536 / 1030;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy-2);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.compare-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-after { clip-path: inset(0 0 0 var(--split)); }
.compare-line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split);
  width: 2px;
  margin-left: -1px;
  background: var(--gold);
  box-shadow: 0 0 14px 2px rgba(255, 201, 74, .5);
  pointer-events: none;
}
.compare-handle {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.compare-handle svg {
  width: 22px; height: 11px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare-range {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.compare-range:focus-visible + .compare-line .compare-handle { outline: 3px solid var(--cream); outline-offset: 3px; }
.tag {
  position: absolute;
  top: 14px;
  padding: .55em 1em;
  border-radius: 999px;
  font: 700 clamp(11px, 1.3vw, 17px)/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity .2s;
}
.tag-before { left: 14px; background: rgba(11, 20, 35, .78); color: var(--cream); }
.tag-after { right: 14px; background: var(--gold); color: var(--navy); }
.compare figcaption { margin-top: 12px; color: var(--slate); font-size: 13px; }
@media (min-width: 700px) {
  .compare { margin-top: 48px; }
  .compare-frame { border-radius: 28px; }
  .tag { top: 20px; }
  .tag-before { left: 20px; }
  .tag-after { right: 20px; }
}

/* How it works */
.how { padding-block: 80px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }

.phones {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(64vw, 270px);
  gap: 20px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phones > li { scroll-snap-align: start; }
.phone {
  max-width: 280px;
  padding: 6px;
  border-radius: 15.5% / 7.3%;
  background: #111;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 26px 48px -28px rgba(11, 20, 35, .55);
}
.phone img { border-radius: 13.5% / 6.3%; }
.phones h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.step { color: var(--green); font: 400 24px/1 var(--display); }
.phones p { max-width: 30em; margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

@media (prefers-color-scheme: dark) {
  .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
}
@media (min-width: 900px) {
  .how { padding-block: 120px; }
  .section-head { margin-bottom: 56px; }
  .phones {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
}

.next {
  margin-top: 64px;
  padding: 28px 24px 18px;
  border-radius: var(--card-radius);
  background: var(--card);
}
.next-title { font: 400 30px/1.1 var(--display); }
.next-list { max-width: 560px; margin-top: 16px; }
.next-list li { display: flex; gap: 14px; padding: 13px 0; }
.next-list li + li { border-top: 1px solid var(--line); }
.next-list p { padding-top: 3px; color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.next-list strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.dot {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font: 600 14px/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.ours .dot { background: var(--green); color: var(--on-green); }
@media (min-width: 900px) {
  .next { margin-top: 96px; padding: 36px 40px 26px; }
}

/* What we'd install */
.install { padding-block: 80px; background: var(--navy); color: var(--cream); }
.install-grid { display: grid; gap: 48px; align-items: center; }
.install h2 { color: var(--cream); }
.install .lede { margin-top: 16px; }
.spec { margin-top: 30px; border-top: 1px solid var(--cream-line); font-size: 15px; }
.spec > div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-line);
}
.spec dt { color: var(--slate); }
.spec dd { color: var(--cream); }
@media (max-width: 420px) {
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
}

.strand svg { width: 100%; height: auto; overflow: visible; }
.strand .fascia { fill: rgba(246, 236, 214, .1); stroke: var(--cream-2); stroke-width: 1; }
.strand .wire { fill: none; stroke: var(--cream); stroke-width: 2; }
.strand .dim { fill: none; stroke: var(--cream-2); stroke-width: 1; stroke-dasharray: 3 4; }
.strand .dim-line { fill: var(--cream); stroke: var(--cream); stroke-width: 1.4; stroke-linejoin: round; }
.strand .dim-text { fill: var(--cream); font: 600 16px var(--sans); letter-spacing: .02em; }

@media (min-width: 900px) {
  .install { padding-block: 120px; }
  .install-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
}

/* Quote */
.quote { padding-block: 80px 56px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.quote-intro p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.quote-intro .aside { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
@media (min-width: 900px) {
  .quote { padding-block: 120px 72px; }
  .quote-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .quote-intro { position: sticky; top: 40px; }
  .pros-strip .row-card { max-width: calc((100% - 72px) * .85 / 1.85); }
}

/* Forms: the app's inset grouped lists. */
.group { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.group legend {
  float: left;
  width: 100%;
  margin-bottom: 8px;
  padding: 0 20px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
}
.group legend + * { clear: both; }
.rows { overflow: hidden; border-radius: var(--card-radius); background: var(--card); }
.row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
}
.row + .row::before, .checks + .row::before {
  content: "";
  position: absolute;
  top: 0; left: 20px; right: 0;
  height: 1px;
  background: var(--line);
}
@media (min-resolution: 2dppx) {
  .row + .row::before, .checks + .row::before { transform: scaleY(.5); transform-origin: top; }
}
.row:focus-within { box-shadow: inset 0 0 0 2px var(--green); }
.row-label { flex: none; width: 8.4em; font-size: 17px; }
.row input, .row select, .row textarea {
  flex: 1;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  caret-color: var(--green);
}
.row ::placeholder { color: var(--ink-3); opacity: 1; }
.row [aria-invalid="true"] { color: var(--red); }
.row:has([aria-invalid="true"]) .row-label { color: var(--red); }
.row:has([aria-invalid="true"]) .row-label::after { content: " needed"; font-size: 13px; }
.row [aria-invalid="true"]::placeholder { color: var(--red); }
.checks:has([aria-invalid="true"]) .check { color: var(--red); }
.row select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.row-select::after {
  content: "";
  flex: none;
  width: 10px; height: 16px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M1.5 6 5 2.5 8.5 6M1.5 10 5 13.5 8.5 10' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M1.5 6 5 2.5 8.5 6M1.5 10 5 13.5 8.5 10' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.row-stack { flex-direction: column; align-items: stretch; gap: 10px; padding-block: 14px; }
.row-stack .row-label { width: auto; }
.row-stack:focus-within { box-shadow: none; }
.row-toggle { justify-content: space-between; padding-block: 10px; }
.row-toggle .row-label { flex: 1; width: auto; line-height: 1.3; }
.row-area { padding-block: 6px; }
.row textarea { height: auto; min-height: 92px; padding-block: 10px; line-height: 1.4; resize: vertical; }

@media (max-width: 380px) {
  .row-label { width: 7.2em; font-size: 16px; }
}

.row input[type="checkbox"][role="switch"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 51px; height: 31px;
  border-radius: 999px;
  background: var(--switch-off);
  cursor: pointer;
  transition: background .2s;
}
.row input[type="checkbox"][role="switch"]::before {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 3px 1px rgba(0, 0, 0, .06);
  transition: transform .2s ease;
}
.row input[type="checkbox"][role="switch"]:checked { background: var(--green); }
.row input[type="checkbox"][role="switch"]:checked::before { transform: translateX(20px); }

.seg {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  padding: 2px;
  border-radius: 10px;
  background: var(--fill);
}
.seg label { position: relative; display: block; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: block;
  padding: 7px 6px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: background .15s, box-shadow .15s;
}
.seg input:checked + span {
  background: var(--seg-on);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04);
  font-weight: 600;
}
.seg input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 1px; }

.photo-row { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.photo-row:focus-within { box-shadow: none; }
.photo-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  color: var(--green);
  cursor: pointer;
}
.photo-pick:focus-within { box-shadow: inset 0 0 0 2px var(--green); }
.photo-pick svg {
  flex: none;
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.optional { margin-left: 6px; color: var(--ink-3); font-size: 15px; }
.photo-preview { display: flex; align-items: center; gap: 14px; padding: 0 20px 14px; }
.photo-preview img { width: 92px; height: 62px; border-radius: 10px; object-fit: cover; }
.photo-remove {
  margin-left: auto;
  padding: 8px 0 8px 12px;
  border: 0;
  background: none;
  color: var(--red);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.group-foot { padding: 8px 20px 0; color: var(--ink-2); font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin-top: 12px; font-size: 15px; text-align: center; }
.form-status.is-error { color: var(--red); }
.form-fine { margin-top: 2px; color: var(--ink-2); font-size: 13px; text-align: center; }

.sent {
  padding: 44px 28px;
  border-radius: var(--card-radius);
  background: var(--card);
  text-align: center;
}
.sent:focus { outline: none; }
.sent svg {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sent-title { font: 400 34px/1.1 var(--display); }
.sent p { max-width: 26em; margin: 10px auto 0; color: var(--ink-2); }

/* The app's "Install holiday lights?" card */
.pros-strip { padding-bottom: 72px; }
.row-card {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  padding: 16px 22px 16px 16px;
  border-radius: var(--card-radius);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  transition: transform .15s;
}
.row-card:active { transform: scale(.99); }
.row-card-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
}
.row-card-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.row-card-text { flex: 1; display: grid; gap: 2px; }
.row-card-text strong { font-size: 17px; font-weight: 600; }
.row-card-text span { color: var(--ink-2); font-size: 15px; }
.row-card .chevron { flex: none; color: var(--ink-3); }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
  padding-bottom: max(40px, env(safe-area-inset-bottom));
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--ink-2);
  font-size: 13px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 22.5%; }
.footer-brand strong { margin-right: 8px; color: var(--ink); font: 400 20px/1 var(--display); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--green); }

/* Inner pages */
.page { padding-top: 32px; padding-bottom: 80px; }
.page-head { max-width: 680px; }
.page-head h1 { font-size: clamp(2.4rem, 9vw, 4rem); line-height: 1.05; }
.page-head .lede { margin-top: 16px; color: var(--ink-2); }
@media (min-width: 900px) {
  .page { padding-top: 56px; padding-bottom: 112px; }
}

.pros-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
.pros-side .phone { max-width: 260px; }
.pros-side p { max-width: 22em; margin-top: 14px; color: var(--ink-2); font-size: 15px; }
@media (min-width: 900px) {
  .pros-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: 72px; margin-top: 56px; align-items: start; }
  .pros-side { position: sticky; top: 40px; }
}

.checks { display: grid; }
.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  cursor: pointer;
}
.check + .check::before {
  content: "";
  position: absolute;
  top: 0; left: 56px; right: 0;
  height: 1px;
  background: var(--line);
}
@media (min-resolution: 2dppx) {
  .check + .check::before { transform: scaleY(.5); transform-origin: top; }
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  margin: 0;
  border: 1.5px solid var(--ink-3);
  border-radius: 50%;
  cursor: pointer;
}
.check input:checked { border-color: var(--green); background: var(--green); }
.check input:checked::after {
  content: "";
  width: 6px; height: 11px;
  margin-top: -2px;
  border: solid var(--on-green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--green); }

.prose { max-width: 680px; margin-top: 40px; }
.prose h2 { margin-top: 44px; font-size: 1.85rem; line-height: 1.15; }
.prose p, .prose ul { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose .updated { color: var(--ink-2); font-size: 15px; }
.prose .short {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--card-radius);
  background: var(--card);
}
.prose .short p:first-child { margin-top: 0; }

.not-found { min-height: 62vh; display: grid; align-content: center; justify-items: start; gap: 18px; }
.not-found p { color: var(--ink-2); font-size: 18px; }
