/* Tasmania - one stylesheet for every page. System fonts only (nothing to download = fast on phones). */
:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-2: #eef3f0;
  --ink: #0b1f1c;
  --ink-2: #33483f;
  --muted: #62756f;
  --line: #d9e3de;
  --brand: #0e6b58;
  --brand-hover: #0a5747;
  --brand-ink: #ffffff;
  --brand-soft: #dff1e9;
  --accent: #f2b544;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --focus: #1d9e7e;
  --shadow: 0 1px 2px rgba(11, 31, 28, .06), 0 8px 24px rgba(11, 31, 28, .08);
  --radius: 14px;
  --radius-sm: 10px;
  --embed-bg: #2b2d31;
  --embed-ink: #dbdee1;
  --embed-muted: #949ba4;
  --embed-link: #00a8fc;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1412;
    --surface: #131e1b;
    --surface-2: #182622;
    --ink: #e7efec;
    --ink-2: #bccbc6;
    --muted: #8ea39d;
    --line: #243631;
    --brand: #35c497;
    --brand-hover: #4fd6ab;
    --brand-ink: #04211a;
    --brand-soft: #173a31;
    --danger: #ff8a7a;
    --danger-soft: #3a1714;
    --focus: #5ee0b8;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-underline-offset: 2px; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header / footer */
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo svg { width: 28px; height: 28px; flex: none; }
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 28px 0 40px; color: var(--muted); font-size: .875rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.foot a { color: var(--ink-2); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .05s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--brand-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 8px 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }

/* landing */
.hero { padding: 20px 0 8px; display: grid; gap: 28px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 44px 0 24px; } }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
@media (min-width: 520px) { .cta-row { flex-direction: row; align-items: center; } }
.fine { font-size: .9rem; color: var(--muted); }
.fine b { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 10px; text-align: center; }
.stat b { display: block; font-size: 1.35rem; letter-spacing: -0.02em; }
.stat span { font-size: .78rem; color: var(--muted); line-height: 1.3; display: block; }
section.block { padding: 40px 0 8px; }
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.steps .card::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 10px; }
.feat { display: grid; gap: 12px; }
@media (min-width: 800px) { .feat { grid-template-columns: 1fr 1fr; } }
.feat .card { display: flex; gap: 14px; box-shadow: none; }
.feat svg { width: 26px; height: 26px; flex: none; color: var(--brand); margin-top: 2px; }
.feat h3 { margin-bottom: 4px; }
.feat p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.fields { display: grid; gap: 10px; }
@media (min-width: 700px) { .fields { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fields { grid-template-columns: repeat(3, 1fr); } }
.fields .card { box-shadow: none; }
.fields p { margin: 0; color: var(--muted); font-size: .92rem; }
.price { max-width: 460px; margin: 0 auto; text-align: center; border: 2px solid var(--brand); }
.price .amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 6px 0; }
.price ul { text-align: left; padding: 0; margin: 16px 0 18px; list-style: none; }
.price li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px solid var(--line); }
.price li:last-child { border-bottom: 0; }
.price li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.compare { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 11px; font-size: 1.3rem; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--ink-2); }

/* the example Discord alert */
.phone { background: #1e1f22; border-radius: 22px; padding: 14px; box-shadow: var(--shadow); max-width: 420px; width: 100%; justify-self: center; }
.chan { color: #b5bac1; font-weight: 700; font-size: .9rem; padding: 2px 6px 10px; display: flex; align-items: center; gap: 6px; }
.chan svg { width: 16px; height: 16px; }
.msg { display: flex; gap: 10px; padding: 6px 4px; }
.msg .av { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); flex: none; display: grid; place-items: center; }
.msg .av svg { width: 20px; height: 20px; color: #fff; }
.msg .who { color: #f2f3f5; font-weight: 700; font-size: .9rem; }
.msg .who small { color: #949ba4; font-weight: 400; margin-left: 6px; font-size: .75rem; }
.msg .who .tag { background: #5865f2; color: #fff; font-size: .62rem; padding: 1px 4px; border-radius: 3px; margin-left: 4px; vertical-align: 1px; }
.embed { background: var(--embed-bg); border-left: 4px solid #2ecc71; border-radius: 4px; padding: 10px 12px; margin-top: 6px; color: var(--embed-ink); font-size: .84rem; }
.embed .t { color: var(--embed-link); font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.embed .grid { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 14px; }
.embed .k { color: #f2f3f5; font-weight: 700; font-size: .75rem; }
.embed .v { font-size: .8rem; }
.embed .note { margin-top: 6px; }
.embed .f { color: var(--embed-muted); font-size: .7rem; margin-top: 8px; }
.example-label { color: #949ba4; font-size: .72rem; text-align: center; margin-top: 8px; }

/* signup flow */
.flow { padding-bottom: 120px; }
.progress { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 10px 0 12px; }
.progress .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; }
.bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .25s; }
.step { padding-top: 8px; }
.step h1 { font-size: clamp(1.5rem, 6vw, 2.1rem); margin-bottom: 8px; }
.step .hint { color: var(--muted); margin-bottom: 18px; }
.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; min-height: 58px;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; font: inherit; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.opt:hover { border-color: var(--brand); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.opt .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.opt[aria-checked="true"] .box { background: var(--brand); border-color: var(--brand); }
.opt[aria-checked="true"] .box::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--brand-ink); border-bottom: 2.5px solid var(--brand-ink); transform: rotate(-45deg) translate(1px, -1px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px;
  padding: 9px 14px; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.chip[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; max-height: 300px; overflow: auto; padding: 2px; }
.states .chip { border-radius: var(--radius-sm); padding: 8px 6px; font-size: .88rem; text-align: center; }
.field { display: block; font-weight: 700; margin: 16px 0 6px; }
.opt[role="radio"] .box { border-radius: 50%; }
input[type=text], input[type=email], input[type=search], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 16px;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.err { background: var(--danger-soft); color: var(--danger); border-radius: var(--radius-sm); padding: 10px 12px; margin: 12px 0; font-weight: 600; }
.notice { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; margin: 12px 0; color: var(--ink-2); }
.live { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--ink); min-height: 48px; }
.live b { color: var(--brand); }
.live ul { margin: 8px 0 0; padding-left: 18px; font-size: .9rem; color: var(--ink-2); }
.actions { position: fixed; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, var(--bg) 70%, transparent); padding: 18px 16px calc(14px + env(safe-area-inset-bottom)); z-index: 5; }
.actions .wrap { padding: 0; display: flex; flex-direction: column; gap: 8px; }
.consent { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.flow { padding-bottom: 160px; }
.drop { display: block; border: 2px dashed var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; cursor: pointer; background: var(--surface); }
.drop:hover { border-color: var(--brand); }
.drop input { display: none; }
.summary { list-style: none; padding: 0; margin: 0 0 12px; }
.summary li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.summary li span:first-child { color: var(--muted); flex: none; width: 30%; }
.summary li span:nth-child(2) { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.summary .linkbtn { flex: none; padding: 0; }
.paybox { margin: 18px 0; padding: 16px; border: 2px solid var(--brand); border-radius: var(--radius); background: var(--surface); }
.paybox .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.paybox .amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .45); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* simple pages */
.page { padding-top: 12px; padding-bottom: 20px; }
.page h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
.page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.page li { margin-bottom: .4em; }
.big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; margin: 10px 0 16px; }
.big-check svg { width: 34px; height: 34px; }
ol.next { padding-left: 1.2em; }
ol.next li { margin-bottom: 1em; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
