/* Public pages: landing, auth, checkout. Reuses variables from style.css. */
body.home, body { background: var(--bg, #f4f9f4); }

.site-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-bottom: 1px solid var(--line, #dfe7df); background: #fff;
}
.site-top .brand { font-weight: 800; font-size: 18px; text-decoration: none; color: var(--ink, #1b3a2b); }
.site-top nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-top nav a { text-decoration: none; color: var(--ink, #1b3a2b); }
/* the account e-mail is white on the app's dark bar — darken it on this light one */
.site-top .who {
    font-size: 13px; color: var(--muted, #6b7d6f); max-width: 220px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.site-top form { display: inline; }

.site-main { max-width: 960px; margin: 0 auto; padding: 28px 20px 48px; }
.site-foot { text-align: center; color: var(--muted, #6b7d6f); padding: 24px; font-size: 13px; }
.site-foot a { color: inherit; }

.hero { text-align: center; padding: 36px 8px 20px; }
.hero-badge { display: inline-block; font-weight: 700; color: var(--green-700, #2d6a4f); margin-bottom: 10px; }
.hero h1 { font-size: clamp(26px, 5vw, 44px); line-height: 1.1; margin: 0 0 12px; color: var(--ink, #16311f); }
.hero .lead { font-size: 18px; color: var(--muted, #52655a); max-width: 640px; margin: 0 auto 18px; }
.hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 8px; }
.hero .trial-note { color: var(--muted, #6b7d6f); font-size: 14px; }

.btn.lg { padding: 12px 20px; font-size: 16px; border-radius: 10px; }
/* buttons rendered as links must not look like body links */
a.btn { text-decoration: none; }

.features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px; margin: 28px 0;
}
.feature { background: #fff; border: 1px solid var(--line, #dfe7df); border-radius: 12px; padding: 16px; }
.feature .fi { font-size: 26px; }
.feature h3 { margin: 8px 0 4px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted, #52655a); font-size: 14px; }

.card { background: #fff; border: 1px solid var(--line, #dfe7df); border-radius: 14px; padding: 24px; }
.card.narrow { max-width: 440px; margin: 20px auto; }
.card h1 { margin-top: 0; }
.pricing { text-align: center; margin-top: 24px; }

.authform { display: flex; flex-direction: column; gap: 12px; margin: 14px 0; }
.authform label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; }
.authform input {
    font: inherit; padding: 10px 12px; border: 1px solid var(--line, #cfd8cf); border-radius: 8px;
}
.btn.block { display: block; width: 100%; text-align: center; }
.muted { color: var(--muted, #6b7d6f); font-size: 14px; }
.form-error { background: #fde8e8; border: 1px solid #f5b5b5; color: #a12; padding: 10px 12px; border-radius: 8px; }
.ok-note { background: rgba(149,213,178,.2); border: 1px solid var(--green-500, #95d5b2); color: var(--green-700, #2d6a4f); padding: 10px 12px; border-radius: 8px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.plan { border: 1px solid var(--line, #dfe7df); border-radius: 12px; padding: 16px; text-align: center; }
.plan.best { border-color: var(--green-500, #95d5b2); box-shadow: 0 2px 10px rgba(45,106,79,.08); }
.plan-name { font-weight: 700; }
.plan-name .tag, .tag { display: inline-block; font-size: 11px; background: #fde2c8; color: #bb3e03; padding: 1px 7px; border-radius: 999px; }
.plan-price { font-size: 24px; font-weight: 800; margin: 8px 0 12px; }
.plan-price span { font-size: 13px; font-weight: 500; color: var(--muted, #6b7d6f); }

/* account chip — used by the /account and /admin headers (the SPA keeps its
   account links inside the top bar's ⚙ menu instead) */
.account { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.account .who { font-size: 12px; color: var(--muted, #6b7a70); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account .sub-warn { color: #bb3e03; font-weight: 600; }
.account form { display: inline; }
.account .logout { background: none; border: 1px solid var(--line, #cfd8cf); border-radius: 8px; padding: 5px 9px; cursor: pointer; font: inherit; color: var(--ink, #243027); }

/* expiring trial/subscription chip, shown in the SPA's green bar */
.topbar .sub-warn {
    flex: none; background: #ffd166; color: #4a2c00; font-weight: 700; font-size: 12.5px;
    border-radius: 999px; padding: 4px 11px; text-decoration: none; white-space: nowrap;
}
.topbar .sub-warn:hover { background: #ffdd8a; }

@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } .account .who { display: none; } }

/* admin panel ---------------------------------------------------------- */
.admin-top { position: sticky; top: 0; z-index: 5; }
.admin-main { max-width: 1080px; }
.admin-main h1 { margin-top: 8px; }
.admin-main .card { margin: 14px 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 14px 0; }
.stat { background: #fff; border: 1px solid var(--line, #dfe7df); border-radius: 12px; padding: 14px; text-align: center; }
.stat .v { font-size: 26px; font-weight: 800; color: var(--green-700, #2d6a4f); }
.stat .l { font-size: 12px; color: var(--muted, #6b7d6f); margin-top: 2px; }

.tablewrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line, #eef2ee); white-space: nowrap; }
.admin-table th { font-size: 12px; color: var(--muted, #6b7d6f); text-transform: uppercase; letter-spacing: .02em; }
.admin-table tbody tr:hover { background: rgba(45,106,79,.04); }

.tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #edf2ed; color: #4a5a4e; }
.tag.ok { background: rgba(149,213,178,.25); color: var(--green-700, #2d6a4f); }
.tag.off { background: #fde8e8; color: #a12; }
.tag.admin { background: #e6ecff; color: #2b46b3; }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.grid2 label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; }
.grid2 label.full { grid-column: 1 / -1; }
.grid2 input, .grid2 select { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--line, #cfd8cf); border-radius: 8px; }
.card label.check { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }

.promo-form { display: flex; gap: 8px; margin: 12px 0; }
.promo-form input { flex: 1; font: inherit; padding: 9px 11px; border: 1px solid var(--line, #cfd8cf); border-radius: 8px; text-transform: uppercase; }
/* promo codes are uppercase; an e-mail address is not */
.promo-form.mail-test input { text-transform: none; }
.promo-on { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.linklike { background: none; border: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.plan-price .was { color: var(--muted, #6b7d6f); font-size: 15px; font-weight: 500; margin-right: 4px; }

.account a.who { text-decoration: none; }
.account a.who:hover { text-decoration: underline; }

.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-actions select, .inline-actions input { font: inherit; padding: 7px 9px; border: 1px solid var(--line, #cfd8cf); border-radius: 8px; }
.danger-zone { border-color: #f0c4c4; }
.btn.danger { background: #c0392b; color: #fff; border-color: #a5281c; }

/* staged login + two-factor ---------------------------------------------- */
.who-line { font-size: 13px; color: var(--muted, #6b7a70); margin: -6px 0 4px; }
.who-line a { color: var(--green-700, #2d6a4f); }
.muted.small { font-size: 12.5px; }

/* the setup QR is inline SVG generated on the server — no external service
   ever sees the shared secret */
.qr-box { display: flex; justify-content: center; padding: 14px; background: #fff;
          border: 1px solid var(--line, #e2e7df); border-radius: 10px; margin: 10px 0; }
.qr-box svg { width: 100%; max-width: 240px; height: auto; }
.totp-secret { display: inline-block; margin-top: 4px; padding: 6px 10px; background: #f3f6f2;
               border: 1px solid var(--line, #e2e7df); border-radius: 6px; font-size: 14px;
               letter-spacing: .06em; word-break: break-all; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 14px;
                  margin: 10px 0 0; padding-left: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.recovery-codes li { font-size: 14px; letter-spacing: .04em; }
@media (max-width: 420px) { .recovery-codes { grid-template-columns: 1fr; } }

/* landing ---------------------------------------------------------------- */
/* The public page carries the product's identity, so it goes full garden:
   a deep green hero, cream and pale-green bands alternating like beds, and
   soft organic shapes instead of straight edges. */
body.home { background: #fbfaf5; }
/* the hero band is the page opening — no gap between it and the header */
body.home .site-main { padding-top: 0; }
.site-main { max-width: 1120px; }
/* full-bleed bands escape the centred column */
.hero-band, .season, .price-band {
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    padding-left: 20px; padding-right: 20px;
}
.sec-title {
    text-align: center; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.15;
    margin: 0 0 8px; color: var(--ink, #16311f); letter-spacing: -.01em;
}
.hint.center { text-align: center; }

/* hero ------------------------------------------------------------------- */
.hero-band {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(160deg, #17402c 0%, #24603f 55%, #2d6a4f 100%);
    padding-top: 46px; padding-bottom: 54px; margin-bottom: 8px;
}
.leaf-decor { position: absolute; inset: auto 0 0 0; width: 100%; height: 240px; pointer-events: none; }
.hero-inner {
    position: relative; z-index: 1; max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero-badge {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #b7e4c7; margin-bottom: 12px;
}
.hero-band h1 {
    font-size: clamp(30px, 4.6vw, 50px); line-height: 1.05; margin: 0 0 14px;
    color: #fff; letter-spacing: -.02em;
}
.hero-band .lead { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.9); margin: 0 0 20px; max-width: 34em; }
.hero-band .cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.hero-band .trial-note { color: rgba(255,255,255,.78); font-size: 13.5px; margin: 0; }
.hero-band .trial-note b { color: #fff; }
/* the one thing to click on the green band: the mole's helmet yellow, not
   another green that melts into the background */
.hero-band .btn.primary {
    background: #f1b421; border-color: #f1b421; color: #1f2a0e; font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.hero-band .btn.primary:hover { background: #f7c84a; border-color: #f7c84a; }
.hero-band .btn.primary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn.ghost-light {
    background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: #fff;
}
.btn.ghost-light:hover { background: #fff; color: var(--green-700, #2d6a4f); border-color: #fff; }
.trust {
    list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0;
}
.trust li {
    font-size: 12.5px; color: #d8f3dc; background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px 12px;
}
.hero-art svg {
    width: 100%; height: auto; display: block; border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.30); border: 1px solid rgba(255,255,255,.25);
}

/* season rhythm ---------------------------------------------------------- */
.season { background: #eef6ee; padding-top: 40px; padding-bottom: 40px; }
.season-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.season-line { color: var(--muted, #52655a); font-size: 16px; margin: 0 0 20px; }
.season-line b { color: var(--green-700, #2d6a4f); }
.season-chart {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px;
    align-items: end; height: 118px; margin: 0 auto 10px;
}
.mth { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.mth .bar {
    width: 100%; border-radius: 6px 6px 3px 3px; background: var(--green-300, #95d5b2);
    transition: background .15s;
}
.mth .lbl { font-size: 11px; color: var(--muted, #6b7d6f); margin-top: 6px; }
.mth.now .bar { background: var(--green-700, #2d6a4f); }
.mth.empty .bar { background: #cfdccf; }
.mth.now .lbl { color: var(--green-700, #2d6a4f); font-weight: 700; }

/* how it works ----------------------------------------------------------- */
.steps { margin: 44px 0 8px; }
.step-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 0; padding: 0; }
.step {
    position: relative; background: #fff; border: 1px solid var(--line, #dfe7df);
    border-radius: 16px; padding: 20px 18px; transition: transform .15s, box-shadow .15s;
}
.step:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,40,30,.09); }
.step-n {
    display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
    border-radius: 50%; background: var(--green-700, #2d6a4f); color: #fff; font-weight: 700; font-size: 14px;
}
.step h3 { margin: 12px 0 5px; font-size: 17px; }
.step p { margin: 0; color: var(--muted, #52655a); font-size: 14px; }

/* alternating picture + bullets ------------------------------------------ */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin: 48px 0; }
.show.reverse .show-art { order: 2; }
.show-art svg {
    width: 100%; height: auto; display: block; border-radius: 16px;
    box-shadow: 0 14px 40px rgba(20,40,30,.12);
}
.show-copy h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 8px; color: var(--ink, #16311f); }
.show-copy > p { color: var(--muted, #52655a); margin: 0 0 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: 14.5px; }
.ticks li::before {
    content: '✓'; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%;
    background: var(--green-100, #d8f3dc); color: var(--green-700, #2d6a4f);
    font-size: 11px; font-weight: 700; display: grid; place-items: center;
}

/* real screenshots ------------------------------------------------------- */
.shots { margin: 52px 0; }
.shots-grid {
    display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 22px;
    align-items: start; margin-top: 18px;
}
.shot { margin: 0; }
.shot img {
    display: block; width: 100%; height: auto; border-radius: 14px; background: #fff;
    border: 1px solid var(--line, #dfe7df); box-shadow: 0 14px 40px rgba(20,40,30,.12);
}
.shot-phone img { border: 7px solid #1b3a2b; border-radius: 26px; }
.shot-full { grid-column: 1 / -1; }
.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted, #52655a); }
.shot figcaption b { color: var(--ink, #16311f); }
@media (max-width: 860px) {
    .shots-grid { grid-template-columns: minmax(0, 1fr); }
    .shot-phone { max-width: 320px; margin: 0 auto; }
}

/* why not a spreadsheet -------------------------------------------------- */
.compare { margin: 52px 0; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.cmp { background: #fff; border: 1px solid var(--line, #dfe7df); border-radius: 16px; padding: 18px; }
.cmp-head { display: flex; align-items: center; gap: 10px; }
.cmp-head .fi { font-size: 22px; }
.cmp-head h3 { margin: 0; font-size: 16px; }
.cmp .pain { color: var(--muted, #6b7d6f); font-size: 14px; margin: 10px 0 10px; }
.cmp .gain {
    margin: 0; font-size: 14px; color: var(--green-700, #2d6a4f); font-weight: 600;
    border-top: 1px dashed var(--green-300, #95d5b2); padding-top: 10px;
}

/* features --------------------------------------------------------------- */
.features-sec { margin: 52px 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 18px 0 0; }
.feature {
    background: #fff; border: 1px solid var(--line, #dfe7df); border-radius: 16px; padding: 18px;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.feature:hover {
    transform: translateY(-2px); border-color: var(--green-300, #95d5b2);
    box-shadow: 0 10px 26px rgba(20,40,30,.09);
}
.feature .fi { font-size: 26px; }
.feature h3 { margin: 8px 0 4px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted, #52655a); font-size: 14px; }

/* pricing ---------------------------------------------------------------- */
.price-band {
    background: linear-gradient(160deg, #17402c 0%, #2d6a4f 100%);
    padding-top: 48px; padding-bottom: 52px; margin-top: 8px;
    position: relative;
}
/* The mole stands beside the offer and points at it. Absolute, so he never
   pushes the card off centre; hidden where there is no room beside it. */
.price-mole {
    position: absolute; left: 50%; bottom: 40px; margin-left: -430px;
    width: 200px; height: auto; pointer-events: none;
}
@media (max-width: 1100px) { .price-mole { display: none; } }
.price-card {
    max-width: 470px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,.25); text-align: center;
}
.price-tag {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--green-700, #2d6a4f); background: var(--green-100, #d8f3dc);
    border-radius: 999px; padding: 5px 12px;
}
.price-big { font-size: 42px; font-weight: 800; color: var(--ink, #16311f); margin: 14px 0 4px; letter-spacing: -.02em; }
.price-big span { font-size: 16px; font-weight: 500; color: var(--muted, #6b7d6f); }
.price-card .ticks { text-align: left; margin: 18px 0; }
.price-card .fine, .card .fine { color: var(--muted, #6b7d6f); font-size: 12.5px; margin: 10px 0 0; }

/* faq -------------------------------------------------------------------- */
.faq-sec { margin: 52px 0 10px; }
.faq { max-width: 760px; margin: 18px auto 0; display: grid; gap: 8px; }
.faq details {
    background: #fff; border: 1px solid var(--line, #dfe7df); border-radius: 12px; padding: 14px 16px;
}
.faq details[open] { border-color: var(--green-300, #95d5b2); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--green-700, #2d6a4f); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--muted, #52655a); font-size: 14.5px; }

@media (max-width: 860px) {
    .hero-inner, .show, .cmp-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-band { padding-top: 30px; padding-bottom: 40px; text-align: center; }
    .hero-band .lead { margin-left: auto; margin-right: auto; }
    .hero-band .cta, .trust { justify-content: center; }
    .show.reverse .show-art { order: 0; }
    .step-list { grid-template-columns: 1fr; }
    .season-chart { height: 96px; gap: 4px; }
    .mth .lbl { font-size: 10px; }
}

/* SMTP transcript from the mail test — the useful part when it fails */
.smtp-log {
    background: #16311f; color: #d8f3dc; border-radius: 10px; padding: 12px 14px;
    font-size: 12.5px; line-height: 1.5; overflow-x: auto; white-space: pre-wrap;
    word-break: break-word; margin: 10px 0 0;
}

/* legal documents (regulamin, polityka prywatności) ---------------------- */
.legal {
    max-width: 760px; margin: 0 auto; background: #fff; border-radius: 14px;
    padding: 28px 32px; box-shadow: var(--shadow, 0 1px 3px rgba(20,40,30,.10));
    line-height: 1.65;
}
.legal h1 { font-size: 26px; margin: 0 0 4px; }
.legal h2 {
    font-size: 16px; margin: 26px 0 8px; padding-top: 16px;
    border-top: 1px solid var(--line, #e2e7df); color: var(--green-900, #1b3a2b);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p, .legal li { font-size: 14.5px; }
.legal ol, .legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin-bottom: 6px; }
.legal ol > li::marker { color: var(--green-700, #2d6a4f); font-weight: 600; }
.legal code { background: #f2f5f1; padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.legal-meta { color: var(--muted, #6b7d6f); font-size: 13px; }
.legal-gap { background: #fde8e8; color: #a12; padding: 0 5px; border-radius: 4px; font-style: italic; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.legal-table th, .legal-table td {
    border: 1px solid var(--line, #e2e7df); padding: 7px 10px; text-align: left; vertical-align: top;
}
.legal-table th { background: #f4f7f3; font-size: 13px; }
.legal-table td:first-child { width: 30%; font-weight: 600; }
@media (max-width: 640px) {
    .legal { padding: 20px 16px; border-radius: 0; }
    .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: auto; }
    .legal-table thead { display: none; }
    .legal-table tr { border: 1px solid var(--line, #e2e7df); margin-bottom: 8px; }
    .legal-table td { border: 0; }
    .legal-table td:first-child { width: auto; background: #f4f7f3; }
}

/* admin: what one account holds ------------------------------------------ */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.res-tile {
    border: 1px solid var(--line, #e2e7df); border-radius: 8px; padding: 8px 10px; background: #fff;
}
.res-tile b { display: block; font-size: 20px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.res-tile span { font-size: 12px; color: var(--muted, #6b7d6f); }
.res-tile.empty { opacity: .55; }
.res-tile.empty b { font-weight: 500; }

/* impersonation: impossible to miss, on every page ------------------------ */
.ghost-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    background: #7b2d26; color: #fff; padding: 8px 14px; font-size: 13.5px;
}
.ghost-bar form { margin-left: auto; }
.ghost-bar .btn { background: #fff; color: #7b2d26; border-color: #fff; font-weight: 600; }

/* public pages: same brand mark, on a light header it needs no patch */
.site-top .brand { display:flex; align-items:center; gap:8px; }
.site-top .brand-mark { height:40px; width:auto; }

/* order summary — the step before the payment gateway ------------------- */
.order-summary { width: 100%; border-collapse: collapse; margin: 6px 0 14px; }
.order-summary td { padding: 10px 0; border-bottom: 1px solid var(--line, #e2e7df); vertical-align: top; }
.order-summary .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-summary .muted { font-size: 12.5px; font-weight: 400; }
.order-summary tr.total td { border-bottom: 0; font-weight: 700; font-size: 17px; padding-top: 14px; }
/* consent is read before it is given, so the box sits beside the sentence,
   not under a wall of text */
label.check.terms {
    display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5;
    background: #f7faf6; border: 1px solid var(--line, #e2e7df); border-radius: 8px;
    padding: 11px 13px; margin-bottom: 10px; cursor: pointer;
}
label.check.terms input { margin: 2px 0 0; flex: none; width: 17px; height: 17px; }
.btn.lg { padding: 12px 18px; font-size: 16px; }
