/* Herzing Assignments — "The Unit Rail"
   Sample library for Herzing's unit-based classrooms (Unit 1-8). Rail-line
   aesthetic: mist base, deep navy ink, signal green stations, rail-connected
   cards. Outfit + Noto Sans. */

:root {
  --navy: #0A2C4D;
  --navy-deep: #06203A;
  --navy-bright: #14416E;
  --navy-tint: rgba(10, 44, 77, 0.07);
  --navy-line: rgba(10, 44, 77, 0.25);

  --green: #229469;
  --green-deep: #157049;
  --green-bright: #34B988;
  --green-tint: rgba(34, 148, 105, 0.10);

  --mist: #F2F5F8;
  --mist-deep: #E4EAF0;
  --card: #FFFFFF;
  --ink: #14222F;
  --muted: #52637A;
  --soft: #8493A8;
  --line: #D8E0EA;
  --line-strong: #BFCBDA;

  --rail-night: #081C30;
  --rail-night-2: #051524;
  --t-on-rail: #EBF1F8;
  --m-on-rail: #9DAFC6;
  --line-rail: #16344F;

  --f-display: "Outfit", "Segoe UI", Arial, sans-serif;
  --f-body: "Noto Sans", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, monospace;

  --r: 12px;
  --r-b: 9px;
  --sh-1: 0 8px 24px rgba(8, 28, 48, 0.10);
  --sh-2: 0 18px 48px rgba(8, 28, 48, 0.16);
  --maxw: 1150px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--mist); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--green-deep); }
::selection { background: var(--mist-deep); }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
*::-webkit-scrollbar { width: 9px; }
*::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }

.btn { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: 0.94rem; padding: 12px 22px; border-radius: var(--r-b); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: 0.15s; }
.btn-cta { background: var(--green); color: #FFF; }
.btn-cta:hover { background: var(--green-deep); }
.btn-navy { background: var(--navy); color: #FFF; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* header */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(242, 245, 248, 0.94); backdrop-filter: blur(9px); border-bottom: 1px solid var(--line); }
.head-in { max-width: var(--maxw); margin: 0 auto; padding: 10px 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--navy); line-height: 1.1; display: block; }
.brand-sub { font-size: 0.72rem; color: var(--muted); }
.nav-links { display: flex; gap: 22px; justify-content: center; }
.nav-links a { font-family: var(--f-display); text-decoration: none; color: var(--ink); font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: var(--green-deep); }
.head-cta { justify-self: end; }
.nav-burger { display: none; background: none; border: 1.5px solid var(--line-strong); border-radius: 9px; padding: 8px 11px; cursor: pointer; font-size: 1.05rem; color: var(--ink); }

/* hero: rail-line device under headline, search below */
.hero { max-width: 860px; margin: 0 auto; padding: 52px 24px 30px; text-align: center; }
.hero-kicker { font-family: var(--f-display); color: var(--green-deep); font-weight: 600; font-size: 0.92rem; margin: 0 0 12px; }
.rail-line { position: relative; display: flex; justify-content: space-between; max-width: 460px; margin: 0 auto 22px; }
.rail-line::before { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 3.5px; background: var(--navy); border-radius: 2px; transform: translateY(-50%); }
.rail-line span { position: relative; width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 3px solid var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 0.55rem; color: var(--navy); }
.rail-line span.hot { background: var(--green-bright); border-color: var(--green-deep); color: #06301F; font-weight: 700; }
.hero h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.05rem); line-height: 1.1; margin: 0 0 14px; color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--green-deep); }
.hero-sub { color: var(--muted); font-size: 1.04rem; margin: 0 auto 24px; max-width: 62ch; line-height: 1.65; }
.search-home { max-width: 620px; margin: 0 auto; text-align: left; }
.search-home .search-row { display: flex; gap: 10px; }
.search-home input { flex: 1; font-family: var(--f-body); font-size: 0.99rem; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-b); background: var(--card); color: var(--ink); min-width: 0; }
.search-home input:focus { outline: none; border-color: var(--green); }
.search-results { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r-b); background: #FFF; max-height: 300px; overflow-y: auto; display: none; box-shadow: var(--sh-1); }
.search-results.is-on { display: block; }
.search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 13px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--green-tint); }
.search-results .sr-code { font-family: var(--f-mono); color: var(--green-deep); font-size: 0.84rem; white-space: nowrap; }
.search-results .sr-kind { color: var(--soft); font-size: 0.8rem; white-space: nowrap; }
.search-none { padding: 13px; font-size: 0.92rem; color: var(--muted); display: none; }
.search-none.is-on { display: block; }
.search-none a { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: center; }
.chips span { font-size: 0.78rem; color: var(--soft); align-self: center; }
.chips a { font-family: var(--f-mono); font-size: 0.79rem; text-decoration: none; color: var(--navy); background: var(--mist-deep); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; }
.chips a:hover { color: var(--green-deep); border-color: var(--green); }

/* sections */
.sect { max-width: var(--maxw); margin: 0 auto; padding: 46px 24px; }
.sect-kicker { font-family: var(--f-display); color: var(--green-deep); font-weight: 600; font-size: 0.9rem; margin: 0 0 8px; }
.sect h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.05rem); margin: 0 0 10px; line-height: 1.15; color: var(--navy); }
.sect-sub { color: var(--muted); max-width: 62ch; margin: 0 0 26px; }

/* station course cards: left rail connector */
.station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.station { position: relative; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 18px 18px 18px 30px; text-decoration: none; color: var(--ink); box-shadow: var(--sh-1); display: block; }
.station::before { content: ""; position: absolute; left: 12px; top: 14px; bottom: 14px; width: 3px; background: var(--navy); border-radius: 2px; }
.station::after { content: ""; position: absolute; left: 7.5px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--green-bright); border: 2.5px solid var(--green-deep); }
.station:hover { border-color: var(--green); }
.station .st-code { font-family: var(--f-mono); font-size: 0.85rem; color: var(--green-deep); font-weight: 500; }
.station h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; margin: 6px 0 8px; line-height: 1.3; color: var(--navy); }
.station p { font-size: 0.87rem; color: var(--muted); margin: 0 0 10px; line-height: 1.55; }
.station .st-meta { font-size: 0.78rem; color: var(--soft); }

/* steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.step-card .s-n { width: 34px; height: 34px; border-radius: 50%; background: var(--green-bright); border: 2.5px solid var(--green-deep); color: #06301F; font-family: var(--f-display); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 0.95rem; }
.step-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.07rem; margin: 0 0 8px; color: var(--navy); }
.step-card p { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* trust row */
.trust-row { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; margin-top: 30px; }
.trust-num { font-family: var(--f-display); font-weight: 700; font-size: 2rem; color: var(--navy); }
.trust-lbl { font-size: 0.85rem; color: var(--muted); }
.trust-stars { color: var(--green-deep); font-size: 0.95rem; }

/* request band */
.rail-strip { background: var(--rail-night); }
.rail-in { max-width: var(--maxw); margin: 0 auto; padding: 46px 24px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center; }
.rail-in h2 { font-family: var(--f-display); font-weight: 700; color: var(--t-on-rail); font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0 0 10px; }
.rail-in p { color: var(--m-on-rail); margin: 0 0 6px; line-height: 1.65; }

/* forms */
.ob-form { display: grid; gap: 10px; }
.ob-form input { font-family: var(--f-body); font-size: 0.95rem; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-b); background: #FFF; color: var(--ink); width: 100%; }
.ob-form input:focus { outline: none; border-color: var(--green); }
.ob-form .hp { position: absolute; left: -6000px; }
.ob-fine { font-size: 0.78rem; color: var(--soft); }
.on-rail .ob-form input { border-color: var(--line-rail); background: var(--mist); }
.ob-thanks { font-weight: 700; color: var(--green-deep); }
.on-rail .ob-thanks { color: var(--t-on-rail); }

/* article layer */
.crumbs { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px 0; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-deep); }
.crumbs .sep { margin: 0 7px; color: var(--line-strong); }
.article-hero { max-width: 880px; margin: 0 auto; padding: 34px 24px 8px; }
.article-hero h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.35rem); line-height: 1.14; margin: 12px 0 14px; color: var(--navy); }
.code-chip { display: inline-block; font-family: var(--f-mono); font-size: 0.8rem; color: var(--navy); background: var(--navy-tint); border: 1px solid var(--navy-line); border-radius: 999px; padding: 4px 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-lib { display: inline-block; font-size: 0.78rem; color: var(--navy); background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; }
.article-hero .lead { font-size: 1.05rem; line-height: 1.66; color: var(--muted); max-width: 64ch; }
.article { max-width: 880px; margin: 0 auto; padding: 8px 24px 60px; }
.article h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.38rem; margin: 34px 0 12px; color: var(--navy); }
.article h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; margin: 22px 0 8px; }
.article p { line-height: 1.72; margin: 0 0 14px; }
.article ul { list-style: none; margin: 0 0 18px; padding: 0 0 0 4px; position: relative; }
.article ul::before { content: ""; position: absolute; left: 9.5px; top: 10px; bottom: 10px; width: 3px; background: var(--navy-line); border-radius: 2px; }
.article ul li { position: relative; padding-left: 32px; margin: 0 0 12px; line-height: 1.72; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--navy); }
.article ul li:hover::before { background: var(--green-bright); border-color: var(--green-deep); }
.article a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--navy-line); }
.article a:hover { color: var(--navy); text-decoration-color: var(--green); }
.faq-item { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: var(--r-b); padding: 14px 18px; margin: 0 0 10px; }
.faq-item:hover { border-color: var(--line-strong); border-left-color: var(--green); }
.faq-item summary { font-family: var(--f-display); font-weight: 600; font-size: 0.99rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-mono); font-size: 1rem; color: var(--green-deep); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--green-deep); }
.faq-item[open] summary { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.faq-item p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.72; }
.answer-box { background: var(--green-tint); border: 1px solid var(--green); border-radius: var(--r); padding: 20px 22px; margin: 18px 0 8px; }
.answer-box .ab-label { display: block; font-weight: 700; font-size: 0.82rem; color: var(--green-deep); margin-bottom: 8px; }
.answer-box p { margin: 0; line-height: 1.7; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 8px; }
.related a { display: inline-block; background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; color: var(--ink); text-decoration: none; }
.related a:hover { border-color: var(--green); color: var(--green-deep); }

/* unit drawers */
.drawer { border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--card); margin: 14px 0; overflow: hidden; }
.drawer-row { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.drawer-row:last-child { border-bottom: none; }
.drawer-row .d-n { font-family: var(--f-mono); font-size: 0.78rem; color: #FFF; background: var(--navy); border-radius: 999px; padding: 6px 11px; white-space: nowrap; }
.drawer-row .d-body { flex: 1; min-width: 0; }
.drawer-row h3 { font-family: var(--f-display); font-weight: 700; font-size: 0.97rem; margin: 0 0 3px; color: var(--navy); }
.drawer-row p { font-size: 0.86rem; color: var(--muted); margin: 0; line-height: 1.5; }
.drawer-row .d-act { white-space: nowrap; }
.drawer-row .d-act a { font-size: 0.86rem; font-weight: 700; text-decoration: none; }

/* footer */
.site-foot { background: var(--rail-night-2); color: var(--m-on-rail); margin-top: 40px; }
.foot-in { max-width: var(--maxw); margin: 0 auto; padding: 44px 24px 26px; display: grid; grid-template-columns: 1.45fr 1fr 0.85fr 0.85fr 0.85fr 1.1fr; gap: 24px; }
.foot-in h4 { font-family: var(--f-display); font-weight: 700; color: var(--t-on-rail); font-size: 0.98rem; margin: 0 0 12px; }
.foot-in a { color: var(--m-on-rail); text-decoration: none; display: block; font-size: 0.88rem; margin-bottom: 8px; }
.foot-in a:hover { color: var(--t-on-rail); }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot-brand .brand-mark { width: 34px; height: 34px; }
.foot-brand span { font-family: var(--f-display); font-weight: 700; color: var(--t-on-rail); }
.foot-note { font-size: 0.8rem; line-height: 1.6; }
.foot-legal { border-top: 1px solid var(--line-rail); }
.foot-legal-in { max-width: var(--maxw); margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 0.78rem; }

/* popup */
.ob-backdrop { position: fixed; inset: 0; background: rgba(8, 28, 48, 0.58); z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.ob-backdrop.is-open { display: flex; }
.ob-modal { background: var(--mist); border-radius: var(--r); max-width: 470px; width: 100%; box-shadow: var(--sh-2); overflow: hidden; }
.ob-mast { background: var(--navy); padding: 18px 22px; position: relative; }
.ob-mast .rail-mini { position: relative; display: flex; justify-content: space-between; max-width: 240px; margin: 0 auto; }
.ob-mast .rail-mini::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2.5px; background: rgba(255,255,255,0.4); transform: translateY(-50%); }
.ob-mast .rail-mini span { position: relative; width: 15px; height: 15px; border-radius: 50%; background: var(--navy-deep); border: 2px solid rgba(255,255,255,0.55); }
.ob-mast .rail-mini span.hot { background: var(--green-bright); border-color: #FFF; }
.ob-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: #C6D4E4; }
.ob-body { padding: 20px 22px 24px; }
.ob-season { font-size: 0.8rem; font-weight: 700; color: var(--green-deep); }
.ob-body h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; margin: 6px 0 6px; color: var(--navy); }
.ob-body .ob-sub { font-size: 0.92rem; color: var(--muted); margin: 0 0 14px; }

/* chat + dock */
.chat-launch { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--green); background: var(--card); cursor: pointer; box-shadow: var(--sh-1); padding: 0; overflow: hidden; }
.chat-launch svg { width: 100%; height: 100%; display: block; }
.chat-nudge { position: fixed; right: 92px; bottom: 34px; z-index: 79; background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px 12px 3px 12px; padding: 10px 14px; font-size: 0.84rem; box-shadow: var(--sh-1); cursor: pointer; display: none; max-width: 240px; }
.chat-nudge.is-on { display: block; }
.chat-panel { position: fixed; right: 22px; bottom: 92px; z-index: 85; width: 340px; max-width: calc(100vw - 32px); background: var(--mist); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: var(--sh-2); display: none; flex-direction: column; overflow: hidden; max-height: 480px; }
.chat-panel.is-open { display: flex; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.chat-face { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; border: 1.5px solid var(--line-strong); }
.chat-face svg { width: 100%; height: 100%; display: block; }
.chat-head .c-name { font-weight: 700; font-size: 0.92rem; }
.chat-head .c-cred { font-size: 0.74rem; color: var(--muted); }
.chat-back { margin-left: auto; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.msg { max-width: 84%; padding: 9px 12px; font-size: 0.88rem; line-height: 1.5; }
.msg-in { background: var(--card); border: 1px solid var(--line); border-radius: 12px 12px 12px 3px; align-self: flex-start; }
.msg-out { background: var(--navy); color: #FFF; border-radius: 12px 12px 3px 12px; align-self: flex-end; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--card); }
.chat-form input { flex: 1; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 9px 14px; font-size: 0.88rem; min-width: 0; }
.chat-form input:focus { outline: none; border-color: var(--green); }
.chat-form button { border: none; background: var(--green); color: #FFF; border-radius: 999px; padding: 9px 16px; font-weight: 700; cursor: pointer; }
.dock { position: fixed; left: 22px; bottom: 22px; z-index: 78; display: flex; flex-direction: column; gap: 10px; }
.dock button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; box-shadow: var(--sh-1); display: flex; align-items: center; justify-content: center; padding: 0; }
.dock button svg { width: 22px; height: 22px; }

/* responsive */
@media (max-width: 1080px) {
  .foot-in { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .station-grid { grid-template-columns: repeat(2, 1fr); }
  .steps3 { grid-template-columns: 1fr; }
  .rail-in { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) {
  .nav-links { display: none; }
  .head-cta { display: none; }
  .nav-burger { display: block; justify-self: end; }
  .site-head.menu-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--mist); border-bottom: 1px solid var(--line); padding: 14px 24px; gap: 14px; }
  .station-grid { grid-template-columns: 1fr; }
  .drawer-row { flex-wrap: wrap; }
  .foot-in { grid-template-columns: 1fr; }
}


/* image-program figures (apply_images.py) */
.ig-fig{margin:26px 0;max-width:100%}
.ig-fig img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid rgba(0,0,0,.08);box-shadow:0 1px 2px rgba(0,0,0,.05),0 10px 26px rgba(0,0,0,.07)}
.ig-fig figcaption{margin-top:10px;font-size:.86rem;opacity:.72;line-height:1.5}


/* mobile parity (post-audit 2026-07-22) */
input,select,textarea{font-size:16px}
html,body{overflow-x:hidden}
@media (max-width:640px){
  .chat-panel.is-open{inset:0;width:100%;height:100dvh;max-height:none;border-radius:0;z-index:95}
  .nav-links a{min-height:44px;display:flex;align-items:center}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}


/* hero lead form (post-audit P0) */
.hero-lead{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 4px;align-items:center;max-width:580px}
.hero-lead input{flex:1 1 200px;min-width:0;padding:12px 14px;font-size:16px;border:1px solid rgba(0,0,0,.22);border-radius:10px;background:#fff;color:#1a1a1a}
.hero-lead input:focus{outline:2px solid rgba(0,0,0,.35);outline-offset:1px}
.hero-lead input.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.hero-lead .btn{flex:0 0 auto}
.hero-lead-done,.hero-lead-err{margin:10px 0 0;font-size:.92rem}
.hero-lead-done{font-weight:600}
@media(max-width:560px){.hero-lead input{flex:1 1 100%}.hero-lead .btn{width:100%}}


/* sample-paper thumbnails */
.sample-thumbs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0 6px;max-width:560px}
.sample-thumbs figure{margin:0}
.sample-thumbs img{width:100%;height:auto;border-radius:8px;border:1px solid rgba(0,0,0,.1);box-shadow:0 6px 18px rgba(0,0,0,.09)}
.sample-thumbs figcaption{margin-top:6px;font-size:.8rem;opacity:.7;text-align:center}
@media(max-width:520px){.sample-thumbs{grid-template-columns:1fr;max-width:340px}}


/* honesty + a11y polish */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.ob-modal,.ae-modal{max-height:calc(100dvh - 40px);overflow-y:auto}

/* real WhatsApp dock button */
.dock .wa-live { width: 46px; height: 46px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(37,211,102,0.35); }
.dock .wa-live svg { width: 22px; height: 22px; }


/* true-form sample sheets (build_samples.py) */
.paper-wrap{margin:26px 0}
.sheet{background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:6px;padding:44px 52px;
 margin:0 0 18px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 28px rgba(0,0,0,.07);
 font-family:"Times New Roman",Times,serif;font-size:1.02rem;line-height:2;color:#111}
.sheet .sh-num{float:right;font-size:.95rem;color:#444}
.sheet .sh-title{text-align:center;font-weight:700;margin:0 0 1.6em}
.sheet .sh-center{text-align:center;margin:0}
.sheet h3{font-size:1.02rem;font-weight:700;margin:0 0 .4em;font-family:inherit}
.sheet p{margin:0 0 1em;text-indent:2.2em}
.sheet p.noindent{text-indent:0}
.sheet .hl{background:#fff3bf;padding:.06em .12em;border-radius:2px}
.sheet .ref{text-indent:-2.2em;padding-left:2.2em;margin:0 0 .8em}
.annot{background:#f6f1e7;border-left:3px solid #b99a5b;border-radius:0 8px 8px 0;
 padding:14px 18px;margin:0 0 22px;font-size:.94rem;line-height:1.65}
.annot b{display:block;margin-bottom:.25em}
@media(max-width:700px){.sheet{padding:26px 22px;font-size:.98rem;line-height:1.85}}
