/* Stormglass Labs: one stylesheet for every page of stormglasslabs.com.
   The look is the style guide's (brand/style-guide): Paper for reading, Storm (navy and gold) for the header, the
   footer and the bands between sections. In a dark-mode browser the Paper parts turn Storm too.
   Colors are named once, here; change one and every page follows. No styles live in the pages themselves (the
   site's security rules forbid them), so everything is a class in this file. */

@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-var.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "PT Serif"; src: url("../fonts/PT_Serif-Web-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "PT Serif"; src: url("../fonts/PT_Serif-Web-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3VF-Upright.ttf.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3VF-Italic.ttf.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

/* ---------------------------------------------------------------- colors: Paper (light) and Storm (dark) */
:root {
  --ground: #F5F1E8;     /* the page */
  --surface: #FFFFFF;    /* cards */
  --tint: #ECE5D7;       /* quiet sections, write-in boxes, table heads */
  --line: #E2DACB;       /* hairlines */
  --ink: #1C242D;        /* headings and text */
  --ink-soft: #5E6670;   /* captions, notes */
  --accent: #85591A;     /* gold as text on paper: kickers, links, numbers */
  --edge: #B8975F;       /* the gold edge of a card or the product band */
  --brass: #D4AE74;      /* gold fills, both themes */
  --on-brass: #0E151D;
  --safe: #1E5B85; --safe-bg: #E6F0F7;
  --alert: #B42318; --alert-bg: #FBE9E6;
  --btn: #0E151D; --btn-ink: #F2E8D3;
  --shadow: 0 1px 2px rgba(14, 21, 29, .06), 0 8px 24px rgba(14, 21, 29, .08);
  /* the navy bands: the same in both themes */
  --band: #0E151D; --band-2: #131C26; --band-line: #243140;
  --band-ink: #F2E8D3; --band-gold: #D4AE74; --band-soft: #D9D3C4;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --text: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --radius: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0E151D; --surface: #131C26; --tint: #1A2531; --line: #243140; --ink: #F2E8D3; --ink-soft: #C9C2B0;
    --accent: #D4AE74; --edge: #8C6B44; --safe: #8FC3E6; --safe-bg: #142636; --alert: #F28B7D; --alert-bg: #2A1A1C;
    --btn: #D4AE74; --btn-ink: #0E151D; --band: #0A1017; --band-2: #111A23;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0E151D; --surface: #131C26; --tint: #1A2531; --line: #243140; --ink: #F2E8D3; --ink-soft: #C9C2B0;
  --accent: #D4AE74; --edge: #8C6B44; --safe: #8FC3E6; --safe-bg: #142636; --alert: #F28B7D; --alert-bg: #2A1A1C;
  --btn: #D4AE74; --btn-ink: #0E151D; --band: #0A1017; --band-2: #111A23;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- the basics */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.6 var(--text); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; text-wrap: balance; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font: 700 1.3rem/1.25 var(--display); letter-spacing: .01em; }
h4 { font: 700 1.05rem/1.3 var(--text); }
.say { display: block; font: italic 700 clamp(1.25rem, 2.4vw, 1.6rem)/1.25 var(--serif); color: var(--accent); text-transform: none; letter-spacing: 0; margin-top: .35em; }
h1 .say { font-size: clamp(1.4rem, 3vw, 2rem); }
.kicker { font: 600 .78rem/1.2 var(--display); letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.lede { font-size: clamp(1.12rem, 1.8vw, 1.3rem); line-height: 1.55; }
.soft { color: var(--ink-soft); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.center { text-align: center; }
.center .acts { justify-content: center; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brass); color: var(--on-brass); padding: .6em 1em; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.only-print { display: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 700px) { .wrap { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); } }
.narrow { max-width: 780px; }
.reading { max-width: 70ch; }
.sec { padding-block: clamp(48px, 8vw, 88px); }
.sec.tight { padding-block: clamp(32px, 5vw, 56px); }
.sec.tint { background: var(--tint); }
.sec + .sec:not(.tint):not(.band):not(.clouds) { border-top: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.head.center { margin-left: auto; margin-right: auto; }
.head p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.3em;
  border-radius: 8px; border: 2px solid var(--btn); background: var(--btn); color: var(--btn-ink);
  font: 700 .98rem/1.15 var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--edge); }
.btn.ghost:hover { background: color-mix(in srgb, var(--brass) 14%, transparent); filter: none; }
.btn.gold { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
.btn.small { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.6rem; }
.more { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.more:hover { text-decoration: underline; }
.more svg { width: 1em; height: 1em; }

/* ---------------------------------------------------------------- icons (inline SVG, drawn with the text color) */
.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; }
.icon-dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brass) 22%, transparent); color: var(--accent); margin-bottom: 14px; }
.icon-dot .i { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- the header */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
.masthead-in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--band-ink); margin-right: auto; min-width: 0; }
.brand img { width: 48px; height: 48px; flex: none; }
.brand b { display: block; font: 800 1.08rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand small { display: block; font: italic 700 .9rem/1.2 var(--serif); color: var(--band-gold); margin-top: 3px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .drop > summary { color: var(--band-ink); text-decoration: none; font: 600 .98rem/1 var(--text); padding: .7em .8em; border-radius: 6px; cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .3em; min-height: 44px; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary .i { width: .9em; height: .9em; transition: transform .15s; }
.drop[open] > summary .i { transform: rotate(180deg); }
.nav > a:hover, .drop > summary:hover { background: rgba(242, 232, 211, .08); }
.nav > a[aria-current], .drop.here > summary { box-shadow: inset 0 -3px 0 var(--band-gold); border-radius: 0; }
.nav > a.btn { color: var(--on-brass); margin-left: 10px; }
.drop { position: relative; }
.drop-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: var(--band-2); border: 1px solid var(--band-line); border-radius: var(--radius); padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: grid; gap: 2px; }
.drop-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--band-ink); text-decoration: none; }
.drop-menu a:hover, .drop-menu a[aria-current] { background: rgba(242, 232, 211, .07); }
.drop-menu img { width: 36px; height: 40px; object-fit: contain; flex: none; }
.drop-menu .i { width: 22px; height: 22px; color: var(--band-gold); }
.drop-menu b { display: block; font-weight: 700; }
.drop-menu small { display: block; color: var(--band-soft); font-size: .85rem; line-height: 1.3; }
.theme { background: none; border: 1px solid var(--band-line); color: var(--band-ink); border-radius: 8px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; flex: none; }
.theme:hover { border-color: var(--band-gold); }
.theme .i { width: 20px; height: 20px; }
.menu { display: none; }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: .5em .9em; border: 1px solid var(--band-line); border-radius: 8px; font-weight: 700; color: var(--band-ink); }
.menu > summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--band-2); border-bottom: 1px solid var(--band-line); max-height: calc(100vh - 72px); overflow-y: auto; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.menu-panel .wrap { padding-block: 12px 24px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.menu-panel h4 { color: var(--band-gold); font: 600 .74rem/1.2 var(--display); letter-spacing: .22em; text-transform: uppercase; margin: 8px 0 6px; }
.menu-panel a { display: block; padding: 10px 0; color: var(--band-ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--band-line); }
.menu-panel a[aria-current] { color: var(--band-gold); }
@media (max-width: 1020px) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 420px) { .brand small { display: none; } .brand b { font-size: .95rem; } .brand img { width: 42px; height: 42px; } }

/* the rope: the seal's green-and-gold border, as a strip under the big bands */
.rope { height: 10px; background: #0E151D url("../images/rope.png") center / auto 10px repeat-x; }

/* ---------------------------------------------------------------- the big bands */
.hero { position: relative; background: var(--band) url("../images/hero-highlands.jpg") center 38% / cover no-repeat; color: var(--band-ink); overflow: hidden; }
@media (max-width: 760px) { .hero { background-image: url("../images/hero-highlands-960.jpg"); } }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 16, 23, .9) 0%, rgba(10, 16, 23, .72) 52%, rgba(10, 16, 23, .4) 100%); }
.hero > .wrap { position: relative; padding-block: clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1, .band h1, .band h2, .band h3, .clouds h2, .clouds h3 { color: var(--band-ink); }
.hero .say, .band .say, .clouds .say { color: var(--band-gold); }
.hero .kicker, .band .kicker, .clouds .kicker { color: var(--band-gold); }
.hero .lede { color: var(--band-ink); max-width: 38em; }
.hero .soft, .band .soft, .clouds .soft { color: var(--band-soft); }
.hero a:not(.btn), .band a:not(.btn), .clouds a:not(.btn) { color: var(--band-gold); }
.hero .btn.ghost, .band .btn.ghost, .clouds .btn.ghost { color: var(--band-ink); border-color: rgba(242, 232, 211, .45); }
.hero .btn.ghost:hover, .band .btn.ghost:hover, .clouds .btn.ghost:hover { background: rgba(242, 232, 211, .08); }
.hero .btn:not(.ghost), .band .btn:not(.ghost), .clouds .btn:not(.ghost) { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
.hero-mark { width: clamp(120px, 16vw, 180px); height: auto; margin-bottom: 22px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); }
.hero-shot { border-radius: 12px; border: 1px solid rgba(242, 232, 211, .18); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.hero .fine { color: var(--band-soft); font-size: .95rem; margin-top: 1.2rem; }
.band { background: var(--band); color: var(--band-ink); }
.clouds { position: relative; background: var(--band) url("../images/band-clouds.jpg") center / cover no-repeat; color: var(--band-ink); }
.clouds::before { content: ""; position: absolute; inset: 0; background: rgba(10, 16, 23, .72); }
.clouds > .wrap { position: relative; }

/* a page's own header, for the pages that aren't a box */
.page-head { background: var(--band); color: var(--band-ink); }
.page-head .wrap { padding-block: clamp(36px, 6vw, 64px); }
.page-head h1 { color: var(--band-ink); margin-bottom: .2em; }
.page-head .say { color: var(--band-gold); }
.page-head .kicker { color: var(--band-gold); }
.page-head p.lede { color: var(--band-soft); max-width: 44em; margin-top: 1rem; margin-bottom: 0; }
.page-head .acts { margin-top: 1.4rem; }
.page-head .btn.ghost { color: var(--band-ink); border-color: rgba(242, 232, 211, .45); }
.page-head .btn:not(.ghost) { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: var(--band-soft); }
.crumbs a { color: var(--band-soft); }
.subnav { background: var(--band-2); border-bottom: 1px solid var(--band-line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { color: var(--band-soft); text-decoration: none; padding: 14px 12px; white-space: nowrap; font-weight: 600; font-size: .95rem; }
.subnav a[aria-current] { color: var(--band-ink); box-shadow: inset 0 -3px 0 var(--band-gold); }

/* ---------------------------------------------------------------- grids and cards */
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split.top { align-items: start; }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: minmax(0, 1fr); } .split .flip-first { order: -1; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.card.edge { border: 2px solid var(--edge); }
.card.flat { box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card.link { position: relative; transition: transform .15s, box-shadow .15s; }
.card.link:hover { transform: translateY(-2px); }
.card.link h3 a, .card.link h2 a { color: inherit; text-decoration: none; }
.card.link h3 a::after, .card.link h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

.band .card, .clouds .card { background: rgba(242, 232, 211, .05); border-color: var(--band-line); box-shadow: none; color: var(--band-ink); }
.band .card h3, .clouds .card h3 { color: var(--band-ink); }

/* a box: its mark, name, tagline and state */
.box-card { display: flex; flex-direction: column; }
.box-card .mark { width: 96px; height: 106px; object-fit: contain; margin-bottom: 16px; }
.box-card h3 { font-size: 1.55rem; text-transform: uppercase; font-weight: 800; margin-bottom: 0; }
.box-card .say { font-size: 1.15rem; margin: .15em 0 .8em; }
.box-card p { flex: 1; }
.box-card .acts { margin-top: .6rem; }

.pill { display: inline-flex; align-items: center; gap: .35em; font: 700 .72rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; padding: .5em .8em; border-radius: 999px; background: var(--tint); color: var(--ink); vertical-align: middle; }
.pill.gold { background: var(--brass); color: var(--on-brass); }
.pill.safe { background: var(--safe-bg); color: var(--safe); }
.pill.line { background: transparent; border: 1px solid var(--edge); color: var(--accent); }
.band .pill, .clouds .pill, .hero .pill, .page-head .pill { background: rgba(242, 232, 211, .1); color: var(--band-ink); }
.band .pill.gold, .hero .pill.gold, .page-head .pill.gold { background: var(--brass); color: var(--on-brass); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

/* lists: gold diamonds, and numbered steps */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: .25em; top: .6em; width: .5em; height: .5em; background: var(--brass); transform: rotate(45deg); }
.ticks.cols { columns: 2 300px; column-gap: 40px; }
.ticks.cols li { break-inside: avoid; }
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 18px; }
.steps > li { counter-increment: s; position: relative; padding-left: 58px; margin: 0; min-height: 42px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--on-brass); font: 800 1.05rem/1 var(--display); }
.steps h3, .steps h4 { margin-bottom: .2em; }
.steps p { margin: 0; }

/* lights: green, yellow, red, as Prep Box shows them */
.lights { list-style: none; padding: 0; display: grid; gap: 10px; }
.lights li { display: flex; align-items: center; gap: 12px; margin: 0; }
.dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.dot.g { background: #3F8F4A; } .dot.y { background: #D9A322; } .dot.r { background: #C23A2B; }

/* ---------------------------------------------------------------- screenshots */
.shot { margin: 0; }
.shot img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.shot figcaption, .phone figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .7rem; line-height: 1.45; }
.band .shot figcaption, .band .phone figcaption, .clouds .shot figcaption { color: var(--band-soft); }
.band .shot img { border-color: var(--band-line); }
.phone { margin: 0 auto; max-width: 300px; }
.phone img { border-radius: 26px; border: 7px solid #0E151D; box-shadow: var(--shadow); }
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; align-items: start; }
.phones .phone { max-width: 260px; }

/* the product band, as on the free sheets: the box's mark, how it helps, and where to learn more */
.pband { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px 28px; align-items: center; background: var(--band); color: var(--band-ink); border: 2px solid var(--edge); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.pband img { width: 84px; height: 94px; object-fit: contain; }
.pband .kicker { color: var(--band-gold); margin-bottom: .5rem; }
.pband p { margin: 0; }
.pband .btn { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
@media (max-width: 720px) { .pband { grid-template-columns: auto minmax(0, 1fr); } .pband .acts, .pband > .btn { grid-column: 1 / -1; } }

/* notes */
.note { border-left: 4px solid var(--brass); background: var(--tint); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 0 0 1.2em; }
.note > :last-child { margin-bottom: 0; }
.note.safe { border-color: var(--safe); background: var(--safe-bg); }
.note.alert { border-color: var(--alert); background: var(--alert-bg); }
.note b:first-child { display: block; margin-bottom: .2em; }

/* the promises: icon, heading, a few lines */
.promise h3 { font-size: 1.12rem; text-transform: uppercase; letter-spacing: .03em; }
.promise p { margin: 0; color: var(--ink-soft); }
.band .promise p, .clouds .promise p { color: var(--band-soft); }
.band .icon-dot, .clouds .icon-dot { background: rgba(212, 174, 116, .16); color: var(--band-gold); }

/* stats, as on the infographics */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.stat b { display: block; font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--display); color: var(--accent); }
.band .stat b, .clouds .stat b { color: var(--band-gold); }
.stat span { display: block; margin-top: .4rem; font-size: .95rem; color: var(--ink-soft); }
.band .stat span, .clouds .stat span { color: var(--band-soft); }

/* ---------------------------------------------------------------- testimonials */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 1rem; font: italic 400 1.15rem/1.5 var(--serif); }
.quote blockquote::before { content: "\201C"; display: block; font: 700 3rem/0.6 var(--serif); color: var(--brass); margin-bottom: .4rem; }
.quote figcaption { font-size: .95rem; color: var(--ink-soft); }
.quote figcaption b { color: var(--ink); }

/* ---------------------------------------------------------------- questions */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font: 700 1.08rem/1.35 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--display); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 18px; max-width: 70ch; }
.faq .a > :last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: .8rem; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.toc a { text-decoration: none; }

/* ---------------------------------------------------------------- Kit sign-up forms */
.kit { max-width: 560px; }
.kit label { display: block; font-weight: 700; margin-bottom: .45rem; }
.kit-row { display: flex; gap: 10px; flex-wrap: wrap; }
.kit input[type="email"] { flex: 1 1 240px; min-width: 0; }
.kit .fine { font-size: .88rem; color: var(--ink-soft); margin: .7rem 0 0; }
.band .kit .fine, .clouds .kit .fine, .foot .kit .fine { color: var(--band-soft); }
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .signup { grid-template-columns: minmax(0, 1fr); } }

/* form fields: the calculators and the sign-ups */
input[type="email"], input[type="number"], input[type="text"], select, textarea {
  font: 400 1.05rem/1.3 var(--text); color: var(--ink); background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--ink-soft) 55%, transparent);
  border-radius: 8px; padding: .65em .8em; min-height: 48px; width: 100%; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brass); outline-offset: 1px; border-color: var(--accent); }
.band input[type="email"], .clouds input[type="email"], .foot input[type="email"] { background: rgba(242, 232, 211, .07); color: var(--band-ink); border-color: rgba(242, 232, 211, .35); }
.band input::placeholder, .foot input::placeholder { color: rgba(242, 232, 211, .55); }

/* ---------------------------------------------------------------- free guides */
.guide-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.guide-card .cover { display: block; background: var(--tint); border-bottom: 1px solid var(--line); aspect-ratio: 510 / 600; overflow: hidden; }
.guide-card .cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.guide-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.guide-card .body p { flex: 1; color: var(--ink-soft); }
.guide-card h3 { font-size: 1.15rem; text-transform: uppercase; }
.guide-page { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .guide-page { grid-template-columns: minmax(0, 1fr); } .guide-page .cover-big { max-width: 340px; } }
.cover-big img { border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-size: .95rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.facts li { margin: 0; }

/* the calculators' cards */
.tool-card .icon-dot { margin-bottom: 16px; }
.tool-card h3 { font-size: 1.15rem; text-transform: uppercase; }
.tool-card p { color: var(--ink-soft); }

/* ---------------------------------------------------------------- a calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc form { display: grid; gap: 22px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend, .field > label, .field > .label { display: block; font-weight: 700; margin-bottom: .45rem; padding: 0; }
.field .hint { display: block; font-size: .9rem; color: var(--ink-soft); margin-top: .4rem; line-height: 1.4; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); gap: 12px; }
.unit { position: relative; }
.unit input { padding-right: 3.6em; }
.unit span { position: absolute; right: .8em; top: 50%; transform: translateY(-50%); color: var(--ink-soft); font-size: .92rem; pointer-events: none; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: .45em 1em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 600; font-size: .96rem; }
.seg input:checked + span { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.seg input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.people { display: grid; gap: 10px; }
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; gap: 8px; align-items: end; padding: 12px; background: var(--tint); border-radius: 10px; }
.person .pf { display: block; min-width: 0; }
.person .pf > span { font-size: .82rem; font-weight: 700; color: var(--ink-soft); display: block; margin-bottom: .25rem; }
.person input, .person select { min-height: 44px; padding: .45em .6em; font-size: 1rem; }
.person .x { min-height: 44px; width: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; font-size: 1.3rem; line-height: 1; }
@media (max-width: 520px) { .person { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .person .x { grid-column: 2; justify-self: end; } }
.out { position: sticky; top: 92px; background: var(--band); color: var(--band-ink); border-radius: var(--radius); border: 2px solid var(--edge); padding: clamp(20px, 3vw, 30px); }
@media (max-width: 900px) { .out { position: static; } }
.out .kicker { color: var(--band-gold); }
.out h2 { color: var(--band-ink); font-size: 1.15rem; margin-bottom: 1rem; }
.big { display: block; font: 800 clamp(2.6rem, 6vw, 3.6rem)/1 var(--display); color: var(--band-gold); }
.big small { font-size: .38em; font-weight: 700; color: var(--band-ink); letter-spacing: .02em; margin-left: .2em; }
.out .sub { color: var(--band-soft); margin: .5rem 0 1.2rem; }
.out dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0 0 1rem; padding: 14px 0 0; border-top: 1px solid var(--band-line); }
.out dt { color: var(--band-soft); }
.out dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.out .note { background: rgba(242, 232, 211, .06); color: var(--band-ink); border-color: var(--band-gold); font-size: .95rem; }
.out .note.alert { border-color: #F28B7D; }
.out .acts { margin-top: 1rem; }
.out .btn.ghost { color: var(--band-ink); border-color: rgba(242, 232, 211, .4); }
.meter { margin: 6px 0 16px; }
.meter-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 4.5em; gap: 10px; align-items: center; font-size: .9rem; margin-bottom: 8px; }
.meter-row .bar { height: 12px; background: rgba(242, 232, 211, .1); border-radius: 6px; overflow: hidden; }
.meter-row .bar i { display: block; height: 100%; width: 0; background: var(--band-gold); border-radius: 6px; }
.meter-row .bar i.goal { background: #8FC3E6; }
.meter-row b { text-align: right; font-variant-numeric: tabular-nums; }
.how { font-size: .96rem; }
.how h3 { font-size: 1.05rem; text-transform: uppercase; margin-top: 1.4em; }
.how table { margin-bottom: 1em; }
.sources { font-size: .88rem; color: var(--ink-soft); }
.sources li { margin-bottom: .3em; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: .96rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--tint); font: 700 .78rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.tbl td.n, .tbl th.n { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; }

/* ---------------------------------------------------------------- the three ways to buy */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .ways { grid-template-columns: minmax(0, 1fr); } }
.way { display: flex; flex-direction: column; }
.way h3 { text-transform: uppercase; font-size: 1.2rem; }
.way .price { font: 800 1.9rem/1.1 var(--display); color: var(--accent); margin: .2rem 0 .1rem; }
.way .price.to-come { font-size: 1.2rem; color: var(--ink-soft); }
.way .price-note { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1rem; }
.way ul { flex: 1; }
.way.best { border: 2px solid var(--edge); }
.box-ways { margin-bottom: 64px; }
.box-ways:last-child { margin-bottom: 0; }
.box-ways > header { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.box-ways > header img { width: 64px; height: 72px; object-fit: contain; }
.box-ways > header h2 { margin: 0; }
.box-ways > header .say { margin-top: .1em; font-size: 1.1rem; }

/* ---------------------------------------------------------------- video */
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.player video, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #0E151D; color: #F2E8D3; display: grid; place-items: center; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt .play { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--brass); color: var(--on-brass); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.yt .play svg { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; stroke: none; }
.yt .yt-title { position: absolute; left: 18px; right: 18px; bottom: 16px; text-align: left; font: 700 1.05rem/1.3 var(--text); text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.yt:hover .play { filter: brightness(1.1); }
.yt-note { font-size: .85rem; color: var(--ink-soft); margin-top: .6rem; }
.video-card { padding: 0; overflow: hidden; }
.video-card .thumb { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--band); }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .thumb .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: var(--brass); color: var(--on-brass); display: grid; place-items: center; }
.video-card .thumb .play svg { width: 24px; height: 24px; margin-left: 4px; fill: currentColor; stroke: none; }
.video-card .thumb .len { position: absolute; right: 10px; bottom: 10px; background: rgba(10, 16, 23, .85); color: #F2E8D3; font: 700 .8rem/1 var(--text); padding: 5px 7px; border-radius: 5px; }
.video-card .body { padding: 18px 20px 20px; }
.video-card h3 { font-size: 1.08rem; text-transform: uppercase; }
.video-card p { color: var(--ink-soft); margin: 0; }

/* ---------------------------------------------------------------- the gallery */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.gal figure { margin: 0; }
.gal a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.gal img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .25s; }
.gal a:hover img { transform: scale(1.02); }
.gal figure.tall img { object-fit: contain; object-position: center; background: var(--tint); padding: 8px 0; }
.gal figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .55rem; line-height: 1.4; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); max-height: 94vh; color: #F2E8D3; }
.lightbox::backdrop { background: rgba(6, 10, 14, .9); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 8px; }
.lightbox p { text-align: center; margin: .8rem auto 0; max-width: 60em; }
.lightbox .lb-bar { display: flex; justify-content: center; gap: 10px; margin-top: .8rem; }
.lightbox button { min-height: 44px; min-width: 44px; border-radius: 8px; border: 1px solid rgba(242, 232, 211, .35); background: rgba(14, 21, 29, .8); color: #F2E8D3; font: 700 .95rem/1 var(--text); padding: 0 14px; cursor: pointer; }

/* ---------------------------------------------------------------- gear (affiliate links) */
.gear-item { display: flex; flex-direction: column; }
.gear-item h3 { font-size: 1.08rem; }
.gear-item p { flex: 1; color: var(--ink-soft); }
.gear-item .where { font-size: .85rem; color: var(--ink-soft); margin-top: .6rem; }

/* ---------------------------------------------------------------- the links page (for the socials' bio) */
.linkpage { max-width: 560px; margin: 0 auto; text-align: center; }
.linkpage .seal { width: 112px; margin: 0 auto 14px; }
.linklist { display: grid; gap: 12px; margin-top: 28px; text-align: left; }
.linklist a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.linklist a:hover { border-color: var(--edge); }
.linklist .i { width: 26px; height: 26px; color: var(--accent); }
.linklist b { display: block; }
.linklist small { display: block; color: var(--ink-soft); font-size: .9rem; }

/* ---------------------------------------------------------------- the footer */
.foot { background: var(--band); color: var(--band-ink); border-top: 1px solid var(--band-line); }
.foot a { color: var(--band-ink); text-decoration: none; }
.foot a:hover { color: var(--band-gold); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid .foot-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot h4 { font: 600 .74rem/1.2 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--band-gold); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .55em; }
.foot-about .brand { margin-bottom: 14px; }
.foot-about p { color: var(--band-soft); font-size: .96rem; }
.foot .socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.foot .socials a { border: 1px solid var(--band-line); border-radius: 999px; padding: .45em .95em; font-size: .9rem; font-weight: 600; }
.foot-base { border-top: 1px solid var(--band-line); padding-block: 22px 32px; color: var(--band-soft); font-size: .86rem; line-height: 1.55; }
.foot-base p { margin: 0 0 .6em; max-width: 90ch; }

/* ---------------------------------------------------------------- printing a calculator's answer */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .masthead, .foot, .rope, .no-print, .subnav, .skip, .page-head .acts { display: none !important; }
  .only-print { display: block; }
  .page-head, .band, .out, .hero { background: #fff !important; color: #000 !important; border-color: #999 !important; }
  .page-head *, .out *, .band * { color: #000 !important; }
  .calc { grid-template-columns: 1fr 1fr; }
  .out { position: static; }
  .card, .shot img, .quote { box-shadow: none; }
  a { color: #000; }
}

/* ---------------------------------------------------------------- spacing helpers */
.gap-top { margin-top: clamp(40px, 6vw, 64px); }
.gap-top-s { margin-top: clamp(20px, 3vw, 32px); }

[hidden] { display: none !important; }
.gap-top-xs { margin-top: 10px; }
.mark-s { width: 64px; height: 71px; object-fit: contain; margin-bottom: 12px; }
.mark-inline { display: inline-block; width: 40px; height: 44px; object-fit: contain; vertical-align: middle; margin: -6px 12px 0 0; }
.center-img { width: min(100%, 320px); margin: 0 auto; }
.seal-404 { width: 140px; margin: 0 auto 18px; }
.player-wide { max-width: 1040px; margin: 0 auto; }
.h-video, .h-guide { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.h-small { font-size: clamp(1.15rem, 2vw, 1.35rem); }
.crumbs-light { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.crumbs-light a { color: var(--ink-soft); }
.check { display: flex; align-items: center; gap: .6em; font-weight: 600; cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); }
.custom-days { margin-top: 10px; max-width: 220px; }
.big-tool .icon-dot { width: 56px; height: 56px; }
.big-tool p { font-size: 1.05rem; }
.solar .person, .person.load { grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.2fr) auto; }
@media (max-width: 560px) { .person.load { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .person.load .pf:first-child { grid-column: 1 / -1; } }
.card.link .more { color: var(--accent); }
.theme-wide { width: auto; padding: 0 14px; gap: 8px; display: inline-flex; align-items: center; margin-top: 14px; font: 600 .95rem/1 var(--text); }
@media (max-width: 1020px) { .masthead-in > .theme { display: none; } }
.head-mark { width: 104px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .45)); }
.card .mark-card { width: 56px; height: 62px; object-fit: contain; margin-bottom: 14px; }

/* ---------------------------------------------------------------- the DIY pages: the parts, a table to a group */
.steps-list li { margin-bottom: .55em; }
.parts-group { margin-top: 34px; }
.parts-group h3 { margin-bottom: .35rem; }
.parts-group > p { margin-bottom: .7rem; }
.tbl.parts { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.tbl.parts th { background: var(--surface); border-bottom: 2px solid var(--line); }
.tbl.parts td:first-child { width: 17%; }
.tbl.parts td:nth-child(2) { width: 30%; }
.tbl.parts td:nth-child(3) { width: 8%; }
.tbl.parts td:last-child { width: 1%; white-space: nowrap; }
.tbl.parts .where { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: .25rem; }
@media (max-width: 720px) {
  .tbl.parts thead { display: none; }
  .tbl.parts, .tbl.parts tbody, .tbl.parts tr, .tbl.parts td { display: block; width: auto !important; }
  .tbl.parts tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .tbl.parts td { border: 0; padding: 2px 0; white-space: normal !important; }
  .tbl.parts td.n { text-align: left; }
  .tbl.parts td.n::before { content: "How many: "; color: var(--ink-soft); }
}

/* ---------------------------------------------------------------- go-to reads */
.books { display: grid; gap: 18px; max-width: 860px; }
.card.book { display: flex; gap: 18px; align-items: flex-start; }
.card.book .icon-dot { flex: none; }
.card.book h3 { margin-bottom: .2rem; }
.card.book h3 .sub { display: block; font-size: .78em; font-weight: 600; color: var(--ink-soft); margin-top: .2rem; }
.card.book .by { color: var(--ink-soft); margin-bottom: .6rem; }
.card.book .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .6rem; }
.card.book .tag { font-size: .78rem; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--ink-soft); }
.card.book .where { display: inline-block; margin-left: .6rem; font-size: .78rem; color: var(--ink-soft); }
@media (max-width: 560px) { .card.book { flex-direction: column; gap: 10px; } }

/* ---------------------------------------------------------------- passing it on: the share bar */
.share { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px); }
.share-h { display: flex; align-items: center; gap: .5em; font: 700 1.1rem/1.3 var(--display); margin: 0 0 .35rem; }
.share-h .i { width: 22px; height: 22px; color: var(--accent); }
.share-lede { color: var(--ink-soft); margin: 0 0 .9rem; max-width: 62ch; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: .45em .95em; border-radius: 999px;
  border: 1px solid var(--edge); background: transparent; color: var(--ink); font: 600 .92rem/1 var(--text); cursor: pointer;
  text-decoration: none; }
.chip:hover { background: color-mix(in srgb, var(--brass) 14%, transparent); }
.chip .i { width: 17px; height: 17px; }
.share-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; }
.share-fine { margin: 12px 0 0; font-size: .82rem; color: var(--ink-soft); }
.band .share, .out .share { background: transparent; border-color: var(--band-line); color: var(--band-ink); }
.band .chip, .out .chip { color: var(--band-ink); border-color: rgba(242, 232, 211, .4); }
.band .share-lede, .band .share-fine, .out .share-fine { color: var(--band-soft); }
@media print { .share { display: none !important; } }

/* ---------------------------------------------------------------- a calculator's printed results */
.out-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--band-line); }
.out .out-acts .btn:not(.ghost) { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
.out-fine { margin: .7rem 0 0; font-size: .84rem; color: var(--band-soft); }
.print-sheet { display: none; }
@media print {
  @page { size: letter; margin: .5in; }
  body.has-sheet > *:not(main), body.has-sheet main > *:not(.print-sheet) { display: none !important; }
  body.has-sheet .print-sheet { display: block; font-size: 10pt; line-height: 1.4; color: #000; }
  .print-sheet h2 { font: 700 10.5pt/1.2 var(--display); text-transform: uppercase; letter-spacing: .1em; color: #6b4a14 !important;
    margin: 0 0 6pt; padding-bottom: 3pt; border-bottom: 1pt solid #c9b48c; }
  .ps-head { display: flex; align-items: center; gap: 14pt; padding-bottom: 10pt; border-bottom: 2pt solid #0E151D; margin-bottom: 12pt; }
  .ps-seal { width: 54pt; height: 54pt; }
  .ps-kicker { font: 600 8pt/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: #6b4a14; margin: 0 0 4pt; }
  .ps-title { font: 800 22pt/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 3pt; color: #000; }
  .ps-date { margin: 0; color: #444; font-size: 9pt; }
  .ps-answer { columns: 2; column-gap: 22pt; margin-bottom: 10pt; }
  .ps-answer > * { break-inside: avoid; }
  .ps-answer .kicker { font: 600 8pt/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: #6b4a14; margin: 0 0 4pt; }
  .ps-answer .big { font: 800 26pt/1 var(--display); color: #000; }
  .ps-answer .big small { font-size: .45em; margin-left: .25em; }
  .ps-answer .sub { margin: 3pt 0 8pt; color: #333; }
  .ps-answer h2 { margin-top: 8pt; }
  .ps-answer dl, .ps-told dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2pt 10pt; margin: 0 0 6pt; break-inside: avoid; }
  .ps-answer dt, .ps-told dt { color: #333; }
  .ps-answer dd, .ps-told dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
  .ps-answer .meter-row { display: grid; grid-template-columns: 6em minmax(0, 1fr) 3.5em; gap: 6pt; align-items: center; font-size: 9pt; margin-bottom: 3pt; }
  .ps-answer .meter-row .bar { height: 7pt; border: .75pt solid #888; border-radius: 4pt; overflow: hidden; }
  .ps-answer .meter-row .bar i { display: block; height: 100%; background: #b8975f; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ps-answer .note { border-left: 3pt solid #b8975f; background: none; padding: 3pt 0 3pt 8pt; margin: 6pt 0; font-size: 9pt; color: #000; }
  .ps-answer .note b { display: inline; margin-right: .3em; }
  .ps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 22pt; margin-bottom: 10pt; break-inside: avoid; }
  .ps-takes ul, .ps-next ul { margin: 0; padding: 0; list-style: none; }
  .ps-takes li { position: relative; padding-left: 12pt; margin-bottom: 4pt; }
  .ps-takes li::before { content: "▸"; position: absolute; left: 0; color: #6b4a14; }
  .ps-next { break-inside: avoid; margin-bottom: 12pt; }
  .ps-next ul { columns: 2; column-gap: 22pt; }
  .ps-next li { position: relative; padding-left: 16pt; margin-bottom: 5pt; break-inside: avoid; }
  .ps-next li::before { content: ""; position: absolute; left: 0; top: 1.5pt; width: 9pt; height: 9pt; border: 1pt solid #6b4a14; border-radius: 2pt; }
  .ps-foot { display: flex; gap: 14pt; align-items: center; border-top: 1pt solid #c9b48c; padding-top: 10pt; break-inside: avoid; font-size: 8.5pt; color: #333; }
  .ps-qr { width: 64pt; height: 64pt; flex: none; }
  .ps-foot p { margin: 0 0 3pt; }
  .ps-again { font-size: 9.5pt; color: #000; }
}
@media print {
  .ps-told dl { grid-template-columns: auto minmax(0, 1fr); }
  .ps-told dt { white-space: nowrap; }
  .ps-answer .meter-row { grid-template-columns: 5em minmax(0, 1fr) 5em; }
  .ps-answer .meter-row b { white-space: nowrap; }
}
