/* Shared visual language for every storefront page beyond the reference homepage. */
.front-page { padding-bottom: 0; min-height: 100vh; display: flex; flex-direction: column; }
.front-page > header { width: 100%; }
.front-page > main { flex: 1; }
.front-page > .topbar { background: var(--urgency); }
.front-page header nav { padding: 18px 0; }
.front-page header .brand { font-weight: 900; }
.front-page header nav > .muted { display: none; }
.front-page header nav > a:last-child { font-size: 14px; font-weight: 700; }
.front-page footer a { color: #cbd5e1; }
.front-main { background: linear-gradient(180deg, #fff 0%, #f1f8f4 360px, #fff 100%); padding: 20px 0 64px; }
.front-intro.hero { background: none; padding: 14px 0 32px; }
.front-intro h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; overflow-wrap: anywhere; }
.front-intro h1.hl { color: var(--cta); }
.front-intro .sub { margin-bottom: 0; }
.front-card { border: 0; border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.front-card-head { background: var(--dark); color: #fff; text-align: center; padding: 14px 20px; font-weight: 800; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.front-card-body { padding: 32px; }
.front-card-body > h2:first-child { margin-top: 0; }
.front-callout { border-left: 5px solid var(--brand); background: #f1f8f4; border-radius: 12px; padding: 20px; margin-top: 24px; }
.front-callout h2 { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.front-callout p { font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.front-page .link-button { font-size: 14px; font-weight: 700; border-radius: 12px; padding: 16px 22px; }
.front-page .link-button:hover { border-color: var(--cta); color: var(--cta-hover); }
.front-page .actions { align-items: center; }
.front-page .actions .btn { font-size: 16px; padding: 18px 24px; }
.policy-tabs { display: flex; justify-content: center; gap: 8px; padding: 0 0 26px; }
.policy-tabs a { border: 1px solid #e2e8f0; background: #fff; border-radius: 99px; padding: 9px 24px; color: var(--dark); font-size: 14px; font-weight: 800; text-decoration: none; }
.policy-tabs a[aria-current=page] { background: var(--dark); border-color: var(--dark); color: #fff; }
.policy-tabs a:hover { border-color: var(--cta); }
.front-page .policy h2 { font-size: 24px; font-weight: 900; margin-bottom: 18px; }
.front-page .policy p { line-height: 1.8; }
.front-page .policy .front-callout p { margin-bottom: 0; }
.order-page .front-intro .badge { margin-bottom: 20px; }
.order-summary { border: 2px dashed var(--brand); background: #f1f8f4; border-radius: 14px; padding: 8px 20px; }
.order-page .summary-row { padding: 16px 0; border-bottom-color: #dce9df; font-size: 15px; }
.order-page .summary-row:last-child { border-bottom: 0; }
.order-page .summary-row > :first-child { flex-shrink: 0; color: #475569; }
.order-page .summary-row > :last-child { min-width: 0; color: var(--dark); font-weight: 700; }
.order-page .summary-row .order-total { color: var(--cta); font-size: 22px; font-weight: 900; }
.order-page .status-update { margin-top: 22px; }
.error-page .front-card { max-width: 640px; margin: 0 auto; text-align: center; }
.error-page .error-number { color: var(--cta); font-size: clamp(64px, 14vw, 100px); line-height: 1; font-weight: 900; margin: 2px 0 20px; }
.error-page .front-card-body > p { color: #475569; }
.front-page a:focus-visible, .front-page button:focus-visible { outline: 3px solid var(--cta); outline-offset: 4px; }
@media(max-width:650px) {
    .front-page .topbar { font-size: 12px; }
    .front-page header .brand { font-size: 17px; }
    .front-page header nav { gap: 8px; }
    .front-page header nav > a:last-child { font-size: 12px; }
    .front-main { padding: 12px 0 40px; }
    .front-intro.hero { padding-top: 8px; padding-bottom: 26px; }
    .front-intro .sub { font-size: 17px; }
    .front-card-body { padding: 24px 20px; }
    .policy-tabs a { padding: 9px 18px; }
    .order-summary { padding: 4px 14px; }
    .order-page .summary-row { flex-direction: column; gap: 5px; }
    .order-page .summary-row > :last-child { text-align: left; }
    .front-page .actions { flex-direction: column; align-items: stretch; }
    .front-page .actions a, .front-page .actions button { text-align: center; width: 100%; }
}
