/* One stylesheet for the sales page, the payment page and the demo. System fonts, no external files. */
:root {
  --ink: #102a2b; --muted: #47595a; --bg: #f6f4ef; --card: #ffffff; --line: #d8d5cc;
  --brand: #0f766e; --brand-dark: #0f3d3e; --accent: #b45309; --soft: #e3f1ee; --warn-bg: #fff4dd;
  --radius: 12px; --max: 1080px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--brand-dark); background: var(--brand-dark); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: #0a2c2d; }
.btn.ghost { background: transparent; color: var(--brand-dark); }
.btn.ghost:hover { background: var(--soft); }
.btn.block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header and footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.logo { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.logo span { display: inline-block; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-dark); color: #fff; text-align: center; line-height: 28px; font-size: .95rem; }
.top nav { display: flex; gap: 6px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 600; }
footer { margin-top: 56px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
footer p { margin: 0 0 .4em; }

/* Sales page */
.hero { padding-block: 36px 44px; }
.hero p.lead { font-size: 1.2rem; max-width: 40em; color: var(--muted); }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero .btn-row { margin-top: 26px; }
.band { padding: 44px 0; }
.band.alt { background: #fff; border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.band.alt .steps li { background: var(--bg); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-dark); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); }
.shots { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; margin-top: 24px; }
@media (min-width: 860px) { .shots { grid-template-columns: 2.6fr 1fr; } }
figure { margin: 0; }
figure img { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; width: 100%; }
figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.points { display: grid; gap: 18px 28px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 20px; }
.points p { color: var(--muted); margin: 0; }
.contact-card { background: var(--brand-dark); color: #fff; border-radius: 20px; padding: 32px 26px; }
.contact-card h2, .contact-card p { color: #fff; }
.contact-card .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
.contact-card .btn:hover { background: var(--soft); }
.contact-card .btn.ghost { background: transparent; color: #fff; }
.contact-card .btn.ghost:hover { background: rgba(255, 255, 255, .12); }

/* Cards, shared by the payment page and the demo */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 1.3rem; }
.notice { background: var(--warn-bg); border: 1px solid #e7c98a; border-radius: var(--radius); padding: 12px 16px; margin: 0 0 16px; }

/* Payment page */
.pay { max-width: 560px; margin: 0 auto; padding: 22px 16px 0; }
.pay-body { min-height: 100vh; min-height: 100svh; }
.pay h1 { font-size: 1.45rem; margin-bottom: 4px; }
.amount { font-size: clamp(2.2rem, 10vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 6px 0 14px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.options { display: grid; gap: 12px; margin-top: 14px; }
.option-note { margin: -4px 0 4px; }
.after-options { margin: 14px 0 0; }
.option h3 { margin: 0 0 6px; font-size: 1rem; }
.option + .option { border-top: 1px solid var(--line); padding-top: 12px; }
pre.bank { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 8px 0 0; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.copy-row code { font: 600 1rem ui-monospace, Consolas, monospace; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; overflow-wrap: anywhere; }

/* Demo */
.demo-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin: 6px 0 16px; }
.demo-head h1 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); margin: 0; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.controls label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
select, .controls .btn { min-height: 44px; }
select { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid #8a9797; background: #fff; color: var(--ink); max-width: 100%; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.tile .label { font-size: .88rem; color: var(--muted); font-weight: 600; }
.tile .value { font-size: clamp(1.45rem, 5vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.tile .sub { font-size: .85rem; color: var(--muted); }
.tile.hero-tile { background: var(--brand-dark); border-color: var(--brand-dark); }
.tile.hero-tile .label, .tile.hero-tile .value, .tile.hero-tile .sub { color: #fff; }
.grid2 { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 860px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.grid2 .card + .card { margin-top: 0; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .95rem; }
thead th { font-size: .82rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
td.num, th.num { text-align: right; padding-left: 10px; padding-right: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bars td.bar { width: 40%; }
.bars td.num:last-child, .bars th.num:last-child { padding-right: 0; }
@media (max-width: 520px) { .bars td.bar { width: 26%; } .bars th, .bars td { font-size: .88rem; } }
.bars th[scope="row"] { font-weight: 500; white-space: nowrap; }
.bar-track { display: block; height: 14px; }
.bar-fill { display: block; height: 14px; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--brand); }
.bar-fill.warm { background: var(--accent); }
.scroll { overflow-x: auto; }
.scroll table { min-width: 780px; }
.scroll th, .scroll td { white-space: nowrap; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--soft); color: var(--brand-dark); white-space: nowrap; }
.log { list-style: none; margin: 0; padding: 0; }
.log li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.log li:last-child { border-bottom: 0; }
.log button { font: inherit; font-weight: 600; background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--brand-dark); text-decoration: underline; cursor: pointer; }
.mail { white-space: pre-wrap; overflow-wrap: anywhere; font: .95rem/1.5 system-ui, sans-serif; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin: 8px 0 0; }
.mail-subject { font-weight: 700; margin: 0; }
