/* Visit Brief v2: an editorial print feel (design/v2/CONCEPT.md).
   Paper and ink, one pine action colour, rules instead of cards, square corners, no soft shadows. */
/* Self-hosted Google Fonts, latin subset (Newsreader, Source Sans 3), SIL Open Font Licence. */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/newsreader-500.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/source-sans-3.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/source-sans-3.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/source-sans-3.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;
}

:root {
  --paper: #f7f6f0;
  --sheet: #ffffff;
  --ink: #202923;
  --pine: #40594b;
  --pine-dark: #31463a;
  --moss: #8d987e;
  --ochre: #b58a47;
  --ochre-ink: #8a6420; /* small numerals and marks: 4.5:1 on paper and white */
  --rule: #d3d4ca;
  --quiet: #686e68;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* names the pack and privacy pages use */
  --bg: var(--paper);
  --accent: var(--pine);
  --line: var(--rule);
  --ink-2: var(--quiet);
  --shadow-paper: 0 0 0 1px var(--rule);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.56 var(--body); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--pine); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -.01em; }
.wrap { width: min(1240px, 100% - 128px); margin: 0 auto; }
.narrow { width: min(620px, 100% - 40px); }
.center { text-align: center; }
.label { font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--quiet); margin: 0 0 18px; }

/* buttons: square, pine, one weight */
.btn { appearance: none; border: 0; border-radius: 2px; background: var(--pine); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: .01em; padding: 16px 26px; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--pine-dark); }
.btn:disabled { opacity: .45; cursor: default; }
.btn:focus-visible, .chip:focus-visible, .seg button:focus-visible, a:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.btn-big { width: 100%; max-width: 380px; }
.link { background: none; border: 0; color: var(--quiet); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }
.note, .micro { font-size: 15px; color: var(--quiet); margin: 14px 0 0; max-width: 32em; }

/* masthead */
.mast { border-bottom: 1px solid var(--ink); }
.mast .wrap { display: flex; align-items: baseline; gap: 22px; padding: 18px 0 14px; }
.wordmark { font-family: var(--display); font-size: 26px; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.mast-kicker { font-size: 13px; color: var(--quiet); }
.mast-nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
.mast-nav a { color: var(--ink); text-decoration: none; }
.mast-nav a:hover { text-decoration: underline; }
/* older pages */
.top .wrap { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.logo { font-family: var(--display); font-size: 24px; color: var(--ink); text-decoration: none; }

/* the 12-column grid */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }

/* hero: copy on 5, photo on 7 */
.hero { padding: 56px 0 72px; }
.hero-copy { grid-column: 1 / span 5; align-self: center; padding-right: 8px; }
.hero h1 { font-size: 50px; line-height: 1.06; margin-bottom: 22px; text-wrap: balance; }
.lede { font-size: 20px; line-height: 1.5; margin: 0 0 28px; }
.hero-photo { grid-column: 6 / span 7; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* sections: ruled bands, numbers in the margin */
.band { border-top: 1px solid var(--ink); padding: 72px 0; }
.side { grid-column: 1 / span 4; }
.sec-n { font-family: var(--display); font-size: 15px; color: var(--quiet); margin: 0 0 10px; }
.band h2 { font-size: 34px; line-height: 1.12; margin-bottom: 16px; text-wrap: balance; }
.side p { color: var(--ink); margin: 0 0 16px; max-width: 26em; }

/* quotes */
.quotes { grid-column: 6 / span 7; }
blockquote { margin: 0 0 26px; padding: 2px 0 2px 22px; border-left: 2px solid var(--ochre); font-family: var(--display); font-size: 28px; line-height: 1.3; }
blockquote:nth-of-type(2) { margin-left: 64px; }
blockquote:nth-of-type(3) { font-size: 22px; }
.caption { font-size: 14px; color: var(--quiet); max-width: 36em; margin: 6px 0 0; }

/* the product: a real page, flat on the paper */
.callouts { list-style: none; counter-reset: c; padding: 0; margin: 8px 0 28px; border-top: 1px solid var(--rule); }
.callouts li { counter-increment: c; position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.callouts li::before { content: counter(c); position: absolute; left: 0; top: 10px; font-family: var(--display); color: var(--ochre-ink); font-size: 18px; }
.kitchen { margin: 0; }
.kitchen img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; }
.sheet-wrap { grid-column: 6 / span 7; position: relative; }
.sheet { background: var(--sheet); border: 1px solid var(--rule); padding: 44px 48px 36px; font-size: 15px; line-height: 1.45; }
.sheet p { margin: 0 0 8px; }
.sheet-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); margin-bottom: 14px !important; }
.sheet h3 { font-size: 26px; margin-bottom: 4px; }
.sheet-meta { font-size: 13px; color: var(--quiet); padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.sheet-goal { font-weight: 700; font-size: 16px; margin: 14px 0 6px !important; }
.sheet-h { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); font-weight: 700; margin: 16px 0 5px !important; }
.sheet-score { font-size: 13px; color: var(--quiet); }
.sheet-score b { font-family: var(--display); font-size: 30px; font-weight: 500; color: var(--ink); }
.sheet-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sheet-table td { padding: 4px 0; border-bottom: 1px solid #ecece5; }
.sheet-table td:last-child { text-align: right; color: var(--quiet); }
.sheet-flag { font-size: 14px; margin-top: 14px !important; padding-top: 10px; border-top: 1px solid #ecece5; }
.sheet-foot { font-size: 11px; color: var(--quiet); margin-top: 18px !important; }
.mark { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ochre); color: var(--ochre-ink); font: 600 11px/16px var(--body); text-align: center; margin-right: 8px; vertical-align: 2px; letter-spacing: 0; }
.sheet-2 { width: 62%; margin: -28px 0 0 auto; position: relative; padding: 26px 30px; font-size: 14px; }

/* how it works: ruled rows */
.rows { grid-column: 6 / span 7; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.rows li { display: grid; grid-template-columns: 72px 1fr; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row-n { font-family: var(--display); font-size: 32px; line-height: 1; color: var(--pine); }
.rows b { font-size: 19px; }
.rows p { margin: 4px 0 0; color: var(--quiet); }

/* objections and facts */
.qa { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.qa h3 { font-size: 22px; margin-bottom: 6px; }
.qa p { margin: 0; color: var(--ink); font-size: 17px; }
.facts { grid-column: 6 / span 7; list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; color: var(--quiet); }
.facts b { color: var(--ink); }

/* price */
.price-body { grid-column: 6 / span 6; }
.price-big { font-family: var(--display); font-size: 64px; line-height: 1; margin: 0 0 10px; }
.price-sub { font-size: 17px; color: var(--quiet); margin: 0 0 18px; }
.price-body p { max-width: 34em; }
.price-body .btn { margin-top: 12px; }

/* closing */
.closing-photo { grid-column: 1 / span 4; margin: 0; }
.closing-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.closing-copy { grid-column: 6 / span 6; align-self: end; padding-bottom: 12px; }
.closing-copy h2 { font-size: 40px; }
.closing-copy p { font-size: 19px; margin: 0 0 24px; }

.foot { border-top: 1px solid var(--ink); padding: 28px 0 56px; font-size: 14px; color: var(--quiet); }
.foot p { margin: 0 0 8px; max-width: 60em; }

/* phones: sticky action once the hero button scrolls away */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--ink); display: none; }
.sticky .btn { width: 100%; }

/* ---------- the check-in ---------- */
.quiz { position: fixed; inset: 0; z-index: 10; background: var(--paper); display: flex; flex-direction: column; }
.quiz-top { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--ink); }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; color: var(--ink); cursor: pointer; flex: none; }
.progress-wrap { flex: 1; }
.progress { height: 3px; background: var(--rule); }
.progress i { display: block; height: 100%; width: 0; background: var(--pine); transition: width .3s ease; }
.step-label { font-size: 13px; color: var(--quiet); margin-top: 6px; }
.quiz-body { flex: 1; overflow-y: auto; padding: 28px 20px 48px; }
.quiz-body > div { width: min(640px, 100%); margin: 0 auto; }
.q { font-size: 34px; line-height: 1.12; margin: 0 0 6px; }
.q-note { color: var(--quiet); margin: 0 0 24px; font-size: 16px; }
.q-opt { font-weight: 400; color: var(--quiet); font-size: 15px; }
.qblock { margin-bottom: 26px; }
.qlabel { font-weight: 600; margin: 0 0 10px; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--ink); background: transparent; border-radius: 2px; padding: 10px 14px; min-height: 44px; cursor: pointer; font-size: 16px; text-align: left; }
.chip.on { background: var(--pine); border-color: var(--pine); color: #fff; }
input.num { width: 120px; border: 1px solid var(--ink); background: var(--sheet); border-radius: 2px; padding: 10px 12px; font-size: 18px; }
textarea { width: 100%; border: 1px solid var(--ink); background: var(--sheet); border-radius: 2px; padding: 12px; font-size: 17px; resize: vertical; }
input.num:focus, textarea:focus, .field input:focus { outline: 2px solid var(--ochre); outline-offset: 1px; }
.sym { padding: 16px 0 18px; border-top: 1px solid var(--rule); }
.sym:last-of-type { border-bottom: 1px solid var(--rule); }
.sym-t { font-weight: 700; margin: 0; }
.sym-n { color: var(--quiet); font-size: 15px; margin: 2px 0 12px; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--ink); }
.seg button { min-height: 48px; border: 0; border-left: 1px solid var(--rule); background: var(--sheet); font-size: 14px; line-height: 1.15; padding: 6px 2px; cursor: pointer; }
.seg button:first-child { border-left: 0; }
.seg button.on { background: var(--pine); color: #fff; font-weight: 600; }
.quiz-foot { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 24px; }
.quiz-foot .btn { width: 100%; max-width: 380px; }
.hint { color: #8a4a1f; font-size: 15px; min-height: 1.2em; margin: 0; }

/* ---------- the result and the offer ---------- */
.result { padding: 40px 0 72px; }
.kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); font-weight: 600; margin: 0 0 8px; }
.big-score { display: flex; align-items: baseline; gap: 10px; }
.big-score b { font-family: var(--display); font-weight: 500; font-size: 88px; line-height: 1; }
.big-score span { color: var(--quiet); font-size: 22px; }
.result .band { font-size: 19px; margin: 12px 0 22px; border: 0; padding: 0; }
.areas { display: grid; gap: 0; margin-bottom: 14px; border-top: 1px solid var(--ink); }
.area { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.area-top { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 6px; }
.area-top span:last-child { color: var(--quiet); }
.meter { height: 4px; background: var(--rule); }
.meter i { display: block; height: 100%; background: var(--ink); }
.worst { margin: 12px 0 6px; }
.note-small { font-size: 14px; color: var(--quiet); margin: 0 0 32px; }
.offer { border-top: 2px solid var(--ink); padding: 26px 0 0; margin: 8px 0 18px; }
.offer h2 { font-size: 32px; line-height: 1.12; margin-bottom: 8px; }
.offer > p { color: var(--quiet); margin: 0 0 12px; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--rule); }
.checks li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.mini-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 8px; }
.mini { background: var(--sheet); border: 1px solid var(--rule); padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.mini-t { margin: 0 0 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); font-weight: 700; }
.mini-goal { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.25; }
.mini-l { margin: 4px 0 0; font-size: 10.5px; font-weight: 700; color: var(--quiet); }
.mini i { display: block; height: 4px; background: var(--rule); }
.mini i.s { width: 60%; }
.mini-cap { font-size: 14px; color: var(--quiet); margin: 0 0 14px; }
.opt-fields { margin: 0 0 14px; }
.opt-fields summary { cursor: pointer; color: var(--quiet); font-size: 15px; padding: 6px 0; }
.field { display: block; font-size: 15px; font-weight: 600; margin: 8px 0 12px; }
.field input { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--ink); background: var(--sheet); border-radius: 2px; padding: 10px 12px; font-size: 17px; }
.offer .btn-big { max-width: none; width: 100%; }
.trust { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--quiet); text-align: center; }
.error { color: #8a4a1f; font-size: 15px; margin: 10px 0 0; text-align: center; }
.fine { font-size: 14px; color: var(--quiet); }

/* privacy and other text pages */
.prose { padding: 40px 0 72px; }
.prose h1 { font-size: 40px; margin-bottom: 18px; }
.prose h2 { font-size: 24px; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--ink); }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 40px); }
  .grid { grid-template-columns: 1fr; row-gap: 28px; }
  .hero-copy, .hero-photo, .side, .quotes, .sheet-wrap, .rows, .qa, .facts, .price-body, .closing-photo, .closing-copy { grid-column: 1; }
  .mast .wrap { flex-wrap: wrap; gap: 4px 16px; padding: 14px 0 10px; }
  .mast-kicker { display: none; }
  .mast-nav { gap: 6px; font-size: 14px; }
  .mast-nav a { padding: 12px 6px; }
  .hero { padding: 28px 0 40px; }
  .hero h1 { font-size: 38px; line-height: 1.06; }
  .lede { font-size: 18px; }
  .hero .btn { width: 100%; }
  .hero-photo img { aspect-ratio: 4 / 5; object-position: 72% 50%; }
  .band { padding: 48px 0; }
  .band h2 { font-size: 30px; }
  blockquote { font-size: 22px; }
  blockquote:nth-of-type(2) { margin-left: 0; }
  blockquote:nth-of-type(3) { font-size: 19px; }
  .sheet { padding: 26px 20px 22px; font-size: 14px; }
  .sheet h3 { font-size: 21px; }
  .sheet-2 { width: 88%; margin-top: -16px; }
  .qa, .facts { grid-template-columns: 1fr; }
  .price-big { font-size: 48px; }
  .price-body .btn, .closing-copy .btn { width: 100%; }
  .closing-photo { max-width: 360px; }
  .closing-copy h2 { font-size: 30px; }
  .sticky { display: block; }
  .sticky[hidden] { display: none !important; }
  body { font-size: 17px; }
  .q { font-size: 28px; }
  .big-score b { font-size: 72px; }
  .foot { padding-bottom: 96px; }
}
@media (max-width: 380px) { .seg button { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
