/* Union Steward Works Inc. — steward.trade
   One shared stylesheet for every page. Plain CSS, no build step.
   Palette: deep navy, warm gold, warm cream (Steward brand). */

:root {
  --navy: #1B1A2E;
  --navy-deep: #13121F;
  --navy-soft: #2A2942;
  --gold: #A8872A;          /* brand gold: rules, icons, large display text */
  --gold-ink: #7A5F17;      /* gold for small text on light backgrounds (AA) */
  --gold-bright: #C8A84B;   /* gold on navy backgrounds */
  --cream: #F5F0E8;
  --paper: #FBF8F2;
  --white: #FFFFFF;
  --ink: #23212F;
  --ink-soft: #4F4B63;
  --rule: rgba(27, 26, 46, 0.14);
  --rule-strong: rgba(27, 26, 46, 0.24);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(27, 26, 46, .06), 0 8px 24px -12px rgba(27, 26, 46, .22);
  --wrap: 72rem;
  --head-h: 4.25rem;
  --display: 'Barlow Condensed', 'Barlow', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* subtle paper grain, drawn inline so there is no image request */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 1rem);
  scroll-behavior: smooth;
}

body {
  background: var(--paper) var(--grain);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--cream);
  padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip:focus { top: 1rem; color: var(--cream); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── buttons ── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.35rem;
  font: 600 1.02rem/1.2 var(--body);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-soft); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-gold { background: var(--gold-bright); color: var(--navy-deep); }
.btn-gold:hover { background: #D6B85C; color: var(--navy-deep); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ── site header ── */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 232, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap {
  max-width: 84rem;
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--head-h);
}
.brand {
  display: flex; flex-direction: column; justify-content: center;
  text-decoration: none; color: var(--navy); margin-right: auto;
}
.brand img { width: 9.25rem; height: auto; }
.brand-tag {
  font: 600 .72rem/1.15 var(--body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: .1rem; padding-left: 2.4rem;
}
.site-nav { display: none; }
.site-nav ul { list-style: none; display: flex; gap: 1.15rem; }
.site-nav a {
  white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--navy); }
.head-cta { display: none; white-space: nowrap; }

.menu-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 2.75rem; padding: .5rem .95rem;
  background: var(--navy); color: var(--cream);
  border: 0; border-radius: 999px; font: 600 .95rem/1 var(--body); cursor: pointer;
}
.menu-btn svg { width: 1.15rem; height: 1.15rem; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--rule);
  background: var(--cream);
  padding: .75rem 0 1.25rem;
}
.mobile-menu[hidden] { display: none; }
.site-head .mobile-menu .wrap { display: block; min-height: 0; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
  display: block; padding: .85rem 0; font-size: 1.1rem; font-weight: 600;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--rule);
}
.mobile-menu .btn { width: 100%; margin-top: 1rem; }

@media (min-width: 48rem) { .brand-tag { white-space: nowrap; } }
@media (max-width: 47.99rem) {
  .brand img { width: 8.25rem; }
  .brand-tag { font-size: .6rem; letter-spacing: .05em; padding-left: 2.15rem; max-width: 11rem; }
  .site-head .wrap { gap: .6rem; }
}
@media (max-width: 30rem) {
  .menu-btn { padding: .5rem .75rem; }
  .menu-btn .menu-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 22rem) {
  .brand-tag { display: none; }
}
@media (min-width: 62rem) {
  .head-cta { display: inline-flex; min-height: 2.6rem; padding: .5rem 1.1rem; font-size: .95rem; }
}
@media (min-width: 80rem) {
  .site-nav { display: block; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ── English | Español switch ── */
.lang-switch {
  display: inline-flex; align-items: center; gap: .15rem;
  padding: .2rem .35rem .2rem .55rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--rule-strong);
  font: 600 .9rem/1 var(--body); white-space: nowrap;
}
.lang-globe { width: 1rem; height: 1rem; color: var(--gold-ink); margin-right: .15rem; flex-shrink: 0; }
.lang-switch a {
  display: inline-flex; align-items: center; min-height: 2.2rem; padding: 0 .55rem;
  border-radius: 999px; color: var(--ink-soft); text-decoration: none;
}
.lang-switch a:hover { color: var(--navy); background: var(--cream); }
.lang-switch a[aria-current="true"] { background: var(--navy); color: var(--cream); }
.lang-sep { color: var(--rule-strong); }
.lang-short { display: none; }
@media (max-width: 47.99rem) {
  .head-lang .lang-long { display: none; }
  .head-lang .lang-short { display: inline; }
  .head-lang .lang-globe { display: none; }
  .head-lang { padding: .15rem; }
  .head-lang .lang-sep { display: none; }
  .head-lang a { min-height: 2.3rem; min-width: 2.4rem; justify-content: center; padding: 0 .45rem; }
}
.menu-lang { margin-bottom: .5rem; font-size: 1rem; }
.menu-lang a { min-height: 2.6rem; padding: 0 .9rem; }
.lang-cue {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  margin-top: 1.5rem; font-size: 1rem; color: var(--ink-soft);
}
.lang-cue svg { width: 1.15rem; height: 1.15rem; color: var(--gold-ink); flex-shrink: 0; }
.lang-cue a { font-weight: 600; }
.translation-note {
  font-size: .95rem; color: var(--ink); background: var(--cream);
  border-left: 3px solid var(--gold); padding: .8rem 1rem; border-radius: 4px; margin-bottom: 1.6rem;
}

/* ── shared section scaffolding ── */

.section { padding: 4.5rem 0; }
@media (min-width: 48rem) { .section { padding: 6rem 0; } }
.section-cream { background: var(--cream) var(--grain); border-block: 1px solid var(--rule); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 .82rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--gold); }

h1, h2, h3 { color: var(--navy); }
.h2 {
  font: 700 clamp(2rem, 5vw, 3rem)/1.05 var(--display);
  letter-spacing: -.005em; margin-top: .6rem; max-width: 22ch;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 42rem; margin-top: 1rem; }
.section-head { margin-bottom: 2.75rem; }

.icon {
  width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--white);
  border: 1px solid var(--rule); color: var(--navy);
}
.icon svg { width: 1.35rem; height: 1.35rem; }

/* ── hero ── */

.hero { padding: 2.25rem 0 3.5rem; overflow: hidden; }
@media (min-width: 48rem) { .hero { padding: 3.25rem 0 4.5rem; } }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 4rem; } }

.hero h1 {
  font: 800 clamp(2.6rem, 8vw, 4.25rem)/.98 var(--display);
  letter-spacing: -.01em; text-transform: uppercase;
  margin-top: 1rem;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--gold); }
.hero-copy { font-size: 1.18rem; color: var(--ink-soft); max-width: 36rem; margin-top: 1.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.routes { margin-top: 2.25rem; }
.routes-label { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .6rem; }
.route-list { list-style: none; display: grid; gap: .6rem; }
@media (min-width: 36rem) { .route-list { grid-template-columns: 1fr 1fr; } }
.route {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--rule);
  color: var(--navy); text-decoration: none; font-weight: 600; line-height: 1.3;
  box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.route:hover { border-color: var(--gold); transform: translateY(-1px); color: var(--navy); }
.route .icon { width: 2.3rem; height: 2.3rem; background: var(--cream); border: 0; }
.route .icon svg { width: 1.1rem; height: 1.1rem; }
.route .arrow { margin-left: auto; color: var(--gold); width: 1.1rem; height: 1.1rem; flex-shrink: 0; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 22rem); }
.stage { position: relative; }
.stage::before {
  content: ""; position: absolute; inset: 10% -8% 4% -8%;
  background: var(--cream) var(--grain);
  border: 1px solid var(--rule); border-radius: 2rem;
  transform: rotate(-3deg);
}
.stage::after {
  content: ""; position: absolute; left: -4%; right: 20%; bottom: 1%; height: 5px;
  background: var(--gold); border-radius: 3px; transform: rotate(-3deg);
}
.phone {
  position: relative; z-index: 1; width: 78%; margin: 0 auto;
  filter: drop-shadow(0 22px 30px rgba(27, 26, 46, .28));
}
.hero-visual figcaption {
  position: relative; z-index: 1; text-align: center;
  font-size: .85rem; color: var(--ink-soft); margin-top: 1.5rem;
}
.status-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: var(--navy);
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 999px; padding: .35rem .85rem .35rem .7rem;
}
.status-pill::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(168, 135, 42, .18);
}

/* phone mockup: rebuilt from the Steward info flyer's dashboard, with sample data */
.phone-mock {
  position: relative; z-index: 1; width: min(100%, 17.5rem); margin: 0 auto;
  background: #0E0E12; border-radius: 2.6rem; padding: .6rem;
  box-shadow: inset 0 0 0 2px #3A3A44, 0 22px 40px -12px rgba(27, 26, 46, .45);
}
.pm-screen {
  background: #fff; border-radius: 2.05rem; overflow: hidden;
  font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #0F1B3D; padding: .55rem .7rem 0;
}
.pm-status { display: flex; align-items: center; justify-content: space-between; font-size: .68rem; font-weight: 700; padding: 0 .55rem; height: 1.35rem; }
.pm-island { width: 4.6rem; height: 1.2rem; background: #0E0E12; border-radius: 999px; }
.pm-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: .6rem; }
.pm-bars i { width: 3px; background: #0F1B3D; border-radius: 1px; }
.pm-bars i:nth-child(1) { height: 35%; } .pm-bars i:nth-child(2) { height: 55%; }
.pm-bars i:nth-child(3) { height: 75%; } .pm-bars i:nth-child(4) { height: 100%; }
.pm-top { position: relative; display: flex; justify-content: center; align-items: center; padding: .55rem 0 .35rem; }
.pm-top img { width: 7.2rem; }
.pm-bell { position: absolute; right: .25rem; width: 1.05rem; height: 1.05rem; color: #1F6FEB; }
.pm-headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: .4rem; margin: .1rem 0 .5rem; }
.pm-title { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.pm-hello { font-size: .66rem; color: #1B2A5A; }
.pm-sample {
  flex-shrink: 0; font-size: .56rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #7A5F17; background: #FBF1D6; border: 1px dashed #C8A84B; border-radius: 999px; padding: .2rem .45rem;
}
.pm-card {
  display: flex; align-items: center; gap: .55rem;
  border: 1px solid #ECEEF3; border-radius: .7rem; padding: .42rem .5rem; margin-bottom: .38rem;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .05);
}
.pm-card img { width: 2.35rem; height: 2.35rem; flex-shrink: 0; }
.pm-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.pm-txt b { font-size: .7rem; font-weight: 700; }
.pm-txt small { font-size: .56rem; color: #3B4466; }
.pm-val { font-size: .86rem; font-weight: 800; margin-top: .08rem; }
.pm-val em { font-style: normal; font-size: .52rem; font-weight: 600; color: #0F1B3D; margin-left: .15rem; }
.pm-chev { width: .8rem; height: .8rem; flex-shrink: 0; }
.pm-green { color: #1E9E4A; } .pm-blue { color: #1F6FEB; } .pm-orange { color: #E58A00; } .pm-purple { color: #6B3FA0; }
.pm-nav { display: flex; justify-content: space-between; border-top: 1px solid #ECEEF3; margin: .3rem -.7rem 0; padding: .45rem .5rem .7rem; }
.pm-nav span { display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: .5rem; color: #1B2A5A; flex: 1; min-width: 0; text-align: center; }
.pm-nav svg { width: .95rem; height: .95rem; }
.pm-nav .on { color: #0F1B3D; font-weight: 700; }

/* ── quote band ── */

.band { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.band::after {
  content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .5; pointer-events: none;
}
.band .wrap { position: relative; z-index: 1; padding-top: 3.25rem; padding-bottom: 3.25rem; }
.band blockquote {
  font: 700 clamp(1.7rem, 4.4vw, 2.6rem)/1.12 var(--display);
  max-width: 30ch; color: var(--cream);
}
.band blockquote em { font-style: normal; color: var(--gold-bright); }
.band .rule { width: 3.5rem; height: 3px; background: var(--gold-bright); margin-bottom: 1.25rem; border-radius: 2px; }

/* ── problem ── */

.friction { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .friction { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.friction li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.35rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--rule);
}
.friction h3 { font: 700 1.3rem/1.2 var(--display); }
.friction p { color: var(--ink-soft); margin-top: .3rem; }
.aside-note {
  margin-top: 2rem; max-width: 46rem;
  font-size: 1.05rem; color: var(--ink-soft);
  padding-left: 1rem; border-left: 3px solid var(--gold);
}

/* ── how it works ── */

.steps { list-style: none; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 40rem) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.steps li {
  position: relative; padding: 1.5rem 1.35rem 1.6rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
}
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font: 800 2.4rem/1 var(--display); color: var(--gold);
  display: block; margin-bottom: 1rem;
}
.steps .icon { position: absolute; top: 1.35rem; right: 1.35rem; }
.steps h3 { font: 700 1.35rem/1.15 var(--display); }
.steps p { color: var(--ink-soft); margin-top: .45rem; font-size: 1rem; }

.boundary {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-top: 2rem; padding: 1.25rem 1.35rem;
  background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm);
}
.boundary p { color: var(--ink); }
.boundary strong { color: var(--navy); }

/* ── members ── */

.split { display: grid; gap: 2.5rem; }
@media (min-width: 62rem) { .split { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; } }

.checklist { list-style: none; display: grid; gap: .25rem; }
.checklist li {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .9rem 0; border-bottom: 1px solid var(--rule);
}
.checklist li:first-child { border-top: 1px solid var(--rule); }
.checklist svg { width: 1.4rem; height: 1.4rem; color: var(--gold); flex-shrink: 0; margin-top: .15rem; }
.checklist strong { color: var(--navy); }

.examples { display: grid; gap: 1rem; }
.examples h3 { font: 700 1.5rem/1.2 var(--display); margin-bottom: .25rem; }
.example {
  padding: 1.2rem 1.3rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--rule); box-shadow: var(--shadow);
}
.example .when { font-weight: 700; color: var(--navy); }
.example p { color: var(--ink-soft); margin-top: .3rem; }
.example-note { font-size: .92rem; color: var(--ink-soft); }

/* ── partners ── */

.roles { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 62rem) { .roles { grid-template-columns: repeat(3, 1fr); } }
.role {
  display: flex; flex-direction: column;
  padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--rule);
}
.role .icon { margin-bottom: 1rem; background: var(--cream); border: 0; }
.role h3 { font: 700 1.5rem/1.15 var(--display); }
.role .who { font-size: .92rem; color: var(--ink-soft); margin-top: .2rem; }
.role ul { list-style: none; margin-top: 1rem; display: grid; gap: .55rem; }
.role li { padding-left: 1.2rem; position: relative; }
.role li::before {
  content: ""; position: absolute; left: 0; top: .7em; width: .5rem; height: 2px; background: var(--gold);
}
.role .keeps {
  margin-top: auto; padding-top: 1.1rem; font-size: .95rem; color: var(--ink-soft);
}
.role .keeps strong { color: var(--navy); }
.role ul + .keeps { margin-top: 1.25rem; border-top: 1px solid var(--rule); }

.partner-foot { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 62rem) { .partner-foot { grid-template-columns: 1.2fr .8fr; align-items: center; } }
.partner-foot h3 { font: 700 1.5rem/1.2 var(--display); margin-bottom: .75rem; }
.partner-foot .checklist li { padding: .7rem 0; }
.stays {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--navy); color: var(--cream);
}
.stays h3 { color: var(--cream); font: 700 1.35rem/1.2 var(--display); margin-bottom: .5rem; }
.stays p { color: rgba(245, 240, 232, .86); }
.stays .btn { margin-top: 1.25rem; }

/* ── pilot ── */

.pilot {
  background: var(--navy-deep); color: var(--cream);
  position: relative; overflow: hidden;
}
.pilot::before {
  content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .6; pointer-events: none;
}
.pilot::after {
  content: ""; position: absolute; right: -10rem; top: -10rem; width: 30rem; height: 30rem;
  border: 2px solid rgba(200, 168, 75, .22); border-radius: 50%; pointer-events: none;
}
.pilot .wrap { position: relative; z-index: 1; }
.pilot .eyebrow { color: var(--gold-bright); }
.pilot .eyebrow::before { background: var(--gold-bright); }
.pilot h2 { color: var(--cream); }
.pilot .h2 { max-width: 28ch; }
.pilot .lead { color: rgba(245, 240, 232, .84); }
.pilot-kicker {
  font: 700 clamp(1.35rem, 3vw, 1.7rem)/1.2 var(--display); color: var(--gold-bright); margin-top: 1rem;
}
.pilot-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.pilot-grid > * { min-width: 0; }
@media (min-width: 62rem) {
  .pilot-grid {
    grid-template-columns: 1fr 1fr; column-gap: 4rem; row-gap: 0; align-items: start;
    grid-template-areas: "why form";
  }
  .pilot-why { grid-area: why; }
  .pilot-more { grid-area: more; }
  .form-card { grid-area: form; }
}

.pilot h3 { color: var(--cream); font: 700 1.4rem/1.2 var(--display); margin-bottom: .9rem; }
.why { list-style: none; display: grid; gap: 1rem; }
.why li { display: flex; gap: .9rem; align-items: flex-start; }
.why .icon { background: rgba(245, 240, 232, .06); border-color: rgba(200, 168, 75, .4); color: var(--gold-bright); }
.why strong { color: var(--cream); display: block; }
.why span { color: rgba(245, 240, 232, .78); }

.topics { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid rgba(245, 240, 232, .14); }
.topics ul { list-style: none; display: grid; gap: .5rem; }
.topics li { padding-left: 1.3rem; position: relative; color: rgba(245, 240, 232, .88); }
.topics li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: .6rem; height: 2px; background: var(--gold-bright);
}

.early { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid rgba(245, 240, 232, .14); }
.early dl { display: grid; gap: .9rem; }
.early dt { font-weight: 700; color: var(--gold-bright); }
.early dd { color: rgba(245, 240, 232, .84); }

/* form card */
.form-card {
  background: var(--paper) var(--grain); color: var(--ink);
  border-radius: 1.25rem; padding: 1.6rem 1.35rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
@media (min-width: 48rem) { .form-card { padding: 2.25rem 2rem; } }
.form-card h3 { color: var(--navy); font: 700 1.7rem/1.1 var(--display); margin-bottom: .4rem; }
.form-card .sub { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .85rem;
  font: 400 1.02rem/1.4 var(--body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--rule-strong); border-radius: var(--radius-sm);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1A2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(168, 135, 42, .45); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #A3261B; background: #FFF7F6; }
.error { display: block; color: #A3261B; font-size: .92rem; font-weight: 600; margin-top: .3rem; }
.error:empty { display: none; }
.field .consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; font-weight: 400; color: var(--ink); }
.consent input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex-shrink: 0; accent-color: var(--navy); }
.form-card .btn { width: 100%; margin-top: .5rem; }
.form-how { font-size: .9rem; color: var(--ink-soft); margin-top: .9rem; }
.form-status {
  margin-top: 1rem; padding: 1rem; border-radius: var(--radius-sm);
  background: var(--cream); border: 1px solid var(--rule); font-size: .95rem;
}
.form-status[hidden] { display: none; }
.form-status pre {
  white-space: pre-wrap; font: 400 .9rem/1.45 var(--body); margin-top: .6rem;
  background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: .7rem; max-height: 12rem; overflow: auto;
}
.form-status .row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.form-status .btn { width: auto; min-height: 2.5rem; padding: .45rem 1rem; font-size: .92rem; margin: 0; }

/* ── privacy ── */

.trust-grid { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .trust-grid { grid-template-columns: 1fr 1fr; } }
.trust-grid li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.35rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--rule);
}
.trust-grid h3 { font: 700 1.3rem/1.2 var(--display); }
.trust-grid p { color: var(--ink-soft); margin-top: .3rem; }
.guide-note {
  margin-top: 2rem; padding: 1.5rem 1.5rem; border-radius: var(--radius);
  background: var(--navy); color: var(--cream);
  display: flex; gap: 1rem; align-items: flex-start;
}
.guide-note .icon { background: rgba(245, 240, 232, .08); border-color: rgba(200, 168, 75, .4); color: var(--gold-bright); }
.guide-note p { font: 700 clamp(1.3rem, 3vw, 1.6rem)/1.2 var(--display); color: var(--cream); }
.guide-note p + p { font: 400 1rem/1.55 var(--body); color: rgba(245, 240, 232, .82); margin-top: .5rem; }
.policy-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Compact homepage trust section, shared by English and Spanish. */
.section[data-sec="privacy"] { padding: 3rem 0; }
[data-sec="privacy"] .section-head { margin-bottom: 1.25rem; }
[data-sec="privacy"] .h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); max-width: none; margin-top: .4rem; }
[data-sec="privacy"] .lead { font-size: 1.05rem; margin-top: .5rem; }
[data-sec="privacy"] .trust-grid {
  grid-template-columns: 1fr; gap: 0; overflow: hidden;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
}
[data-sec="privacy"] .trust-grid li {
  gap: .75rem; padding: 1rem; border: 0; border-radius: 0; background: transparent;
}
[data-sec="privacy"] .trust-grid li + li { border-top: 1px solid var(--rule); }
[data-sec="privacy"] .trust-grid .icon { width: 2.25rem; height: 2.25rem; border: 0; background: var(--cream); }
[data-sec="privacy"] .trust-grid h3 { font-size: 1.2rem; }
[data-sec="privacy"] .trust-grid p { font-size: 1rem; line-height: 1.45; margin-top: .2rem; }
[data-sec="privacy"] .guide-note {
  gap: .75rem; margin-top: 1rem; padding: .85rem 0 0;
  border-top: 1px solid var(--rule); border-radius: 0; background: transparent; color: var(--ink-soft);
}
[data-sec="privacy"] .guide-note .icon { width: 2rem; height: 2rem; border: 0; background: transparent; color: var(--gold-ink); }
[data-sec="privacy"] .guide-note p { font: 400 1rem/1.5 var(--body); color: var(--ink-soft); }
[data-sec="privacy"] .policy-links { gap: 1.5rem; margin-top: .5rem; }
[data-sec="privacy"] .policy-links .btn {
  min-height: 2.75rem; padding: .4rem 0; border: 0; border-radius: 0;
  font-size: 1rem; text-decoration: underline; text-underline-offset: .2em;
}
@media (min-width: 56rem) {
  [data-sec="privacy"] .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-sec="privacy"] .trust-grid li + li { border-top: 0; border-left: 1px solid var(--rule); }
}

/* ── FAQ ── */

.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font: 700 1.3rem/1.25 var(--display); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: .8rem; height: .8rem; flex-shrink: 0;
  border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .answer { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 44rem; }
.faq .answer p + p { margin-top: .6rem; }

/* ── closing CTA ── */

.closing { text-align: center; }
.closing .h2 { margin-left: auto; margin-right: auto; }
.closing .lead { margin-left: auto; margin-right: auto; }
.closing .hero-ctas { justify-content: center; }

/* ── footer ── */

.site-foot {
  background: var(--navy-deep); color: rgba(245, 240, 232, .72);
  padding: 3rem 0 2.5rem; font-size: .95rem; margin-top: auto;
}
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot-brand img { width: 9.5rem; }
.foot-brand .tag { color: var(--cream); font-weight: 600; margin-top: .6rem; }
.site-foot h2 {
  font: 700 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: .9rem;
}
.site-foot ul { list-style: none; display: grid; gap: .5rem; }
.site-foot a { color: rgba(245, 240, 232, .86); text-decoration: none; }
.site-foot a:hover { color: var(--gold-bright); text-decoration: underline; }
.foot-fine {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(245, 240, 232, .14);
  display: grid; gap: .5rem; font-size: .9rem; color: rgba(245, 240, 232, .66);
}

/* ── inner pages (privacy, terms, support, 404) ── */

.page-hero { padding: 3.25rem 0 2.5rem; border-bottom: 1px solid var(--rule); }
.page-hero h1 { font: 800 clamp(2.4rem, 7vw, 3.4rem)/1 var(--display); text-transform: uppercase; margin-top: .6rem; }
.page-hero p { margin-top: 1rem; font-size: 1.12rem; color: var(--ink-soft); max-width: 40rem; }

.prose { max-width: 44rem; padding: 2.75rem 0 4.5rem; }
.prose h2 { font: 700 1.75rem/1.15 var(--display); margin: 2.4rem 0 .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; font-weight: 700; margin: 1.5rem 0 .35rem; }
.prose p { margin-bottom: .95rem; }
.prose ul { margin: 0 0 1.1rem 1.2rem; }
.prose li { margin-bottom: .4rem; padding-left: .2rem; }
.prose .lede { font-size: 1.14rem; color: var(--ink-soft); }
.prose .stamp {
  font-size: .92rem; color: var(--ink-soft);
  padding-bottom: 1.3rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--rule);
}
.prose .mailto {
  font: 700 1.5rem/1.3 var(--display); color: var(--gold-ink);
  text-decoration: none; border-bottom: 2px solid var(--gold);
}
.prose .mailto:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ── motion preferences ── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .route:hover { transform: none; }
}

.closing .eyebrow::before { display: none; }
@media (min-width: 62rem) { .phone-mock { width: 19rem; } }

/* ── direct email contact ── */
.contact-card-pilot .sub { margin-bottom: 1.5rem; }
.email-fallback { margin-top: 1.4rem; }
.email-fallback > p:first-child { overflow-wrap: anywhere; }
.email-fallback a { font-weight: 700; }
.copy-email { margin-top: .55rem; padding: .55rem .8rem; border: 1px solid var(--navy); border-radius: var(--radius-sm); background: transparent; color: var(--navy); font: 700 .95rem/1.3 var(--body); cursor: pointer; }
.copy-email:hover, .copy-email:focus-visible { background: var(--cream); }
.copy-status { display: inline-block; margin-left: .65rem; color: var(--navy); font-weight: 600; }
.contact-note { margin-top: .8rem; font-size: .92rem; color: var(--ink-soft); }
.other-contact { margin-top: 1.5rem; padding-top: 1.15rem; border-top: 1px solid var(--rule); }
.contact-options { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 48rem) { .contact-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-option { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.contact-option h2 { font: 700 1.5rem/1.15 var(--display); color: var(--navy); }
.contact-option p { color: var(--ink-soft); margin: .6rem 0 1.3rem; }
.contact-option .btn { margin-top: auto; }
.contact-options + .email-fallback { padding: 1.2rem 1.5rem; border: 1px solid var(--rule); border-radius: var(--radius); }
.contact-options ~ .prose { padding-top: .6rem; }

/* Interactive example: switch between records and a sample Ask conversation. */
.phone-mock { width: min(100%, 21rem); }
.pm-top { padding: .65rem 0 .8rem; }
.pm-demo-content { min-height: 21rem; }
.pm-demo-content [hidden] { display: none; }
.pm-headrow { align-items: center; margin-bottom: 1rem; }
.pm-title { font-size: 1.15rem; }
.pm-hello { font-size: .75rem; margin-top: .2rem; }
.pm-sample { font-size: .65rem; padding: .25rem .4rem; }
.pm-document { display: flex; gap: .65rem; align-items: center; padding: .75rem; border: 1px solid #e5e3db; border-radius: .65rem; background: #fbf8f2; margin: 1rem 0; }
.pm-document > svg { width: 1.6rem; height: 1.6rem; color: var(--gold-ink); flex-shrink: 0; }
.pm-document b { display: block; font-size: .82rem; }
.pm-document div > span { display: block; font-size: .72rem; color: #4f4b63; margin-top: .1rem; }
.pm-question { margin: 1rem 0 1rem 1.25rem; background: var(--navy); color: white; padding: .9rem; border-radius: .8rem .8rem .2rem .8rem; }
.pm-question > span { font-size: .72rem; color: #ddd7ef; font-weight: 600; }
.pm-question p, .pm-answer p { font-size: .9rem; line-height: 1.45; margin-top: .35rem; }
.pm-answer { padding: .9rem; margin-right: 1.25rem; border: 1px solid #e5e3db; background: #fbf8f2; border-radius: .8rem .8rem .8rem .2rem; }
.pm-answer > span { display: flex; gap: .4rem; align-items: center; color: var(--gold-ink); font-size: .8rem; font-weight: 700; }
.pm-answer svg { width: 1rem; height: 1rem; }
.pm-preview-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .8rem; padding: .6rem 0; border-top: 1px solid #e5e3db; }
.pm-preview-nav button { display: flex; gap: .45rem; align-items: center; justify-content: center; min-height: 2.75rem; border: 1px solid transparent; border-radius: .65rem; background: transparent; color: var(--ink-soft); font: 600 .85rem/1.2 var(--body); cursor: pointer; }
.pm-preview-nav button[aria-pressed="true"] { background: var(--navy); color: white; }
.pm-preview-nav button:hover { border-color: var(--gold); }
.pm-preview-nav svg { width: 1.1rem; height: 1.1rem; }
.pm-demo-content .pm-txt b { font-size: .8rem; }
.pm-demo-content .pm-txt small { font-size: .68rem; }
.pm-demo-content .pm-val { font-size: .95rem; }

/* Paycheck comparison stays within the illustrative Ask conversation. */
.pm-paycheck { position: relative; overflow: hidden; padding: .7rem .75rem; margin: .8rem 0; border: 1px solid #e5e3db; border-radius: .65rem; background: #fbf8f2; }
.pm-paycheck-head { display: flex; align-items: center; gap: .4rem; font-size: .82rem; }
.pm-paycheck-head > svg { width: 1.15rem; height: 1.15rem; color: var(--gold-ink); flex-shrink: 0; }
.pm-paycheck-head > span { display: flex; align-items: center; gap: .2rem; margin-left: auto; color: #37634b; font-size: .65rem; }
.pm-paycheck-head > span svg { width: .8rem; height: .8rem; }
.pm-paycheck table { width: 100%; border-collapse: collapse; margin-top: .55rem; font-size: .75rem; text-align: left; }
.pm-paycheck th { color: var(--ink-soft); font-size: .65rem; font-weight: 500; padding-bottom: .25rem; }
.pm-paycheck td { padding: .3rem 0; border-top: 1px solid #e5e3db; font-weight: 600; }
.pm-paycheck th:last-child, .pm-paycheck td:last-child { text-align: right; }
.pm-pay-rule { margin-top: .4rem; padding-top: .4rem; border-top: 1px solid #e5e3db; color: var(--gold-ink); font-size: .7rem; font-weight: 600; }
.pm-paycheck::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); box-shadow: 0 0 10px rgba(168,135,42,.4); opacity: 0; pointer-events: none; animation: paycheck-scan 1.8s ease-in-out 1; }
@keyframes paycheck-scan { 0% { top: 0; opacity: 0; } 15% { opacity: .8; } 85% { opacity: .8; } 100% { top: 100%; opacity: 0; } }
.pm-pay-answer { border-left: 3px solid var(--gold); }
.pm-pay-answer strong { color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .pm-paycheck::after { animation: none; display: none; } }

/* Sample questions are all part of Ask. */
.pm-example-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; padding: .2rem; border: 1px solid #e5e3db; border-radius: .55rem; background: #fbf8f2; }
.pm-example-picker button { min-height: 2rem; padding: .25rem .15rem; border: 0; border-radius: .35rem; background: transparent; color: var(--ink-soft); font: 600 .8rem/1.2 var(--body); cursor: pointer; }
.pm-example-picker button[aria-pressed="true"] { background: white; color: var(--navy); box-shadow: 0 1px 4px rgba(27,26,46,.12); }
.pm-example-picker button:hover { color: var(--gold-ink); }

/* Keep the phone and page steady while examples rotate. */
.pm-example-picker { grid-template-columns: .8fr .8fr 1.25fr .85fr; }
.pm-example-picker [data-ask-autoplay] { border-left: 1px solid #e5e3db; border-radius: 0 .35rem .35rem 0; color: var(--gold-ink); }
.pm-example-panels { display: grid; }
.pm-example-panels > [data-ask-example-panel] { grid-area: 1 / 1; min-width: 0; }
.pm-demo-content .pm-example-panels > [hidden] { display: block; visibility: hidden; pointer-events: none; }


/* Click-through sample records share the same stable phone frame. */
.pm-demo-content, .pm-record-views { display: grid; }
.pm-demo-content > [data-preview-panel], .pm-record-views > [data-record-view] { grid-area: 1 / 1; min-width: 0; }
.pm-demo-content > [data-preview-panel][hidden],
.pm-record-views > [data-record-view][hidden] { display: block; visibility: hidden; pointer-events: none; }
button.pm-card { width: 100%; background: #fff; color: inherit; text-align: left; font: inherit; cursor: pointer; min-height: 3.75rem; transition: border-color .15s, background .15s; }
button.pm-card:hover { border-color: var(--gold); background: #fbf8f2; }
.phone-mock button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pm-record-back { display: flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .25rem 0; margin-bottom: .35rem; background: transparent; border: 0; color: #3b4466; font: 600 .78rem/1.3 -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; cursor: pointer; }
.pm-record-back:hover { color: var(--gold-ink); }
.pm-record-back span { font-size: 1.1rem; }
.pm-record-detail .pm-title { font: 700 1.1rem/1.25 -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.pm-record-metric { display: flex; align-items: center; gap: .75rem; padding: .9rem .75rem; border: 1px solid #eceef3; background: #f8fafb; border-radius: .7rem; }
.pm-record-metric img { width: 2.8rem; height: 2.8rem; flex-shrink: 0; }
.pm-record-metric strong { display: block; font-size: 1.4rem; line-height: 1.15; }
.pm-record-metric p > span { display: block; margin-top: .25rem; color: #3b4466; font-size: .75rem; }
.pm-record-facts { margin: .85rem 0; }
.pm-record-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: .7rem; padding: .65rem 0; border-bottom: 1px solid #eceef3; font-size: .75rem; line-height: 1.35; }
.pm-record-facts dt { color: #4f4b63; }
.pm-record-facts dd { margin: 0; text-align: right; font-weight: 600; }
.pm-record-source { display: flex; gap: .55rem; align-items: center; padding: .7rem; background: #fbf8f2; border: 1px solid #e5e3db; border-radius: .65rem; }
.pm-record-source svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; color: var(--gold-ink); }
.pm-record-source strong { display: block; font-size: .75rem; line-height: 1.3; }
.pm-record-source p > span { display: block; margin-top: .2rem; color: #4f4b63; font-size: .65rem; }
.pm-record-note { margin-top: .9rem; color: #3b4466; font-size: .78rem; line-height: 1.5; }


/* Sharing is an illustrative, local-only preview. */
.pm-share-button { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 2.75rem; margin-top: .9rem; padding: .6rem; border: 1px solid var(--navy); border-radius: .6rem; background: var(--navy); color: white; font: 600 .85rem/1.3 -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; cursor: pointer; }
.pm-share-button:hover { background: #343049; }
.pm-share-button svg, .pm-share-email svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.pm-share-label { margin: 1rem 0 .45rem; color: #3b4466; font-size: .78rem; font-weight: 600; }
.pm-share-recipients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
.pm-share-recipients button { min-height: 2.75rem; padding: .4rem .25rem; border: 1px solid #e5e3db; border-radius: .5rem; background: white; color: #3b4466; font: 600 .7rem/1.25 -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; cursor: pointer; }
.pm-share-recipients button[aria-pressed="true"] { border-color: var(--gold); background: #fbf1d6; color: var(--navy); }
.pm-share-recipients button:hover { border-color: var(--gold); }
.pm-share-email { margin-top: 1rem; padding: .85rem; border: 1px solid #e5e3db; border-radius: .7rem; background: #fbf8f2; font-size: .8rem; line-height: 1.45; }
.pm-share-email-title { display: flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--gold-ink); }
.pm-share-to { margin: .7rem 0; padding-bottom: .65rem; border-bottom: 1px solid #e5e3db; font-size: .75rem; }
.pm-share-attachment { display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; padding: .3rem .45rem; border: 1px solid #e5e3db; border-radius: .35rem; background: white; font-size: .7rem; }
.pm-share-demo { margin-top: .6rem; color: #696477; font-size: .65rem; line-height: 1.4; }


/* The dues example hands payment back to the member's union. */
.pm-preview-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pm-preview-nav button { flex-direction: column; gap: .2rem; min-height: 3.1rem; padding: .3rem .15rem; font-size: .78rem; }
#preview-dues .pm-title { font: 700 1.15rem/1.2 -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.pm-dues-payment { margin-top: 1.2rem; }
.pm-dues-payment h3 { font: 700 .95rem/1.3 -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.pm-dues-payment > p { margin-top: .45rem; font-size: .8rem; line-height: 1.45; color: #3b4466; }
.pm-dues-preview-note { margin-top: .85rem; padding: .7rem; border-left: 3px solid var(--gold); border-radius: .2rem; background: #fbf8f2; color: #3b4466; font-size: .75rem; line-height: 1.4; }
.pm-dues-preview-note strong { color: var(--navy); }
.pm-dues-preview-note p { margin-top: .3rem; }


/* A visible language switch belongs inside the app preview itself. */
.pm-language { display: flex; align-items: center; justify-content: center; gap: .25rem; margin: 0 0 .85rem; padding: .2rem; border: 1px solid #e5e3db; border-radius: .6rem; background: #fbf8f2; }
.pm-language > svg { width: 1rem; height: 1rem; margin: 0 .35rem; color: var(--gold-ink); flex-shrink: 0; }
.pm-language button { flex: 1; min-height: 2.1rem; padding: .4rem; border: 0; border-radius: .4rem; background: transparent; color: #3b4466; font: 600 .78rem/1.2 -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; cursor: pointer; }
.pm-language button[aria-pressed="true"] { background: var(--navy); color: white; }
.pm-language button:disabled { opacity: .6; cursor: wait; }
.pm-language-status { font-size: .75rem; line-height: 1.4; color: #7f2d24; margin-bottom: .75rem; }
.pm-language-status[hidden] { display: none; }


/* Sample alerts stay close to the records that need attention. */
.pm-preview-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem; }
.pm-preview-nav button { font-size: .72rem; }
.pm-notifications { position: absolute; right: .15rem; top: .4rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border: 0; border-radius: .6rem; background: #fbf8f2; color: var(--navy); cursor: pointer; }
.pm-notifications > svg { width: 1.25rem; height: 1.25rem; }
.pm-notifications > span { position: absolute; top: -.05rem; right: -.05rem; display: grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%; background: #a33932; color: white; font: 700 .6rem/1 -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
#preview-alerts .pm-title { font: 700 1.15rem/1.2 -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.pm-alert { display: block; width: 100%; padding: .7rem; margin-bottom: .65rem; border: 1px solid #e5e3db; border-left: 3px solid #9b7721; border-radius: .6rem; background: #fffcf5; color: #0f1b3d; text-align: left; font: inherit; cursor: pointer; }
.pm-alert:hover { border-color: var(--gold); }
.pm-alert-heading { display: flex; align-items: center; gap: .35rem; }
.pm-alert-heading > svg { width: 1rem; height: 1rem; flex-shrink: 0; color: #8a6413; }
.pm-alert-heading > strong { font-size: .75rem; line-height: 1.25; }
.pm-alert-badge { margin-left: auto; padding: .18rem .35rem; border-radius: .3rem; background: #f4e7bf; color: #72500a; font-size: .56rem; font-weight: 700; white-space: nowrap; }
.pm-alert-title { display: block; margin-top: .55rem; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.pm-alert-body { display: block; margin-top: .3rem; font-size: .76rem; line-height: 1.4; color: #3b4466; }
.pm-alert-action { display: flex; align-items: center; justify-content: space-between; margin-top: .55rem; font-size: .73rem; font-weight: 700; }
.pm-alert-red { border-left-color: #a33932; background: #fff9f8; }
.pm-alert-red .pm-alert-heading > svg { color: #a33932; }
.pm-alert-red .pm-alert-badge { background: #f8dfdb; color: #8b2e28; }
.pm-alert-blue { border-left-color: #35639b; background: #f8fbff; }
.pm-alert-blue .pm-alert-heading > svg { color: #35639b; }
.pm-alert-blue .pm-alert-badge { background: #e3edf8; color: #295180; }
.pm-alert-note { color: #696477; font-size: .68rem; line-height: 1.4; margin: .7rem 0 .1rem; }

.partner-foot.partner-language-note { display: block; max-width: 58rem; }
