/* ─────────────────────────────────────────────────────────────────────────
   app-look.css — the house "app" skin, applied site-wide.

   The home page and the Library each grew their own bespoke chrome. Every
   other page in /v2/ still wore the 2023 website look: a black strip, a
   wordmark floating in a coloured bar, square buttons, a max-width column.
   That is why the site felt like an app on two screens and like a website
   everywhere else.

   This sheet is the missing middle. It is loaded last, after copy-pack.css
   and chrome.css, and it restyles the shared legacy components — the strip,
   the header, buttons, cards, typography, tables, inputs, the footer — into
   the app language: cream paper, hairline rules, a 60px sticky bar with the
   wordmark and its imprint line, burgundy pill actions, 44px targets, and
   safe-area padding.

   It deliberately does NOT touch .masthead (the home/Publish/About masthead,
   whose h1 is the house line) or .hdr (the Library's own bar). Those are
   already right, and a blanket rule would flatten them.

   Loaded from every page in /v2/ except /v2/ and /v2/library/.
   ───────────────────────────────────────────────────────────────────────── */

:root{
  --paper:#fdfaf4;--cream:#f6f2e9;--cream-2:#f1ebdd;
  --ink:#1a1410;--ink-soft:#443e38;--muted:#6f655a;
  --burgundy:#6b1f2a;--burgundy-dark:#55161f;--gold:#c8a86b;--rule:#e3dbcb;
  --app-serif:Fraunces,"Iowan Old Style","Palatino Linotype",Georgia,serif;
  --app-sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}

html{-webkit-text-size-adjust:100%}
body{background:var(--paper);color:var(--ink);font-family:var(--app-sans);-webkit-font-smoothing:antialiased}

/* ── the strip: was a black bar, now the app's quiet status line ── */
.site-topline{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:8px max(16px,calc((100vw - 1240px)/2));
  background:var(--cream);color:var(--ink-soft);border-bottom:1px solid var(--rule);
  font-size:11.5px;line-height:1.35;letter-spacing:.01em;
}
.site-topline .house-mark{
  font-family:var(--app-sans);font-size:10px;font-weight:700;letter-spacing:.15em;
  text-transform:uppercase;color:var(--burgundy);white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;
}
.site-topline a{color:var(--burgundy);text-decoration:none}
.site-topline a:hover{text-decoration:underline}
.site-topline [data-checkout-note]{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:719px){
  .site-topline{padding:7px 16px;font-size:11px}
  .site-topline .house-mark{display:none}   /* one line, never a two-row barcode */
}
/* ── the older dark strips: .topstrip (Publish) and .bar (About, Policies,
   Contact) were written before the app language and sit at .bar{...} strength
   in copy-pack.css. body prefixes and !important on colour only, so layout
   rules on those pages still win. ── */
body .topstrip{
  background:var(--cream) !important;color:var(--ink-soft) !important;
  border-bottom:1px solid var(--rule) !important;
  padding:8px max(16px,calc((100vw - 1240px)/2)) !important;
  font-family:var(--app-sans);font-size:11.5px;letter-spacing:.01em;
}
body .topstrip .ts-mark{color:var(--burgundy) !important;font-size:10px;letter-spacing:.15em;font-weight:700}
body .topstrip a{color:var(--burgundy) !important;text-decoration:none}
body .bar{
  background:rgba(246,242,233,.94) !important;color:var(--ink) !important;
  border-bottom:1px solid var(--rule) !important;border-top:0 !important;
  position:sticky;top:0;z-index:40;
  display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;
  min-height:56px;padding:0 max(16px,calc((100vw - 1240px)/2)) !important;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  font-family:var(--app-sans);
}
body .bar .brand{display:flex;flex-direction:column;justify-content:center;line-height:1.02}
body .bar .brand-name{font-family:var(--app-serif);font-size:17px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
body .bar .brand-kicker{font-family:var(--app-sans);font-size:8.5px;font-weight:700;letter-spacing:.2em;
  text-transform:uppercase;color:var(--muted);margin-top:2px}
body .bar .brand{
  font-family:var(--app-serif) !important;font-size:17px !important;font-weight:700;
  color:var(--ink) !important;text-decoration:none;letter-spacing:-.01em !important;
  text-transform:none !important;white-space:nowrap;
}
/* these strips separate the hidden status from their link with a literal "·"
   text node, which no selector can reach — collapse the container's type and
   give it back on the link */
body .bar > div{font-size:0 !important}
body .bar > div a{font-size:12.5px !important}
body .bar a{color:var(--burgundy) !important;text-decoration:none;font-size:12.5px}
body .bar .return a{color:var(--ink-soft) !important}
@media(max-width:719px){
  body .bar{min-height:54px}
  body .bar [data-checkout-note]{display:none}
  body .topstrip .ts-left{display:none}   /* the app bar under it already carries the name */
  body .topstrip{justify-content:space-between;gap:8px}
  /* one line on a phone: the status stays, the extra link goes (the tab bar
     already has Library) */
  body .topstrip > div > a,body .topstrip a{display:none}
  body .topstrip > div{flex-wrap:nowrap !important;gap:8px !important;min-width:0}
  body .topstrip [data-checkout-note]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body .topstrip{padding:7px 16px !important;font-size:11px}
}

/* ── Publish: its own .masthead (shared with the home page, so scoped by body
   class) becomes the app bar rather than a floating logo band. ── */
.page-publish .masthead{
  position:sticky;top:0;z-index:40;
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;
  gap:12px;padding:0 max(16px,calc((100vw - 1240px)/2));min-height:60px;
  border-bottom:1px solid var(--rule);
  background:rgba(246,242,233,.94);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
.page-publish .masthead img[src*="voia-mark"]{display:none}   /* the round mark belonged to the old band */
.page-publish .masthead .wordmark{font-family:var(--app-serif);font-size:18px;font-weight:700;
  letter-spacing:-.01em;color:var(--ink);text-decoration:none;white-space:nowrap;display:block}
.page-publish .masthead .mk-meta{display:block;font-family:var(--app-sans);font-size:9px;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-top:3px;
  white-space:nowrap}
.page-publish .masthead nav{display:flex;align-items:center;gap:2px;flex-wrap:nowrap}
.page-publish .masthead nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 11px;
  border-radius:999px;font-family:var(--app-sans);font-size:13px;color:var(--ink-soft);text-decoration:none;white-space:nowrap}
.page-publish .masthead nav a:hover{background:#fff;color:var(--burgundy)}
.page-publish .masthead nav a.cta{background:var(--burgundy);color:#fdf8ee;border-radius:999px;padding:0 14px}
@media(max-width:899px){
  .page-publish .masthead nav{display:none}   /* the tab bar owns these destinations */
  .page-publish .masthead{min-height:56px}
}

/* ── the header: the app bar ── */
.site-header{
  position:sticky;top:0;z-index:40;
  display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;
  min-height:60px;padding:0 max(16px,calc((100vw - 1240px)/2));
  background:rgba(246,242,233,.94);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--rule);
}
.site-header .brand{
  display:flex;flex-direction:column;justify-content:center;margin-right:auto;
  font-family:var(--app-serif);font-size:18px;font-weight:700;letter-spacing:-.01em !important;
  color:var(--ink);text-decoration:none;line-height:1.05;white-space:nowrap;
  text-transform:none !important;
}
.site-header .brand-name{font-family:var(--app-serif);font-size:18px;font-weight:700;
  letter-spacing:-.01em;white-space:nowrap}
.site-header .brand-kicker{font-family:var(--app-sans);font-size:9px;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-top:3px;white-space:nowrap}
.site-header nav{display:flex;align-items:center;gap:2px}
.site-header nav a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:999px;
  font-size:13px;color:var(--ink-soft);text-decoration:none;white-space:nowrap;
}
.site-header nav a:hover{background:#fff;color:var(--burgundy)}
@media(max-width:719px){
  .site-header{min-height:56px}
  .site-header .brand{font-size:16px}
  .site-header nav a{padding:0 10px;font-size:12px}
}

/* ── the drawer button chrome.js injects into this bar ── */
.chrome-menu-btn{
  display:inline-flex;align-items:center;gap:7px;
  min-height:40px;padding:0 13px;margin-left:auto;
  border:1px solid var(--rule);border-radius:999px;
  background:#fff;color:var(--ink);
  font-family:var(--app-sans);font-size:11px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;cursor:pointer;
}
.chrome-menu-btn:hover{border-color:var(--gold);color:var(--burgundy)}
.chrome-menu-btn .bars{width:14px;gap:3px}
.chrome-menu-btn .bars i{height:2px;background:currentColor;border-radius:1px}

/* ── type ── */
.copy-content h1,.copy-section h1{font-family:var(--app-serif);font-weight:700;letter-spacing:-.02em;line-height:1.08}
.copy-section h2,.product-section h2,.copy-content h2{
  font-family:var(--app-serif);font-weight:700;letter-spacing:-.015em;line-height:1.15;
}
.copy-section h3,.product-section h3,.copy-content h3{
  font-family:var(--app-serif);font-weight:600;line-height:1.25;
}
.copy-section p,.copy-content p{line-height:1.62}
.copy-section blockquote,.copy-content blockquote,.copy-section blockquote p{
  font-family:var(--app-serif);font-style:italic;
}

/* ── actions: one button language ── */
.btn,.button-row a.btn,.final-cta .btn,.product-buttons .btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 22px;border:1px solid var(--burgundy);border-radius:999px;
  background:var(--burgundy);color:#fdf8ee;
  font-family:var(--app-sans);font-size:14px;font-weight:650;letter-spacing:.01em;
  text-decoration:none;cursor:pointer;
  transition:background .15s ease,border-color .15s ease,transform .12s ease;
}
.btn:hover{background:var(--burgundy-dark);border-color:var(--burgundy-dark);text-decoration:none}
.btn:active{transform:translateY(1px)}
.btn-secondary,.btn.btn-secondary{
  background:transparent;color:var(--ink);border-color:var(--rule);
}
.btn-secondary:hover{background:var(--cream);border-color:var(--gold);color:var(--ink)}
.button-row,.final-cta,.product-buttons{gap:10px}
@media(max-width:719px){
  .btn,.button-row a.btn,.final-cta .btn{width:100%}
  .button-row,.final-cta{flex-direction:column;align-items:stretch}
}

/* ── surfaces ── */
.price-card,.offer-box,.bundle-detail,.bundle-contents,.bundle-included,.coming-banner{
  background:var(--cream);border:1px solid var(--rule);border-radius:14px;
  box-shadow:0 1px 0 rgba(26,20,16,.03);
}
.price-card{border-left:1px solid var(--rule)}
.faq details{background:#fff;border:1px solid var(--rule);border-radius:12px}
.faq summary{font-family:var(--app-sans);font-weight:650}
.related-card{background:var(--cream);border:1px solid var(--rule);border-radius:12px}

/* ── forms ── */
input[type=text],input[type=email],input[type=tel],input[type=search],select,textarea{
  border:1px solid var(--rule);border-radius:10px;background:#fff;color:var(--ink);
  min-height:46px;padding:10px 12px;font-family:var(--app-sans);font-size:15px;
}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(200,168,107,.55);outline-offset:1px;border-color:var(--gold)}

/* ── tables scroll inside their box instead of pushing the page ── */
table{max-width:100%}

/* ── footer ── */
.site-footer,.copy-footer,.product-footer{
  border-top:1px solid var(--rule);background:var(--cream);color:var(--muted);
  font-family:var(--app-sans);font-size:12px;
}
.site-footer a,.product-footer a{color:var(--burgundy);text-decoration:none}
.site-footer a:hover{text-decoration:underline}

/* ── give every page the same breathing room above the tab bar ── */
@media(max-width:820px){
  body{padding-bottom:env(safe-area-inset-bottom,0px)}
}

/* ── the front page joins the chrome ───────────────────────────────────────
   The home page keeps its editorial hero, seal and serif display — those are
   the house's voice, not chrome. What changes is the ribbon above it and the
   two hero actions, so the first screen speaks the same language as every
   page behind it. */
.home-v3 .topstrip{background:rgba(246,242,233,.96) !important;color:var(--ink-soft) !important;
  border-bottom:1px solid var(--rule) !important;backdrop-filter:blur(8px)}
.home-v3 .topstrip a{color:var(--burgundy) !important;border-bottom-color:transparent}
.home-v3 .topstrip a:hover{border-bottom-color:var(--gold)}
.home-v3 .topstrip .ts-mark{color:var(--burgundy) !important}

.home-v3 .home-hero .ctas a{
  border-radius:999px;min-height:46px;padding:0 20px;
  font-family:var(--app-sans);font-size:12.5px;font-weight:700;
  letter-spacing:.04em;text-transform:none;
}
.home-v3 .home-hero .ctas a.primary{background:var(--burgundy);color:#fff;border:1px solid var(--burgundy)}
.home-v3 .home-hero .ctas a.primary:hover{background:var(--burgundy-dark);border-color:var(--burgundy-dark)}
.home-v3 .home-hero .ctas a.ghost{background:#fff;border:1px solid var(--rule);color:var(--ink)}
.home-v3 .home-hero .ctas a.ghost:hover{border-color:var(--gold);color:var(--burgundy)}

@media(max-width:719px){
  /* the ribbon is a status line, not a second navigation */
  body.home-v3 .topstrip{justify-content:space-between;gap:8px}
  body.home-v3 .topstrip .ts-left > span:not(.ts-mark){display:inline}
}
