:root {
    --ink: #14251f;
    --muted: #66746f;
    --line: #d9e3dd;
    --soft: #f3f8f4;
    --brand: #147d56;
    --brand-dark: #0d6243;
    --danger: #a63434;
    --shadow: 0 24px 70px rgba(20, 37, 31, .12);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fbfdfb; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 6vw, 90px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); }
.brand { color: var(--ink); font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.brand span { color: var(--brand); }
.secure-label { color: var(--muted); font-size: .82rem; }
.page-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 7vw, 96px); align-items: start; }
.hero-grid > div:first-child { padding-top: 48px; }
.eyebrow { color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 12px 0 18px; max-width: 620px; font-size: clamp(2.2rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.06em; }
.lead { max-width: 540px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; color: var(--brand-dark); font-size: .88rem; font-weight: 700; }
.public-page-link { margin-top: 22px; font-size: .86rem; }
.public-page-link a { color: var(--brand-dark); font-weight: 800; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.checkout-card { padding: clamp(22px, 4vw, 40px); }
.checkout-card h2 { margin: 5px 0 10px; font-size: 1.35rem; letter-spacing: -.03em; }
.section-kicker { margin: 0 0 7px; color: var(--brand); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.email-gate, .verification-card, .profile-card, .purchase-card { padding: 19px; border: 1px solid var(--line); border-radius: 16px; }
.email-gate { background: linear-gradient(145deg, #f8fcf9, #fff); }
.verification-card { margin-top: 14px; border-color: #9ed5b8; background: var(--soft); }
.profile-card { margin-top: 14px; border-color: #9ed5b8; }
.purchase-card { margin-top: 14px; background: #fff; }
.inline-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; }
.verification-button { min-height: 48px; white-space: nowrap; }
.change-email { margin-top: 9px; padding: 0; font-size: .8rem; text-decoration: underline; }
.status-success { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--brand-dark); background: #dff4e7; font-size: .75rem; font-weight: 800; }
.status-message { margin-bottom: 14px; padding: 11px 13px; border: 1px solid #a9dbbb; border-radius: 11px; color: var(--brand-dark); background: #effaf2; font-size: .84rem; line-height: 1.45; }
.status-message strong, .status-message span { display: block; }
.status-message strong { margin-bottom: 3px; }
.status-warning { border-color: #f2c27d; color: #8a4b08; background: #fff8eb; }
.verification-code { max-width: 220px; letter-spacing: .25em; text-align: center; font-weight: 800; }
.verified-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.verified-badge { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; color: var(--brand-dark); background: #dff4e7; font-size: .75rem; font-weight: 800; }
.balance-card { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 17px 0 10px; padding: 14px; border-radius: 12px; background: var(--soft); }
.balance-card div { display: grid; gap: 5px; }
.balance-card span { color: var(--muted); font-size: .75rem; }
.balance-card strong { font-size: 1.05rem; }
.masked-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 17px 0 10px; padding: 14px; border-radius: 12px; background: var(--soft); }
.masked-details div { display: grid; gap: 5px; min-width: 0; }
.masked-details span { color: var(--muted); font-size: .75rem; }
.masked-details strong { overflow-wrap: anywhere; font-size: .9rem; }
.balance-request-button { margin-top: 7px; }
.balance-cooldown { margin-top: 7px; }
.locked-input { color: #53645e; background: #f2f6f3; cursor: not-allowed; }
.button:disabled { opacity: .65; cursor: wait; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.narrow-card { width: min(620px, 100%); margin: 24px auto; padding: clamp(28px, 6vw, 60px); text-align: center; }
.field-label { display: block; margin: 20px 0 8px; font-size: .86rem; font-weight: 750; }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #c9d7cf; border-radius: 11px; color: var(--ink); background: #fff; font: inherit; outline: none; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,125,86,.12); }
.hint, .fine-print { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.mode-switch { display: grid; gap: 10px; margin: 25px 0 5px; padding: 0; border: 0; }
.mode-switch legend { margin-bottom: 10px; font-size: .86rem; font-weight: 750; }
.mode-option { display: flex; gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.mode-option:has(input:checked) { border-color: var(--brand); background: var(--soft); }
.mode-option span { display: grid; gap: 2px; }
.mode-option small { color: var(--muted); }
.quick-options { display: flex; gap: 8px; margin-bottom: 9px; }
.quick-button, .link-button, .remove-email { border: 0; background: transparent; color: var(--brand-dark); cursor: pointer; font: inherit; font-weight: 750; }
.quick-button { padding: 8px 12px; border: 1px solid #b8d8c7; border-radius: 999px; font-size: .82rem; }
.quick-button:hover { background: var(--soft); }
.hidden { display: none !important; }
.whitelist-header { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.whitelist-header .field-label { margin-bottom: 0; }
.email-row { display: flex; gap: 8px; margin-top: 8px; align-items: center; }
.remove-email { width: 34px; height: 40px; color: var(--danger); font-size: 1.4rem; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; padding: 16px; border-radius: 14px; background: var(--soft); }
.summary div, .detail-grid div { display: grid; gap: 5px; }
.summary span, .detail-grid span { color: var(--muted); font-size: .78rem; }
.summary strong { font-size: 1.1rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 11px; text-decoration: none; font: inherit; font-weight: 800; cursor: pointer; }
.button.primary { border: 1px solid var(--brand); color: #fff; background: var(--brand); }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.button + .button { margin-top: 10px; }
.full-width { width: 100%; }
.validation { margin: 7px 0; color: var(--danger); font-size: .84rem; }
.success-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: var(--brand); font-size: 1.5rem; font-weight: 900; }
.error-card .success-icon { background: var(--danger); }
.muted { color: var(--muted); line-height: 1.7; }
.voucher-code { margin: 28px 0; padding: 20px; border: 1px dashed #8ac6a8; border-radius: 14px; background: var(--soft); }
.voucher-code span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .8rem; }
.voucher-code strong { color: var(--brand-dark); font-size: clamp(1rem, 3vw, 1.5rem); letter-spacing: .08em; overflow-wrap: anywhere; }
.copy-voucher-button { width: 100%; margin-top: 16px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; text-align: left; }
.warning { margin: 24px 0; padding: 12px; border-radius: 10px; color: #725814; background: #fff8de; font-size: .82rem; line-height: 1.5; }
.reference { margin: 22px 0; padding: 12px; border-radius: 10px; background: var(--soft); font-family: ui-monospace, monospace; font-size: .84rem; overflow-wrap: anywhere; }
.site-footer { padding: 0 20px 35px; color: var(--muted); text-align: center; font-size: .78rem; }
.tracker-card { width: min(1120px, 100%); max-width: none; text-align: left; }
.tracker-card h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.5rem); }
.tracker-lead { max-width: 720px; }
.tracker-step { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #f8fcf9, #fff); }
.tracker-form { max-width: 620px; }
.tracker-alert { margin: 18px 0; padding: 13px 15px; border: 1px solid #efaaaa; border-radius: 11px; background: #fff1f1; }
.tracker-success { margin-top: 20px; }
.tracker-auth-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-top: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tracker-auth-heading h2 { margin: 4px 0 5px; font-size: 1.35rem; overflow-wrap: anywhere; }
.tracker-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.tracker-summary div { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.tracker-summary span, .tracker-table small { color: var(--muted); font-size: .75rem; }
.tracker-summary strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.tracker-security-note { margin: 16px 0; padding: 12px 14px; border: 1px solid #bfdbfe; border-radius: 11px; color: #1e3a8a; background: #eff6ff; font-size: .78rem; line-height: 1.5; }
.tracker-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.tracker-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .82rem; }
.tracker-table th { padding: 13px 14px; color: var(--muted); background: var(--soft); font-size: .72rem; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.tracker-table td { padding: 15px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.tracker-table td:nth-child(3), .tracker-table td:nth-child(5) { display: table-cell; }
.tracker-table td strong, .tracker-table td small { display: block; }
.tracker-table td small { margin-top: 4px; }
.tracker-table td:nth-child(3) strong { max-width: 360px; overflow-wrap: anywhere; line-height: 1.45; }
.tracker-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.tracker-badge.purchase { color: var(--brand-dark); background: #dff4e7; }
.tracker-badge.redemption { color: #8a5410; background: #fff0c8; }
.tracker-positive { color: var(--brand-dark); font-weight: 800; white-space: nowrap; }
.tracker-negative { color: var(--danger); font-weight: 800; white-space: nowrap; }
.tracker-empty { padding: 30px !important; color: var(--muted); text-align: center; }
.tracker-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); font-size: .8rem; }
.tracker-back-link { margin: 24px 0 0; text-align: center; font-size: .82rem; }
.tracker-back-link a { color: var(--brand-dark); font-weight: 750; }
@media (max-width: 780px) { .site-header { height: 64px; } .secure-label { display: none; } .page-shell { padding-top: 28px; } .hero-grid { grid-template-columns: 1fr; gap: 26px; } .hero-grid > div:first-child { padding-top: 0; } h1 { font-size: 2.65rem; } .inline-action { grid-template-columns: 1fr; } .verification-button { width: 100%; } .masked-details { grid-template-columns: 1fr; } }
@media (max-width: 780px) { .tracker-summary { grid-template-columns: repeat(2, 1fr); } .tracker-auth-heading { flex-direction: column; } }
