:root {
  --ink: #382b31;
  --muted: #8b7780;
  --rose: #e77b8a;
  --rose-dark: #d96074;
  --rose-soft: #fbe7e9;
  --rose-pale: #fff7f7;
  --paper: #fffdfc;
  --line: #f0e3e3;
  --green: #607e6c;
  --shadow: 0 20px 55px rgba(113, 62, 76, .09);
  font-family: "Fira Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 72px;
  border-bottom: 1px solid rgba(239, 220, 222, .78);
  background: rgba(255, 253, 252, .93);
  backdrop-filter: blur(18px);
}
.header-inner { max-width: 1200px; height: 100%; margin: auto; padding: 0 38px; display: flex; align-items: center; gap: 38px; }
.brand { flex: 0 0 auto; font-size: 18px; font-weight: 800; letter-spacing: -.06em; text-decoration: none; color: var(--ink); }
.brand > span:first-child { color: var(--rose-dark); }
.brand-dot { color: var(--rose); }
.header-search { margin-left: auto; width: min(100%, 300px); height: 40px; display: flex; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0 8px 0 16px; }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.header-search input::placeholder { color: #ae9ca2; }
.header-search button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--rose-soft); display: grid; place-items: center; color: var(--rose-dark); }
.header-search svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-tools { display:flex; align-items:center; gap:8px; margin-left:auto; }
.header-tools .header-search { margin-left:0; }
.header-admin-link { display:grid; width:28px; height:28px; flex:none; place-items:center; margin:0; text-decoration:none; }
.header-admin-link:hover { opacity:.9; text-decoration:none; }
.header-admin-icon { display:grid; width:28px; height:28px; flex:0 0 28px; place-items:center; border:1px solid #f0c4cc; border-radius:50%; background:#f8dfe3; transition:transform 160ms ease, background 160ms ease; }
.header-admin-link:hover .header-admin-icon { transform:translateY(-1px); background:#f3d2d8; }
.header-admin-icon svg { width:19px; height:19px; fill:none; stroke:#1d1a1b; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.header-admin-screen { fill:#fff; }
.header-admin-link:focus-visible { outline:3px solid #e8545b; outline-offset:3px; border-radius:999px; }
.page-shell { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 38px; padding-right: 38px; }
.hero { min-height: 590px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; padding-top: 54px; padding-bottom: 58px; }
.hero-copy { position: relative; z-index: 1; padding: 14px 0; }
.trust-pill { width: fit-content; margin-bottom: 30px; padding: 9px 15px; border: 1px solid #f5dadd; border-radius: 999px; background: #fff4f4; color: #a75e69; font-size: 11px; font-weight: 700; }
.trust-stars { margin-right: 6px; color: var(--rose-dark); }
.eyebrow { margin: 0 0 12px; color: var(--rose-dark); text-transform: uppercase; letter-spacing: .17em; font-size: 10px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; }
h1 { max-width: 640px; margin-bottom: 17px; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.09; font-weight: 700; }
h1 em, h2 em { color: var(--rose-dark); font-family: "Playfair Display", Georgia, serif; font-weight: 600; }
.hero h1 em { font-size: .9em; }
.hero-text { max-width: 460px; margin-bottom: 27px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 48px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 13px; font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(110deg, #e98290, #d9677c); box-shadow: 0 9px 20px rgba(217, 96, 116, .2); }
.button-primary:hover { background: linear-gradient(110deg, #de7483, #cc566d); box-shadow: 0 12px 25px rgba(217, 96, 116, .28); }
.button-soft { color: #9d5965; background: #fff3f3; border-color: #f6dfe0; }
.button-outline { color: var(--rose-dark); border-color: #e9a6af; background: transparent; }
.button-wide { width: 100%; min-height: 52px; }
.button-small { min-height: 38px; padding: 0 14px; font-size: 11px; border-radius: 10px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: #a08d93; font-size: 10px; }
.tiny-shield { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #eff5ef; color: var(--green); font-size: 11px; }
.hero-visual { position: relative; padding: 10px 5px 20px 0; }
.hero-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1.04 / 1; border-radius: 42% 42% 22px 22px; background: #f5d6d4; box-shadow: var(--shadow); }
.hero-image-wrap::after { position: absolute; inset: 45% 0 0; content: ""; background: linear-gradient(transparent, rgba(44, 26, 27, .48)); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.image-caption { position: absolute; z-index: 1; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; gap: 12px; color: #fff; }
.image-caption .caption-mark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 21px; }
.image-caption strong, .image-caption small, .float-note strong, .float-note small { display: block; }
.image-caption strong { margin-bottom: 4px; font-size: 12px; }
.image-caption small { color: rgba(255,255,255,.82); font-size: 10px; }
.float-note { position: absolute; right: -18px; bottom: 2px; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid rgba(240,222,223,.85); border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.float-heart { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: var(--rose-dark); background: var(--rose-soft); font-size: 19px; }
.float-note strong { margin-bottom: 3px; font-size: 10px; }
.float-note small { color: var(--muted); font-size: 9px; }

.stats-band { color: #fff; background: #d86f80; }
.stats-inner { max-width: 1200px; min-height: 94px; margin: auto; padding: 18px 38px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.stats-number { font-family: "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 700; }
.stats-inner > span:nth-child(2), .stats-trust { font-size: 10px; line-height: 1.6; opacity: .9; }
.stats-separator { width: 1px; height: 38px; margin: 0 16px; background: rgba(255,255,255,.34); }
.stats-trust strong { color: #fff; font-size: 11px; }

.checks-section { padding-top: 104px; padding-bottom: 110px; }
.section-heading { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.section-heading h2, .mission-copy h2, .home-cta h2, .accordion-intro h2 { margin-bottom: 14px; font-size: clamp(32px, 4.2vw, 46px); line-height: 1.12; }
.section-heading > p:last-child, .accordion-intro > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.75; }
.flag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flag-card { position: relative; min-height: 228px; overflow: hidden; padding: 23px 20px 24px; border: 1px solid #f2e7e5; border-radius: 18px; background: #fff; transition: transform .22s ease, box-shadow .22s ease; }
.flag-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.flag-number { position: absolute; top: 14px; right: 16px; color: #e9a4aa; font-family: "Playfair Display", Georgia, serif; font-size: 14px; }
.flag-icon { width: 42px; height: 42px; margin: 0 0 19px; display: grid; place-items: center; border-radius: 14px; background: #fff0f0; color: #d96f7d; font-size: 22px; }
.flag-card h3 { margin-bottom: 8px; font-size: 15px; }
.flag-card p { margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.card-arrow { position: absolute; right: 18px; bottom: 16px; color: #d9828c; font-size: 13px; }

.mission-section { overflow: hidden; background: #fff5f4; }
.mission-inner { min-height: 410px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 95px; padding-top: 54px; padding-bottom: 54px; }
.mission-art { position: relative; width: min(100%, 310px); aspect-ratio: 1; margin: auto; display: grid; place-items: center; }
.mission-orbit { position: absolute; border: 1px solid #f1cdd0; border-radius: 50%; transform: rotate(-23deg); }
.orbit-one { width: 95%; height: 73%; }
.orbit-two { width: 71%; height: 100%; transform: rotate(34deg); }
.mission-heart { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%; color: #d76d7d; background: #fbe3e5; font-family: "Playfair Display", Georgia, serif; font-size: 72px; line-height: 1; }
.mission-spark { position: absolute; color: #da7583; }
.spark-one { top: 15%; right: 18%; font-size: 22px; }
.spark-two { left: 18%; bottom: 17%; font-size: 27px; }
.mission-copy { max-width: 560px; }
.mission-copy h2 { margin-bottom: 18px; }
.mission-copy > p:not(.eyebrow) { color: #796970; font-size: 12px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--rose-dark); font-size: 11px; font-weight: 800; text-decoration: none; }
.text-link span { font-size: 17px; }
.home-cta { padding-top: 93px; padding-bottom: 99px; text-align: center; }
.home-cta h2 { margin-bottom: 27px; }

.site-footer { padding: 43px max(38px, calc((100% - 1124px) / 2)) 22px; background: #fae8e9; }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid rgba(204,148,155,.25); }
.brand-footer { font-size: 17px; }
.footer-top p { margin: 0; color: #9d7b82; font-size: 11px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; padding: 23px 0 25px; }
.footer-legal, .footer-links { display: flex; flex-direction: column; gap: 9px; color: #876e74; font-size: 10px; }
.footer-legal strong { color: #503d43; font-size: 11px; }
.footer-links { text-align: right; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--rose-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(204,148,155,.25); color: #a98e94; font-size: 9px; }

.inner-page { padding-top: 60px; padding-bottom: 70px; }
.check-layout, .partner-layout { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: clamp(36px, 7vw, 88px); }
.page-intro { padding-top: 8px; }
.back-link { display: inline-block; margin-bottom: 39px; color: #9a8188; font-size: 11px; text-decoration: none; }
.back-link:hover { color: var(--rose-dark); }
.page-intro h1, .dashboard-heading h1 { margin-bottom: 17px; font-size: clamp(36px, 4.3vw, 54px); }
.intro-copy { max-width: 420px; margin-bottom: 28px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.privacy-note { max-width: 350px; margin-bottom: 24px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; border: 1px solid #f2e3e3; border-radius: 14px; background: #fff9f8; color: var(--rose-dark); }
.privacy-note > span:first-child { font-size: 22px; }
.privacy-note strong, .privacy-note small { display: block; }
.privacy-note strong { margin-bottom: 4px; color: var(--ink); font-size: 11px; }
.privacy-note small { color: var(--muted); font-size: 9px; }
.check-disclaimer, .notice-box { padding: 14px 16px; border: 1px solid #f0d9d8; border-radius: 13px; color: #81656b; background: #fff5f2; font-size: 10px; line-height: 1.7; }
.check-disclaimer strong, .notice-box strong { color: #a55461; }
.form-card { padding: 29px; border: 1px solid #f0e3e3; border-radius: 20px; background: #fff; box-shadow: 0 16px 48px rgba(113, 62, 76, .07); }
.form-heading { margin-bottom: 22px; }
.step-tag { display: inline-block; margin-bottom: 11px; color: var(--rose-dark); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.form-heading h2 { margin-bottom: 7px; font-size: 24px; }
.form-heading p, .modal-copy { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.form-stack { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .approve-form > label { color: #5e4c52; font-size: 10px; font-weight: 800; }
.field label > span { color: var(--rose-dark); }
.field label small { margin-left: 5px; color: #aa9aa0; font-size: 9px; font-weight: 500; }
.field input, .field select, .approve-controls input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid #eadfe0; border-radius: 10px; outline: 0; color: var(--ink); background: #fffdfd; font-size: 11px; transition: border-color .18s, box-shadow .18s; }
.field input:focus, .field select:focus, .approve-controls input:focus { border-color: #e99ca5; box-shadow: 0 0 0 3px rgba(231,123,138,.12); }
.field input::placeholder { color: #b7a9ad; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-hint { color: #a08e94; font-size: 9px; line-height: 1.5; }
.consent-list { display: flex; flex-direction: column; gap: 11px; margin: 3px 0; }
.consent-row { position: relative; display: flex; align-items: flex-start; gap: 10px; color: #786970; font-size: 10px; line-height: 1.6; cursor: pointer; }
.consent-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-check { width: 16px; height: 16px; flex: 0 0 auto; border: 1px solid #dfc9cc; border-radius: 5px; background: #fff; }
.consent-row input:checked + .custom-check { border-color: var(--rose-dark); background: var(--rose-dark); }
.consent-row input:checked + .custom-check::after { display: block; margin: 1px 0 0 4px; width: 5px; height: 9px; border: solid white; border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg); }
.consent-row a { color: var(--rose-dark); }
.under-button { margin: -5px 0 0; color: #a49398; font-size: 9px; text-align: center; line-height: 1.6; }
.accordion-section { padding-top: 49px; padding-bottom: 90px; text-align: center; }
.accordion-intro { max-width: 580px; margin: 0 auto 26px; }
.accordion-intro h2 { font-size: 38px; }
.accordion-list { max-width: 780px; margin: 0 auto 28px; text-align: left; }
.flag-accordion { margin-bottom: 9px; overflow: hidden; border: 1px solid #f0e3e3; border-radius: 13px; background: #fff; }
.flag-accordion summary { min-height: 59px; padding: 0 19px; display: flex; align-items: center; gap: 14px; list-style: none; color: #55434a; font-size: 12px; font-weight: 700; cursor: pointer; }
.flag-accordion summary::-webkit-details-marker { display: none; }
.accordion-number { color: var(--rose-dark); font-family: "Playfair Display", Georgia, serif; font-size: 14px; }
.accordion-plus { margin-left: auto; color: var(--rose-dark); font-size: 19px; transition: transform .2s; }
.flag-accordion[open] .accordion-plus { transform: rotate(45deg); }
.flag-accordion > p { margin: 0; padding: 0 19px 17px 51px; color: var(--muted); font-size: 10px; line-height: 1.7; }

.flash-stack { position: fixed; z-index: 40; top: 82px; right: 20px; width: min(420px, calc(100% - 40px)); display: grid; gap: 8px; }
.flash { padding: 14px 14px 14px 17px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; border: 1px solid #efd5d8; border-radius: 12px; color: #684850; background: #fff; box-shadow: var(--shadow); font-size: 11px; line-height: 1.6; }
.flash-success { border-color: #d3e5d8; color: #496353; }
.flash-error { border-color: #f0c9cb; color: #9a4752; }
.flash-close { padding: 0; border: 0; color: inherit; background: transparent; font-size: 18px; line-height: 1; }

.partner-layout { align-items: center; padding-top: 54px; padding-bottom: 85px; }
.partner-intro .back-link { margin-bottom: 48px; }
.partner-intro h1 { font-size: clamp(42px, 5vw, 61px); }
.benefit-list { display: grid; gap: 13px; margin: 0 0 27px; padding: 0; list-style: none; color: #78676d; font-size: 11px; }
.benefit-list li { display: flex; align-items: center; gap: 10px; }
.benefit-check { flex: 0 0 16px; color: var(--rose-dark); font-size: 19px; font-weight: 800; line-height: 1; text-decoration: none; }
.benefit-copy { min-width: 0; color: inherit; font-weight: inherit; }
.partner-login-card { max-width: 440px; width: 100%; justify-self: end; }
.modal-backdrop { position: fixed; z-index: 50; inset: 0; padding: 20px; display: none; align-items: center; justify-content: center; overflow-y: auto; background: rgba(59, 39, 46, .42); backdrop-filter: blur(5px); }
.modal-backdrop.is-open { display: flex; }
.modal-card { position: relative; width: min(100%, 520px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; border: 1px solid #f0dfe1; border-radius: 20px; background: #fffdfc; box-shadow: 0 30px 90px rgba(45, 25, 32, .22); }
.modal-card h2 { margin-bottom: 8px; font-size: 27px; }
.modal-copy { margin-bottom: 20px; }
.modal-close { position: absolute; top: 15px; right: 17px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #866a71; background: #f9e9e9; font-size: 23px; line-height: 1; }

.dashboard-page { padding-top: 56px; padding-bottom: 80px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; }
.dashboard-heading .eyebrow { margin-bottom: 9px; }
.dashboard-heading h1 { margin-bottom: 8px; font-size: clamp(34px, 4vw, 48px); }
.dashboard-heading p:last-child { margin-bottom: 0; color: var(--muted); font-size: 11px; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 22px; }
.metric-card { min-height: 137px; padding: 18px; border: 1px solid #f0e5e4; border-radius: 15px; background: #fff; }
.metric-card > span, .metric-card > strong, .metric-card > small { display: block; }
.metric-card > span { margin-bottom: 12px; color: #816f75; font-size: 10px; font-weight: 700; }
.metric-card > strong { margin-bottom: 5px; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 29px; }
.metric-card > small { color: #a08f94; font-size: 9px; line-height: 1.5; }
.metric-highlight { border-color: #f0d2d5; background: #fff4f4; }
.metric-highlight > strong { color: var(--rose-dark); }
.share-card { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; border: 1px solid #f0e3e3; border-radius: 17px; background: #fff; }
.share-card h2 { margin-bottom: 8px; font-size: 23px; }
.share-card p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.75; }
.share-card strong { color: var(--rose-dark); }
.share-code { display: grid; gap: 9px; }
.share-code input { min-width: 0; padding: 12px; border: 1px dashed #e7b7bd; border-radius: 9px; color: #71545c; background: #fff9f8; font-size: 10px; }
.dashboard-page > .notice-box { margin-top: 17px; }
.auth-wrap { min-height: 70vh; padding-top: 65px; padding-bottom: 85px; display: grid; place-items: center; }
.auth-card { width: min(100%, 480px); }
.auth-card h1 { font-size: 36px; }
.notice-caution { margin: 19px 0; }
.admin-dashboard { padding-top: 46px; }
.admin-metrics { grid-template-columns: repeat(4, 1fr); }
.admin-columns { display: grid; grid-template-columns: 1.25fr .75fr; align-items: start; gap: 16px; }
.admin-panel { min-width: 0; padding: 20px; border: 1px solid #f0e3e3; border-radius: 17px; background: #fff; }
.panel-heading { margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.panel-heading .eyebrow { margin-bottom: 6px; font-size: 9px; }
.panel-heading h2 { margin: 0; font-size: 19px; }
.count-badge { min-width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #a95462; background: #fce7e9; font-size: 10px; font-weight: 800; }
.application-list { display: grid; gap: 11px; }
.application-card { padding: 15px; border: 1px solid #f0e7e6; border-radius: 12px; background: #fffdfc; }
.application-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.application-top h3 { margin: 0 0 4px; font-size: 13px; }
.application-top > div > span { color: #a08e94; font-size: 9px; }
.status-chip { padding: 5px 8px; border-radius: 99px; color: #9b6c39; background: #fff4df; font-size: 8px; white-space: nowrap; }
.application-details { margin: 13px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.application-details div { min-width: 0; }
.application-details dt { margin-bottom: 4px; color: #a08f94; font-size: 8px; }
.application-details dd { overflow-wrap: anywhere; margin: 0; color: #625057; font-size: 9px; }
.application-details a { color: #9f5864; }
.application-details code, .promo-row code { color: #b45161; font-family: "Fira Sans", sans-serif; font-size: 10px; font-weight: 800; }
.approve-form { padding-top: 12px; border-top: 1px solid #f0e7e6; }
.approve-form > label { display: block; margin-bottom: 7px; font-size: 9px; }
.approve-controls { display: flex; gap: 7px; }
.approve-controls input { min-width: 0; min-height: 36px; padding: 0 9px; font-size: 9px; }
.reject-form { margin-top: 9px; text-align: right; }
.text-button { padding: 4px; border: 0; color: #ad7780; background: transparent; font-size: 9px; }
.empty-state { padding: 37px 18px; text-align: center; }
.empty-state > span { color: var(--rose-dark); font-size: 24px; }
.empty-state h3 { margin: 9px 0 5px; font-size: 13px; }
.empty-state p, .empty-small { color: var(--muted); font-size: 9px; line-height: 1.7; }
.promo-create { display: grid; grid-template-columns: 1fr 95px; gap: 10px; align-items: end; }
.promo-create .button { grid-column: 1 / -1; }
.promo-create .field label { font-size: 9px; }
.promo-create .field input { min-height: 38px; padding: 0 9px; font-size: 10px; }
.promo-list { margin-top: 15px; border-top: 1px solid #f0e7e6; }
.promo-row { padding: 12px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #f4ebea; }
.promo-row > div > small { display: block; margin-top: 4px; color: #9b8a90; font-size: 8px; }
.toggle-chip { padding: 6px 9px; border: 1px solid #eadbdb; border-radius: 99px; color: #8d7c81; background: #f8f3f3; font-size: 8px; }
.toggle-chip.is-on { border-color: #d6e6d8; color: #5c7b64; background: #f0f7f0; }
.admin-disclaimer { margin-top: 17px; }

.legal-page { padding-top: 40px; padding-bottom: 90px; }
.legal-page h1 { margin-bottom: 27px; font-size: clamp(38px, 5vw, 56px); }
.legal-card { max-width: 820px; padding: 30px; border: 1px solid #f0e3e3; border-radius: 17px; background: #fff; }
.legal-card h2 { margin: 25px 0 8px; font-size: 17px; }
.legal-card p { color: #796a70; font-size: 12px; line-height: 1.85; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card strong { color: #57464c; }
.legal-card a { color: var(--rose-dark); }
.document-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 24px; font-size: 12px; }
.document-navigation a { color: #9a8188; text-decoration: none; }
.document-navigation a:hover { color: var(--rose-dark); text-decoration: underline; }
.legal-card ul { padding-left: 20px; color: #796a70; font-size: 12px; line-height: 1.85; }
.legal-callout, .legal-draft-notice { padding: 14px 18px; border: 1px solid #efd1d6; border-radius: 10px; background: #fff0f3; color: #64434c; font-size: 12px; line-height: 1.6; }
.legal-draft-notice { max-width: 820px; margin: 24px auto 0; }
.self-check-notice { margin: 0; color: #fff; font-size: 14px; line-height: 1.5; }

@media (max-width: 900px) {
  .header-inner { gap: 18px; padding-left: 24px; padding-right: 24px; }
  .page-shell { padding-left: 24px; padding-right: 24px; }
  .hero { gap: 30px; min-height: 510px; }
  .hero h1 { font-size: clamp(38px, 5.4vw, 54px); }
  .float-note { right: -8px; }
  .flag-grid { grid-template-columns: repeat(2, 1fr); }
  .flag-card { min-height: 195px; }
  .mission-inner { gap: 48px; }
  .admin-columns { grid-template-columns: 1fr; }
  .site-footer { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 68px; }
  .site-header { height: 63px; }
  .header-inner { padding: 0 16px; gap: 11px; }
  .brand { font-size: 15px; }
  .header-search { width: 39px; height: 37px; margin-left: auto; padding: 0; justify-content: center; border-color: transparent; background: #fff4f4; }
  .header-search:focus-within { width: min(42vw, 190px); padding: 0 6px 0 11px; border-color: #efd8da; background: #fff; }
  .header-search input { display: none; }
  .header-search:focus-within input { display: block; font-size: 10px; }
  .header-search button { flex: 0 0 28px; }
  .header-admin-link { margin:0; }
  .page-shell { padding-left: 18px; padding-right: 18px; }
  .hero { min-height: initial; grid-template-columns: 1fr; gap: 29px; padding-top: 28px; padding-bottom: 37px; }
  .trust-pill { margin-bottom: 19px; padding: 8px 12px; font-size: 9px; }
  .hero h1 { max-width: 500px; margin-bottom: 11px; font-size: clamp(38px, 10vw, 52px); }
  .hero-text { margin-bottom: 19px; font-size: 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { min-height: 47px; font-size: 11px; }
  .hero-note { font-size: 9px; }
  .hero-visual { width: min(100%, 430px); margin: auto; padding: 0 4px 12px 0; }
  .hero-image-wrap { aspect-ratio: 1.12 / 1; border-radius: 34% 34% 18px 18px; }
  .image-caption { right: 12px; bottom: 13px; left: 12px; gap: 9px; }
  .image-caption .caption-mark { width: 31px; height: 31px; font-size: 17px; }
  .image-caption strong { font-size: 10px; }
  .image-caption small { font-size: 8px; }
  .float-note { right: 0; bottom: -1px; padding: 9px 11px; }
  .stats-inner { min-height: 80px; padding: 14px 18px; gap: 10px; }
  .stats-number { font-size: 24px; }
  .stats-inner > span:nth-child(2), .stats-trust { font-size: 8px; }
  .stats-separator { height: 31px; margin: 0 4px; }
  .checks-section { padding-top: 66px; padding-bottom: 70px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2, .mission-copy h2, .home-cta h2, .accordion-intro h2 { font-size: 33px; }
  .section-heading > p:last-child { font-size: 11px; }
  .flag-grid { gap: 9px; }
  .flag-card { min-height: 190px; padding: 16px 14px 20px; border-radius: 15px; }
  .flag-icon { width: 36px; height: 36px; margin-bottom: 14px; border-radius: 11px; font-size: 19px; }
  .flag-card h3 { font-size: 12px; }
  .flag-card p { font-size: 9px; }
  .flag-number { top: 11px; right: 12px; font-size: 12px; }
  .mission-inner { min-height: initial; grid-template-columns: 1fr; gap: 22px; padding-top: 38px; padding-bottom: 39px; }
  .mission-art { width: min(65%, 230px); }
  .mission-heart { width: 82px; height: 82px; font-size: 54px; }
  .mission-copy { text-align: center; }
  .mission-copy > p:not(.eyebrow) { font-size: 11px; }
  .home-cta { padding-top: 61px; padding-bottom: 68px; }
  .site-footer { padding: 29px 18px 18px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 8px; padding-bottom: 16px; }
  .footer-top p { font-size: 9px; }
  .footer-grid { gap: 18px; padding: 17px 0; }
  .footer-legal, .footer-links { gap: 8px; font-size: 8px; }
  .footer-legal strong { font-size: 9px; }
  .footer-bottom { font-size: 8px; }
  .inner-page { padding-top: 31px; padding-bottom: 46px; }
  .check-layout, .partner-layout { grid-template-columns: 1fr; gap: 22px; }
  .back-link { margin-bottom: 28px; }
  .page-intro h1, .dashboard-heading h1 { font-size: 38px; }
  .intro-copy { margin-bottom: 18px; font-size: 11px; }
  .privacy-note { margin-bottom: 14px; }
  .form-card { padding: 21px 17px; border-radius: 17px; }
  .form-heading h2 { font-size: 21px; }
  .field-row { grid-template-columns: 1fr; gap: 14px; }
  .accordion-section { padding-top: 22px; padding-bottom: 61px; }
  .accordion-intro h2 { font-size: 31px; }
  .accordion-intro > p:last-child { font-size: 10px; }
  .flag-accordion summary { min-height: 54px; padding: 0 13px; font-size: 11px; }
  .flag-accordion > p { padding: 0 14px 15px 43px; font-size: 9px; }
  .partner-layout { padding-top: 29px; }
  .partner-intro .back-link { margin-bottom: 29px; }
  .partner-intro h1 { font-size: 43px; }
  .partner-login-card { justify-self: stretch; }
  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .modal-card { max-height: 92vh; padding: 24px 18px; border-radius: 20px 20px 12px 12px; }
  .dashboard-page { padding-top: 32px; }
  .dashboard-heading { align-items: flex-start; }
  .dashboard-heading h1 { font-size: 34px; }
  .dashboard-heading p:last-child { font-size: 10px; }
  .metrics-grid, .admin-metrics { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .metric-card { min-height: 120px; padding: 13px; }
  .metric-card > strong { font-size: 25px; }
  .metric-card > span { font-size: 9px; }
  .metric-card > small { font-size: 8px; }
  .share-card { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .share-card h2 { font-size: 21px; }
  .admin-panel { padding: 15px; }
  .application-details { grid-template-columns: 1fr; }
  .auth-wrap { min-height: 64vh; padding-top: 35px; padding-bottom: 50px; }
  .auth-card h1 { font-size: 31px; }
  .legal-page { padding-top: 30px; padding-bottom: 65px; }
  .legal-card { padding: 20px 17px; }
  .legal-card p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== Mockup match layer ===== */
:root { --mred: #e8545b; --mrose: #ee8287; --mpink: #fdeeee; --mbrown: #7a3b3b; --ink: #3a2a2c; }
body { background: var(--mpink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.red { color: var(--mred); }
.site-header { height: 56px; background: #fff; border-bottom: 0; backdrop-filter: none; }
.header-inner { max-width: 1100px; padding: 0 16px; gap: 20px; }
.brand { font-family: "Fira Sans", sans-serif; font-size: 26px; font-weight: 800; letter-spacing: .01em; color: #1d1a1b; }
.brand > span:first-child { color: var(--mred); }
.header-search { margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; justify-content: center; }
.header-search input { display: none; }
.header-search:focus-within { width: 220px; padding: 0 4px 0 12px; border: 1px solid #f0c9cb; background: #fff; }
.header-search:focus-within input { display: block; font-size: 13px; }
.header-search button { width: 40px; height: 40px; flex: 0 0 40px; background: transparent; color: #1d1a1b; }
.header-search svg { width: 28px; height: 28px; stroke-width: 2.6; }
.header-back { width: 40px; height: 40px; margin-left: auto; display: grid; place-items: center; color: #1d1a1b; text-decoration: none; }
.header-back svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

.m-title { margin: 0 auto; padding: 22px 16px 14px; max-width: none; text-align: center; font-family: "Fira Sans Condensed", sans-serif; font-weight: 600; font-size: clamp(22px, 6vw, 34px); line-height: 1.15; letter-spacing: -.01em; color: var(--mbrown); }
.m-title em { font-family: inherit; font-style: normal; font-weight: 500; color: var(--mred); }
.m-hero { max-width: 760px; margin: 0 auto; }
.m-photo { position: relative; overflow: hidden; aspect-ratio: 1.15 / 1; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-pill { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; background: var(--mrose); color: #fff; font-size: 13px; white-space: nowrap; }
.m-caption { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(88%, 420px); padding: 9px 14px; border-radius: 8px; background: rgba(255,255,255,.95); text-align: center; }
.m-caption strong, .m-caption small { display: block; }
.m-caption strong { color: var(--ink); font-size: 14px; }
.m-caption small { color: #8b7780; font-size: 11px; margin-top: 2px; }
.m-body { max-width: 760px; padding-top: 0; padding-bottom: 40px; }
.m-intro p { color: var(--ink); font-size: 15px; line-height: 1.5; }
.m-actions { display: grid; gap: 14px; margin: 20px 0 30px; }
.button { border-radius: 12px; font-size: 18px; font-weight: 600; font-family: "Fira Sans Condensed", sans-serif; }
.button-primary { background: linear-gradient(90deg, #f1858a, #e8545b); box-shadow: 0 6px 14px rgba(232,84,91,.25); }
.m-cta { min-height: 58px; position: relative; font-size: 20px; }
.m-cta-ico { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 10px; background: #fff; color: var(--mred); display: grid; place-items: center; }
.m-cta-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.button-outline { min-height: 50px; border: 2px solid var(--mrose); color: var(--mred); background: #fff; }
.m-section-head { text-align: center; }
.m-section-head h2 { font-size: 22px; line-height: 1.25; letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
.m-section-head p { font-size: 14px; color: #6e5a5e; line-height: 1.5; }
.m-tag { font-weight: 600; }
.m-section-head .m-tag { color: var(--mred); }
.m-section-head .m-tag,
.m-mission .m-mission-promise { font-size: 17px; font-weight: 600; line-height: 1.35; }
.m-cards { display: grid; gap: 20px; margin: 22px 0 36px; }
.m-card { padding: 26px 20px 28px; border-radius: 20px; background: #fff; text-align: center; border: 1px solid #f6d6d8; }
.m-num { width: 58px; height: 58px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #f9cfd2; color: var(--mred); font-size: 30px; font-weight: 600; }
.m-card h3 { color: var(--mred); font-family: "Fira Sans Condensed", sans-serif; font-weight: 500; font-size: 24px; margin-bottom: 10px; }
.m-card p { width: fit-content; max-width: 100%; margin: 0 auto; color: var(--ink); font-size: clamp(14px, 4.15vw, 16px); font-weight: 500; line-height: 1.4; text-align: left; }
.m-mission { text-align: center; margin-bottom: 26px; }
.m-mission h2 { font-size: 26px; letter-spacing: 0; color: var(--ink); }
.m-mission .mission-red { color: var(--mred); }
.m-mission p { font-size: 13px; color: #6e5a5e; line-height: 1.5; }

.m-title-page { padding-bottom: 18px; }
.check-band { background: var(--mrose); padding: 18px 0 22px; }
.check-band .form-card { max-width: 640px; margin: 0 auto; padding: 0 12px; border: 0; background: transparent; box-shadow: none; }
.check-band .form-stack { gap: 16px; }
.pill-input { width: 100%; min-height: 50px; padding: 0 16px; border: 0; border-radius: 10px; background: #fff; color: var(--ink); font-size: 17px; outline: 0; }
.pill-input::placeholder { color: #b9b0b2; }
.pill-input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.55); }
.region-wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 8px; color: #b9b0b2; }
.region-wrap select { max-width: 55%; min-height: 34px; padding: 0 28px 0 8px; border: 1px solid #c9c0c2; border-radius: 8px; color: #6e6466; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 9 7 7 7-7' fill='none' stroke='%23777' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 6px center / 16px; appearance: none; font-size: 15px; }
.check-band .consent-row { color: #fff; font-size: 14px; align-items: center; }
.check-band .consent-row a { color: #f4e3ff; }
.check-band .custom-check { width: 22px; height: 22px; border: 0; border-radius: 4px; }
.check-band .consent-row input:checked + .custom-check { background: #fff; }
.check-band .consent-row input:checked + .custom-check::after { margin: 3px 0 0 7px; border-color: var(--mred); }
.check-band .consent-row input:focus-visible + .custom-check { outline: 2px solid #fff; outline-offset: 2px; }
.check-after { max-width: 640px; padding-top: 26px; padding-bottom: 36px; text-align: center; }
.check-after .check-disclaimer { margin: 12px 0 20px; background: #fff; text-align: left; font-size: 12px; }
.accordion-list { margin: 0 0 24px; display: grid; gap: 8px; }
.flag-accordion { margin: 0; border: 1.5px solid #e9a3a7; border-radius: 10px; }
.flag-accordion summary { min-height: 46px; padding: 0 12px; gap: 12px; }
.acc-dot { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; }
.acc-title { color: var(--mred); font-family: "Fira Sans Condensed", sans-serif; font-size: 22px; font-weight: 500; }
.acc-chev { margin-left: auto; width: 26px; height: 26px; fill: none; stroke: #e9858a; stroke-width: 2; transition: transform .2s; }
.flag-accordion[open] .acc-chev { transform: rotate(180deg); }
.flag-accordion > p { padding: 0 14px 14px 50px; font-size: 13px; }
.back-home { min-height: 44px; padding: 0 16px; font-size: 16px; }

.partner-layout { display: block; max-width: 640px; padding-top: 10px; text-align: center; }
.partner-lead { color: #c95a63; font-size: 15px; line-height: 1.5; }
.partner-lead b:not(.red) { color: var(--ink); }
.benefit-list { margin: 22px 0 32px; text-align: left; gap: 12px; font-size: 14px; color: #c95a63; }
.benefit-list li { align-items: flex-start; text-decoration: none; }
.benefit-list .benefit-copy { text-decoration: none; }
.benefit-list b { font-size: 17px; }
.benefit-list .benefit-check { color: #e86b85; font-size: 22px; }
.benefit-bonus { align-items: center !important; }
.benefit-bonus .benefit-copy { white-space: nowrap; font-size: clamp(11px, 3.5vw, 13px); letter-spacing: -.25px; }
.benefit-bonus .benefit-copy b { font-size: 17px; }
.benefit-multiline { align-items: flex-start !important; }
.benefit-multiline .benefit-copy { max-width: 290px; }
.partner-login-card { max-width: none; margin: 40px 0 30px; text-align: left; }
.partner-login-card .field input { min-height: 46px; font-size: 13px; border-radius: 10px; }

.site-footer { padding: 0; background: #ef8287; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 18px 16px 6px; color: #3a2124; font-size: 13px; line-height: 1.45; }
.footer-inner p { margin: 0 0 14px; }
.footer-inner a { color: inherit; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-documents { margin: 0 0 14px; }
.footer-documents strong { display: block; margin-bottom: 5px; }
.footer-documents a { display: block; padding: 2px 0; }
.footer-documents a, .footer-documents .document-accent { color: #fff; }
.fb span { color: #c4161f; font-weight: 700; }
.footer-bottom { display: block; padding: 8px 16px; border: 0; background: #fff; color: #1d1a1b; font-size: 13px; text-align: left; }

.payment-page {
  box-sizing: border-box;
  max-width: 600px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 28px 22px 42px;
  color: #242321;
  background: #fcfbf7;
  font-family: "Fira Sans", sans-serif;
}
.payment-page h1 { margin: 0 0 18px; font-size: 25px; line-height: 1.25; font-weight: 700; }
.payment-operator {
  padding: 16px;
  border: 1px solid #e8e1bd;
  border-radius: 16px;
  background: #faf8ed;
  color: #514e48;
  line-height: 1.55;
}
.payment-operator strong { color: #252321; }
.payment-operator p { margin: 5px 0 0; overflow-wrap: anywhere; }
.payment-operator p:last-child { margin-bottom: 0; }
.payment-page a:not(.payment-return) { color: #b45d2d; }
.payment-page .document-navigation a { color: #9a8188; }
.payment-page .document-navigation a:hover { color: var(--rose-dark); }
.payment-notice {
  margin: 18px 0 26px;
  padding: 15px 16px;
  border: 1px solid #f1d1c5;
  border-radius: 14px;
  background: #fff4ef;
  line-height: 1.5;
}
.payment-notice strong { color: #a92732; }
.payment-notice p { margin: 6px 0 0; }
.payment-section { margin: 26px 0; }
.payment-section h2 { margin: 0 0 9px; font-size: 20px; line-height: 1.3; color: #252321; }
.payment-section p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; }
.payment-return {
  display: flex;
  margin-top: 30px;
  min-height: 54px;
  font-size: 16px;
}
@media (max-width: 650px) {
  .payment-page { padding: 24px 18px 32px; }
  .payment-page h1 { font-size: 24px; }
}

@media (min-width: 900px) {
  .m-cards { grid-template-columns: repeat(2, 1fr); }
  .m-title { font-size: 40px; }
  .footer-bottom { padding-left: max(16px, calc((100% - 1068px) / 2)); }
}
@media (max-width: 650px) {
  .header-tools { gap:6px; }
  .header-admin-link, .header-admin-icon { width:28px; height:28px; }
  .header-admin-icon { flex-basis:28px; }
  .header-admin-icon svg { width:19px; height:19px; }
  .header-search { margin-left: auto; width: 44px; height: 44px; background: transparent; }
  .header-search:focus-within { width:min(42vw, 190px); padding:0 6px 0 11px; border:1px solid #efd8da; background:#fff; }
  .header-search:focus-within input { font-size:16px; }
  .region-wrap select { font-size:16px; }
  .brand { font-size: 26px; }
  .page-shell { padding-left: 14px; padding-right: 14px; }
  .button { font-size: 17px; }
}

/* ===== Fidelity pass 2 ===== */
.m-title, .acc-title, .m-card h3, .button { font-family: "Fira Sans Extra Condensed", "Fira Sans", sans-serif; }
.m-title { font-weight: 700; font-size: clamp(26px, 7vw, 40px); line-height: 1.1; max-width: 520px; padding-left: 20px; padding-right: 20px; color: #1d1a1b; }
.home-title { font-size: clamp(19px, 6vw, 30px); }
.home-title em { white-space: normal; font-size: .9em; }
.m-title em { color: var(--mred); font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; }
.m-title-page {
  max-width: none;
  padding-top: 30px;
  padding-bottom: 10px;
  font-size: clamp(19px, 6vw, 30px);
  text-align: center;
}
.m-title-page em { font-size: inherit; white-space: nowrap; }
.partner-intro .m-title { max-width: 340px; font-size: clamp(34px, 9.5vw, 48px); font-weight: 700; color: #1d1a1b; }
.partner-intro .m-title em { color: #e86b75; }
.button { font-weight: 400; }
.m-cta { font-size: 22px; }
.m-pill { position: absolute; top: 20px; left: 50%; z-index: 2; transform: translateX(-50%); display: table; margin: 0; max-width: calc(100% - 16px); font-size: 12px; }
.m-photo { aspect-ratio: 1 / 1; }
.m-photo img { object-position: center 25%; }
.acc-title { font-weight: 400; font-size: 24px; }
.m-card h3 { font-weight: 400; font-size: 26px; }
.flag-accordion { border-radius: 8px; border-width: 1px; }
.accordion-list { gap: 6px; margin-top: 20px; }
.back-home { border: 1.5px solid var(--mrose); border-radius: 14px; min-height: 40px; font-size: 16px; }
.region-wrap select { flex: 1; width: 100%; max-width: 100%; min-width: 0; }
.check-after .check-disclaimer { margin: 8px 0 0; padding: 0; border: 0; background: transparent; color: #9a7f85; font-size: 11px; text-align: center; line-height: 1.5; }
.site-footer, .footer-inner { color: #fff6f4; }
.footer-inner a { color: #fff6f4; }
.site-footer, .footer-inner, .footer-bottom { border: 0; }
.footer-inner .fb { color: #111; }
.fb span { color: #b3121b; }
.brand-red { color: var(--mred); }
.brand-flag { color: #111; }
.m-mission .m-mission-promise { margin-top: 12px; color: var(--mred); font-weight: 600; }

/* Keep the footer's original mobile reading order while grouping desktop columns. */
.footer-contact-column { display: contents; }
.m-card-copy-desktop { display: none; }
.desktop-mission-break { display: none; }

@media (min-width: 900px) {
  .m-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }
  .m-card {
    min-height: 245px;
    display: grid;
    grid-template-rows: 48px 56px 1fr;
    row-gap: 13px;
    align-content: start;
    justify-items: center;
    padding: 25px 18px 24px;
  }
  .m-num { margin: 0 auto; }
  .m-card h3 {
    width: 100%;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 1.65vw, 21px);
    line-height: 1.15;
    text-align: center;
  }
  .m-card-copy {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
  }
  .m-card-copy-mobile { display: none; }
  .m-card-copy-desktop { display: block; }
  .desktop-mission-break { display: inline; }

  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "description description"
      "contacts documents";
    align-items: start;
    column-gap: 48px;
    row-gap: 22px;
    max-width: 1200px;
    padding: 28px 32px 22px;
  }
  .footer-description {
    grid-area: description;
    margin: 0 !important;
    text-align: center;
  }
  .footer-contact-column {
    grid-area: contacts;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact-column p { margin: 0 0 12px; }
  .footer-contact-column .footer-partners { margin-bottom: 0; }
  .footer-documents {
    grid-area: documents;
    margin: 0;
    justify-self: end;
    text-align: left;
  }
}

/* Desktop homepage composition; mobile and tablet retain their existing layout. */
.m-hero-copy { padding-top: 18px; padding-bottom: 0; }
@media (min-width: 900px) {
  .m-hero {
    width: min(1100px, calc(100% - 64px));
    max-width: 1100px;
    min-height: 500px;
    margin: 0 auto;
    padding: 34px 0 44px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    grid-template-rows: auto 1fr;
    align-items: center;
    column-gap: clamp(42px, 6vw, 78px);
  }
  .m-title {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    max-width: 100%;
    margin: 0;
    padding: 0 0 17px;
    font-size: clamp(42px, 4.3vw, 58px);
    line-height: 1.12;
    text-align: left;
  }
  .home-title em { display: inline-block; white-space: normal; font-size: clamp(34px, 3.3vw, 42px); line-height: .92; }
  .m-hero-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    max-width: none;
    padding: 0;
  }
  .m-intro p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.65;
  }
  .m-intro p + p { margin-top: 18px; }
  .m-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 390px;
    gap: 12px;
    margin: 23px 0 0;
  }
  .m-actions .button {
    flex: none;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 22px;
    white-space: nowrap;
  }
  .m-actions .m-cta { padding-right: 48px; }
  .m-actions .m-cta-ico { right: 6px; width: 32px; height: 32px; }
  .m-photo {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    min-height: 410px;
    max-height: 470px;
    aspect-ratio: auto;
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(122, 59, 59, .14);
  }
  .m-pill {
    top: 18px;
    left: 18px;
    transform: none;
    max-width: calc(100% - 36px);
    padding: 10px 17px;
    font-size: 13px;
  }
  .m-caption {
    left: 50%;
    bottom: 18px;
    width: min(88%, 460px);
    padding: 13px 18px;
    text-align: left;
  }
  .m-caption strong { font-size: 15px; }
  .m-caption small { font-size: 12px; }
  .m-body {
    max-width: 1100px;
    padding-top: 31px;
    padding-bottom: 52px;
  }
  .m-section-head {
    max-width: 790px;
    margin: 0 auto;
  }
  .m-section-head h2 {
    margin-bottom: 15px;
    font-size: 34px;
    line-height: 1.2;
  }
  .m-section-head p {
    margin-bottom: 13px;
    font-size: 15px;
    line-height: 1.6;
  }
  .m-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 34px 0 54px;
  }
  .m-card {
    min-height: 245px;
    padding: 25px 20px 28px;
    border-radius: 17px;
  }
  .m-num {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    font-size: 24px;
  }
  .m-card h3 {
    min-height: 56px;
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.25;
  }
  .m-card p {
    width: auto;
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
  }
  .m-mission {
    max-width: 850px;
    margin: 0 auto 30px;
  }
  .m-mission h2 { font-size: 34px; }
  .m-mission p { font-size: 15px; line-height: 1.7; }
  .m-body > .m-cta { display: flex; max-width: 390px; margin: 0 auto; }
}

@media (min-width: 900px) {
  /* Tighten the title without moving the introduction below it. */
  .m-title {
    line-height: 1.06;
    padding-bottom: calc(17px + .18em);
  }
  .m-card { padding: 25px 18px 24px; }
  .m-num { margin: 0 auto; }
  .m-card h3 {
    width: 100%;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 1.65vw, 21px);
    line-height: 1.15;
    text-align: center;
  }
  .m-card .m-card-copy {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
  }
  .m-title-page {
    font-size: clamp(42px, 4.3vw, 58px);
    line-height: 1.12;
    text-align: center;
  }
}

/* Partner landing page: two-column desktop composition only. */
@media (min-width: 900px) {
  .partner-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    grid-template-areas:
      "intro login"
      "back back";
    align-items: center;
    column-gap: clamp(42px, 7vw, 88px);
    row-gap: 34px;
    width: min(1100px, 100%);
    max-width: 1100px;
    padding: 54px 32px 72px;
    text-align: left;
  }
  .partner-intro { grid-area: intro; }
  .partner-intro .m-title {
    max-width: none;
    margin: 0;
    padding: 0 0 18px;
    font-size: clamp(40px, 4.5vw, 58px);
    line-height: 1.08;
    text-align: left;
  }
  .partner-lead {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.65;
  }
  .benefit-list { margin: 24px 0 30px; }
  .benefit-multiline .benefit-copy { max-width: 420px; }
  .partner-intro > .m-cta { max-width: 390px; }
  .partner-login-card {
    grid-area: login;
    width: 100%;
    max-width: 440px;
    justify-self: end;
    margin: 0;
  }
  .partner-layout > .back-home {
    grid-area: back;
    justify-self: center;
  }
}

/* Small mobile-only spacing and type refinements for the homepage and check page. */
@media (max-width: 650px) {
  .m-title.home-title {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.02;
  }
  .m-title.home-title em {
    display: inline-block;
    font-size: .9em;
    line-height: .9;
  }
  .m-section-head .m-tag,
  .m-mission .m-mission-promise { font-size: 16px; line-height: 1.3; }

  .home-title,
  .m-title-page {
    font-size: clamp(20px, 6.3vw, 32px);
  }

  .m-actions {
    gap: 18px;
    margin-top: 24px;
    margin-bottom: 34px;
  }

  .m-actions > .button {
    margin-block: 3px;
  }

  .m-mission {
    margin-bottom: 32px;
    padding-block: 8px;
  }

  .m-body > .m-cta {
    margin: 6px 0 8px;
  }
}

/* Reports use source states, never an inferred "safe person" verdict. */
.report-page { max-width: 760px; padding-top: 28px; padding-bottom: 40px; }
.report-page [hidden], .check-submit-loading[hidden] { display: none !important; }
.report-page > .button, .report-page [data-report-retry] { margin-top: 20px; }
.report-card { padding: 20px; margin: 18px 0; border: 1px solid #e9a3a7; border-radius: 14px; background: #fff; }
.report-card h2 { font-size: 24px; margin-bottom: 12px; }
.report-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; }
.report-badge--clear { color: #1d633d; background: #e7f5eb; }
.report-badge--found, .report-badge--pending { color: #775000; background: #fff1c2; }
.report-badge--error { color: #a22432; background: #fde5e8; }
.report-badge--unknown { color: #60565a; background: #f1edef; }
.report-records { padding-left: 20px; overflow-wrap: anywhere; }
.report-records li { margin: 16px 0; }
.report-records li p { margin: 7px 0; }
.report-vin code { display: inline-block; font-size: 14px; letter-spacing: .04em; padding: 5px; background: #fff3f4; border-radius: 5px; }
.report-record-note { color: #6c6062; font-size: 13px; }
.report-source-link { display: inline-block; margin: 10px 0; text-decoration: underline; }
.report-loading { text-align: center; padding: 42px 18px; margin: 24px 0; background: #fff; border: 1px solid #f0c5cc; border-radius: 16px; }
.report-loading h2 { margin: 18px 0 12px; }
.report-loading small { color: #6c6062; }
.report-spinner { display: inline-block; width: 38px; height: 38px; border: 4px solid #f9d9de; border-top-color: #e56578; border-radius: 50%; animation: report-spin .8s linear infinite; vertical-align: middle; }
.check-submit-loading { display: flex; align-items: center; justify-content: center; gap: 12px; }
.check-submit-loading .report-spinner { width: 22px; height: 22px; flex-shrink: 0; border-width: 3px; }
button:disabled { cursor: wait; opacity: .7; }
@keyframes report-spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) {
  .m-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .report-spinner { animation: none; }
}

/* ===== Title, card width, search overlay, report reveal ===== */
.category-title-desktop { display: none; }
.category-title-mobile { display: block; }
@media (min-width: 900px) {
  .category-title-desktop { display: block; }
  .category-title-mobile { display: none; }
}
.m-card-line-keep { white-space: nowrap; }
@media (min-width: 900px) {
  .m-cards {
    width: min(1180px, calc(100vw - 40px));
    margin-left: 50%;
    transform: translateX(-50%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .m-card { padding-left: 14px; padding-right: 14px; min-width: 0; }
  .m-card .m-card-copy { font-size: clamp(13px, 1.2vw, 14.5px); }
}
@media (min-width: 1080px) {
  .m-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
.m-cards { max-width: none; }

.search-overlay { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(253, 226, 230, .92); backdrop-filter: blur(6px); outline: 0; }
.search-overlay[hidden] { display: none !important; }
.search-overlay-card { width: min(100%, 400px); padding: 34px 26px 28px; text-align: center; background: #fff8f8; border: 1px solid #f3c6cc; border-radius: 22px; box-shadow: 0 30px 80px rgba(160, 64, 84, .18); animation: so-in .35s ease both; }
.search-overlay-card h2 { margin: 16px 0 10px; color: var(--mred); font-family: "Fira Sans Extra Condensed", "Fira Sans", sans-serif; font-weight: 500; font-size: 30px; letter-spacing: 0; }
.search-overlay-card p { margin: 0 auto 18px; max-width: 300px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.search-overlay-card small { color: #7b6268; font-size: 12px; }
.search-overlay-mark { width: 72px; height: 72px; fill: none; stroke-linecap: round; }
.so-ring { stroke: #f8d5da; stroke-width: 3; }
.so-arc { stroke: #e36b7d; stroke-width: 3; stroke-dasharray: 42 128; transform-origin: 32px 32px; animation: report-spin 1.6s linear infinite; }
.so-lens, .so-handle { stroke: #c84a5e; stroke-width: 3; }
.search-overlay-steps { display: flex; justify-content: center; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.search-overlay-steps li { width: 9px; height: 9px; border-radius: 50%; background: #ef9aa6; opacity: .3; animation: so-pulse 1.8s ease-in-out infinite; }
.search-overlay-steps li:nth-child(2) { animation-delay: .25s; }
.search-overlay-steps li:nth-child(3) { animation-delay: .5s; }
.search-overlay-steps li:nth-child(4) { animation-delay: .75s; }
@keyframes so-pulse { 50% { opacity: 1; transform: scale(1.15); } }
@keyframes so-in { from { opacity: 0; transform: translateY(10px); } }

.report-notice { padding: 14px 16px; border: 1px solid #f0c5cc; border-radius: 12px; background: #fff4f5; color: #7a3b45; line-height: 1.55; outline: 0; }
.report-card.is-revealing { animation: report-reveal .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes report-reveal { from { opacity: 0; transform: translateY(14px); } }
.report-mark { position: relative; display: inline-block; width: 14px; height: 14px; flex: 0 0 14px; border-radius: 50%; border: 2px solid currentColor; }
.report-mark--clear::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.report-mark--found { border-radius: 2px; border: 0; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 13px solid currentColor; }
.report-mark--pending { border-style: solid; border-top-color: transparent; animation: report-spin .8s linear infinite; }
.report-mark--error::before, .report-mark--error::after { content: ""; position: absolute; left: 4px; top: 1px; width: 2px; height: 8px; background: currentColor; transform: rotate(45deg); }
.report-mark--error::after { transform: rotate(-45deg); }
.report-mark--unknown::after { content: ""; position: absolute; left: 3px; top: 3px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.report-source-link svg { width: 12px; height: 12px; margin-left: 5px; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: -1px; }
@media (prefers-reduced-motion: reduce) {
  .so-arc, .search-overlay-steps li, .search-overlay-card, .report-card.is-revealing, .report-mark--pending { animation: none !important; }
  .search-overlay-steps li { opacity: .7; }
}
