/* The marketing site's one stylesheet: every page in site/ links it
   (tools/build_site.py stamps ?v= with its hash, so it can be cached for good).
   The fonts are served from here, latin only: Bricolage Grotesque (display) and
   Instrument Sans (body), both variable, both SIL Open Font License, cut to the
   characters the site uses by tools/build_site_fonts.py. */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("/fonts/bricolage-grotesque-v9-s1.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: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/fonts/instrument-sans-v4-s1.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 {
  --ink: #0E1B3D;
  --ink-soft: #3C4A6B;
  --muted: #66728F;
  --blue: #1F5FBF;
  --blue-deep: #184C99;
  --sky: #EEF4FC;
  --sky-2: #DDE8F9;
  --line: #DCE3EF;
  --paper: #FFFFFF;
  --mint: #8EDBA8;
  --mint-deep: #6FCB8E;
  --gain: #179150;
  --logo-navy: #0A325B;   /* the logo's: "Just" and the left half (tools/build_images.py) */
  --logo-green: #1FA849;  /* "Divvy" and the right half */
  --owe: #B4402E;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.025em; line-height: 1.02; }
h1 { font-size: clamp(40px, 4.6vw, 66px); font-weight: 800; }
h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }

.kicker {
  font-size: 14px; font-weight: 600; color: var(--blue);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body); font-weight: 600; font-size: 17px;
  text-decoration: none; border-radius: 6px;
  padding: 18px 28px; border: 0; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: var(--mint-deep); }
.btn-ghost {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  font-size: 15px; padding: 13px 20px;
}
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.nav .btn-ghost { padding: 9px 16px; font-size: 14px; }

/* Header */
.site-header { background: var(--sky); }
.nav { display: flex; align-items: center; gap: 40px; padding-top: 20px; padding-bottom: 12px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav ul a { text-decoration: none; color: var(--ink-soft); }
.nav ul a:hover { color: var(--ink); }
.nav-login { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-login:hover { color: var(--blue); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--logo-navy); }
.logo b { font-weight: inherit; color: var(--logo-green); }
.logo img { width: 30px; height: 30px; }
/* Products: a small menu (works without JS: it's a <details>). */
.products { position: relative; font-size: 14px; }
.products summary { list-style: none; cursor: pointer; color: var(--ink-soft); }
.products summary::-webkit-details-marker { display: none; }
.products summary::after { content: " \25BE"; }
.products summary:hover, .products[open] summary { color: var(--ink); }
.products-menu { position: absolute; left: -16px; top: calc(100% + 12px); z-index: 20; width: 300px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: 0 12px 32px rgba(14, 27, 61, .12); }
.products-menu a { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.products-menu a:hover { background: var(--sky); }
.products-menu img { grid-row: span 2; width: 36px; height: 36px; }
.products-menu strong { display: block; font-size: 15px; }
.products-menu .chip { font-style: normal; margin-left: 6px; font-size: 11px; padding: 1px 8px; }
.products-menu span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Hero */
/* Most of a screen, never more than one: the next section peeks in below. */
.hero { background: var(--sky); padding: 96px 0 128px; overflow: hidden;
  min-height: min(860px, calc(100vh - 80px)); display: flex; align-items: center; }
.hero > .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
/* The first line never wraps: it shrinks to fit its column (cqi = 1% of it). */
.hero-copy { container-type: inline-size; }
.hero h1 .line1 { display: block; white-space: nowrap; font-size: min(1em, 9.4cqi); }
.hero h1 .line2 { color: var(--blue); display: block; font-size: .56em; line-height: 1.12; margin-top: 20px; }
.hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 30em; margin: 28px 0 36px; }
.hero .fine { font-size: 15px; color: var(--muted); margin-top: 16px; }
/* What Just Divvy is and isn't, said up front (under the lede, before the buttons). */
.hero .scope { font-size: 15px; color: var(--ink-soft); max-width: 34em; margin: -16px 0 32px; padding-left: 14px; border-left: 3px solid var(--mint); }
.pillars { display: flex; gap: 32px; margin: 44px 0 0; padding: 0; list-style: none; }
.pillars li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ink-soft); line-height: 1.25; }
.pillars svg { width: 26px; height: 26px; flex: none; color: var(--ink); }

/* Balance Sheet's look, in miniature (like the app's sheet) */
.mini-bs { background: var(--paper); border-radius: 12px; overflow: auto hidden; font-size: 13.5px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(14, 27, 61, .10); }
.mini-bs .top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 18px; }
.mini-bs .who { font: 800 22px/1 var(--display); letter-spacing: -0.02em; }
.mini-bs .progress { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); }
.mini-bs .progress i { width: 84px; height: 6px; border-radius: 99px; background: #E4E9F2; overflow: hidden; }
.mini-bs .progress i::before { content: ""; display: block; width: 71%; height: 100%; background: var(--gain); }
.mini-bs .pays { margin-left: auto; padding: 6px 12px; border-radius: 8px; background: #FFF5D1; box-shadow: inset 0 0 0 1px #F0DE9C;
  font-weight: 600; white-space: nowrap; }
.mini-bs .pays small { font-weight: 400; color: var(--ink-soft); }
.mini-bs table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mini-bs th { background: var(--ink); color: #fff; font-weight: 600; text-align: left; padding: 9px 12px; font-size: 12.5px; }
.mini-bs td { padding: 8px 12px; border-top: 1px solid #EEF1F6; white-space: nowrap; }
.mini-bs .num { text-align: right; }
.mini-bs .sec td { background: #F3F6FE; color: var(--blue); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.mini-bs .tied td:first-child { padding-left: 26px; color: var(--ink-soft); }
.mini-bs tr.yours td:first-child { box-shadow: inset 4px 0 0 #F5A54A; }
.mini-bs .ok { color: #127A43; font-weight: 600; }
.mini-bs .ok::before { content: "\2713  "; }
.mini-bs .turn { display: inline-block; padding: 2px 8px; border-radius: 5px; background: #F5A54A; color: var(--ink); font-weight: 600; font-size: 12.5px; }
.mini-bs .wait { display: inline-block; padding: 2px 8px; border-radius: 5px; background: #EDE8FB; color: #54469A; font-weight: 600; font-size: 12.5px; }

/* Starter pack */
.pack { background: var(--ink); color: #fff; padding: 88px 0 80px; }
.pack .kicker { color: var(--mint); }
.pack h2 { color: #fff; }
.pack .sub { font-size: 19px; color: #B9C3DB; margin-top: 16px; max-width: 40em; }
.pack-list {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.pack-list li {
  background: var(--paper); color: var(--ink); border-radius: 4px; padding: 26px 26px 24px;
  display: grid; grid-template-columns: 40px 1fr; grid-template-rows: 1fr; column-gap: 20px;
}
.pack-list li > div { display: flex; flex-direction: column; height: 100%; }
.pack-list .icon { width: 40px; height: 48px; align-self: start; }
.pack-list h3 { font-size: 17px; margin-bottom: 8px; }
.pack-list p { font-size: 14px; line-height: 1.45; color: var(--muted); }
.dl {
  align-self: flex-start; margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  padding: 10px 14px; border-radius: 5px; background: var(--ink); color: #fff;
  transition: background-color .15s ease;
}
.dl svg { width: 16px; height: 16px; flex: none; }
.dl:hover { background: var(--blue); }
.dl[aria-disabled="true"] { background: var(--sky); color: var(--muted); pointer-events: none; }
.pack-list p { margin-bottom: 18px; }
.pack-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 48px; }
.pack-cta small { font-size: 14px; color: #B9C3DB; }
.pack-cta small a { color: var(--mint); font-weight: 600; }

/* Why */
.why { padding: 104px 0 64px; }
.why h2 { max-width: 13em; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.steps .n {
  width: 56px; height: 56px; border-radius: 50%; background: var(--sky-2); color: var(--blue);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 26px;
}
.steps h3 { margin: 6px 0 8px; font-size: 19px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

.disclaimer {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted); max-width: 80em;
}
.disclaimer svg { width: 24px; height: 24px; flex: none; color: var(--ink); }

/* Hero tiles: the four tools at a glance */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tiles a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 10px 28px rgba(14, 27, 61, .06); transition: transform .15s ease; }
.tiles a:hover { transform: translateY(-2px); }
.tiles .ic { width: 56px; height: 56px; margin-bottom: 4px; }
.tiles strong { font: 700 19px/1.2 var(--display); letter-spacing: -0.01em; }
.tiles .sub { font-size: 14px; color: var(--ink-soft); }
.tiles .launch { margin-top: 4px; font-weight: 600; color: var(--blue) !important; }
.tiles a.ready { box-shadow: 0 0 0 2px var(--blue), 0 10px 28px rgba(14, 27, 61, .08); }
.chip { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.chip-live { background: #DDF3E4; color: #127A43; }
.chip-preview { background: var(--sky-2); color: var(--blue-deep); }
.chip-soon { background: #F1F3F8; color: var(--muted); }

/* A product, in depth */
.feature { padding: 96px 0; overflow: hidden; }
.feature.alt { background: var(--sky); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.feature.flip .feature-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.feature.flip .feature-copy { order: 2; }
.kicker.with-ic { display: flex; align-items: center; gap: 12px; }
.kicker.with-ic .chip { margin-left: 2px; align-self: center; }
.kicker.with-ic img { width: 40px; height: 40px; }
.feature .lede { font-size: 18px; color: var(--ink-soft); margin: 20px 0 0; max-width: 32em; }
.ticks { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--sky-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5FBF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.feature .fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.feature .fine a { color: inherit; font-weight: 600; }

/* Ledger's look, in miniature */
.mini-ledger { background: var(--paper); border-radius: 12px; overflow: auto hidden; box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(14, 27, 61, .10); font-size: 14px; }
.mini-ledger .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mini-ledger .top small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mini-ledger .bal { font: 800 30px/1 var(--display); letter-spacing: -0.03em; }
.mini-ledger .who { font-weight: 600; color: var(--ink-soft); }
.mini-ledger table { width: 100%; border-collapse: collapse; }
.mini-ledger th { background: #2F6B45; color: #fff; font-weight: 600; text-align: left; padding: 9px 12px; font-size: 13px; }
.mini-ledger td { padding: 9px 12px; border-top: 1px solid #EEF1F6; }
.mini-ledger .num { text-align: right; font-variant-numeric: tabular-nums; }
.mini-ledger .pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.mini-ledger .pa { background: #DDE8F9; color: #184C99; }
.mini-ledger .pb { background: #EDE8FB; color: #54469A; }
.mini-ledger .k1 { background: #FFF0C2; }
.mini-ledger .k2 { background: #DDF3E4; }
.mini-ledger tr.paid td { background: #EEF7F0; }
.mini-ledger .run { font-weight: 600; white-space: nowrap; }


/* Stages: a product picture placed by hand (tilted, with a card dropped on
   its corner) and short notes with drawn arrows to what they describe.
   The arrows are drawn by the script at the end of the page. */
.stage { position: relative; padding: 92px 8px 0; min-width: 0; }
.stage.has-bottom { padding-bottom: 100px; }
.stage .tilt { transform: rotate(-1.4deg); }
.stage .tilt > * { box-shadow: 0 1px 0 var(--line), 0 30px 60px -24px rgba(14, 27, 61, .28), 0 10px 20px -12px rgba(14, 27, 61, .12); }
.float-card { position: relative; z-index: 2; width: max-content; max-width: 300px; margin: -40px -12px 0 auto;
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 10px; background: var(--paper);
  box-shadow: 0 24px 48px -18px rgba(14, 27, 61, .35), 0 0 0 1px var(--line); transform: rotate(1.6deg); font-size: 13px; color: var(--ink-soft); }
.float-card .fc-title { font: 700 13px/1.2 var(--display); color: var(--blue); letter-spacing: -0.01em; }
.float-card strong { font: 700 17px/1.25 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.float-card.eq .amt { font: 800 30px/1.1 var(--display); color: var(--gain); letter-spacing: -0.03em; }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { position: absolute; z-index: 3; width: max-content; max-width: 190px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.notes strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.notes .n-tl { top: 0; left: 0; }
.notes .n-tr { top: 0; right: 0; text-align: right; }
.notes .n-bl { bottom: 0; left: 0; }
.notes .n-br { bottom: 0; right: 0; text-align: right; }
.arrows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; color: var(--blue); }
.arrows .halo { fill: none; stroke: var(--paper); stroke-width: 6; stroke-linecap: round; opacity: .85; }
.feature.alt .arrows .halo, .hero .arrows .halo { stroke: var(--sky); }
.arrows .line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
/* The hero's tiles, laid down by hand. */
.hero-stage .tiles li:nth-child(1) { transform: rotate(-1.2deg); }
.hero-stage .tiles li:nth-child(2) { transform: rotate(1deg) translateY(10px); }
.hero-stage .tiles li:nth-child(3) { transform: rotate(.8deg); }
.hero-stage .tiles li:nth-child(4) { transform: rotate(-.7deg) translateY(10px); }
/* Arriving: the picture settles, the card drops, then the arrows draw in. */
@media (prefers-reduced-motion: no-preference) {
  .js .stage .tilt, .js .stage .float-card, .js .stage .notes li, .js .stage .tiles li { transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .6s ease; }
  .js .stage:not(.in) .tilt { opacity: 0; transform: rotate(-5deg) translateY(28px); }
  .js .stage:not(.in) .float-card { opacity: 0; transform: rotate(6deg) translateY(-18px); }
  .js .stage .float-card { transition-delay: .5s; }
  .js .stage:not(.in) .notes li { opacity: 0; }
  .js .stage .notes li { transition-delay: .7s; }
  .js .stage:not(.in) .tiles li { opacity: 0; transform: translateY(18px) rotate(-3deg); }
  .js .stage .tiles li:nth-child(2) { transition-delay: .08s; }
  .js .stage .tiles li:nth-child(3) { transition-delay: .16s; }
  .js .stage .tiles li:nth-child(4) { transition-delay: .24s; }
  .js .arrows { opacity: 0; transition: opacity .5s ease; }
  .js .arrows.on { opacity: 1; }
}

/* A product's waitlist: the button opens the email box in place */
.wl { max-width: 30em; }
.wl-row { display: flex; gap: 8px; }
.wl-row input[type="email"] { flex: 1; min-width: 0; font: 400 17px var(--body); color: var(--ink);
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.wl-row input[type="email"]:focus { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.js .wl .wl-row, .js .wl.open .wl-open, .wl.done .wl-row { display: none; }
.js .wl.open:not(.done) .wl-row { display: flex; }
.wl .wl-open { display: none; }
.js .wl .wl-open { display: inline-flex; }
.js .wl.open .wl-open, .wl.done .wl-open { display: none; }
.wl-note.ok { color: var(--gain); font-weight: 600; }
.wl-note.err { color: var(--owe); }

/* Untangle's look, in miniature */
.mini-list, .mini-things { background: var(--paper); border-radius: 12px; overflow: hidden; font-size: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(14, 27, 61, .10); }
.mini-list .top, .mini-things .top { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px;
  border-bottom: 1px solid var(--line); }
.mini-list .top strong, .mini-things .top strong { font: 800 20px/1 var(--display); letter-spacing: -0.02em; }
.mini-list .count, .mini-things .count { font-size: 12.5px; color: var(--muted); }
.mini-list ul { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-top: 1px solid #EEF1F6; }
.mini-list li:first-child { border-top: 0; }
.mini-list .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-strong, #C9D3E3); flex: none; }
.mini-list .done .box { background: var(--gain) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--gain); }
.mini-list .done .t { color: var(--muted); text-decoration: line-through; text-decoration-color: #C9D3E3; }
.mini-list .when { margin-left: auto; font-size: 12px; font-weight: 600; color: #B4402E; background: #FDEBE7; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.mini-list .who { margin-left: auto; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; color: var(--muted); background: #F1F3F8; text-decoration: none; }
.mini-list .when + .who { margin-left: 0; }
.pa { background: #DDE8F9 !important; color: #184C99 !important; }
.pb { background: #EDE8FB !important; color: #54469A !important; }

/* Belongings' look, in miniature */
.mini-things ul { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini-things li { display: flex; flex-direction: column; gap: 6px; }
.mini-things .ph { aspect-ratio: 4 / 3; border-radius: 8px; display: grid; place-items: center; background: #F3F6FE; color: #2F6B45; }
.mini-things .ph svg { width: 40%; height: 40%; }
.mini-things strong { font-size: 13.5px; font-weight: 600; }
.mini-things .tag { align-self: flex-start; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.mini-things .pk { background: #DDF3E4; color: #127A43; }
.mini-things .both { background: #F5A54A; color: var(--ink); }

.final-cta { padding: 72px 0; text-align: center; }
.final-cta h2 { font-size: clamp(28px, 3.4vw, 40px); }
.final-cta p { color: var(--ink-soft); margin: 12px auto 28px; max-width: 34em; }
.final-cta .btn-row { justify-content: center; }

/* Waitlist */
.gotcha { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand .logo { color: var(--ink); font-size: 22px; }
.foot-brand p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; max-width: 22em; }
.foot-col a { display: block; font-size: 14px; color: var(--ink-soft); text-decoration: none; margin-bottom: 8px; }
.foot-col a:hover { color: var(--ink); }
.foot-copy { grid-column: 1 / -1; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin: 8px 0 0; }
@media (max-width: 760px) {
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}


/* Responsive */
@media (max-width: 1080px) {
  .pack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .feature-grid, .feature.flip .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-copy { order: 0; }
  .feature { padding: 64px 0; }
  .hero { padding-top: 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .nav ul, .nav > nav { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 64px; }
  .hero .lede { font-size: 17px; }
  .btn { width: 100%; justify-content: center; }
  .btn-ghost { width: auto; }
  .wl-row { flex-direction: column; }
  .nav .btn-ghost { margin-left: auto; }
  .nav .nav-login { margin-left: auto; }
  .nav .nav-login + .btn-ghost { margin-left: 0; }
  .nav { gap: 12px; }
  .logo { white-space: nowrap; }
  .logo { font-size: 20px; gap: 8px; }
  .logo img { width: 26px; height: 26px; }
  .products summary { white-space: nowrap; }
  .products-menu { position: fixed; left: 16px; right: 16px; top: 96px; width: auto; }
  .nav .btn-ghost { padding: 8px 12px; white-space: nowrap; }
  .dl { align-self: stretch; justify-content: center; }
  .pillars { flex-direction: column; gap: 14px; }
  .pack-list { grid-template-columns: minmax(0, 1fr); }
  .pack-list li { padding: 22px 18px; column-gap: 16px; }
  .mini-things ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage, .stage.has-bottom { padding: 8px 0 0; }
  .notes, .arrows { display: none; }
  .stage .tilt { transform: none; }
  .float-card { margin: -20px 8px 0 auto; max-width: 260px; }
  .hero-stage .tiles li { transform: none !important; }
  .tiles a { padding: 16px; }
  .mini-ledger { font-size: 13px; }
  .mini-ledger .hide-sm, .mini-bs .hide-sm { display: none; }
  .mini-bs { font-size: 12.5px; }
  .mini-bs td, .mini-bs th { padding-left: 8px; padding-right: 8px; }
  .mini-bs .pays { margin-left: 0; }
  .mini-bs td:first-child, .mini-ledger td { white-space: normal; }
  .mini-bs, .mini-ledger { font-size: 12px; }
  .mini-bs .turn, .mini-bs .wait { font-size: 11.5px; padding: 2px 6px; white-space: nowrap; }
  .mini-ledger td, .mini-ledger th { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 460px) {
  .mini-bs td, .mini-bs th { padding-left: 5px; padding-right: 5px; }
}

/* ------------------------------------------------------------------ shared additions */

/* Footer column titles are labels, not headings. */
.foot-title { font-family: var(--body); line-height: 1.3; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 4px 0 14px; }

/* The Products menu also carries the page links the header hides on small screens. */
.products-menu .menu-more { display: none; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.products-menu .menu-more a { display: block; padding: 12px; font-weight: 600; font-size: 15px; }
.products-menu .menu-learn { display: block; padding: 4px 12px 10px 60px; margin-top: -6px; font-size: 13px; font-weight: 600; color: var(--blue); }

/* A product's two ways forward on the home page: learn more, or open it. */
.feature .btn-row { margin-top: 4px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--blue); text-decoration: none; padding: 12px 4px; }
.link-more:hover { text-decoration: underline; }
.link-more svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ product and resource pages */

.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.page-hero { background: var(--sky); padding: 56px 0 96px; overflow: hidden; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 58px); }
.page-hero h1 .sub { display: block; color: var(--blue); font-size: .5em; line-height: 1.15; margin-top: 16px; }
.page-hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 32em; margin: 24px 0 32px; }
.page-hero .fine { font-size: 15px; color: var(--muted); margin-top: 16px; }
.page-hero .fine a { color: inherit; font-weight: 600; }

.section { padding: 88px 0; }
.section.alt { background: var(--sky); }
.section h2 { max-width: 16em; }
.section .intro { font-size: 18px; color: var(--ink-soft); max-width: 40em; margin-top: 16px; }
.section .steps { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }

.features { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.features li { background: var(--paper); border-radius: 12px; padding: 24px; box-shadow: 0 0 0 1px var(--line); }
.features h3 { font-size: 18px; margin-bottom: 8px; }
.features p { font-size: 15.5px; color: var(--ink-soft); }

.cta-band { background: var(--ink); color: #fff; padding: 64px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.cta-band p { color: #B9C3DB; margin-top: 10px; }

.faq { margin: 40px 0 0; max-width: 46rem; }
.faq h3 { font-size: 20px; margin: 32px 0 8px; }
.faq h3:first-child { margin-top: 0; }
.faq p { color: var(--ink-soft); margin-bottom: 10px; }
.faq a { color: var(--blue); font-weight: 600; }

.related { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border-radius: 12px; text-decoration: none; color: var(--ink);
  background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s ease; }
.related a:hover { box-shadow: 0 0 0 2px var(--blue); }
.related img { width: 40px; height: 40px; }
.related strong { font: 700 18px/1.2 var(--display); letter-spacing: -0.01em; }
.related span { font-size: 15px; color: var(--ink-soft); }

.note-box { background: var(--sky); border-left: 3px solid var(--blue); padding: 16px 20px; margin: 24px 0; border-radius: 0 8px 8px 0; }
.note-box p { margin: 0; color: var(--ink-soft); }
.note-box p + p { margin-top: 8px; }

/* Long reading: the guides, the checklist, About, and the legal pages. */
/* The page is as wide as every other (its left edge lines up with the logo);
   only the reading column is held to a comfortable line length. */
.article { padding-top: 56px; padding-bottom: 80px; }
.article > * { max-width: 46rem; }
.article h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; }
.article .meta { color: var(--muted); font-size: 15px; margin: 14px 0 28px; }
.article .lede { font-size: 19px; color: var(--ink-soft); margin: 0 0 32px; }
.article h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; margin: 48px 0 12px; }
.article h3 { margin: 28px 0 8px; }
.article p, .article ul, .article ol { color: var(--ink-soft); margin: 0 0 14px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article strong { color: var(--ink); }
.article a:not(.btn):not(.dl) { color: var(--blue); }
.article .answer { font-size: 18px; color: var(--ink); }
.article table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 8px 0 20px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.article th { background: var(--sky); color: var(--ink); font-weight: 600; }
.article td:first-child { font-weight: 600; color: var(--ink); width: 30%; }
.article .downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 24px; }
.article .downloads .dl { margin-top: 0; }
.article .disclaimer { margin-top: 48px; }
.article .btn { margin: 4px 0 8px; }
.article .btn-blue { color: #fff; }

/* The often-missed checklist: real checkboxes, ticked on this device only. */
.checklist { list-style: none; padding: 0 !important; margin: 0 0 8px; }
.checklist li { margin: 0; border-bottom: 1px solid #EEF1F6; }
.checklist label { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 12px 0; cursor: pointer; color: var(--ink); }
.checklist input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gain); }
.checklist small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: #C9D3E3; }

/* Legal pages. */
.legal .effective { color: var(--muted); font-size: 15px; margin: 12px 0 32px; }
.legal .summary { background: var(--sky); border-left: 3px solid var(--blue); padding: 16px 20px; margin: 0 0 36px; }
.legal .summary p { margin: 0; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal address { font-style: normal; color: var(--ink-soft); }

@media (max-width: 960px) {
  .features, .related { grid-template-columns: minmax(0, 1fr); }
  .section .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .page-hero { padding: 28px 0 64px; }
  .products-menu .menu-more { display: block; }
}
@media (max-width: 640px) {
  .page-hero .lede { font-size: 17px; }
  .cta-band .btn { width: 100%; justify-content: center; }
  /* Tap targets: at least 44px tall. */
  .foot-col a { display: flex; align-items: center; min-height: 44px; margin: 0; }
  .nav-login, .products summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
  .dl { min-height: 44px; }
  .link-more { min-height: 44px; }
  .crumbs a { display: inline-block; padding: 12px 0; }
}
@media print {
  .site-header, .site-footer, .cta-band, .btn, .crumbs, .related { display: none !important; }
  .article { padding-top: 0; }
}

/* The starter pack: a resource with its own page offers both. */
.pack-list h3 a { color: inherit; text-decoration: none; }
.pack-list h3 a:hover { text-decoration: underline; }
.dl.dl-page { background: var(--sky); color: var(--ink); }
.dl.dl-page:hover { background: var(--sky-2); }
.dl + .dl { margin-top: 8px; }

/* "Ask your attorney": the questions a section sends to a professional. */
.note-box.ask { border-left-color: var(--gain); background: #EEF7F0; }
.note-box.ask strong { color: #127A43; }
.note-box.ask ul { margin: 8px 0 0; padding-left: 20px; }
.note-box.ask li { margin-bottom: 4px; }
.note-box.ask li:last-child { margin-bottom: 0; }
@media print {
  .note-box, .note-box.ask { break-inside: avoid; }
  .downloads, [data-print] { display: none !important; }
}

/* The equalization calculator. */
.article > .calc { max-width: 64rem; }
.calc { margin: 8px 0 24px; padding: 20px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 10px 28px rgba(14, 27, 61, .06); }
.calc label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.calc input, .calc select { font: 400 16px var(--body); color: var(--ink); padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); min-width: 0; width: 100%; }
.calc input:focus, .calc select:focus { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.calc input:disabled { background: var(--sky); color: var(--muted); }
.calc-names { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; margin-bottom: 16px; }
.calc-scroll { overflow-x: auto; position: relative; }
.article .calc-table { margin: 0; min-width: 620px; }
.article .calc-table th, .article .calc-table td { padding: 6px 6px; border-bottom: 0; font-weight: 400; width: auto; }
.article .calc-table th { background: none; color: var(--muted); font-size: 13px; font-weight: 600; }
.calc-table td:nth-child(1) { width: 32%; }
.calc-table td:nth-child(3) { width: 18%; }
.calc-table td:nth-child(5) { width: 11%; }
.calc-remove { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; min-width: 44px; min-height: 44px; }
.calc-remove:hover { color: var(--owe); }
.calc-actions { margin: 12px 0 20px; }
.calc-result { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.calc-result > div { background: var(--sky); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.calc-result small { font-size: 13px; color: var(--ink-soft); }
.calc-result strong { font: 800 24px/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-result .calc-pay { background: #E2F5E8; }
.calc-result .calc-pay strong { color: var(--gain); }
@media (max-width: 640px) {
  .calc { padding: 14px; }
  .calc-result { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-result strong { font-size: 20px; }
}

/* Tables in sections: the comparison and the worked example. */
.compare, .sheet { width: 100%; border-collapse: collapse; font-size: 15.5px; margin-top: 32px; background: var(--paper); }
.compare th, .compare td, .sheet th, .sheet td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 17px/1.2 var(--display); color: var(--ink); }
.compare thead th:nth-child(2), .compare td:nth-child(2) { background: var(--sky); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 28%; }
.compare td { color: var(--ink-soft); }
.compare { min-width: 640px; }
.article .sheet { margin-top: 8px; font-size: 14.5px; min-width: 560px; }
.article .sheet td:first-child { width: auto; font-weight: 400; }
.sheet .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet .sec td { background: #F3F6FE; color: var(--blue); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sheet .tot td, .article .sheet .tot td:first-child { font-weight: 600; color: var(--ink); background: var(--sky); }
.sheet .net td, .article .sheet .net td:first-child { font-weight: 700; color: var(--ink); background: #E2F5E8; }
.features p a, .section .intro a { color: var(--blue); font-weight: 600; }
@media (max-width: 640px) {
  /* The calculator on a phone: each item is a small card, each field labelled. */
  .calc-table thead { display: none; }
  .article .calc-table, .calc-table tbody { display: block; min-width: 0; }
  .calc-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .article .calc-table td { display: block; padding: 0; width: auto; }
  .calc-table td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
  .calc-table td:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .calc-table td:nth-child(6) { grid-column: 3; grid-row: 1; align-self: end; }
  .calc-table td:nth-child(2) { grid-column: 1; }
  .calc-table td:nth-child(3) { grid-column: 2; }
  .calc-table td:nth-child(4) { grid-column: 1; }
  .calc-table td:nth-child(5) { grid-column: 2; }
}
.article .kicker { color: var(--blue); }
/* site.js swaps the calculator's written-out example for editable rows: hold their room so nothing below shifts. */
@media (min-width: 641px) { .js .calc .calc-scroll { min-height: 368px; } }
@media (max-width: 640px) { .calc input, .calc select { min-height: 44px; } }
/* A reading column inside a section (the coming-soon pages' checklist and steps). */
.article.in-section { padding-top: 0; padding-bottom: 0; }
.wl-after { margin-top: 32px; }
@media (max-width: 640px) {
  /* Tap targets: the logo links and the starter pack's titles. */
  .site-header .logo, .foot-brand .logo { min-height: 44px; }
  .pack-list h3 a { display: inline-block; padding: 10px 0; margin: -10px 0; }
}

/* A wide table on a small screen scrolls in its own box, which keyboards can reach. */
.table-scroll { overflow-x: auto; position: relative; }
.table-scroll:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.checklist .check-note { display: block; margin: -6px 0 12px 36px; font-size: 14px; color: var(--muted); }

/* The calculator's next step: Balance Sheet, for the real thing. */
.article > .next-step { max-width: 64rem; }
.next-step { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin: 0 0 32px; padding: 24px; border-radius: 12px; background: var(--ink); color: #fff; }
.next-step > div:first-child { flex: 1 1 28rem; }
.article .next-step h2 { color: #fff; margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 28px); }
.article .next-step p { color: #C9D2E6; margin: 0; }
.next-step .btn-blue { background: var(--mint); color: var(--ink); }
.next-step .btn-blue:hover { background: var(--mint-deep); }
.article .next-step a.link-more { color: #fff; }
@media (max-width: 640px) { .next-step { padding: 20px; } }
/* On the dark boxes, the focus ring is white: blue on navy is too faint. */
.next-step :focus-visible, .cta-band :focus-visible, .pack :focus-visible { outline-color: #fff; }

/* Printing the calculator: just the heading, the items and the results. */
@media print {
  .article:has(> .calc) > *:not(h1):not(.calc):not(.disclaimer) { display: none !important; }
  .calc-remove, .calc-actions { display: none !important; }
  .calc input:disabled { visibility: hidden; }
  .calc { box-shadow: none; padding: 0; }
}
.chip { white-space: nowrap; }

/* ------------------------------------------------------------------ the press kit (/presskit) */

.press > .pk-card, .press > .pk-grid, .press > .pk-logos, .press > .pk-stats, .press > .pk-colors { max-width: 56rem; }
.pk-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin: 0 0 12px; }
.pk-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pk-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }
.pk-copy { font: 600 14px var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 6px 14px; cursor: pointer; }
.pk-copy:hover { border-color: var(--ink-soft); }
html:not(.js) .pk-copy { display: none; }
.article .pk-card .pk-text { color: var(--ink); }
.article .pk-card .pk-text:last-child { margin-bottom: 0; }
.article .pk-card .pk-big { font-size: 19px; }

.article .pk-stats { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.article .pk-stats li { background: var(--sky); border-radius: 12px; padding: 20px; margin: 0; }
.pk-stats strong { display: block; font: 800 40px/1 var(--display); letter-spacing: -0.03em; color: var(--blue); }
.pk-stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

.pk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pk-info { border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.article .pk-info h3 { margin: 0 0 12px; }
.article .pk-info p { font-size: 15.5px; margin: 0 0 8px; }
.article .pk-info p:last-child { margin-bottom: 0; }
.pk-info dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 16px; margin: 0; font-size: 15.5px; }
.pk-info dt, .pk-info dd { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--line); }
.pk-info dt:last-of-type, .pk-info dd:last-of-type { border-bottom: 0; }
.pk-info dt { font-weight: 600; color: var(--ink); }
.pk-info dd { color: var(--ink-soft); text-align: right; }
.article .pk-info .pk-sample { font-size: 32px; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.pk-display { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; }

.pk-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; }
.pk-logo { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pk-preview { display: flex; align-items: center; justify-content: center; height: 160px; padding: 24px 32px; background: var(--paper); }
.pk-preview img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.pk-preview img[src$="logo.png"], .pk-preview img[src$="logo-white.png"] { width: 80%; }
.pk-preview .pk-mark { width: 96px; }
.pk-dark { background: var(--ink); }
.pk-wide { grid-column: 1 / -1; }
.pk-shot { display: block; aspect-ratio: 1270 / 760; background: var(--sky); }
.pk-shot img { width: 100%; height: 100%; object-fit: cover; }
.pk-share { padding: 0; height: auto; }
.pk-share img { aspect-ratio: 1200 / 630; }
.pk-share img { width: 100%; height: auto; max-height: none; }
.pk-products .pk-preview { height: 200px; }
.pk-logo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--sky); border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pk-dls { display: flex; gap: 6px; }
.article a.pk-dl { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--blue); text-decoration: none; border: 1px solid var(--blue); border-radius: 6px; padding: 3px 10px; }
.article a.pk-dl:hover { background: var(--paper); }

.article .pk-colors { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.article .pk-colors li { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
.pk-colors i { display: block; height: 72px; border-bottom: 1px solid var(--line); }
.pk-colors strong, .pk-colors span { display: block; padding: 0 16px; }
.pk-colors strong { padding-top: 10px; }
.pk-colors span { padding-bottom: 12px; color: var(--muted); }

.pk-note { margin-top: 24px; background: var(--sky); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; padding: 20px 24px; }
.article .pk-note h3 { margin: 0 0 8px; }
.article .pk-note ul { margin: 0; }

@media (max-width: 760px) {
  .article .pk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-grid, .pk-logos { grid-template-columns: minmax(0, 1fr); }
  .article .pk-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-card, .pk-info { padding: 16px; }
}
