/* Meridian Ventures: the ONE stylesheet for every page in site/.
   Three parts: 1. the fonts, served from site/fonts/ (nothing loads from an outside host);
   2. the home page's rules, carried whole; 3. the site's own rules for the other pages. */

/* ---------- 1. Fonts: the latin files of the two families (licence: site/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/newsreader-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/newsreader-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../fonts/newsreader-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2. The home page's rules ----------
   Do not edit between the START and END lines. tools/carry_phone.py owns this part: it checks it against
   the phone piece's copy and writes the phone's rules into it. Put a rule for the site below the END line. */
/* ==== CARRIED: START ==== */
/* Meridian Ventures, home page mock-up (review/fable52).
   Everything is scoped to .mv so the single-file bundle renders the same
   without its own body tag. Smallest text on the page is 15px. */

.mv {
  --blue: #0b2f6b;
  --night: #03101e;
  --gold: #d2b06a;
  --gold-hi: #e3c47a;
  --deep-gold: #5e4a1c;
  --ink: #0b1a26;
  --slate: #3b4a57;
  --paper: #f3f7f9;
  --mist: #c7d3dc;
  --white: #ffffff;
  --line: #d5dfe6;
  --sea: #0e4a8a;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, "Segoe UI", sans-serif;
  --gutter: 20px;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
html { scroll-behavior: smooth; }
body { margin: 0; }
.mv *, .mv *::before, .mv *::after { box-sizing: border-box; }
.mv h1, .mv h2, .mv h3, .mv p, .mv ul, .mv ol, .mv dl, .mv dd, .mv figure { margin: 0; padding: 0; }
.mv ul, .mv ol { list-style: none; }
.mv img { display: block; max-width: 100%; height: auto; }
.mv a { color: inherit; }
.mv h1, .mv h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
.mv h2 { font-size: 32px; line-height: 1.12; max-width: 22ch; }
.mv h3 { font-family: var(--sans); font-weight: 700; font-size: 20px; line-height: 1.25; }
.mv :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.mv .band :focus-visible { outline-color: var(--blue); }
.mv [id] { scroll-margin-top: 16px; }

.mv .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.mv .narrow { max-width: 860px; }
.mv .skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--gold); color: var(--ink); padding: 12px 16px; font-weight: 700; }
.mv .skip:focus { top: 12px; }

/* ---------- Buttons: square, gold, big enough for a thumb ---------- */
.mv .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 12px 24px;
  font: 700 18px/1.2 var(--sans); text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 3px;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.mv .btn-gold { background: var(--gold); color: var(--ink); }
.mv .btn-gold:hover { background: var(--gold-hi); }
.mv .btn-line { border-color: rgba(255, 255, 255, .6); color: var(--white); background: rgba(3, 16, 30, .35); }
.mv .btn-line:hover { border-color: var(--gold); }
.mv .btn:active { transform: translateY(1px); }
.mv .btn-small { min-height: 46px; padding: 8px 16px; font-size: 16px; }
.mv .duo { display: flex; gap: 2px; }
.mv .duo-call { flex: 1 1 auto; border-radius: 3px 0 0 3px; padding-left: 18px; padding-right: 18px; }
.mv .duo-text { flex: 0 0 auto; border-radius: 0 3px 3px 0; padding-left: 18px; padding-right: 18px; }
.mv .hero-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Header: sits on the water ---------- */
.mv .top { position: absolute; left: 0; right: 0; top: 0; z-index: 5; color: var(--white); }
.mv .top-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.mv .brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 600 20px/1 var(--serif); letter-spacing: .01em; margin-right: auto; min-height: 44px; white-space: nowrap; }
.mv .brand img { width: 38px; height: 38px; }
.mv .top-nav { display: none; gap: 28px; }
.mv .top-nav a { font-size: 16px; text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.mv .top-nav a:hover { border-bottom-color: var(--gold); }
.mv .top-phone { font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; padding: 12px 0; color: var(--white); text-shadow: 0 1px 10px rgba(3, 16, 30, .9); }
.mv .top-nav a, .mv .brand { text-shadow: 0 1px 10px rgba(3, 16, 30, .9); }
.mv .top-phone-word { display: none; }
.mv .top-book { display: none; }

/* ---------- Hero ---------- */
.mv .hero { position: relative; background: var(--night); color: var(--white); overflow: hidden; isolation: isolate; }
/* The one place the photograph is named. hero.js reads it from here. */
.mv .hero-world, .mv .close, .mv .offer-price { background-image: url(img/ocean.webp); background-repeat: no-repeat; background-size: cover; }
.mv .hero-world { position: absolute; inset: 0; z-index: -2; background-color: var(--night); background-position: 72% 50%; }
.mv .world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.mv .world.live { opacity: 1; }
/* Scrim: keeps the words readable, leaves the top of the water open on phones. */
.mv .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 16, 30, .50) 0, rgba(3, 16, 30, .12) 70px, rgba(3, 16, 30, .10) 110px, rgba(3, 16, 30, .62) 190px, rgba(3, 16, 30, .74) 60%, rgba(3, 16, 30, .90) 100%);
}
.mv .hero-inner { position: relative; padding-top: 136px; padding-bottom: 28px; }
.mv .hero-who { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--white); text-shadow: 0 1px 10px rgba(3, 16, 30, .95), 0 0 3px rgba(3, 16, 30, .8); margin-bottom: 14px; }
.mv .hero-who img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); }
.mv .hero h1 { font-size: 32px; line-height: 1.06; text-shadow: 0 2px 22px rgba(3, 16, 30, .7); max-width: none; }
.mv .hero h1 span, .mv .hero h1 em { display: block; }
.mv .hero h1 em { color: var(--gold); font-style: italic; font-weight: 500; }
.mv .hero-sub { margin-top: 14px; font-size: 18px; line-height: 1.5; color: #e6eef3; max-width: 36em; text-shadow: 0 1px 12px rgba(3, 16, 30, .8); }
.mv .hero-sub strong { color: var(--white); font-weight: 700; }
.mv .hero-actions { margin-top: 18px; }
.mv .hero-note { margin-top: 10px; font-size: 16px; color: var(--mist); }
.mv .hero-facts { display: none; }
.mv .pause {
  position: absolute; right: var(--gutter); top: 70px; z-index: 4;
  font: 600 15px/1 var(--sans); color: var(--white); background: rgba(3, 16, 30, .55);
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 3px; padding: 9px 12px; cursor: pointer; min-height: 36px;
}
.mv .pause:hover { border-color: var(--gold); }
.mv .pause[hidden] { display: none; }

/* ---------- The meridian: a hard gold line with its dot ---------- */
.mv .meridian { position: relative; height: 4px; background: var(--gold); z-index: 2; }
.mv .meridian i {
  position: absolute; top: 50%; left: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter)));
  width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--night);
}

/* ---------- Light bands ---------- */
.mv .band { padding: 56px 0; }
.mv .band-paper { background: var(--paper); }
.mv .band-white { background: var(--white); }
.mv .kicker { font-weight: 700; font-size: 16px; color: var(--deep-gold); margin-bottom: 10px; letter-spacing: .01em; }
.mv .kicker::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.mv .lede { margin-top: 14px; color: var(--slate); max-width: 40em; }

/* ---------- Three leaks, each with a small phone that plays ---------- */
.mv .leaks { display: grid; gap: 40px; margin-top: 32px; }
.mv .leak { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 8px; align-content: start; }
.mv .leak > * { grid-column: 1 / -1; }
.mv .leak .leak-num {
  grid-column: 1; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: var(--white); font: 700 18px/36px var(--sans); text-align: center; margin-top: 10px;
}
.mv .leak h3 { grid-column: 2; align-self: center; margin-top: 10px; font-size: 22px; }
.mv .leak .pain { font: 500 italic 21px/1.3 var(--serif); color: var(--blue); }
.mv .leak p { color: var(--slate); }
.mv .leak p b { color: var(--ink); }

.mv .demo { margin: 0; }
.mv .phone {
  background: #e4ecf1; border: 6px solid var(--ink); border-radius: 26px; overflow: hidden;
  box-shadow: 0 18px 36px -18px rgba(11, 47, 107, .45);
}
.mv .phone-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 14px 10px; }
.mv .phone-bar b { font-size: 16px; }
.mv .phone-bar span { font-size: 15px; color: var(--slate); }
.mv .thread { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 16px; min-height: 348px; }
.mv .thread .chip { align-self: center; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--slate); background: rgba(255, 255, 255, .7); border-radius: 3px; padding: 4px 10px; text-align: center; }
.mv .thread .chip-good { margin-top: auto; color: var(--white); background: var(--blue); }
.mv .thread .msg { max-width: 88%; font-size: 15.5px; line-height: 1.38; padding: 9px 12px; border-radius: 14px; }
.mv .thread .msg.out { align-self: flex-end; background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; }
.mv .thread .msg.in { align-self: flex-start; background: var(--white); color: var(--ink); border-bottom-left-radius: 4px; }
.mv .thread .msg small { display: block; font-size: 15px; font-weight: 600; color: var(--gold-hi); margin-bottom: 2px; }
.mv .linkpill { display: block; margin-top: 8px; background: var(--white); color: var(--blue); font-weight: 700; font-size: 15px; text-align: center; border-radius: 3px; padding: 6px 8px; }
.mv .demo figcaption { font-size: 15px; color: var(--slate); margin-top: 8px; text-align: center; }

/* The demo plays only while on screen (page.js adds .play). Only transform and opacity move.
   Without JavaScript, or with reduced motion, every message simply shows. */
@keyframes mv-s1 { 0%, 3% { opacity: 0; transform: translateY(10px); } 7%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes mv-s2 { 0%, 15% { opacity: 0; transform: translateY(10px) scale(.96); } 19%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes mv-s3 { 0%, 33% { opacity: 0; transform: translateY(10px) scale(.96); } 37%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes mv-s4 { 0%, 50% { opacity: 0; transform: translateY(10px) scale(.96); } 54%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes mv-s5 { 0%, 64% { opacity: 0; transform: translateY(10px) scale(.96); } 68%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.mv .demo.play .s1 { animation: mv-s1 13s ease-out infinite both; }
.mv .demo.play .s2 { animation: mv-s2 13s ease-out infinite both; }
.mv .demo.play .s3 { animation: mv-s3 13s ease-out infinite both; }
.mv .demo.play .s4 { animation: mv-s4 13s ease-out infinite both; }
.mv .demo.play .s5 { animation: mv-s5 13s ease-out infinite both; }
.mv .demo .msg.out { transform-origin: 100% 100%; }
.mv .demo .msg.in { transform-origin: 0 100%; }

.mv .others { margin-top: 36px; padding: 16px 18px; background: var(--white); border-left: 4px solid var(--gold); color: var(--slate); }
.mv .others b { color: var(--ink); }

/* ---------- The offer ---------- */
.mv .offer { display: grid; margin-top: 28px; border-radius: 4px; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(11, 47, 107, .5); }
.mv .offer-price { position: relative; isolation: isolate; background-color: var(--blue); background-position: 78% 30%; color: var(--white); padding: 28px 22px; display: flex; flex-direction: column; justify-content: center; }
.mv .offer-price::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(11, 47, 107, .80), rgba(3, 16, 30, .86)); }
.mv .offer-name { font-weight: 700; font-size: 17px; color: var(--gold); }
.mv .offer-amt { font: 600 76px/1 var(--serif); letter-spacing: -.02em; margin: 14px 0 14px; }
.mv .offer-price p { color: #e6eef3; }
.mv .offer-price .offer-name { color: var(--gold); }
.mv .offer-price .offer-amt { color: var(--white); }
.mv .offer-three { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(210, 176, 106, .55); }
.mv .offer-three b { color: var(--gold); }
.mv .offer-body { background: var(--paper); padding: 26px 22px; border: 1px solid var(--line); border-top: 0; }
.mv .promise { font: 600 25px/1.22 var(--serif); color: var(--ink); text-wrap: balance; }
.mv .ticks { margin-top: 18px; display: grid; gap: 8px; }
.mv .ticks li { position: relative; padding-left: 30px; }
.mv .ticks li::before { content: ""; position: absolute; left: 4px; top: .36em; width: 14px; height: 8px; border-left: 3px solid var(--sea); border-bottom: 3px solid var(--sea); transform: rotate(-45deg); }
.mv .pay { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--gold); }

.mv .terms { display: grid; gap: 16px; margin-top: 24px; }
.mv .term { background: var(--paper); border-top: 4px solid var(--blue); padding: 22px 20px; }
.mv .term h3 { margin-bottom: 10px; }
.mv .term p + p { margin-top: 10px; }
.mv .term ol { counter-reset: t; display: grid; gap: 8px; }
.mv .term ol li { counter-increment: t; position: relative; padding-left: 34px; }
.mv .term ol li::before { content: counter(t); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--white); font: 700 15px/24px var(--sans); text-align: center; }
.mv .fine { font-size: 16px; color: var(--slate); margin-top: 12px; }

/* ---------- How it works ---------- */
.mv .steps { display: grid; gap: 0; margin-top: 28px; }
.mv .steps li { position: relative; padding: 0 0 26px 58px; }
.mv .steps li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--gold); }
.mv .steps li:last-child::before { display: none; }
.mv .steps .dot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 19px/40px var(--sans); text-align: center; }
.mv .steps .when { font-size: 16px; font-weight: 700; color: var(--deep-gold); }
.mv .steps h3 { font: 600 24px/1.2 var(--serif); margin: 2px 0 4px; }
.mv .steps li > p:last-child { color: var(--slate); }
.mv .need { margin-top: 12px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 20px; }
.mv .need ul { margin-top: 8px; display: grid; gap: 6px; }
.mv .need li { position: relative; padding-left: 20px; color: var(--slate); }
.mv .need li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Proof and Owen ---------- */
.mv .about { display: grid; gap: 28px; }
.mv .about-photo { max-width: 300px; }
.mv .about-photo img { width: 100%; border-radius: 3px; border-bottom: 4px solid var(--gold); }
.mv .about-photo figcaption { font-size: 16px; color: var(--slate); margin-top: 8px; }
.mv .proofs { display: grid; gap: 16px; margin-top: 24px; }
.mv .proof { background: var(--paper); border-top: 4px solid var(--blue); padding: 20px; }
.mv .proof .tag { font-size: 16px; font-weight: 700; color: var(--deep-gold); }
.mv .proof h3 { font: 600 23px/1.2 var(--serif); margin: 4px 0 12px; }
.mv .proof dl { display: grid; gap: 10px; }
.mv .proof dl div { display: grid; grid-template-columns: 68px 1fr; gap: 10px; }
.mv .proof dt { font-weight: 700; font-size: 16px; color: var(--sea); padding-top: 2px; }
.mv .proof dd { color: var(--slate); }
.mv .proof dl div + div dd { color: var(--ink); }
.mv .towns { margin-top: 22px; font-size: 17px; color: var(--slate); }
.mv .towns b { color: var(--ink); }

/* ---------- Fair questions ---------- */
.mv .qa { margin-top: 24px; border-top: 2px solid var(--blue); }
.mv .qa details { border-bottom: 1px solid var(--line); }
.mv .qa summary { position: relative; cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font: 600 22px/1.25 var(--serif); color: var(--ink); }
.mv .qa summary::-webkit-details-marker { display: none; }
.mv .qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 3px solid var(--sea); border-bottom: 3px solid var(--sea); transform: rotate(45deg); transition: transform .2s; }
.mv .qa details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.mv .qa summary:hover { color: var(--blue); }
.mv .qa details p { padding: 0 0 20px; color: var(--slate); max-width: 44em; }

/* ---------- Closing band: the ocean again, still ---------- */
.mv .meridian-close i { box-shadow: 0 0 0 4px var(--paper); }
.mv .close { position: relative; isolation: isolate; background-color: var(--night); background-position: 70% 22%; color: var(--white); padding: 60px 0 64px; }
.mv .close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3, 16, 30, .78) 0, rgba(11, 47, 107, .42) 55%, rgba(11, 47, 107, .12) 100%), linear-gradient(180deg, rgba(3, 16, 30, .10) 60%, rgba(3, 16, 30, .75) 100%); }
.mv .close h2 { font-size: 36px; max-width: 16ch; text-shadow: 0 2px 22px rgba(3, 16, 30, .7); }
.mv .close h2 em { color: var(--gold); font-weight: 500; }
.mv .close-sub { margin-top: 14px; color: #e6eef3; max-width: 32em; }
.mv .close .hero-actions { margin-top: 22px; }
.mv .close .btn-line { overflow-wrap: anywhere; }
.mv .close-recap { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(210, 176, 106, .55); color: var(--mist); max-width: 34em; font-size: 17px; }

/* ---------- Footer ---------- */
.mv .foot { background: var(--night); color: var(--mist); padding: 32px 0 36px; font-size: 16px; }
.mv .foot-row { display: grid; gap: 20px; }
.mv .foot-name { display: flex; align-items: center; gap: 10px; font: 600 20px/1.2 var(--serif); color: var(--white); margin-bottom: 6px; }
.mv .foot a { color: var(--white); text-underline-offset: 3px; display: inline-block; padding: 12px 0; }
.mv .foot a:hover { color: var(--gold); }

/* ---------- Sticky call and text bar, phones only ---------- */
.mv .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 2px; background: var(--night); padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px rgba(3, 16, 30, .35); }
.mv .callbar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 52px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; border-radius: 3px; }
.mv .foot { padding-bottom: 100px; }

/* ---------- Small phones ---------- */
@media (max-width: 359px) {
  .mv { --gutter: 16px; }
  .mv .hero h1 { font-size: 31px; }
  .mv .brand span { display: none; }
}

/* ---------- Tablets ---------- */
@media (min-width: 640px) {
  .mv { --gutter: 28px; }
  .mv h2 { font-size: 38px; }
  .mv .hero h1 { font-size: 46px; }
  .mv .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .mv .leaks { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .mv .terms { grid-template-columns: repeat(2, 1fr); }
  .mv .proofs { grid-template-columns: repeat(2, 1fr); }
  .mv .foot-row { grid-template-columns: 1fr 1fr; }
  .mv .top-phone-word { display: inline; }
}

/* ---------- Desktop ---------- */
@media (min-width: 821px) {
  .mv { font-size: 19px; --gutter: 32px; }
  .mv h2 { font-size: 44px; }
  .mv h3 { font-size: 21px; }
  .mv .band { padding: 88px 0; }
  .mv .callbar { display: none; }
  .mv .foot { padding-bottom: 40px; }

  .mv .top-row { min-height: 84px; gap: 26px; }
  .mv .brand { font-size: 23px; gap: 10px; }
  .mv .brand img { width: 46px; height: 46px; }
  .mv .top-phone { font-size: 17px; }
  .mv .top-book { display: inline-flex; }

  .mv .hero { min-height: max(76vh, 660px); display: flex; }
  /* On wide screens the live canvas covers the right 72 percent. The left is still rock, under the words. */
  .mv .world { left: 28%; width: 72%; }
  .mv .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 16, 30, .90) 0, rgba(3, 16, 30, .80) 30%, rgba(3, 16, 30, .34) 52%, rgba(3, 16, 30, 0) 70%),
      linear-gradient(180deg, rgba(3, 16, 30, .62) 0, rgba(3, 16, 30, 0) 130px, rgba(3, 16, 30, 0) 76%, rgba(3, 16, 30, .55) 100%);
  }
  .mv .hero-inner { display: flex; align-items: center; padding-top: 104px; padding-bottom: 36px; }
  .mv .hero-copy { flex: 0 1 740px; }
  .mv .hero-who { font-size: 17px; margin-bottom: 16px; }
  .mv .hero-who img { width: 44px; height: 44px; }
  .mv .hero h1 { font-size: 58px; line-height: 1.03; }
  .mv .hero h1 span, .mv .hero h1 em { white-space: nowrap; }
  .mv .hero-sub { font-size: 20px; margin-top: 20px; max-width: 31em; }
  .mv .hero-actions { margin-top: 24px; }
  .mv .hero-note { font-size: 17px; margin-top: 12px; }
  .mv .hero-facts { display: flex; position: absolute; right: var(--gutter); bottom: 70px; gap: 0; background: rgba(3, 16, 30, .55); border-top: 3px solid var(--gold); }
  .mv .hero-facts li { padding: 12px 16px 12px; border-left: 1px solid rgba(255, 255, 255, .22); }
  .mv .hero-facts li:first-child { border-left: 0; }
  .mv .hero-facts b { display: block; font: 600 24px/1.1 var(--serif); color: var(--white); white-space: nowrap; }
  .mv .hero-facts li > span { display: block; font-size: 15px; color: var(--mist); white-space: nowrap; margin-top: 3px; }
  .mv .pause { top: auto; bottom: 14px; right: 16px; }

  .mv .leaks { grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 44px; }
  .mv .thread { min-height: 404px; }
  .mv .offer { grid-template-columns: 5fr 7fr; margin-top: 40px; }
  .mv .offer-price { padding: 44px 40px; }
  .mv .offer-amt { font-size: 104px; }
  .mv .offer-body { padding: 40px; border-top: 1px solid var(--line); border-left: 0; }
  .mv .promise { font-size: 30px; }
  .mv .ticks { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .mv .terms { grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 28px; }
  .mv .term { padding: 28px 26px; }

  .mv .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
  .mv .steps li { padding: 64px 0 0; }
  .mv .steps li::before { left: 48px; right: -28px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .mv .steps .dot { width: 48px; height: 48px; line-height: 48px; font-size: 21px; }
  .mv .need { margin-top: 44px; padding: 24px 28px; }

  .mv .about { grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
  .mv .about-photo { max-width: none; position: sticky; top: 24px; }
  .mv .qa summary { font-size: 24px; padding: 20px 48px 20px 0; }
  .mv .close { padding: 96px 0 100px; }
  .mv .close h2 { font-size: 56px; }
  .mv .close-sub { font-size: 21px; }
  .mv .foot-row { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 1020px) {
  .mv .top-nav { display: flex; }
}
@media (min-width: 821px) and (max-width: 1279px) {
  .mv .hero-facts { display: none; }
  .mv .leaks { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mv .world { display: none; }
  .mv .demo.play .s1, .mv .demo.play .s2, .mv .demo.play .s3, .mv .demo.play .s4, .mv .demo.play .s5 { animation: none; }
  .mv .btn, .mv .qa summary::after { transition: none; }
}

/* Tap targets and the phone call button (Sonnet check, 10 Nov) */
.mv .pause { min-height: 44px; }
@media (max-width: 420px) {
  .mv .duo-call { white-space: nowrap; font-size: 16px; padding-left: 12px; padding-right: 12px; }
}

/* ---------- The lit stage: a dark room set into a light band (rt.js draws into it) ---------- */
.mv .stage { margin-top: 28px; }
.mv .stage-view {
  position: relative; height: clamp(430px, 122vw, 560px); background: var(--night);
  border-radius: 4px; overflow: hidden; touch-action: pan-y; cursor: grab;
  box-shadow: 0 24px 48px -28px rgba(11, 47, 107, .5);
}
.mv .stage-view.is-drag { cursor: grabbing; }
.mv .stage-view:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.mv .stage-stills, .mv .stage-stills picture, .mv .stage-stills img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mv .stage-stills img { object-fit: cover; max-width: none; }
.mv .stage-stills > :not(:first-child) { opacity: 0; }
.mv .stage-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
.mv .stage-gl.live { opacity: 1; }
.mv .stage-conv {
  position: absolute; left: 16px; top: 14px; display: flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--sans); color: var(--mist); pointer-events: none;
}
.mv .stage-conv::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.mv .stage-frame { position: relative; }
/* Phones: the line sits under the picture. Wide screens: it sits on the picture, bottom left. */
.mv .stage-say { margin-top: 14px; min-height: 2.5em; font: 500 italic 22px/1.25 var(--serif); color: var(--blue); text-wrap: balance; }
.mv .stage-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.mv .stage-play {
  min-height: 52px; padding: 10px 22px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--blue); color: var(--white); font: 700 18px/1.2 var(--sans); min-width: 12.5em;
}
.mv .stage-play:hover { background: var(--sea); }
.mv .stage-range { flex: 1 1 260px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; color: var(--slate); }
.mv .stage-range input { flex: 1; min-width: 0; height: 44px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.mv .stage-note { margin-top: 10px; font-size: 16px; color: var(--slate); max-width: 44em; }
@media (min-width: 821px) {
  .mv .stage { margin-top: 40px; }
  .mv .stage-view { height: clamp(480px, 46vw, 600px); }
  .mv .stage-conv { left: 24px; top: 20px; }
}
@media (min-width: 1000px) and (min-height: 560px) {
  .mv .stage-say {
    position: absolute; left: 28px; bottom: 24px; margin: 0; max-width: 15em; min-height: 0; pointer-events: none;
    font: 500 28px/1.25 var(--serif); color: var(--white);
    text-shadow: 0 1px 14px rgba(3, 16, 30, .95), 0 0 3px rgba(3, 16, 30, .9);
  }
}
.mv .stage.is-still .stage-view { cursor: default; }
@media (max-height: 480px) and (orientation: landscape) {
  .mv .stage-view { height: 78vh; }
}
@media (prefers-reduced-motion: reduce) {
  .mv .stage-gl { transition: none; }
}

/* "Your numbers": a calm dark panel. Every rule is scoped under .mv .yn.
   Smallest text is 15px. Nothing moves at rest. */

.mv .yn {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; margin-top: 8px;
  background: var(--night);
  background-image: linear-gradient(155deg, rgba(14, 74, 138, .30) 0, rgba(3, 16, 30, 0) 58%);
  color: #fff;
  border: 1px solid rgba(210, 176, 106, .32);
  border-radius: 4px;
  box-shadow: 0 24px 48px -28px rgba(11, 47, 107, .55);
}
.mv .yn.yn :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.mv .yn [hidden] { display: none; }

.mv .yn .yn-in { padding: 28px 18px 26px; min-width: 0; }
.mv .yn .yn-out {
  position: relative; min-width: 0;
  padding: 30px 18px 28px; text-align: center;
  border-top: 1px solid rgba(199, 211, 220, .20);
}

/* ---------- Words ---------- */
.mv .yn .yn-kicker { font-weight: 700; font-size: 16px; letter-spacing: .01em; color: var(--gold); margin-bottom: 10px; }
.mv .yn .yn-kicker::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.mv .yn .yn-title { font-size: 30px; line-height: 1.12; color: #fff; max-width: 16ch; }
.mv .yn .yn-lede { margin-top: 10px; font-size: 17px; color: var(--mist); max-width: 30em; }

/* ---------- Controls ---------- */
.mv .yn .yn-field { margin-top: 26px; }
.mv .yn .yn-label { display: block; font-weight: 600; font-size: 17px; line-height: 1.3; color: #fff; margin-bottom: 8px; }
.mv .yn .yn-help { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--mist); }
.mv .yn .yn-row { display: flex; align-items: center; gap: 16px; }

.mv .yn .yn-box {
  height: 48px; width: 76px; padding: 0 12px;
  font: 600 23px/1 var(--serif); font-variant-numeric: tabular-nums lining-nums;
  color: #fff; text-align: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(199, 211, 220, .55); border-radius: 3px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s, background-color .15s;
}
.mv .yn .yn-box:hover { border-color: var(--gold); }
.mv .yn .yn-box:focus { border-color: var(--gold); background: rgba(255, 255, 255, .10); }
.mv .yn .yn-money { position: relative; display: inline-block; }
.mv .yn .yn-dollar { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font: 600 23px/1 var(--serif); color: var(--gold); pointer-events: none; }
.mv .yn .yn-box-job { width: 168px; padding-left: 32px; text-align: left; }

/* The slider: a thin line, gold up to the thumb. --yn-p is set by numbers.js. */
.mv .yn .yn-range {
  --yn-p: 0%;
  flex: 1 1 auto; min-width: 0; width: 100%; height: 44px; margin: 0; padding: 0;
  background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.mv .yn .yn-range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) 0, var(--gold) var(--yn-p), rgba(199, 211, 220, .34) var(--yn-p), rgba(199, 211, 220, .34) 100%);
}
.mv .yn .yn-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; margin-top: -12px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--night);
  box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(210, 176, 106, .45);
}
.mv .yn .yn-range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(199, 211, 220, .34); }
.mv .yn .yn-range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--gold); }
.mv .yn .yn-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--night);
  box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(210, 176, 106, .45);
}
.mv .yn .yn-range:hover::-webkit-slider-thumb { background: var(--gold-hi); }
.mv .yn .yn-range:hover::-moz-range-thumb { background: var(--gold-hi); }

/* 1 in N stepper */
.mv .yn .yn-step { display: inline-flex; align-items: stretch; }
.mv .yn .yn-btn {
  width: 52px; min-height: 48px; padding: 0; cursor: pointer;
  font: 700 24px/1 var(--sans); color: var(--gold);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(199, 211, 220, .55); border-radius: 3px;
  transition: border-color .15s, background-color .15s;
}
.mv .yn .yn-btn:hover { border-color: var(--gold); background: rgba(255, 255, 255, .10); }
.mv .yn .yn-btn[aria-disabled="true"] { color: #8b99a5; border-color: rgba(199, 211, 220, .30); background: transparent; cursor: default; }
.mv .yn .yn-odds {
  display: flex; align-items: center; justify-content: center; min-width: 112px; padding: 0 12px;
  font: 600 23px/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; color: #fff; white-space: nowrap;
}
.mv .yn .yn-odds b { display: inline-block; min-width: 1.3em; margin-left: .3em; color: var(--gold); text-align: left; }

/* ---------- Result ---------- */
.mv .yn .yn-glow {
  position: absolute; z-index: -1; left: 50%; top: 4px; width: 340px; height: 300px; margin-left: -170px;
  border-radius: 50%; pointer-events: none; opacity: .6;
  background: radial-gradient(closest-side, rgba(210, 176, 106, .26) 0, rgba(14, 74, 138, .26) 52%, rgba(14, 74, 138, 0) 100%);
}
@keyframes yn-breathe {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.07); }
}
/* Two slow breaths (4.2 seconds), then it rests. numbers.js adds and removes .is-live. */
.mv .yn .yn-out.is-live .yn-glow { animation: yn-breathe 2.1s ease-in-out 2; }

.mv .yn .yn-cap { font-size: 17px; font-weight: 600; color: var(--mist); }
.mv .yn .yn-big {
  margin-top: 8px;
  font: 600 68px/1.05 var(--serif); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums lining-nums;
  color: #fff; white-space: nowrap;
  text-shadow: 0 0 34px rgba(227, 196, 122, .30);
}
.mv .yn .yn-big[data-long] { font-size: 46px; padding: 7px 0 8px; }
.mv .yn .yn-per { margin-top: 2px; font: 500 italic 22px/1.2 var(--serif); color: var(--gold); }

.mv .yn .yn-pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; padding: 16px 0; border-top: 1px solid rgba(210, 176, 106, .45); border-bottom: 1px solid rgba(199, 211, 220, .20); }
.mv .yn .yn-pair p { min-width: 0; padding: 0 6px; }
.mv .yn .yn-pair p + p { border-left: 1px solid rgba(199, 211, 220, .20); }
.mv .yn .yn-pair b { display: block; font: 600 25px/1.2 var(--serif); font-variant-numeric: tabular-nums lining-nums; color: #fff; white-space: nowrap; }
.mv .yn .yn-pair[data-long] b { font-size: 18px; line-height: 1.67; }
.mv .yn .yn-pair span { display: block; margin-top: 2px; font-size: 15px; color: var(--mist); }

.mv .yn .yn-hint { margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--gold-hi); }
.mv .yn .yn-hint.is-off { display: none; }
.mv .yn .yn-pay { margin-top: 16px; font-size: 17px; line-height: 1.4; color: #fff; text-wrap: balance; }
.mv .yn .yn-fine { margin: 18px auto 0; max-width: 34em; font-size: 15px; line-height: 1.5; color: var(--mist); text-align: left; }

/* Read by screen readers only. Clipped, not transparent. */
.mv .yn .yn-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Tablets ---------- */
@media (min-width: 640px) {
  .mv .yn .yn-in { padding: 36px 32px 34px; }
  .mv .yn .yn-out { padding: 36px 32px 34px; }
  .mv .yn .yn-title { font-size: 36px; }
}

/* ---------- Desktop and phones on their side: controls left, result right ---------- */
@media (min-width: 821px) {
  .mv .yn { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mv .yn .yn-in { padding: 40px 30px 40px 32px; }
  .mv .yn .yn-out {
    display: flex; flex-direction: column; justify-content: center;
    padding: 40px 32px 40px 30px;
    border-top: 0; border-left: 1px solid rgba(199, 211, 220, .20);
  }
  .mv .yn .yn-glow { top: 50%; margin-top: -250px; width: 420px; height: 380px; margin-left: -210px; }
  .mv .yn .yn-lede { font-size: 18px; }
  .mv .yn .yn-label { font-size: 18px; }
  .mv .yn .yn-cap { font-size: 18px; }
  .mv .yn .yn-big { font-size: 76px; }
  .mv .yn .yn-big[data-long] { font-size: 50px; padding: 13px 0 14px; }
  .mv .yn .yn-per { font-size: 24px; }
  .mv .yn .yn-pair b { font-size: 27px; }
  .mv .yn .yn-pay { font-size: 18px; }
  .mv .yn .yn-hint { font-size: 17px; }
}
@media (min-width: 1100px) {
  .mv .yn .yn-in { padding: 52px 48px 52px 52px; }
  .mv .yn .yn-out { padding: 52px 52px 52px 48px; }
  .mv .yn .yn-title { font-size: 40px; }
  .mv .yn .yn-big { font-size: 96px; }
  .mv .yn .yn-big[data-long] { font-size: 64px; padding: 16px 0 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .mv .yn .yn-out.is-live .yn-glow { animation: none; }
  .mv .yn .yn-box, .mv .yn .yn-btn { transition: none; }
}

/* ---------- Light at the break: low and warm above the gold line, clear below it ----------
   The gold line is the same line of light as the one on the floor of the lit stages. */
.mv .hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 170px; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(210, 176, 106, .34) 0, rgba(210, 176, 106, .12) 36%, rgba(210, 176, 106, 0) 100%);
}
.mv .meridian { box-shadow: 0 0 26px 3px rgba(210, 176, 106, .55), 0 0 3px rgba(255, 240, 205, .95); overflow: hidden; }
.mv .meridian i { box-shadow: 0 0 0 4px var(--night), 0 0 18px 6px rgba(210, 176, 106, .5); }
.mv .meridian { overflow: visible; }
.mv .meridian::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 22%;
  background: linear-gradient(90deg, rgba(255, 246, 222, 0), rgba(255, 246, 222, .98), rgba(255, 246, 222, 0));
  transform: translateX(-110%); opacity: 0;
}
/* One pass of light along the line, once, when it first comes on screen (page.js adds .lit). */
@keyframes mv-sweep { 0% { transform: translateX(-110%); opacity: 0; } 12%, 86% { opacity: 1; } 100% { transform: translateX(470%); opacity: 0; } }
.mv .meridian.lit::after { animation: mv-sweep 1.9s ease-in-out .9s 1 both; }
.mv .meridian + .band-paper { background: linear-gradient(180deg, #ffffff 0, var(--paper) 260px); }
.mv .meridian-close i { box-shadow: 0 0 0 4px var(--paper), 0 0 18px 6px rgba(210, 176, 106, .45); }
@media (prefers-reduced-motion: reduce) {
  .mv .meridian.lit::after { animation: none; }
}

/* "One fix, taken apart": only what the shared lit stage rules lack.
   The name tags over the plates, and the list of the four parts.
   Smallest text is 15px. Every tap target is 44px or more. */

.mv .stage-head { margin-top: 44px; }

/* ---------- Name tags: placed by apart.js with the same camera as the picture ---------- */
/* The tags sit on a layer of their own. A tag that comes, goes or moves then repaints only that layer,
   never the still picture under the live one, so no frame runs slow for it. */
.mv .stage-tags { position: absolute; inset: 0; overflow: hidden; pointer-events: none; will-change: transform; }
.mv .stage-tag {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font: 600 15px/1 var(--sans); color: var(--mist);
}
/* laid out from the start, shown only while in use */
.mv .stage-tag { visibility: hidden; }
.mv .stage-tag.is-shown { visibility: inherit; }   /* 16 Nov, phone piece: inherit, not visible, so the tool that makes the still pictures can hide every tag by hiding their layer */
.mv .stage-tag b { margin-right: 6px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.mv .stage-tag::after {
  content: ""; position: absolute; left: calc(50% + var(--lean, 0px)); top: calc(100% + 4px);
  width: 1px; height: max(0px, var(--lead, 12px) - 4px);
  background: rgba(210, 176, 106, .6);
}
.mv .stage-tags.is-narrow .stage-tag:not(.is-on) span { display: none; }
.mv .stage-tags.is-narrow .stage-tag:not(.is-on) b { margin-right: 0; }
.mv .stage-tag.is-on { color: var(--white); }
.mv .stage-tag.is-on b { color: var(--gold-hi); }
.mv .stage-tag.is-on::after { background: var(--gold-hi); }

/* ---------- The four parts: each row is a button ----------
   A row changes colour at once, with no fade, and the tag lines are one plain colour:
   a fade or a blend drawn for the first time made one frame of the picture run slow. */
.mv .stage-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.mv .stage-parts li { min-width: 0; }
.mv .stage-part {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--white); color: var(--ink);
  font: 600 17px/1.2 var(--sans); text-align: left; cursor: pointer;
}
.mv .stage-part b { font: 700 15px/1 var(--sans); color: var(--deep-gold); font-variant-numeric: tabular-nums; }
.mv .stage-part:hover { border-color: var(--blue); }
.mv .stage-part.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.mv .stage-part.is-on b { color: var(--gold); }
@media (min-width: 821px) {
  .mv .stage-head { margin-top: 56px; }
  .mv .stage-parts { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .mv .stage-part { min-height: 52px; padding: 10px 16px; }
}
.mv .apart-block { margin-top: 44px; }
.mv .apart-block .lede { margin-top: 8px; }

/* Found on the way (it is in today's page too): on a screen 821 to about 900 px wide, such as a phone
   on its side, the text beside the photo ran 48 px past the right edge and was cut off. */
@media (min-width: 821px) {
  .mv .about { grid-template-columns: 340px minmax(0, 1fr); }
}
/* in that width the two proof cards are too narrow side by side: one under the other */
@media (min-width: 821px) and (max-width: 999px) {
  .mv .proofs { grid-template-columns: minmax(0, 1fr); }
}

/* "One fix, taken apart", design 1 (the phone), 16 Nov: the picture behind the name tags is busy (a lit screen,
   a board, gold film), so each tag gets a dark backing. Only this piece: the rule is tied to its id. */
.mv #phone .stage-tag { padding: 5px 9px; border-radius: 3px; background: rgba(3, 16, 30, .78); }
.mv #phone .stage-tag.is-on { background: rgba(3, 16, 30, .9); }
/* Fix round, 16 Nov: a name tag fades in and out over a quarter second instead of jumping. Only this piece. */
.mv #phone .stage-tag { opacity: 0; transition: opacity .25s linear, visibility 0s linear .25s; }
.mv #phone .stage-tag.is-shown { opacity: 1; transition: opacity .25s linear, visibility 0s linear 0s; }
@media (prefers-reduced-motion: reduce) { .mv #phone .stage-tag, .mv #phone .stage-tag.is-shown { transition: none; } }
/* ==== CARRIED: END ==== */

/* ---------- 3. The site's own rules (17 Nov 2026) ----------
   What the three pages need beyond the home page's rules. The values are the ones in the mock-up
   Owen approved on 16 Nov (tools/build_mock_artifact.py, MOCK_CSS). */

/* The dark top of How it works, Examples and the not-found page: the ocean picture, still. */
.mv .page-top { position: relative; isolation: isolate; background-color: var(--night); background-image: url(img/ocean.webp); background-repeat: no-repeat; background-size: cover; background-position: 72% 40%; color: var(--white); padding: 128px 0 34px; }
.mv .page-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3, 16, 30, .84) 0, rgba(11, 47, 107, .46) 55%, rgba(11, 47, 107, .16) 100%), linear-gradient(180deg, rgba(3, 16, 30, .45) 0, rgba(3, 16, 30, .08) 48%, rgba(3, 16, 30, .62) 100%); }
.mv .page-kick { font-weight: 700; font-size: 16px; color: var(--gold); margin-bottom: 10px; letter-spacing: .01em; }
.mv .page-kick::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.mv .page-top h1 { font-size: 34px; line-height: 1.08; max-width: 19ch; text-shadow: 0 2px 22px rgba(3, 16, 30, .7); }
/* How it works: the page top holds the heading, so the four steps start the band. */
.mv #how > .wrap > .steps:first-child { margin-top: 0; }

/* The not-found page is short, so its dark top grows until the page fills the screen. */
[data-page="404"] .mv { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
[data-page="404"] .mv main { flex: 1 0 auto; display: flex; flex-direction: column; }
.mv .page-top-only { flex: 1 0 auto; }

/* The "See ..." lines on the home page, and the link on an example card. */
.mv .see-more { margin-top: 26px; font-weight: 700; }
.mv .see-more a, .mv .card-go a { color: var(--sea); text-underline-offset: 4px; display: inline-block; padding: 10px 0; overflow-wrap: anywhere; }

/* Examples: three cards. */
.mv .cards { display: grid; gap: 20px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.mv .card { background: var(--white); border-top: 4px solid var(--blue); display: flex; flex-direction: column; min-width: 0; }
.mv .card-pic { aspect-ratio: 8 / 5; max-width: 100%; background: var(--night); overflow: hidden; }
.mv .card-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mv .card-hold { display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--white); background: linear-gradient(160deg, var(--blue), var(--night)); }
.mv .card-hold b { font: 600 36px/1 var(--serif); }
.mv .card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mv .card-body .tag { font-size: 16px; font-weight: 700; color: var(--deep-gold); }
.mv .card-body h3 { font: 600 25px/1.2 var(--serif); }
.mv .card-body > p { color: var(--slate); }
.mv .card-body dl { display: grid; gap: 8px; margin-top: 4px; }
.mv .card-body dl div { display: grid; grid-template-columns: 68px 1fr; gap: 10px; }
.mv .card-body dt { font-weight: 700; font-size: 16px; color: var(--sea); padding-top: 2px; }
.mv .card-body dd { color: var(--slate); }
.mv .card-body dl div + div dd { color: var(--ink); }
.mv .card-body .card-go { margin-top: auto; padding-top: 4px; font-weight: 700; }

@media (min-width: 821px) {
  .mv .page-top { padding: 150px 0 60px; }
  .mv .page-top h1 { font-size: 54px; line-height: 1.04; }
}

/* The menu has four links, so it is kept on one line. The link of the page being shown keeps its gold line. */
.mv .top-nav { gap: 22px; }
.mv .top-nav a { white-space: nowrap; }
.mv .top-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
/* Fix round, 18 Nov 2026: the name ran into the menu and the Book button broke onto two lines.
   The menu shows from 1100 px and "Questions" from 1190 px. The Book button stays on one line. */
@media (min-width: 1020px) and (max-width: 1099px) { .mv .top-nav { display: none; } }
@media (min-width: 1100px) and (max-width: 1189px) { .mv .top-nav a[data-nav="questions"] { display: none; } }
.mv .top-book { white-space: nowrap; }
/* A window with a 17 px scroll bar lays the page out 17 px narrower than these widths. Just above each
   of the two widths the menu links sit 4 px closer, so the name keeps 16 px of room there too. */
@media (min-width: 1100px) and (max-width: 1219px) { .mv .top-nav { gap: 18px; } }

/* The footer's row of page links: the way around the site on a phone, where the menu is hidden.
   Each link is 44 px tall or more (the footer's links carry 12 px above and below). */
.mv .foot-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(199, 211, 220, .2); }
.mv .foot-nav a { justify-self: start; white-space: nowrap; min-height: 44px; }
.mv .foot-nav a[aria-current="page"] { color: var(--gold); text-decoration: none; }
@media (min-width: 480px) {
  .mv .foot-nav { display: flex; flex-wrap: wrap; column-gap: 28px; }
}

/* "Your numbers" on a phone (17 Nov 2026): about one screen tall, where it was one and a half.
   Only spacing and sizes change, and only under 640 px. No word and no figure changes.
   Every control stays 44 px or taller and every text is 16 px or larger. Wider screens are untouched. */
@media (max-width: 639px) {
  .mv #yours { padding-top: 0; padding-bottom: 16px; }
  .mv .yn { margin-top: 0; }
  .mv .yn .yn-in { padding: 16px 14px 14px; }
  .mv .yn .yn-out { padding: 16px 14px; }
  .mv .yn .yn-kicker { line-height: 1.2; margin-bottom: 6px; }
  .mv .yn .yn-title { font-size: 24px; }
  .mv .yn .yn-lede { margin-top: 6px; font-size: 16px; line-height: 1.45; }
  .mv .yn .yn-field { margin-top: 12px; }
  .mv .yn .yn-label { margin-bottom: 4px; }
  .mv .yn .yn-help { margin-top: 4px; font-size: 16px; line-height: 1.4; }
  .mv .yn .yn-box { height: 44px; }
  .mv .yn .yn-btn { min-height: 44px; }
  .mv .yn .yn-box-job { width: 150px; }
  /* the big figure and "a month" share one line; if a figure is ever too long, "a month" drops under it */
  .mv .yn .yn-figs { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 10px; }
  .mv .yn .yn-cap, .mv .yn .yn-pair { flex: 0 0 100%; }
  .mv .yn .yn-cap { line-height: 1.3; }
  .mv .yn .yn-big { margin-top: 2px; font-size: 54px; }
  .mv .yn .yn-big[data-long] { font-size: 40px; padding: 7px 0 8px; }   /* the same row height as the short figure */
  .mv .yn .yn-per { margin-top: 0; font-size: 20px; }
  .mv .yn .yn-pair { margin-top: 12px; padding: 8px 0; }
  .mv .yn .yn-pair span { margin-top: 0; font-size: 16px; line-height: 1.3; }
  .mv .yn .yn-hint { margin-top: 8px; line-height: 1.35; }
  .mv .yn .yn-pay { margin-top: 8px; }
  .mv .yn .yn-fine { margin-top: 8px; font-size: 16px; line-height: 1.4; }
}
/* On all but the narrowest phones the "In dollars" line sits beside its box, not under it. */
@media (min-width: 360px) and (max-width: 639px) {
  .mv .yn .yn-field:has(> .yn-money) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .mv .yn .yn-field:has(> .yn-money) > .yn-label { grid-column: 1 / -1; }
  .mv .yn .yn-field:has(> .yn-money) > .yn-help { margin-top: 0; }
}

/* ---------- Fix round, 18 Nov 2026 ---------- */

/* The call band on a phone: the gold "No pitch." sat on bright water and was hard to read.
   One more dark layer, strongest behind the heading and the line under it. The gold is unchanged. */
@media (max-width: 820px) {
  .mv .close::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(3, 16, 30, .55) 0, rgba(3, 16, 30, .55) 320px, rgba(3, 16, 30, .25) 100%); }
}

/* The call bar is fixed to the bottom of the screen under 821 px. A control reached with the Tab key
   must stop above it: the bar's height (64 px, plus the phone's own bottom inset) and 16 px more. */
@media (max-width: 820px) {
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* How it works: the headings run in order (h1, then h2, then h3). The short gold line is the h1 and
   the large line under it is the h2. Each keeps the look it had. */
.mv .page-top h1.page-kick { font: 700 16px/1.55 var(--sans); letter-spacing: .01em; max-width: none; text-shadow: none; text-wrap: wrap; }
.mv .page-top h2.page-head { font-size: 34px; line-height: 1.08; max-width: 19ch; text-shadow: 0 2px 22px rgba(3, 16, 30, .7); }
@media (min-width: 821px) {
  .mv .page-top h2.page-head { font-size: 54px; line-height: 1.04; }
}

/* Home, 18 Nov 2026: the opened phone as a still picture. The picture and the words are one link to the piece
   on How it works. The frame is the piece's own: dark, 4px corners, the same shadow. */
.mv .see-fix { margin-top: 26px; font-weight: 700; max-width: 640px; }
.mv .see-fix a { display: block; color: var(--sea); text-underline-offset: 4px; }
.mv .see-fix-pic { display: block; aspect-ratio: 1704 / 900; background: var(--night); border-radius: 4px; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(11, 47, 107, .5); outline: 3px solid transparent; outline-offset: 2px; transition: outline-color .15s linear; }
.mv .see-fix-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .15s linear; }
.mv .see-fix-words { display: block; padding: 12px 0 10px; overflow-wrap: anywhere; }
.mv .see-fix a:hover { color: var(--blue); }
.mv .see-fix a:hover .see-fix-pic { outline-color: var(--sea); }
.mv .see-fix a:hover .see-fix-pic img { filter: brightness(1.15); }
@media (max-width: 660px) {
  .mv .see-fix { max-width: none; }
  .mv .see-fix-pic { aspect-ratio: 700 / 952; }
}
@media (prefers-reduced-motion: reduce) { .mv .see-fix-pic, .mv .see-fix-pic img { transition: none; } }
