/* ════════════════════════════════════════════════════════════════
   win2linux — interior page shell  (12 Oct 2026)

   The first part is attest-ai.com's own interior-page CSS (the bar,
   page shell and headings, the full-width header band, cards,
   callouts, buttons, footer, reading progress, text fields and the
   phone nav of its assets/style.css), ported with three mechanical
   changes: every selector is scoped under .ip (interior page, a class
   on <body>); html[data-theme="dark"] is html:not(.w2l-light); and
   Attest's token meanings are written out in win2linux's names
   (its --border hairline is --divider here, its --accent fill is
   --primary) because these pages keep their own inline CSS.
   The second part adapts win2linux's markup to it, and adds .ap, the
   sign-in layout of Attest's portal/login.html.

   scripts/site-chrome.js builds the bar, the header band, the back
   button and the footer, the way Attest's cinema.js, back.js and
   nav.js do. Loaded AFTER liquid-glass.css.
   ════════════════════════════════════════════════════════════════ */

/* ── top bar ── */
.ip .topbar {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  
  min-height: 72px; padding: 0 max(24px, calc((100% - 1240px) / 2));
  flex-wrap: wrap; row-gap: 0;
  background: var(--bar-bg);
  -webkit-backdrop-filter: var(--bar-blur); backdrop-filter: var(--bar-blur);
  border-bottom: 1px solid var(--bar-line);
}
.ip .brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-20); font-weight: 500; letter-spacing: -0.012em;
  color: var(--text);
}
.ip .brand::before { content: none; }
.ip .topbar-nav {
  display: flex; align-items: center; gap: 2rem;
  
  flex-wrap: wrap; justify-content: center; margin-inline: auto;
  font-family: var(--font-body);
  font-size: var(--fs-13); font-weight: 400; letter-spacing: 0;
  text-transform: none;
  color: var(--nav-ink);
}
.ip .topbar-nav a { transition: color 160ms ease; position: relative; padding: 0.25rem 0; }
.ip .topbar-nav a::before { content: none; }
.ip .topbar-nav a::after { content: none; }
.ip .topbar-nav a:hover { color: var(--text); }
.ip .topbar-nav a.is-current { color: var(--text); }
.ip .topbar-nav a.nav-cta { color: var(--link); }
.ip .topbar-nav a.nav-cta:hover { text-decoration: underline; }
.ip .topbar-nav a.nav-pill { white-space: nowrap; flex-shrink: 0; }
.ip .topbar-nav a.pill-solid { color: var(--link); }
.ip .topbar-nav a.pill-solid:hover { text-decoration: underline; }
.ip .topbar-nav a.pill-outline { color: var(--nav-ink); }
.ip .topbar-nav a.pill-outline:hover { text-decoration: underline; }
.ip .topbar-nav a.pill-green { color: var(--green); }
.ip .topbar-nav a.pill-green:hover { text-decoration: underline; }
html:not(.w2l-light) .ip .topbar-nav a.pill-outline { color: #fff; }
html:not(.w2l-light) .ip .topbar-nav a.pill-outline:hover { color: #fff; }
@media (max-width: 1100px) {
.ip .topbar-nav { gap: 1.25rem; }
}
@media (max-width: 900px) {
.ip .topbar { min-height: 60px; padding: 0 16px; }
.ip .topbar-nav { gap: 1rem; }
}
@media (max-width: 700px) {
.ip .topbar-nav { gap: 1rem; font-size: var(--fs-15); }
.ip .topbar-nav a:not(.always-show) { display: none; }
.ip .brand { font-size: var(--fs-15); }
.ip .topbar-nav a.nav-pill { padding: 0 0.85rem; }
}
.ip main, .ip .ip-main {
  max-width: 1000px; margin: 0 auto;
  padding: 3.5rem 1.75rem 5rem;
}
.ip .eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-11); font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 0.875rem;
}
.ip .eyebrow::before { content: none; }
.ip .eyebrow::after { content: none; }
.ip h1.page-title, .ip .gate h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.125rem);   
  font-weight: 500; letter-spacing: -0.012em; line-height: 1.12;
  margin-bottom: 1rem; max-width: 20ch; color: var(--text);
}
.ip h1.page-title em { font-style: normal; color: var(--text); }
.ip .lede {
  font-size: clamp(1rem, 1.3vw, 1.125rem);   
  color: var(--text2); max-width: 62ch;
  margin-bottom: 2.5rem; line-height: 1.56; letter-spacing: 0;
}
.ip main > h2, .ip .ip-main > h2 { padding-top: 0; }
.ip main > h2::before, .ip .ip-main > h2::before { content: none; }
.ip main > h2::after, .ip .ip-main > h2::after { content: none; }
.ip h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.375rem);   
  font-weight: 500; letter-spacing: -0.012em; line-height: 1.08;
  margin: 2.5rem 0 1rem; color: var(--text);
}
.ip h3, .ip .h3-style {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2vw, 1.875rem); font-weight: 500; letter-spacing: -0.012em;
  margin: 1.5rem 0 0.5rem; color: var(--text);
}
.ip p { margin-bottom: 1rem; color: var(--text2); font-size: var(--fs-17); line-height: 1.47059; }
.ip p strong { color: var(--text); font-weight: 700; }
.ip ul, .ip ol { margin: 0.5rem 0 1.25rem 1.5rem; }
.ip li { margin-bottom: 0.5rem; color: var(--text2); font-size: var(--fs-17); line-height: 1.47059; }
.ip li strong { color: var(--text); }
/* ── page hero band ── */
 .ip .page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--bg-soft);
  border-bottom: none;
  color: var(--text);
} .ip .page-hero::before { content: none; } html:not(.w2l-light) .ip .page-hero {
  background: var(--bg-soft); color: var(--on-dark);
} html:not(.w2l-light) .ip .page-hero::before {
  background: radial-gradient(circle, rgba(0,113,227,0.22), transparent 65%); filter: blur(40px);
}
.ip .page-hero {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  margin-top: -3.5rem; margin-bottom: 2.5rem; padding: 4.5rem 2rem 3.5rem;
}
.ip .page-hero-inner { max-width: 1000px; margin: 0 auto; }
.ip .page-hero .eyebrow, .ip .page-hero .page-title { margin-bottom: 1rem; }
.ip .page-hero .lede { margin-bottom: 0; }
.ip .page-hero .soon-badge, .ip .page-hero .role-banner { margin-bottom: 1rem; }
@media (max-width: 640px) {
.ip .page-hero { padding: 3rem 1.5rem 2.5rem; }
}
/* ── card primitive ── */
 .ip .module-card{
  position: relative;
  background: var(--plate);
  border: 1px solid transparent;
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
}
/* ── callouts ── */

/* ── buttons ── */

/* ── objectives ── */

/* ── cards ── */
.ip .module-card {
  display: block; padding: 1.5rem 1.5rem 1.5rem; cursor: pointer; overflow: hidden;
  isolation: isolate;   
  transition: transform 160ms var(--ease-quart), border-color 160ms ease, box-shadow 160ms ease;
}
.ip .module-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px;
  background: var(--primary); border-radius: 3px 3px 0 0;
  transition: width 200ms var(--ease-out);
}
.ip .module-card:hover {
  border-color: var(--border-bold); transform: translateY(-2px); box-shadow: var(--shadow-card-hover);
}
.ip .module-card:hover::before { width: 100%; }
.ip .module-card h3 {
  font-family: var(--font-display); font-size: var(--fs-20); font-weight: 700;
  margin: 0 0 0.5rem; line-height: 1.25; letter-spacing: 0; color: var(--text);
}
.ip .module-card p { color: var(--text2); font-size: var(--fs-16); line-height: 1.47059; margin: 0 0 1rem; }
.ip .module-card::after { content: none; }
/* ── module nav ── */

/* ── reading progress, reveals ── */
.ip .reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary); transform-origin: left center; transform: scaleX(0);
  z-index: 100; pointer-events: none; will-change: transform; transition: none;
}
/* ── footer ── */
.ip .site-foot {
  max-width: 1100px; margin: 4rem auto 0; padding: 3rem 1.75rem;
  border-top: 1px solid var(--divider);
  font-family: var(--font-body); color: var(--text3);
  
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem 2.5rem;
}
@media (max-width: 860px) {
.ip .site-foot { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 520px) {
.ip .site-foot { grid-template-columns: 1fr; }
}
.ip .site-foot::before { content: none; }
.ip .site-foot a { transition: color 180ms ease; }
.ip .foot-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.ip .foot-brand .fb-name { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 500; letter-spacing: -0.012em; }
.ip .foot-brand .fb-name img { height: 2.6em; width: auto; }
.ip .foot-brand p { font-size: var(--fs-13); line-height: 20px; color: var(--text3); }
.ip .foot-col h4, .ip .foot-col .foot-h { font-family: var(--font-display); font-size: var(--fs-13); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); margin: 0 0 14px; }
.ip .foot-col a { display: block; font-size: var(--fs-13); line-height: 20px; color: var(--text2); padding: 0; margin: 0 0 10px; }
.ip .foot-col a:hover { color: var(--text); text-decoration: underline; }
.ip .site-foot .foot-bottom { margin-top: 0; padding-top: 32px; border-top: none; font-size: var(--fs-13); line-height: 20px; color: var(--text3); }
.ip .site-foot {
  background: var(--bg-soft2); border-top: none;
  max-width: none; padding: 48px max(24px, calc((100% - 1240px) / 2)) 40px; gap: 8px 32px;
  font-size: var(--fs-13); line-height: 20px; letter-spacing: 0;
}
.ip .foot-col h4, .ip .foot-col .foot-h { font-family: var(--font-display); font-size: var(--fs-13); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); margin: 0 0 14px; }
.ip .foot-col a { display: block; font-size: var(--fs-13); line-height: 20px; color: var(--text2); padding: 0; margin: 0 0 10px; }
.ip .foot-col a:hover { text-decoration: underline; }
.ip .foot-brand .fb-name { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 500; letter-spacing: -0.012em; }
.ip .foot-brand .fb-name img { height: 22px; width: auto; vertical-align: middle; }
.ip .foot-brand p { font-size: var(--fs-13); line-height: 20px; color: var(--text3); }
.ip .site-foot .foot-bottom { margin-top: 0; padding-top: 32px; border-top: none; font-size: var(--fs-13); line-height: 20px; color: var(--text3); }
/* ── late overrides: flat tiles, text fields ── */
.ip .module-card::before { content: none; }
.ip .module-card:hover{ transform: none; border-color: transparent; box-shadow: var(--shadow-card-hover); }
.ip :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"])), .ip select, .ip textarea {
  font: inherit; letter-spacing: 0; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-bold); border-radius: var(--r-sm);
  min-height: 44px; padding: 0.6rem 1rem;
}
.ip input:focus, .ip select:focus, .ip textarea:focus { border-color: var(--primary); }
/* ── nav behaviours: phone menu, footer accordion ── */
.ip .topbar { position: sticky; }
.ip .topbar-nav a { transition: color 0.32s cubic-bezier(0.4, 0, 0.6, 1); }
.ip .nav-menu { display: none; position: relative; width: 48px; height: 48px; margin: 0 -14px 0 auto; padding: 0; background: none; border: none; cursor: pointer; }
.ip .nav-menu span { position: absolute; left: 15px; width: 18px; height: 1px; background: var(--text); transition: transform 0.32s cubic-bezier(0.4, 0, 0.6, 1), top 0.32s ease; }
.ip .nav-menu span:first-child { top: 20px; }
.ip .nav-menu span:last-child { top: 27px; }
html.nav-open .ip .nav-menu span:first-child { top: 23.5px; transform: rotate(45deg); }
html.nav-open .ip .nav-menu span:last-child { top: 23.5px; transform: rotate(-45deg); }
@media (max-width: 833px) {
.ip .topbar-nav a:not(.always-show) { display: none; }
.ip .nav-menu { display: block; }
.ip .topbar-nav .theme-toggle { margin-left: 0.5rem; }
html.nav-open { overflow: hidden; }
html.nav-open .ip .topbar { position: fixed; inset: 0; height: 100vh; height: 100dvh; align-items: flex-start; align-content: flex-start; background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 90; }
html.nav-open .ip .topbar-nav { order: 3; flex: 0 0 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 39px -16px 0; }
html.nav-open .ip .topbar-nav a { display: block; font-family: var(--font-display); font-size: 28px; line-height: 28px; font-weight: 600; letter-spacing: 0.196px; color: color-mix(in srgb, var(--text) 84%, transparent); padding: 3px 48px 4px; margin: 0 0 14px; }
html.nav-open .ip .topbar-nav a:hover { color: var(--text); text-decoration: none; }
html.nav-open .ip .topbar-nav .theme-toggle { margin: 12px 48px 0; }
.ip .site-foot .foot-col { border-bottom: 1px solid var(--divider); }
.ip .foot-col button.foot-h { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 0; margin: 0; background: none; border: none; font: inherit; font-size: var(--fs-12); line-height: 16px; letter-spacing: 0; color: color-mix(in srgb, var(--text) 88%, transparent); text-align: left; cursor: pointer; }
.ip .foot-col button.foot-h::after { content: ''; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.3s; }
.ip .foot-col.is-open button.foot-h::after { transform: rotate(-135deg) translate(-2px, -2px); }
.ip .foot-col a { display: none; padding: 6px 14px; margin: 0; }
.ip .foot-col.is-open a { display: block; }
.ip .foot-col.is-open { padding-bottom: 10px; }
}
@media (min-width: 834px) {
.ip .foot-col button.foot-h { display: block; padding: 0; background: none; border: none; font: inherit; text-align: left; cursor: default; }
}

/* ════════════════════════════════════════════════════════════════
   win2linux adaptations — everything above is Attest's own CSS.
   ════════════════════════════════════════════════════════════════ */
/* Attest sets its type on a 16px root; some of these pages raised theirs */
html:has(> body.ip), html:has(> body.ap) { font-size: 100%; }
html:has(> body.ip) { scroll-padding-top: 88px; }   /* in-page anchors land below the 72px sticky bar */
.ip, .ap { display: block; margin: 0; padding: 0; max-width: none; min-height: 0; font-size: 1rem; line-height: 1.5; }
.ap.sc { min-height: 100vh; }
.ip .topbar a, .ip .site-foot a, .ip .back-btn, .ap .back-btn { text-decoration: none; }
.ip .topbar a { color: inherit; }
.ip .topbar { flex-direction: row; margin: 0; max-width: none; width: auto; height: auto; border-radius: 0; box-shadow: none; box-sizing: border-box; }
.ip .brand { font-weight: 500; color: var(--text); }
.ip .topbar-nav { margin-inline: auto; }
.ip .topbar-nav a.pill-outline { color: var(--nav-ink); }
.ip .bar-tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.ip .bar-tools .theme-toggle-floating { position: static; }
.ip .bar-tools .lang-switch-group, .ip .bar-tools .seg { width: auto; flex: none; margin: 0; position: static; }
.ip .foot-brand .fb-name { color: var(--text); }
.ip .foot-bottom { grid-column: 1 / -1; }
.ip .foot-col button.foot-h { font-weight: 400; color: var(--text); }
.ip .site-foot { text-align: start; box-sizing: border-box; }
.ip .ip-main { display: block; box-sizing: border-box; width: auto; text-align: start; min-height: 0; }
.ip .ip-main > * { max-width: none; }
/* Attest's band is width:100vw; here it is the column's width and PAINTS to the viewport edges, so a classic
   (space-taking) scrollbar cannot make the page scroll sideways. Its contents sit exactly where Attest's do. */
.ip .page-hero { box-sizing: border-box; text-align: start; display: block; width: auto; margin-left: -1.75rem; margin-right: -1.75rem;
  padding-left: clamp(0px, calc((1064px - 100vw) / 2), 32px); padding-right: clamp(0px, calc((1064px - 100vw) / 2), 32px);
  box-shadow: 0 0 0 100vmax var(--bg-soft); clip-path: inset(0 -100vmax); }
.ip .page-hero-inner { display: block; text-align: start; }
.ip .page-hero .eyebrow, .ip .page-hero .lede { text-align: start; margin-left: 0; margin-right: 0; }
.ip .page-hero h1.page-title { margin-top: 0; }
.ip .page-hero .eyebrow { display: inline-flex; }
.ip .page-hero .lede + .lede, .ip .page-hero .updated { margin-top: 12px; }
.ip .page-hero .updated { font-size: var(--fs-13); color: var(--text3); margin-bottom: 0; }
.ip h1.page-title { text-align: start; }
.ip .ip-main > h2, .ip .ip-main > section > h2 { text-align: start; }
/* running text takes Attest's 17/25; anything a page classed keeps the rule written for that class */
.ip .ip-main p:not([class]), .ip .ip-main li:not([class]) { font-size: var(--fs-17); line-height: 1.47059; color: var(--text2); }
.ip .ip-main p:not([class]) { margin: 0 0 1rem; }
/* the one back button, first thing in the header band (Attest's back.js writes these inline) */
.ip .back-btn, .ap .back-btn {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 12px 6px 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 1.2; color: inherit;
  border: 1px solid currentColor; border-radius: 999px; opacity: 0.8; width: fit-content; position: relative; z-index: 2;
}
.ip .back-btn:hover, .ap .back-btn:hover { opacity: 1; }
.ip .back-btn-wrap, .ap .back-btn-wrap { align-self: flex-start; justify-self: start; color: var(--text); }
/* phone: language and theme live in the open sheet (as on the landing) */
@media (max-width: 833px) {
  .ip .topbar { flex-wrap: nowrap; }
  .ip .brand, .ip .nav-menu { flex-shrink: 0; }
  .ip .topbar-nav { margin-inline: auto 0; min-width: 0; }
  .ip .bar-tools { display: none; gap: 10px; }
  html.nav-open .ip .topbar { flex-wrap: wrap; }
  html.nav-open .ip .bar-tools { display: flex; order: 4; flex: 0 0 100%; padding: 12px 32px 0; }
}

/* field states: a page's invalid marker and the focus tint always show through the shell */
.ip .has-error :is(input, select, textarea), .ip :is(input, select, textarea)[aria-invalid="true"], .ip :is(input, select, textarea).error,
.ap.sc .has-error :is(input, select, textarea), .ap.sc :is(input, select, textarea)[aria-invalid="true"], .ap.sc :is(input, select, textarea).error { border-color: var(--red) !important; }
.ip :is(input, select, textarea):focus, .ap.sc :is(input, select, textarea):focus { border-color: var(--primary); }

/* ── forms: Attest's contact card (demo.html) ── */
.ip form.module-card, .ip .module-card { cursor: default; }
.ip form.module-card { padding: 1.5rem; }
.ip .module-card select { line-height: normal; }
.ip .module-card fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.ip .module-card legend { font-family: var(--font-body); font-size: var(--fs-12); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 0.75rem; padding: 0; }
.ip .module-card label, .ip .module-card .field label { font-family: var(--font-body); font-size: var(--fs-13); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text3); }
.ip .module-card .consent, .ip .module-card .consent span { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: var(--fs-15); color: var(--text2); }
.ip .module-card :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])), .ip .module-card select, .ip .module-card textarea {
  background: var(--bg-soft); font-weight: 600; padding: 0.6rem 0.75rem; border: 1px solid var(--border-bold); border-radius: var(--r-sm); min-height: 44px;
}
.ip .module-card button[type="submit"], .ip .module-card .cta, .ip .module-card #submit-btn {
  display: block; width: auto; min-height: auto; margin: 0.4rem 0 0; padding: 0.7rem 1.4rem; border: 0 solid var(--text); border-radius: var(--r-sm);
  background: var(--primary); color: var(--on-primary) !important; font-family: var(--font-body); font-size: 0.95rem; font-weight: 800; line-height: normal; letter-spacing: 0;
}
.ip .module-card button[type="submit"]:hover, .ip .module-card .cta:hover, .ip .module-card #submit-btn:hover { background: var(--primary-h); }

/* ════════════════════════════════════════════════════════════════
   .ap — sign-in pages: Attest's portal/login.html. No bar: a back
   button top left, the theme switch top right, one centred card.
   ════════════════════════════════════════════════════════════════ */
.ap.sc .auth-wrap { position: relative; box-sizing: border-box; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px; }
.ap.sc .auth-wrap > .back-btn-wrap { position: absolute; top: 32px; left: 32px; }
.ap.sc .auth-card {
  box-sizing: border-box; width: 100%; max-width: 420px; margin: 0; padding: 32px 32px 28.8px; text-align: start;
  background: var(--bg-soft); border: 0; border-radius: 22px; box-shadow: 0 12px 48px rgba(0,0,0,0.1);
}
.ap.sc .brand-lockup { display: block; margin: 0 auto 16px; text-align: center; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; line-height: 44px; letter-spacing: -0.012em; color: var(--text); text-decoration: none; }
.ap.sc .auth-card .eyebrow { display: block; margin: 0; font-family: var(--font-body); font-size: var(--fs-13); font-weight: 600; line-height: 19.5px; letter-spacing: 0; text-transform: none; color: var(--accent-text); text-align: start; }
.ap.sc .auth-card h1 { font-family: var(--font-display); font-size: var(--fs-28); font-weight: 500; line-height: 42px; letter-spacing: -0.012em; margin: 9.6px 0 4.8px; max-width: none; text-align: start; color: var(--text); }
.ap.sc .auth-card .lede { font-size: var(--fs-15); line-height: 1.47059; color: var(--text2); margin: 0 0 22.4px; max-width: none; text-align: start; }
.ap.sc .auth-card .field { display: flex; flex-direction: column; gap: 5px; margin: 0 0 16px; text-align: start; }
.ap.sc .auth-card .field label, .ap.sc .auth-card label { margin: 0; text-align: start; font-family: var(--font-body); font-size: var(--fs-13); font-weight: 600; line-height: 19.5px; letter-spacing: 0; text-transform: none; color: var(--text2); }
.ap.sc .auth-card :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])) {
  box-sizing: border-box; width: 100%; font: inherit; font-size: var(--fs-16); line-height: 24px; letter-spacing: 0; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-bold); border-radius: var(--r-sm); min-height: 44px; padding: 0.6rem 1rem;
}
.ap.sc .auth-card .cta, .ap.sc .auth-card .cta-block, .ap.sc .auth-card button[type="submit"], .ap.sc .auth-card .su-submit {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 48px; margin: 0; padding: 0 20px;
  border: 0; border-radius: var(--r-btn); background: var(--primary); color: var(--on-primary) !important;
  font-family: var(--font-body); font-size: var(--fs-17); font-weight: 600; line-height: normal; letter-spacing: -0.012em; text-decoration: none; cursor: pointer;
}
.ap.sc .auth-card .cta:hover, .ap.sc .auth-card .cta-block:hover, .ap.sc .auth-card button[type="submit"]:hover { background: var(--primary-h); }
.ap.sc .auth-card .helpers, .ap.sc .auth-card .signin-link, .ap.sc .auth-card p.helpers { margin: 16px 0 0; text-align: center; font-size: 0.82rem; line-height: 1.47059; color: var(--text2); }
/* links in running text never rely on colour alone (WCAG 1.4.1) */
.ap.sc .auth-card .helpers a, .ap.sc .auth-card .signin-link a, .ap.sc .auth-legal a { color: var(--text2); text-decoration: underline; font-size: inherit; }
.ap.sc .auth-card .helpers a:hover, .ap.sc .auth-card .signin-link a:hover, .ap.sc .auth-legal a:hover { color: var(--text); }
.ap.sc .auth-legal { margin: 16px 0 0; text-align: center; font-size: 0.82rem; line-height: 1.47059; color: var(--text2); }
.ap.sc .auth-wrap > main, .ap.sc .auth-main { min-height: 0; }
@media (max-width: 520px) { .ap.sc .auth-wrap { padding: 72px 16px 24px; } .ap .auth-wrap > .back-btn-wrap { top: 20px; left: 16px; } }
/* a contents list whose entries carry their own numbers */
.ip .toc ol { list-style: none; margin-left: 0; padding-left: 0; }
.ip .toc h3 { font-family: var(--font-body); font-size: var(--fs-11); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text3); margin: 0 0 0.5rem; }

/* ── phone menu: the open sheet scrolls when it is taller than the screen ── */
@media (max-width: 833px) { html.nav-open .ip .topbar { overflow-y: auto; overscroll-behavior: contain; } }
/* footer headings are only controls at phone width */
@media (min-width: 834px) { .ip .foot-col button.foot-h { pointer-events: none; } }

/* ── the certificate: Attest's cert.html (the bar, a 920px column, a centred intro, the footer) ── */
.ip.ip-plain .ip-main { max-width: 1148px; margin: 4rem auto 6rem; padding: 0 1.5rem; }   /* room for the earned certificate's 1100px sheet */
.ip.ip-plain .ip-main:has(.locked-card) { max-width: 920px; }
.ip .page-controls { position: static; display: flex; justify-content: flex-end; align-items: center; gap: 12px; box-sizing: border-box; width: auto; max-width: 1148px; margin: 16px auto 0; padding: 0 1.5rem; background: none; border: 0; }
.ip .locked-card { width: auto; max-width: none; margin: 0 0 2rem; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; text-align: center; }
.ip .locked-card h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -0.012em; line-height: 1.1; margin: 0 0 0.7rem; max-width: none; color: var(--text); text-align: center; }
.ip .locked-card p { font-size: var(--fs-17); line-height: 1.47059; color: var(--text2); max-width: 60ch; margin: 0 auto; text-align: center; }
.ip .locked-status { margin-top: 1.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ip .locked-stat { flex: 1 1 110px; min-width: 0; max-width: 220px; box-sizing: border-box; }
.ip .locked-stat { background: var(--bg-soft); border: 1px solid transparent; border-radius: 14px; }

/* nothing of the shell prints (the certificate is printed from this page) */
@media print {
  .ip .topbar, .ip .site-foot, .ip .back-btn-wrap, .ip .reading-progress, .ip .nav-menu, .ap .back-btn-wrap, .ap .auth-legal { display: none !important; }
  .ip.ip-plain .ip-main { max-width: none; margin: 0; padding: 0; }
}
