/*! supertwentyplus licence: (c) 2026 Supertwentyplus Pte. Ltd. All rights reserved. Proprietary, not open source.
   Use only as provided on supertwentyplus.com (free or by subscription, under its Terms). Copying, reuse or hosting elsewhere,
   in whole or in part, needs a written licence: supertwentyplus@gmail.com. See LICENSE.txt at the site root. */
/* Secondary pages: About, Privacy, Terms, Contact, Pro, Account, 404.
   Uses the same theme variables as the homepage, so every skin carries through. */

/* Page hero */
.page-hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.theme-d .page-hero, .theme-e .page-hero { background: transparent; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%); mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.page-hero-inner { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: clamp(32px, 6vw, 64px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--ink-3); }
.page-hero .crumbs a { min-height: 32px; display: inline-flex; align-items: center; color: var(--ink-2); }
.page-hero .crumbs a:hover { color: var(--link-hover); }
.page-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: var(--h1-track); font-weight: var(--h1-weight); max-width: 18ch; }
.page-summary { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.page-meta { font-size: 14px; color: var(--ink-3); }

.page-body { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); }

/* Readable text */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.prose h2 { font-size: 24px; line-height: 1.25; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 18px; margin-top: 6px; }
.prose p, .prose li { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose ul { margin: 0; padding-left: 1.25em; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--link-hover); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* Legal layout with an "On this page" list */
.layout-legal { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--stp-head, 0px) + 24px); }
.toc details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 18px 18px 14px; }
.toc summary { font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; min-height: 32px; display: flex; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }

/* About */
.layout-plain { display: flex; flex-direction: column; gap: 48px; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.value { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); }
.value-icon, .info-icon { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--icon-radius); background: var(--c-money-tint); color: var(--c-money); font-size: 24px; }
.value h2 { font-size: 20px; font-weight: var(--card-title-weight); }
.value p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* Forms */
.contact-form { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: var(--card-border); border-radius: var(--widget-radius); box-shadow: var(--widget-shadow); min-width: 0; }
.form-title { font-size: 22px; font-weight: 800; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 15px; color: var(--ink); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; background: var(--surface); color: var(--ink);
  border: var(--input-border); border-radius: var(--btn-radius); font-size: 16px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--focus); }
.contact-form textarea { resize: vertical; min-height: 170px; line-height: 1.55; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact-form .btn { align-self: flex-start; }
.field-hint { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.field-hint a { color: var(--link-hover); }
.contact-form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 15px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 16px; border-radius: var(--btn-radius); font-weight: 600; }
.form-status.is-ok { background: #E3F3EC; color: #0A5A43; border: 1px solid #A7D8C3; }
.form-status.is-error { background: #FDE8E4; color: #8A2312; border: 1px solid #F2B5A8; }

/* Contact */
.layout-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); }
.info-card h2 { font-size: 17px; font-weight: 700; font-family: var(--font-body); }
.info-card p { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin-top: 2px; overflow-wrap: anywhere; }
.info-card a { color: var(--link-hover); }

/* Pricing */
.layout-pricing { display: flex; flex-direction: column; gap: 40px; }
.billing-toggle { align-self: center; display: inline-flex; padding: 5px; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.toggle-opt { min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--ink-2); }
.toggle-opt[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.toggle-save { padding: 3px 8px; border-radius: 999px; background: var(--c-money-tint); color: var(--c-money); font-size: 12px; font-weight: 700; }
.toggle-opt[aria-pressed="true"] .toggle-save { background: var(--accent); color: #FFFFFF; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; align-items: stretch; padding-top: 6px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; background: var(--surface); border: var(--card-border); border-radius: calc(var(--card-radius) + 4px); box-shadow: var(--card-shadow); }
.plan-wide { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .plan-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: 36px; align-content: start; }
  .plan-wide > :not(.plan-features) { grid-column: 1; }
  .plan-wide .plan-features { grid-column: 2; grid-row: 1 / span 6; align-self: center; border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; }
}
.plan-highlight { border: 2px solid var(--accent); box-shadow: 0 22px 44px rgba(15, 27, 45, .12); }
.plan-flag { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-size: 13px; font-weight: 700; }
.plan-flag-alt { background: #2563EB; }
.plan-name { font-size: 20px; font-weight: 800; }
.plan-tagline { color: var(--ink-2); font-size: 15px; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--ink-3); font-weight: 600; }
.price-from { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-right: 2px; }
.plan-billing { font-size: 14px; color: var(--ink-3); min-height: 2.8em; }
.plan-cta { width: 100%; margin: 4px 0 6px; }
.plan-features { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plan-features li, .tick-list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.plan-features li::before, .tick-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-money-tint); }
.plan-features li::after, .tick-list li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 5px; height: 9px; border: solid var(--c-money); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.assurances { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.assurances li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.assurances .icon { font-size: 20px; color: var(--accent); }

.waitlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(24px, 4vw, 44px); background: var(--panel-bg); color: var(--panel-ink); border-radius: calc(var(--panel-radius) + 4px); }
.waitlist-text { display: flex; flex-direction: column; gap: 10px; }
.waitlist-text h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; }
.waitlist-text p { color: var(--panel-ink-2); font-size: 17px; line-height: 1.6; }
.waitlist .page-eyebrow { color: var(--panel-accent); }
.waitlist .contact-form { box-shadow: none; border: 0; color: var(--ink); }

.faq { display: flex; flex-direction: column; max-width: 760px; width: 100%; align-self: center; }
.faq h2 { font-size: 28px; margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 58px; display: flex; align-items: center; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; padding-right: 32px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; font-size: 24px; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }

/* Account */
.layout-account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.account-benefits { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.account-benefits h2 { font-size: 22px; }
.account-benefits > p { color: var(--ink-2); }
.account-benefits a { color: var(--link-hover); }
.tick-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tick-list li { font-size: 17px; }

/* 404 */
.page-hero-error .page-hero-inner { padding-right: clamp(0px, 30vw, 380px); }
.page-hero-error::after {
  content: "404"; position: absolute; right: clamp(-20px, 4vw, 80px); top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(110px, 20vw, 260px); line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px var(--line); pointer-events: none;
}
.layout-error { display: flex; flex-direction: column; gap: 48px; }
.error-tools { display: flex; flex-direction: column; gap: 22px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: var(--card-border); border-radius: var(--widget-radius); box-shadow: var(--widget-shadow); }
.error-search label { display: block; font-weight: 700; margin-bottom: 8px; }
.error-search-row { display: flex; flex-wrap: wrap; gap: 10px; }
.error-search-row input { flex: 1 1 280px; min-height: 52px; padding: 0 16px; background: var(--surface); color: var(--ink); border: var(--input-border); border-radius: var(--btn-radius); font-size: 16px; }
.nf-results { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 8px; }
.nf-results:empty { display: none; }
.nf-results a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--btn-radius); text-decoration: none; }
.nf-results a:hover { border-color: var(--focus); }
.nf-r-name { font-weight: 700; }
.nf-r-line { font-size: 14px; color: var(--ink-2); }
.nf-empty { color: var(--ink-2); font-weight: 600; }
.error-suggest-label { font-weight: 700; margin-bottom: 8px; }
.nf-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; padding: 16px 18px; background: var(--c-tools-tint); border: 1.5px solid var(--c-tools); border-radius: var(--card-radius); text-decoration: none; }
.nf-pick-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.nf-pick-line { grid-column: 1; font-size: 15px; color: var(--ink-2); }
.nf-pick-cat { grid-column: 2; grid-row: 1 / span 2; padding: 6px 12px; border-radius: 6px; background: var(--surface); font-size: 13px; font-weight: 700; color: var(--c-tools); }
.error-sections { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); }
.chip-link { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.chip-link:hover { border-color: var(--ink); }
.error-featured { display: flex; flex-direction: column; gap: 20px; }
.error-featured h2 { font-size: 28px; }

@media (max-width: 900px) {
  .layout-legal, .layout-contact, .layout-account, .waitlist { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .page-hero-error .page-hero-inner { padding-right: 0; }
  .page-hero-error::after { opacity: .5; top: auto; bottom: -24px; transform: none; }
}

/* Text pages with ads: content column + double-height bottom ad + right-side ad on wide screens */
.page-main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.prose .ad-slot { margin: 18px 0 4px; }
.ad-bottom { min-height: 200px; }
.layout-plain.has-rail { display: block; }
@media (min-width: 1200px) {
  .layout-plain.has-rail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
  .layout-legal.has-rail { grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 40px; }
}

/* ---------- Accounts ---------- */
.acct-box { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.acct-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: var(--btn-radius); background: var(--surface-2, rgba(0,0,0,.04)); }
.acct-tab { flex: 1; min-height: 44px; border: 0; border-radius: calc(var(--btn-radius) - 2px); background: transparent; font: inherit; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.acct-tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.acct-link { background: none; border: 0; padding: 0; font: inherit; color: var(--link-hover, var(--ink)); text-decoration: underline; cursor: pointer; }
.acct-narrow { max-width: 480px; }
.acct-home, .acct-admin { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.acct-admin { max-width: 1100px; }
.acct-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 3vw, 30px); background: var(--surface); border: var(--card-border); border-radius: var(--widget-radius); box-shadow: var(--widget-shadow); }
.acct-card h2 { font-size: 22px; margin: 0; }
.acct-card .check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.acct-plans { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acct-plans li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; border-radius: var(--btn-radius); background: var(--c-money-tint, rgba(0,0,0,.04)); }
.acct-period { color: var(--ink-2); font-size: 14px; }
.acct-when { flex-basis: 100%; color: var(--ink-2); font-size: 14px; }
/* v2790c: Your Account plan value and details (items 1-8) */
.acct-val { font-size: 16px; color: var(--ink); }
.acct-facts { flex-basis: 100%; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.acct-facts b { font-weight: 400; color: var(--ink); }
.acct-pill { display: inline-block; white-space: nowrap; padding: 2px 6px; border-radius: 4px; font-weight: 400; color: #000; font-size: 13px; background: #E5E7EB; }
.acct-pill.t-comp { background: #A5F3FC; } .acct-pill.t-paying, .acct-pill.t-paid { background: #BBF7D0; } .acct-pill.t-admin { background: #DBEAFE; }
.acct-ht { width: 100%; border-collapse: collapse; table-layout: auto; }
.acct-ht th, .acct-ht td { text-align: left; vertical-align: top; padding: 7px 8px; font-size: 14px; line-height: 1.35; border-bottom: 1px solid var(--line, rgba(0,0,0,.1)); }
.acct-ht th { font-weight: 600; }
@media (max-width: 600px) { .acct-ht th, .acct-ht td { font-size: 12px; padding: 7px 4px; overflow-wrap: anywhere; } .acct-ht th:first-child, .acct-ht td:first-child { padding-left: 0; } .acct-pill { font-size: 12px; } }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.acct-welcome { padding: 14px 16px; border-radius: var(--btn-radius); background: #E3F3EC; color: #0A5A43; border: 1px solid #A7D8C3; font-weight: 600; }
.acct-pass summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.acct-pass .contact-form { margin-top: 12px; box-shadow: none; }
.acct-verify { padding: 14px 16px; border-radius: var(--btn-radius); background: #FFF5D6; color: #3A2E00; border: 1px solid #E8C24A; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.acct-verify p { margin: 0; }
.acct-data { margin-top: 12px; }
.btn-danger { background: #C62828; color: #fff; border-color: #C62828; }
.acct-loading { color: var(--ink-2); }
.adm-mode { margin: 0; padding: 10px 14px; border-radius: var(--btn-radius); background: #FFF4D6; border: 1px solid #F0D58A; }
.adm-mode.is-live { background: #E3F3EC; border-color: #A7D8C3; }
.adm-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.adm-stats span { padding: 12px 16px; border-radius: var(--btn-radius); background: var(--surface); border: var(--card-border); }
.adm-stats b { font-size: 22px; margin-right: 6px; }
.adm-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.adm-grant { box-shadow: none; padding: 0; border: 0; }
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.adm-table th, .adm-table td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line, rgba(0,0,0,.1)); }
.adm-sub { display: block; margin-bottom: 4px; color: var(--ink-2); }
.adm-sub.is-on { color: var(--ink); font-weight: 600; }
.adm-sub small { font-weight: 400; color: var(--ink-2); }
.adm-free { color: var(--ink-2); }
.plan-app { margin: 0 0 4px; }
.plan-app select { width: 100%; }
.plan-msg { margin: 4px 0 6px; font-size: 14px; }
.plan-cta.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 760px) { .layout-account { grid-template-columns: 1fr; } }
.plan-app label { font-weight: 600; font-size: 14px; }
.plan-app select { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line, #c9c9c9); border-radius: var(--btn-radius); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; }
@media (max-width: 760px) { .layout-account .acct-box { order: -1; } }
.nf-pick-more { margin-top: 8px; }

/* Supporters page */
.sup-list { display: grid; gap: 18px; margin-bottom: 32px; }
.sup-group { padding: 20px 22px; background: var(--surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); }
.sup-group h2 { margin: 0 0 12px; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.sup-metal { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; color: #16233F; }
.sup-admiral .sup-metal { background: linear-gradient(135deg, #e9f1f7, #9fb6cc); }
.sup-commander .sup-metal { background: linear-gradient(135deg, #ffe08a, #e0a422); }
.sup-navigator .sup-metal { background: linear-gradient(135deg, #eef0f3, #aab3bf); }
.sup-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sup-names li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; font-weight: 600; }
.sup-admiral .sup-names li { font-size: 18px; }
.sup-empty { padding: 24px; text-align: center; font-size: 17px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--card-radius); }
.supporters-join a.btn, .supporters-join a.btn:hover { color: var(--surface); text-decoration: none; background: var(--ink); }
.supporters-join { margin: 8px 0 40px; padding: 26px 24px; background: var(--surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); }
.supporters-join h2 { margin: 0 0 8px; font-size: 26px; }
.join-lead { margin: 0 0 18px; font-size: 17px; max-width: 62ch; }
.join-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.join-level { padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.join-level h3 { margin: 8px 0 2px; font-size: 19px; }
.join-level p { margin: 0; font-size: 15px; }
.join-level .join-price { font-weight: 700; margin-bottom: 6px; }
.join-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; }
.join-cta span { font-size: 14px; color: var(--ink-2); }
.join-note { margin: 0; font-size: 14px; color: var(--ink-2); }
/* Owner's page: supporters and the monthly post */
.adm-sub-h { margin: 6px 0 0; font-size: 18px; }
.adm-changes { margin: 0; padding-left: 20px; font-size: 15px; }
.adm-changes li { margin: 4px 0; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-missed { color: #B42318; font-weight: 700; }
.adm-sub.adm-missed { border-color: #F3B8B2; background: #FDECEA; }
.adm-more summary { cursor: pointer; font-weight: 600; }
.adm-more form { margin-top: 12px; align-items: end; }
#pm-draft { width: 100%; font: inherit; font-size: 15px; padding: 12px; border: var(--input-border, 1px solid var(--line)); border-radius: var(--btn-radius); }
.adm-table tr.is-muted td { opacity: .55; }
#sup-card .field, #sup-add .field, #pm-add .field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
#sup-card input, #sup-card select, #sup-add input, #sup-add select { min-height: 44px; padding: 0 12px; font: inherit; font-weight: 400; border: var(--input-border, 1px solid var(--line)); border-radius: var(--btn-radius); background: var(--surface); }
#sup-add { align-items: end; }
#pm-draft { font-weight: 400; }
/* Buy Me a Coffee button: same height as Ask STP and just to its left, so the back-to-top arrow above Ask STP stays clear */
#bmc-wbtn { width: 48px !important; height: 48px !important; right: calc(max(16px, env(safe-area-inset-right)) + 140px) !important; bottom: max(16px, env(safe-area-inset-bottom)) !important; }
#bmc-wbtn img { width: 26px !important; height: 26px !important; }
@media (max-width: 599px) { #bmc-wbtn { width: 42px !important; height: 42px !important; right: calc(max(16px, env(safe-area-inset-right)) + 122px) !important; } }
.join-level .join-motto { margin-bottom: 8px; color: var(--ink-2); }
.join-level ul { margin: 0; padding-left: 18px; font-size: 15px; }
.join-level li { margin: 3px 0; }

/* v2030 free launch notice */
.launch-note { margin: 0 0 20px; padding: 12px 16px; border-radius: 10px; background: rgba(46,160,67,.12); border: 1px solid rgba(46,160,67,.45); color: inherit; font-size: 15px; line-height: 1.5; }
.launch-note a { color: inherit; font-weight: 600; }
.field-note { font-size: 13px; opacity: .85; margin: 4px 0 10px; }
.field-opt { font-weight: 400; opacity: .75; }
.plans-sub-note { grid-column: 1 / -1; margin: -6px 0 6px; font-size: 14px; opacity: .85; }

/* v2030b: let the Share preview hang below the page banner instead of being cut off */
.page-hero:has(.stp-share) { overflow: visible; }
.page-hero .stp-share { z-index: 950; }
/* v2160 pricing: buttons at the bottom of each card, Pick your apps price ladder, business apps table */
.plan-cta-bottom { margin-top: auto; }
.plan-ladder { width: 100%; border-collapse: collapse; font-size: 14px; }
.plan-ladder td { padding: 5px 4px; border-bottom: 1px solid var(--line); }
.plan-ladder td:last-child { text-align: right; font-weight: 700; }
.biz-table { grid-column: 1 / -1; background: var(--surface); border: var(--card-border); border-radius: calc(var(--card-radius) + 4px); box-shadow: var(--card-shadow); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.biz-table .plans-sub { margin: 0; }
.biz-wrap { overflow-x: auto; }
.biz-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.biz-wrap th { text-align: left; font-size: 13px; padding: 6px 4px; border-bottom: 2px solid var(--ink); }
.biz-wrap td { padding: 6px 4px; border-bottom: 1px solid var(--line); }
.biz-table .plan-cta { width: auto; align-self: flex-start; }

/* v2470: 404 as a taped sticky note (Robert 20 Nov, tape 13); centred above the heading on phones */
.page-hero-error .page-hero-inner{padding-right:clamp(0px,40vw,560px)!important}
.page-hero-error::after{font-size:clamp(120px,22vw,300px)!important;opacity:1!important}
@media (max-width:700px){.page-hero-error .page-hero-inner{padding-right:0!important;padding-top:235px}.page-hero-error::after{top:24px!important;right:auto!important;left:50%!important;transform:translateX(-50%)!important;font-size:130px!important}}
.page-hero-error::after{color:#16233F!important;-webkit-text-stroke:0!important;padding:.05em .18em .1em;border-radius:6px;font-size:clamp(100px,17vw,230px)!important;transform:translateY(-50%) rotate(-4deg)!important;
border-top:62px solid transparent;filter:drop-shadow(0 18px 15px rgba(0,0,0,.25));box-shadow:inset 0 14px 0 rgba(255,255,255,.35);
background:linear-gradient(178.4deg,transparent 0 6%,rgba(255,230,0,.88) 7% 86%,transparent 87%) no-repeat left 31% top 0/51% 92px border-box,
linear-gradient(rgba(217,74,43,.55),rgba(217,74,43,.55)) no-repeat 0 44px/100% 18px border-box,
linear-gradient(#FFE066,#FFE066) no-repeat 0 44px/100% 18px border-box,
linear-gradient(#FFE066,#FFE066) padding-box;border-radius:6px 6px 6px 6px}
@media (max-width:700px){.page-hero-error::after{font-size:104px!important;width:max-content;height:auto!important;bottom:auto!important;transform:translateX(-50%) rotate(-4deg)!important}}
/* v2540b: the 404 note sits inside the page content, just right of the headline (Robert 22 Nov), and the 404 page has no divider line */
.page-404 .page-hero { border-bottom: 0; overflow: visible; }
@media (min-width:701px){
  .page-hero-error::after{content:none!important}
  .page-hero-error .page-hero-inner{padding-right:0!important;min-height:340px}
  .page-hero-error .page-hero-inner > *{max-width:min(620px,52%)}
  .page-hero-error .page-hero-inner::after{content:"404";position:absolute;top:50%;left:calc(clamp(16px,4vw,32px) + min(660px,56%));line-height:1;letter-spacing:-0.06em;pointer-events:none;
    font-family:var(--font-display);font-weight:800;color:#16233F;padding:.05em .18em .1em;font-size:clamp(90px,13vw,200px);transform:translateY(-50%) rotate(-4deg);
    border-top:62px solid transparent;filter:drop-shadow(0 18px 15px rgba(0,0,0,.25));box-shadow:inset 0 14px 0 rgba(255,255,255,.35);
    background:linear-gradient(178.4deg,transparent 0 6%,rgba(255,230,0,.88) 7% 86%,transparent 87%) no-repeat left 31% top 0/51% 92px border-box,
    linear-gradient(rgba(217,74,43,.55),rgba(217,74,43,.55)) no-repeat 0 44px/100% 18px border-box,
    linear-gradient(#FFE066,#FFE066) no-repeat 0 44px/100% 18px border-box,
    linear-gradient(#FFE066,#FFE066) padding-box;border-radius:6px}
}
/* v2790: sales funnel. Main plan and checkout buttons are mid blue in light and dark */
.plans .plan-cta, .biz-table .plan-cta, .co-sheet .co-go { background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; }
.plans .plan-cta:hover, .co-sheet .co-go:hover { background: #1d4ed8 !important; border-color: #1d4ed8 !important; }
.rise-banner { background: #fef3c7; color: #78350f; border-radius: 4px; padding: 10px 14px; font-weight: 600; margin: 0 0 14px; }
.price-promise { border: 1px solid var(--line, #e5e7eb); border-left: 4px solid #2563eb; border-radius: 4px; padding: 12px 14px; margin: 14px 0; }
.co-back { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 10002; display: flex; align-items: center; justify-content: center; padding: 16px; }
.co-sheet { background: var(--surface, #fff); color: var(--ink, #111827); border-radius: 8px; max-width: 520px; width: 100%; max-height: 90vh; overflow: auto; padding: 18px; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.co-sheet h2 { margin: 0 0 6px; font-size: 18px; }
.co-sheet .co-sum { font-size: 14px; margin: 0 0 10px; }
.co-sheet label.co-f { display: block; font-size: 13px; margin: 10px 0 4px; }
.co-sheet input[type=text] { width: 100%; padding: 9px; border: 1px solid #9ca3af; border-radius: 4px; font: inherit; background: var(--surface, #fff); color: inherit; }
.co-sheet .co-add { display: flex; gap: 8px; border: 1px dashed #9ca3af; border-radius: 4px; padding: 8px; margin: 6px 0; font-size: 13px; }
.co-sheet .co-add input { margin-top: 3px; flex: none; }
.co-sheet .co-add small { display: block; opacity: .85; margin-top: 2px; }
.co-sheet .co-acts { display: flex; gap: 8px; margin-top: 14px; }
.co-sheet .co-acts .btn { flex: 1; }
.co-sheet .co-err { color: #b91c1c; font-size: 13px; margin: 6px 0 0; }
.co-sheet .co-fine { font-size: 12px; opacity: .85; margin: 8px 0 0; }
/* v2790b: Pro page wide enough for 4 plan cards in one row (laptop+), 2 by 2 on tablets, 1 column on phones */
@media (min-width:1100px){ body:not(.app-page) .wrap.layout-pricing{max-width:1480px!important} .layout-pricing .plans{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (min-width:640px) and (max-width:1099px){ .layout-pricing .plans{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:639px){ .layout-pricing .plans{grid-template-columns:minmax(0,1fr)} }
.layout-pricing .plans > .plan-wide, .layout-pricing .plans > .plans-sub, .layout-pricing .plans > .plans-sub-note{grid-column:1/-1}
/* v2790b: tick boxes + cost bar in "See what each plan unlocks" */
.unlock th.tk,.unlock td.tk{width:34px;text-align:center}.unlock td.tk input{width:18px;height:18px;accent-color:#2563eb}
.tk-bar{position:sticky;bottom:0;z-index:5;background:#0f1f3d;color:#fff;border-radius:6px;padding:10px 14px;margin-top:8px;display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;font-size:14px}
.tk-bar b{font-size:16px}.tk-bar .best{background:#2563eb;border-radius:4px;padding:3px 8px}.tk-bar button{margin-left:auto;background:#fff;color:#0f1f3d;border:0;border-radius:4px;padding:6px 10px;font-weight:600;cursor:pointer}
