/* Roof & Root home page styles. */

:root { --eve: #191715; --eve-2: #221F1C; --on-eve: #F6F2EA; --on-eve-soft: rgba(246, 242, 234, 0.74); --lamp: #F0B56E; --paper: #F6F1E8; --paper-2: #EDE6DA; --wood: #2B2520; --wood-soft: #675E55; --clay-2: #9C4F22; }

body.v2 { background: var(--eve); }
.v2 .top { background: #191715; -webkit-backdrop-filter: none; backdrop-filter: none; }
.v2 .top .wordmark, .v2 .top .wordmark:hover { color: var(--on-eve); }
.v2 .top .pill { background: var(--on-eve); color: #191715; }
.v2 .top .pill:hover { background: #E7E1D6; color: #191715; }

/* ---- a screen ---- */
.v2 main > section.scr { margin: 0; }
.scr { position: relative; height: calc(100svh - 48px); min-height: 620px; display: grid; overflow: hidden; padding: 44px var(--gut-r) 0 var(--gut) !important; align-content: start; justify-items: center; text-align: center; }
.scr .say { max-width: none; width: 100%; }
.scr .eyebrow { font: 600 15px/20px var(--sans); margin-bottom: 14px; }
.scr h1, .scr h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.028em; text-wrap: balance; }
.scr h1 { font-size: clamp(44px, 12.6vw, 128px); line-height: 0.96; }
.scr h2 { font-size: clamp(34px, 9.4vw, 84px); line-height: 1.0; max-width: 9.2em; margin-inline: auto; }
.scr .line { margin: 18px auto 0; max-width: 33ch; font-size: 18px; line-height: 27px; }
.scr .get { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.scr .get-note { text-align: left; font-size: 14px; line-height: 20px; white-space: nowrap; }

/* fields */
.scr.eve { background: var(--eve); color: var(--on-eve); }
.scr.eve .line, .scr.eve .get-note { color: var(--on-eve-soft); }
.scr.eve .eyebrow { color: var(--lamp); }
.scr.paper { background: var(--paper); color: var(--wood); }
.scr.paper .line { color: var(--wood-soft); }
.scr.paper .eyebrow { color: var(--clay-2); }
.scr.paper.two { background: var(--paper-2); }
.scr.eve.night { background: var(--eve-2); }
.scr.paper .get-note { color: var(--wood-soft); }
/* a screen with a phone in it grows with its words on a phone; the phone stands on its lower edge */
.scr.tall { height: auto; min-height: 0; }
.scr .line.also { margin-top: 14px; }

/* ---- the opening: the words, then the family and their home, unobstructed ----
   The photograph is one 4K render (web-stills/home-golden-1.png). Nothing is laid over the people, the
   car or the house: the headline sits above the picture and the paragraph beside or below it.
   The words are the live site's own. */
.scr.lead { height: auto; min-height: 0; padding: 0 !important; background: var(--eve); color: #fff; grid-template-columns: minmax(0, 1fr); }
.lead .say { display: contents; }
.lead h1 { grid-row: 1; padding: 26px 16px 0; font-size: clamp(31px, 9vw, 128px); line-height: 0.98; }
.lead h1 .accent { display: block; color: #F0B56E; }
.scene { position: relative; grid-row: 3; margin-top: 22px; width: 100%; aspect-ratio: 390 / 322; overflow: hidden; }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: 27% 50%; }
.lead .line { grid-row: 4; margin: 22px auto 0; padding: 0 16px; max-width: 38ch; font-size: 17px; line-height: 25px; color: rgba(255, 255, 255, 0.9); }
.lead .get { grid-row: 2; }
.lead .get-note { color: rgba(255, 255, 255, 0.82); }
.ai-note { font-size: 10px; line-height: 14px; color: rgba(246, 242, 234, 0.38); }
.lead .ai-note { grid-row: 5; margin: 14px 0 0; padding: 0 16px; }
.lead .dev { grid-row: 6; margin-top: 30px; box-shadow: inset 1.5px 0 0 #2C2D33, inset -1.5px 0 0 #2C2D33, inset 0 1.5px 0 #2C2D33, 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.lead .dev .glass { aspect-ratio: 440 / 651; }

/* ---- the phone ---- */
.dev { position: relative; width: min(76vw, 340px); margin-top: 40px; padding: 11px 11px 0; border-radius: 56px 56px 0 0; background: #0B0B0E; box-shadow: inset 0 0 0 1.5px #2C2D33, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 80px -30px rgba(0, 0, 0, 0.6); align-self: end; }
.dev::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 11px; margin-top: 3.2%; width: 27%; aspect-ratio: 3.4 / 1; transform: translateX(-50%); border-radius: 999px; background: #060607; }
.dev .glass { display: block; aspect-ratio: 440 / 700; overflow: hidden; border-radius: 45px 45px 0 0; background: #F2F3F7; }
.dev video, .dev img { display: block; width: 100%; height: auto; }
.scr.paper .dev { box-shadow: inset 0 0 0 1.5px #2C2D33, 0 0 0 1px rgba(0, 0, 0, 0.5), 0 40px 80px -34px rgba(60, 40, 20, 0.5); }

/* ---- a phone with a photograph beside it. The photograph is optional: without one the phone stands alone. ---- */
.duo { width: 100%; display: grid; justify-items: center; align-self: end; }
.duo .photo { margin-top: 34px; }
.duo .photo + .dev { margin-top: 26px; }
.scr.eve .photo { background: #2A2622; }

/* ---- the film: one link in Emergency info; it plays in place of the phone ---- */
.film-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 18px; font: 600 17px/22px var(--sans); color: var(--on-eve); text-decoration: none; }
.film-link .tri { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--lamp); color: var(--lamp); transition: background 200ms var(--ease), color 200ms var(--ease); }
.film-link .tri .i { width: 12px; height: 12px; margin-left: 2px; fill: currentColor; }
.film-link:hover { color: var(--on-eve); }
.film-link:hover .tri { background: var(--lamp); color: #191715; }
.v2 #film { display: none; width: 100%; max-width: 440px; padding: 0; margin-top: 30px; }
.v2 #film.playing, .v2 #film.ended { display: block; }
.v2 #film .film-stage { aspect-ratio: 4 / 5; background: #0E0D0C; border-radius: 28px; }
.v2 #film .credit { margin: 8px 0 0; text-align: left; font-size: 11px; line-height: 15px; color: rgba(246, 242, 234, 0.5); }
.v2 #film .film-controls { padding: 6px 0 0; }
.v2 .film-controls button, .v2 .replay { color: var(--on-eve); }
.v2 .film-controls button:hover, .v2 .replay:hover { background: rgba(246, 242, 234, 0.12); }
.scr.film-on .duo { display: none; }
.scr.film-on { padding-bottom: 40px !important; }

/* ---- what it is: the plain list, beside a picture of home ---- */
.scr.what { height: auto; min-height: 0; padding-bottom: 56px !important; }
.what .say { max-width: none; width: 100%; display: grid; justify-items: center; }
.what h2 { max-width: 14ch; }
.keeps { margin: 30px 0 0; padding: 0; width: 100%; max-width: 520px; text-align: left; }
.keeps > div { display: grid; grid-template-columns: 84px 1fr; gap: 0 12px; padding: 15px 0; border-top: 1px solid rgba(43, 37, 32, 0.16); }
.keeps > div:last-child { border-bottom: 1px solid rgba(43, 37, 32, 0.16); }
.keeps dt { font: 600 19px/26px var(--display); letter-spacing: -0.01em; }
.keeps dd { margin: 0; font-size: 16px; line-height: 24px; color: var(--wood-soft); }
.keeps q { display: block; margin-bottom: 4px; quotes: "“" "”"; font: 500 italic 19px/26px var(--display); letter-spacing: -0.005em; color: var(--wood); }
.what .line { max-width: 36ch; }
.photos { position: relative; width: 100%; max-width: 560px; margin-top: 34px; }
.photos .photo { margin: 0; max-width: none; }
.photos .photo.b { width: 54%; aspect-ratio: 4 / 3; margin: -56px auto 0 10px; border-radius: 22px; box-shadow: 0 0 0 5px var(--paper), 0 24px 44px -24px rgba(60, 40, 20, 0.55); }
.photos:has(.b) .photo:first-child figcaption { bottom: auto; top: 8px; }
.photo { position: relative; width: 100%; max-width: 560px; margin: 34px 0 0; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 2; background: #D9D0C2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* fine print, tucked into the corner */
.photo figcaption { position: absolute; right: 10px; bottom: 7px; font-size: 10px; line-height: 12px; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.5); text-shadow: 0 0 4px rgba(0, 0, 0, 0.35); }

/* ---- screens that hold cards cut from the app, set down like things on a table ---- */
.scr.auto { height: auto; min-height: 0; padding-bottom: 64px !important; }
.objs { width: 100%; max-width: 440px; margin-top: 36px; display: grid; gap: 16px; }
.obj { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #F2F3F7; box-shadow: 0 0 0 1px rgba(43, 37, 32, 0.1), 0 30px 60px -28px rgba(60, 40, 20, 0.45); }
.scr.eve .obj { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px -24px rgba(0, 0, 0, 0.8); }
.obj img { display: block; width: 100%; height: auto; }

.objs.stack { max-width: 520px; gap: 0; }
.stack .photo { margin: 0; max-width: none; }
.stack .over { width: 86%; margin: -44px auto 0; }
.stack .ping { width: 90%; margin: 0 auto -30px; z-index: 2; border-radius: 20px; }
.stack:has(.ping) .photo figcaption { top: 38px; }
.stack.trio .second { width: 86%; margin: 14px auto 0; }
.stack .photo figcaption { bottom: auto; top: 8px; }   /* the cards cover the lower corners */
.stack.trio .second::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, rgba(242, 243, 247, 0) 0%, #F2F3F7 88%); pointer-events: none; }

/* ---- the note ---- */
.note { margin: 0; max-width: 640px; text-align: left; }
.note h2 { font-size: clamp(32px, 8.4vw, 56px); line-height: 1.04; max-width: none; margin-inline: 0; }
.note p { margin-top: 18px; font-size: 18px; line-height: 28px; color: var(--wood-soft); }
.note figcaption { display: flex; align-items: center; gap: 14px; margin-top: 22px; font: 600 16px/22px var(--sans); color: var(--wood); }
.note .face { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* ---- what it costs: Free first, then Plus, set like a household ledger ---- */
.costs { width: 100%; max-width: 520px; margin-top: 30px; text-align: left; }
.tier { padding: 18px 0 20px; border-top: 1px solid rgba(246, 242, 234, 0.6); }
.tier h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; font: 600 28px/34px var(--display); letter-spacing: -0.01em; color: var(--on-eve); }
.tier .amt { color: var(--lamp); font-variant-numeric: lining-nums tabular-nums; }
.tier .amt small { font: 400 15px/20px var(--sans); letter-spacing: 0; color: var(--on-eve-soft); }
.tier .tag { margin: 4px 0 0; font: 500 17px/25px var(--sans); color: var(--on-eve); }
.tier ul { margin: 12px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.tier li { position: relative; padding-left: 18px; font-size: 16px; line-height: 24px; color: var(--on-eve-soft); }
.tier li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: rgba(246, 242, 234, 0.4); }
.bridge { margin: 0; padding: 18px 0 20px; border-top: 1px solid rgba(246, 242, 234, 0.18); font: 500 italic 21px/29px var(--display); color: var(--lamp); text-wrap: balance; }
.answers { width: 100%; max-width: 520px; margin-top: 8px; text-align: left; }
.answers dl { margin: 0; border-top: 1px solid rgba(246, 242, 234, 0.18); }
.answers dl > div { padding: 13px 0 14px; border-bottom: 1px solid rgba(246, 242, 234, 0.18); }
.answers dt { font: 600 15px/22px var(--sans); color: var(--on-eve); }
.answers dd { margin: 2px 0 0; font-size: 15px; line-height: 23px; color: var(--on-eve-soft); }
.answers .small { margin-top: 18px; font-size: 13px; line-height: 20px; color: rgba(246, 242, 234, 0.56); }
.plans a { color: var(--on-eve); }

/* ---- settle in, once ---- */
.js .scr .say, .js .scr .dev, .js .scr .photo, .js .scr .objs, .js .scr .note, .js .scr .costs, .js .scr .answers, .js .scr .photos, .js .scr .duo { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
.js .scr .dev, .js .scr .photo, .js .scr .objs, .js .scr .costs, .js .scr .answers { transition-delay: 120ms; }
.js .scr.in .say, .js .scr.in .dev, .js .scr.in .photo, .js .scr.in .objs, .js .scr.in .note, .js .scr.in .costs, .js .scr.in .answers, .js .scr.in .photos, .js .scr.in .duo { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .scr .say, .js .scr .dev, .js .scr .photo, .js .scr .objs, .js .scr .note, .js .scr .costs, .js .scr .answers, .js .scr .photos, .js .scr .duo { opacity: 1; transform: none; transition: none; } .js .scene img { animation: none; } }

.js .scr .duo .dev, .js .scr .duo .photo, .js .scr .photos .photo, .js .scr .objs .photo { opacity: 1; transform: none; transition: none; }

/* ---- the close ---- */
.scr.end { height: auto; min-height: 0; align-content: center; padding-top: 72px !important; padding-bottom: 80px !important; }
.end h2 { max-width: 11em; }
.end .line { max-width: 30ch; }
.end .get { margin-top: 28px !important; flex-direction: column; gap: 12px; }
.end .get-note { text-align: center; white-space: normal; }
.v2 .foot { margin-top: 0; background: #110F0E; color: rgba(246, 242, 234, 0.6); }
.v2 .foot nav { gap: 0 22px; }

/* ---- a Mac ---- */
@media (min-width: 900px) {
  .scr { height: calc(100svh - 64px); min-height: 600px; padding: 0 max(40px, calc((100vw - 1200px) / 2)) !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 64px; align-items: center; align-content: center; justify-items: start; text-align: left; }
  .scr .say { max-width: none; }
  .scr h1 { font-size: clamp(50px, 5.2vw, 100px); }
  .scr h2 { font-size: clamp(44px, 4.4vw, 72px); max-width: none; margin-inline: 0; }
  .v2 .top, .v2 .foot { padding-inline: max(40px, calc((100vw - 1200px) / 2)); }
  .scr .line { margin-left: 0; max-width: 34ch; font-size: 22px; line-height: 32px; margin-top: 26px; }
  .scr .eyebrow { font-size: 17px; margin-bottom: 18px; }
  .scr .get { justify-content: flex-start; margin-top: 34px; gap: 16px; }
  .scr .get-note { font-size: 15px; line-height: 22px; }
  .dev { --h: min(calc(100svh - 64px - 96px), 760px); width: calc(var(--h) * 440 / 956); margin: 0; padding: calc(var(--h) * 0.0165); border-radius: calc(var(--h) * 0.082); justify-self: center; align-self: center; }
  .dev::before { top: calc(var(--h) * 0.0165); }
  .dev .glass { aspect-ratio: 440 / 956; border-radius: calc(var(--h) * 0.066); }
  .scr.flip .say { order: 2; }
  .scr.flip .dev, .scr.flip .duo, .scr.flip .film { order: 1; }
  .scr.tall { height: calc(100svh - 64px); min-height: 640px; }
  .scr .line.also { margin-top: 18px; }
  .film-link { margin-top: 24px; font-size: 18px; }

  /* a phone, with or without a photograph beside it */
  .duo { width: auto; justify-self: center; align-self: center; }
  .duo .dev { margin: 0; }
  .duo:has(.photo) { width: 100%; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: stretch; }
  .duo:has(.photo) .photo { margin: 0; aspect-ratio: 4 / 5; max-height: min(calc(100svh - 64px - 150px), 560px); justify-self: end; width: auto; height: min(calc(100svh - 64px - 150px), 560px); }
  .duo:has(.photo) .dev { --h: min(calc(100svh - 64px - 190px), 560px); position: relative; z-index: 1; margin: 60px 0 0 -84px !important; }
  .duo .photo + .dev { margin-top: 0; }
  .duo .photo figcaption { right: auto; left: 12px; }

  .v2 #film { margin: 0; justify-self: center; align-self: center; max-width: min(440px, calc((100svh - 64px - 170px) * 0.8)); }
  .scr.film-on { height: auto; min-height: calc(100svh - 64px); padding-top: 40px !important; padding-bottom: 40px !important; }

  /* the opening on a Mac: the headline in two lines across the top, the photograph below it filling the
     right four-fifths and fading into the dark at its left and top edges, the paragraph and badge in the
     dark at the lower left, the app standing in front of the garden at the right */
  .scr.lead { height: calc(100svh - 64px); min-height: 600px; padding: 0 !important; grid-template-columns: minmax(280px, 23vw) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; column-gap: 0; align-items: stretch; align-content: stretch; justify-items: start; text-align: left; }
  .lead h1 { grid-row: 1; grid-column: 1 / -1; padding: 26px 0 18px max(40px, calc((100vw - 1200px) / 2)); font-size: clamp(38px, 3.9vw, 64px); line-height: 1.04; max-width: none; text-wrap: nowrap; }
  .lead h1 .accent { margin-top: 0.06em; }
  .scene { grid-row: 2 / 5; grid-column: 2; margin-top: 0; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%), linear-gradient(180deg, transparent 0, #000 9%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 9%), linear-gradient(180deg, transparent 0, #000 9%); mask-composite: intersect; }
  .scene img { object-position: 22% 58%; }
  .lead .line { grid-row: 3; grid-column: 1; position: relative; z-index: 1; width: calc(100% + 76px); margin: 0; padding: 0 0 0 max(40px, calc((100vw - 1200px) / 2)); max-width: none; font-size: 18px; line-height: 28px; }
  .lead .get { grid-row: 4; grid-column: 1; position: relative; z-index: 1; margin: 20px 0 40px max(40px, calc((100vw - 1200px) / 2)) !important; flex-direction: column; align-items: flex-start; gap: 10px; }
  .lead .dev .glass { aspect-ratio: 440 / 956; }
  .lead .dev { --h: min(calc(100svh - 64px - 300px), 520px); grid-row: 2 / 5; grid-column: 2; justify-self: end; align-self: center; margin: 0 20px 0 0; box-shadow: inset 0 0 0 1.5px #2C2D33, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 50px 90px -30px rgba(0, 0, 0, 0.75); }
  .lead .ai-note { position: absolute; right: 14px; bottom: 6px; margin: 0; padding: 0; }

  .scr.what { height: auto; min-height: calc(100svh - 64px); padding-top: 96px !important; padding-bottom: 96px !important; align-items: center; }
  .what .say { justify-items: start; }
  .what h2 { max-width: 12ch; }
  .keeps { max-width: 560px; margin-top: 40px; }
  .keeps > div { grid-template-columns: 110px 1fr; padding: 18px 0; }
  .keeps dt { font-size: 22px; line-height: 30px; }
  .keeps dd { font-size: 18px; line-height: 28px; }
  .photo { margin: 0; max-width: none; aspect-ratio: 1 / 1; }   /* squarer than before: less of the picture is thrown away, so it stays sharp */
  .what .photo:first-child img { object-position: 62% 50%; }
  .what .line { max-width: 34ch; }
  .keeps q { font-size: 22px; line-height: 30px; margin-bottom: 6px; }
  .photos { margin: 0; max-width: none; }
  .photos:has(.b) { padding-bottom: 0; }
  .photos .photo.b { width: 50%; aspect-ratio: 4 / 3; margin: -128px 0 0 -52px; border-radius: 26px; box-shadow: 0 0 0 6px var(--paper), 0 30px 60px -28px rgba(60, 40, 20, 0.6); }

  .scr.auto { height: auto; min-height: calc(100svh - 64px); padding-top: 96px !important; padding-bottom: 96px !important; }
  .objs { margin: 0; justify-self: center; max-width: 440px; gap: 20px; }
  .scr.flip .objs { order: 1; }
  .objs .nudge { margin-left: 56px; margin-right: -56px; }
  .scr.flip .objs .nudge { margin-left: -56px; margin-right: 56px; }
  .objs.stack { max-width: 540px; }
  .stack .photo { aspect-ratio: 4 / 3; }
  .stack .over { width: 72%; margin: -84px 0 0 -48px; }
  .stack .ping { width: 74%; margin: 0 0 -38px auto; border-radius: 22px; }
  .stack:has(.ping) .photo figcaption { top: 48px; }
  section[aria-labelledby="t-fam"] { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .objs.stack.trio { max-width: none; width: 100%; }
  .stack.trio .photo { aspect-ratio: 16 / 10; }
  .stack.trio .over { width: 300px; margin: -130px 0 0 -48px !important; }
  .stack.trio .second { width: 300px; align-self: start; justify-self: start; margin: -241px 0 0 272px; }
  .scr:not(.flip) .objs.stack { justify-self: end; margin-left: 0; }
  .scr.flip .objs.stack { justify-self: end; margin-right: 24px; }
  .scr.solo { grid-template-columns: 1fr; justify-items: center; }
  .note h2 { font-size: clamp(40px, 3.8vw, 60px); }
  .note p { font-size: 21px; line-height: 33px; margin-top: 22px; }
  .scr.plans { padding-top: 88px !important; padding-bottom: 88px !important; align-items: start; grid-template-rows: auto 1fr; row-gap: 44px; }
  .plans .say { grid-column: 1; grid-row: 1; }
  .plans .answers { grid-column: 1; grid-row: 2; margin: 0; max-width: 470px; align-self: start; }
  .plans .costs { grid-column: 2; grid-row: 1 / 3; margin: 6px 0 0; max-width: 520px; justify-self: end; }
  .tier h3 { font-size: 32px; line-height: 38px; }
  .tier .tag { font-size: 18px; line-height: 27px; }
  .bridge { font-size: 24px; line-height: 32px; padding: 22px 0 24px; }
  .answers dt { font-size: 16px; }
  .answers dd { font-size: 16px; line-height: 24px; }

  .scr.end { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; min-height: 0; padding-top: 120px !important; padding-bottom: 128px !important; }
  .end h2 { max-width: 13em; margin-inline: auto; }
  .end .line { margin-inline: auto; max-width: none; }
  .end .get { justify-content: center; flex-direction: row; gap: 16px; }
  .end .get-note { text-align: left; }
}

/* ---- a small laptop or a tablet on its side: the opening's phone would stand on the family, and the
   household's cards would run off the edge ---- */
@media (min-width: 900px) and (max-width: 1199px) {
  .lead .dev { display: none; }
  .stack.trio .over { width: 240px; margin: -110px 0 0 -32px !important; }
  .stack.trio .second { width: 240px; margin: -190px 0 0 222px; }
}

/* Nov 21 review round: no single-word last lines in the price lists; the QR code for laptop visitors at the close */
.tier li, .answers dd { text-wrap: pretty; }
.end .qr { justify-content: center; margin-top: 30px !important; color: var(--on-eve-soft); }

/* ---- the opening on a Mac, second pass (Nov 21): the headline is the largest type on the page, the
   photograph keeps a clean top edge and fades only at its left, the words sit in the middle of the
   dark column instead of at its foot, and the phone keeps the page's 40px gutter ---- */
@media (min-width: 900px) {
  .lead h1 { font-size: clamp(42px, 4.65vw, 76px); padding-top: 30px; padding-bottom: 22px; }
  .scr.lead { grid-template-rows: auto minmax(0, 1fr) auto auto minmax(0, 1fr); }
  .scene { grid-row: 2 / 6; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%); -webkit-mask-composite: source-over; mask-image: linear-gradient(90deg, transparent 0, #000 11%); mask-composite: add; }
  .lead .line { grid-row: 3; font-size: 19px; line-height: 29px; }
  .lead .get { grid-row: 4; margin-bottom: 0 !important; }
  .lead .dev { grid-row: 2 / 6; margin-right: 40px; }
}
@media (min-width: 900px) and (max-width: 1339px) {
  .lead .line { width: calc(100% + 44px); font-size: 17px; line-height: 26px; }
}

/* ---- cards cut from the app no longer cover what the photographs are of (review, Nov 21): they
   overlap the picture's lower edge by a finger's width and sit below it ---- */
.stack .over { margin-top: -22px; }
.stack.trio .second::after { display: none; }
@media (min-width: 900px) {
  .stack .over { margin: -40px 0 0 -56px; }
  .stack.trio .over { margin: -40px 0 0 -48px !important; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .stack.trio .over { margin: -36px 0 0 -32px !important; }
}

/* ---- the narrowest phones (320 wide): the line beside the App Store badge goes under it instead of running off the edge ---- */
@media (max-width: 359px) {
  .scr .get { flex-direction: column; align-items: center; gap: 10px; }
  .scr .get-note { text-align: center; white-space: normal; }
}

/* ---- the founder's photograph beside his note (Nov 21): large enough to read as a person ---- */
.note .face { width: 72px; height: 72px; box-shadow: 0 0 0 1px rgba(43, 37, 32, 0.12); }
.note figcaption { gap: 16px; font-size: 17px; }
@media (min-width: 900px) {
  .note .face { width: 88px; height: 88px; }
  .note figcaption { gap: 18px; margin-top: 28px; font-size: 18px; }
}

/* ---- second review (Nov 21): the photograph's small print sits under the photograph on a phone, not over the
   app; what a real scan sends is said beside the scan; a QR code under the opening's badge on a computer ---- */
@media (max-width: 899px) {
  .lead .ai-note { grid-row: 4; margin-top: 8px; text-align: right; }
  .lead .line { grid-row: 5; }
}
.scr .fine { margin: 14px auto 0; max-width: 40ch; font-size: 13px; line-height: 20px; color: var(--wood-soft); }
.scr.eve .fine { color: rgba(246, 242, 234, 0.56); }
.lead .qr { display: none; }
@media (min-width: 900px) {
  .scr .fine { margin-left: 0; max-width: 46ch; font-size: 14px; line-height: 21px; }
  .lead .qr { display: flex; grid-row: 5; grid-column: 1; align-self: start; position: relative; z-index: 1; margin: 22px 0 0 max(40px, calc((100vw - 1200px) / 2)) !important; max-width: 250px; color: rgba(246, 242, 234, 0.6); font-size: 14px; line-height: 20px; }
  .lead .qr img { width: 76px; height: 76px; }
}
@media (min-width: 900px) and (max-height: 760px) { .lead .qr { display: none; } }

/* ---- second design review (Nov 21) ---- */
@media (max-width: 899px) {
  /* each phone frame ends between two cards of the screen it shows, never through a row */
  #home .dev .glass { aspect-ratio: 440 / 722; }
  section[aria-labelledby="t4"] .dev .glass { aspect-ratio: 440 / 630; }
  /* a card over a photograph is as wide as the photograph, so no corners poke out beside it */
  .stack .ping, .stack .over, .stack.trio .second { width: 100%; }
  /* the car print hangs lower, off the dog */
  .photos .photo.b { margin-top: -34px; }
}
@media (min-width: 900px) {
  /* the opening: the paragraph stands on plain dark (the photograph starts fading in past it), and the
     small print sits at the foot of the dark column instead of over the picture */
  .scene { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 6.5%, #000 18%); mask-image: linear-gradient(90deg, transparent 0, transparent 6.5%, #000 18%); }
  .lead .ai-note { right: auto; left: max(40px, calc((100vw - 1200px) / 2)); bottom: 12px; max-width: 250px; text-align: left; }
  /* the close: the badge row and the QR row share one left edge */
  .end .get, .end .qr { width: 400px; margin-left: auto !important; margin-right: auto !important; justify-content: flex-start; }
}
@media (min-width: 900px) {
  /* the opening's words sit a little above the middle, so the QR code and the small print both fit under them */
  .scr.lead { grid-template-rows: auto minmax(0, 0.55fr) auto auto minmax(0, 1.45fr); }
}
@media (min-width: 1340px) {
  /* wide screens: the dark column is the page's left gutter plus a fixed measure for the words, so the
     paragraph keeps its width however wide the window is */
  .scr.lead { grid-template-columns: calc(max(40px, (100vw - 1200px) / 2) + 300px) minmax(0, 1fr); }
  .lead .line { width: 100%; }
}

/* ---- Plus: yearly or monthly, one price at a time (Nov 21). Radio buttons and CSS only. ---- */
.bill { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.bill label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(246, 242, 234, 0.3); font: 600 15px/20px var(--sans); color: var(--on-eve-soft); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.bill input:checked + label { background: var(--on-eve); border-color: var(--on-eve); color: #191715; }
.bill input:focus-visible + label { outline: 2px solid var(--lamp); outline-offset: 3px; }
.bill .save { padding: 3px 9px; border-radius: 999px; background: var(--lamp); color: #191715; font: 700 12px/16px var(--sans); letter-spacing: 0.01em; }
.bill .price { display: none; flex-basis: 100%; margin-top: 14px; }
#bill-y:checked ~ .price.y, #bill-m:checked ~ .price.m { display: block; }
.price p { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: var(--on-eve-soft); text-wrap: pretty; }
.price .big { margin: 0; font: 400 17px/1.1 var(--sans); color: var(--on-eve); }
.price .big b { font: 600 46px/1 var(--display); letter-spacing: -0.02em; color: var(--lamp); font-variant-numeric: lining-nums; margin-right: 4px; }
.price .per { margin-top: 10px; font-weight: 500; font-size: 17px; color: var(--on-eve); }
.tier.plus ul { margin-top: 18px; }
@media (min-width: 900px) {
  .price .big b { font-size: 56px; }
  .price .per { font-size: 18px; }
}
@media (min-width: 1340px) {
  /* the photograph slides left a little on wide screens so the phone stands beside the father, not on him */
  .scene img { object-position: 100% 58%; }
  .lead .dev { margin-right: 28px; }
}

/* ---- launch check (Nov 21) ---- */
@media (max-width: 399px) {
  /* the line beside a badge wraps instead of running off a 360 to 389 px screen */
  .scr:not(.lead) .get-note { white-space: normal; }
  .scr:not(.lead) .get-note br { display: none; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  /* a tablet on its side or a small laptop: the photograph beside a phone stays inside the page */
  .duo:has(.photo) .photo { width: 100%; height: auto; max-height: none; }
}

/* ---- what Plus adds, as a list (Nov 21): the app's own seven benefits and the import ---- */
.tier .gets { margin: 16px 0 4px; gap: 0; }
.tier .gets li { padding: 11px 0 11px 0; border-top: 1px solid rgba(246, 242, 234, 0.12); font-size: 15px; line-height: 22px; }
.tier .gets li::before { display: none; }
.tier .gets li:last-child { border-bottom: 1px solid rgba(246, 242, 234, 0.12); }
.tier .gets b { display: block; font: 600 17px/24px var(--sans); color: var(--on-eve); }
.tier.plus .bill { margin-top: 22px; }
.tier .terms li { font-size: 14px; line-height: 21px; }
.tier .terms li::before { top: 8px; }
@media (min-width: 900px) {
  .tier .gets { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .tier .gets li:nth-last-child(2) { border-bottom: 1px solid rgba(246, 242, 234, 0.12); }
}

/* ---- jump to a section (Nov 21): a Menu button on a phone, links in the bar on a wide screen ---- */
html { scroll-padding-top: calc(48px + env(safe-area-inset-top, 0px)); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.v2 .top { gap: 10px; }
.v2 .top .wordmark, .v2 .top .top-hint { margin-right: auto; }
.jump-links { display: none; }
.jump summary { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid rgba(246, 242, 234, 0.32); color: var(--on-eve); font: 600 15px/1 var(--sans); cursor: pointer; list-style: none; position: relative; -webkit-tap-highlight-color: transparent; }
.jump summary::-webkit-details-marker { display: none; }
.jump summary::after { content: ""; position: absolute; inset: -5px -3px; }            /* a 44 px target */
.jump summary .i { width: 18px; height: 18px; }
.jump details[open] summary { background: rgba(246, 242, 234, 0.12); }
.jump summary:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.jump ul { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 6px 16px 14px; list-style: none; background: #191715; border-top: 1px solid rgba(246, 242, 234, 0.14); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.7); max-height: calc(100svh - 48px); overflow-y: auto; }
.jump li + li { border-top: 1px solid rgba(246, 242, 234, 0.1); }
.jump li a { display: flex; align-items: center; min-height: 50px; font: 500 18px/24px var(--sans); color: var(--on-eve); text-decoration: none; }
.jump li a:hover { color: var(--lamp); }
@media (max-width: 379px) { .jump summary span { display: none; } .jump summary { padding: 0 9px; } }
@media (min-width: 900px) {
  html { scroll-padding-top: 64px; }
  .jump ul { left: auto; right: max(40px, calc((100vw - 1200px) / 2)); width: 300px; border: 1px solid rgba(246, 242, 234, 0.14); border-radius: 0 0 18px 18px; padding: 4px 20px 10px; }
}
@media (min-width: 1160px) {
  .jump { display: none; }
  .jump-links { display: block; margin-right: 18px; }
  .jump-links ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
  .jump-links a { font: 500 14px/44px var(--sans); color: var(--on-eve-soft); text-decoration: none; white-space: nowrap; }
  .jump-links a:hover { color: var(--on-eve); }
}
