/* Sellthru: a market stall. Lilac-grey ground, ink type, one coral string. Everything printed is a paper tag with cut corners and a punched hole; the swing tag in the hero, with its percentile ruler and notch, is the one loud object. Instrument Sans throughout, tabular figures for every price. */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/InstrumentSans-latin.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #f6f5f8;
  --surface: #ffffff;
  --soft: #ecebf1;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Crect width='1' height='6' fill='%231b1a22'/%3E%3C/svg%3E");
  --ink: #1b1a22;
  --muted: #595766;
  --line: #d9d6e0;
  --accent: #e0452b;
  --accent-text: #b8321c;
  --accent-soft: #fde7e1;
  --btn: #b8321c;
  --btn-hover: #962615;
  --btn-ink: #ffffff;
  --band: #1b1a22;
  --band-ink: #f6f5f8;
  --radius: 2px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16151b;
    --surface: #211f28;
    --soft: #2a2832;
    --ink: #f3f1f6;
    --muted: #b6b3c2;
    --line: #3a3745;
    --accent: #f0634a;
    --accent-text: #ff8a74;
    --accent-soft: #3b201b;
    --btn: #f0634a;
    --btn-hover: #ff8a74;
    --btn-ink: #16151b;
    --band: #0e0d12;
    --band-ink: #f3f1f6;
    --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Crect width='1' height='6' fill='%23f3f1f6'/%3E%3C/svg%3E");
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); }
p { margin: 0; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; margin: 0; }
h1 { font-size: clamp(2.4rem, 1.2rem + 5.4vw, 4.6rem); line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--btn); color: var(--btn-ink); padding: 10px 16px; border-radius: 2px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--btn-ink); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* header: the bottom edge is a ruler */
.site-header { position: relative; border-bottom: 2px solid var(--ink); background: var(--bg); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 6px; background: var(--tick) 0 0 / 12px 6px repeat-x; opacity: .55; pointer-events: none; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand img { display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.97rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); color: var(--ink); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px 10px 30px; border: 0; background: var(--btn); color: var(--btn-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); }
.btn::before { content: ""; position: absolute; left: 13px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--bg); }
.btn:hover { background: var(--btn-hover); color: var(--btn-ink); }
.btn.quiet { background: var(--ink); color: var(--bg); }
.btn.quiet:hover { background: var(--btn); color: var(--btn-ink); }
.btn.small { min-height: 40px; padding: 6px 20px 6px 26px; font-size: 0.95rem; }

/* hero */
.hero { padding: 56px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { font-size: 1.28rem; line-height: 1.5; max-width: 33rem; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.hero .cta-note { margin-top: 20px; color: var(--muted); max-width: 33rem; font-size: 0.98rem; }

/* the swing tag: paper, cut corners, a punched hole, a coral string; the ruler is its bottom edge and the notch marks where the price sits */
.tagwrap { margin: 0; justify-self: center; width: 100%; max-width: 400px; padding-top: 44px; }
.swing { position: relative; transform-origin: 50% 0; animation: swing 1.1s 1 both; }
@keyframes swing { 0% { transform: rotate(6deg); } 28% { transform: rotate(-3.2deg); } 52% { transform: rotate(1.5deg); } 74% { transform: rotate(-0.55deg); } 100% { transform: rotate(0); } }
.string { position: absolute; z-index: 2; left: calc(50% - 14px); top: -27px; width: 28px; height: 44px; color: var(--accent); overflow: visible; pointer-events: none; }
.tag { position: relative; padding: 52px 26px 2px; background: var(--ink); color: var(--ink); clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%, 0 24px); }
.tag::before { content: ""; position: absolute; inset: 3px; background: var(--surface); clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px); }
.tag > :not(.hole) { position: relative; }
.hole { position: absolute; z-index: 1; top: 14px; left: calc(50% - 9px); width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; border: 3px solid var(--ink); background: var(--bg); }
.tag-title { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.tag-sub { color: var(--muted); font-size: 0.92rem; margin: 2px 0 14px; }
.bands { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bands li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 7px 10px; font-size: 0.95rem; border-left: 4px solid var(--line); }
.bands li.top { background: var(--accent-soft); border-left-color: var(--accent); }
.bands b { font-weight: 700; }
.bands .what { color: var(--muted); font-size: 0.85rem; }
.bands .top .what { color: var(--ink); }
.bands .hearts { text-align: right; font-weight: 600; }
.bands .bar { grid-column: 1 / -1; height: 6px; background: var(--soft); margin-top: 5px; overflow: hidden; }
.bands .bar i { display: block; height: 100%; background: var(--ink); }
.bands .top .bar { background: var(--surface); }
.bands .top .bar i { background: var(--accent); }
.suggest { display: grid; margin-top: 16px; }
.suggest small { font-size: 0.85rem; color: var(--muted); }
.suggest b { font-size: 3.4rem; line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.suggest span { font-size: 0.92rem; }
.ruler { height: 18px; margin: 30px -23px 0; background: linear-gradient(90deg, transparent calc(100% - 2px), var(--ink) 0) 0 100% / 100% 16px no-repeat, linear-gradient(90deg, var(--ink) 2px, transparent 0) 0 100% / 25% 16px repeat-x, linear-gradient(90deg, var(--ink) 1px, transparent 0) 0 100% / 5% 8px repeat-x; }
.scale { position: absolute; left: 0; right: 0; top: -20px; height: 16px; font-size: 0.74rem; line-height: 16px; color: var(--muted); }
.scale span { position: absolute; transform: translateX(-50%); }
.scale span:first-child { transform: none; margin-left: 6px; }
.scale span:last-child { transform: translateX(-100%); margin-left: -6px; }
.notch { position: absolute; bottom: 0; left: var(--at); width: 22px; height: 14px; margin-left: -11px; background: var(--accent); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.notch::before { content: ""; position: absolute; left: 10px; bottom: 13px; width: 2px; height: 20px; background: var(--accent); }
.tagwrap figcaption { margin-top: 26px; text-align: left; font-size: 0.88rem; color: var(--muted); max-width: 26rem; }

/* the independence band */
.band { background: var(--band); color: var(--band-ink); padding: 40px 0; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 56px; align-items: start; }
.band h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.band li { padding-left: 26px; position: relative; }
.band li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 14px; height: 9px; background: var(--accent); clip-path: polygon(0 100%, 50% 0, 100% 100%); }

/* sections */
.section { padding: 80px 0 0; }
.section:last-of-type { padding-bottom: 96px; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px 64px; align-items: start; }
.split > .head > p { margin-top: 14px; color: var(--muted); max-width: 26rem; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); background: var(--tick) 0 0 / 12px 6px repeat-x; }
.who > div { padding: 28px 32px 8px 0; }
.who > div + div { padding-left: 32px; padding-right: 0; border-left: 2px solid var(--ink); }
.who h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px; }
.who p { color: var(--muted); max-width: 30rem; }
.who p + p { margin-top: 10px; }

.rows { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); background: var(--tick) 0 0 / 12px 6px repeat-x; }
.rows li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 4px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 1.1rem; }
.rows p { color: var(--muted); }
.rows .pro-tag { display: inline-block; margin-left: 6px; font-size: 0.78rem; font-weight: 700; color: var(--accent-text); border: 1.5px solid var(--accent-text); border-radius: 2px; padding: 0 6px; vertical-align: 2px; }
.note { margin-top: 18px; padding: 14px 18px; border: 1px dashed var(--muted); border-left: 4px solid var(--accent); background: var(--surface); max-width: 40rem; }

/* prices: three small swing tags, each with a ruler for a foot */
.tickets { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 760px; }
.ticket { position: relative; padding: 46px 22px 30px; background: var(--ink); clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); }
.ticket::before { content: ""; position: absolute; z-index: 1; top: 12px; left: calc(50% - 7px); width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--bg); }
.ticket::after { content: ""; position: absolute; z-index: 0; inset: 2.5px; background: var(--tick) 0 100% / 12px 8px repeat-x, var(--surface); clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px); }
.ticket > * { position: relative; z-index: 1; }
.ticket.pick::after { background: var(--tick) 0 100% / 12px 8px repeat-x, var(--accent-soft); }
.ticket .amount { display: block; font-size: 2.8rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.ticket .per { display: block; margin-top: 6px; font-weight: 600; }
.ticket .get { display: inline-block; margin-top: 12px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ticket .why { display: block; margin-top: 8px; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.price-notes { margin-top: 30px; max-width: 40rem; display: grid; gap: 10px; color: var(--muted); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* questions */
.faq { margin: 0; border-top: 2px solid var(--ink); background: var(--tick) 0 0 / 12px 6px repeat-x; }
.faq > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 6px 48px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; letter-spacing: -0.01em; }
.faq dd { margin: 0; color: var(--muted); max-width: 38rem; }

/* footer */
.site-footer { border-top: 2px solid var(--ink); background: var(--tick) 0 0 / 12px 6px repeat-x; padding: 44px 0 48px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-col { display: grid; gap: 6px; align-content: start; }
.footer-col h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 4px; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--accent-text); text-decoration: underline; }
.trademark { margin-top: 32px; color: var(--muted); font-size: 0.88rem; max-width: 52rem; }

/* text pages: privacy, roadmap, 404, bye */
main.doc { max-width: 780px; margin: 0 auto; padding-top: 56px; padding-bottom: 88px; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 18px; }
.doc h2 { font-size: 1.55rem; margin: 40px 0 10px; }
.doc h3 { margin: 24px 0 8px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc code { background: var(--soft); padding: 1px 5px; border-radius: 2px; font-size: 0.88em; overflow-wrap: anywhere; }
.doc a { overflow-wrap: anywhere; }
.doc .lede { font-size: 1.2rem; line-height: 1.5; color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; overflow-wrap: anywhere; }
.doc thead th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.doc td:first-child { font-weight: 700; width: 22%; }
.doc td:last-child { width: 38%; }

/* pricing: feature names get the room; on a phone each row is a small card with Free and Pro side by side */
.doc table.plans td:first-child { width: 50%; }
.doc table.plans td:last-child { width: 30%; }
.notfound { max-width: 720px; margin: 0 auto; padding-top: 88px; padding-bottom: 96px; }
.notfound h1 { margin-bottom: 14px; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); letter-spacing: -0.03em; }
.notfound p { color: var(--muted); font-size: 1.15rem; margin-bottom: 28px; }

/* roadmap */
.rm-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.rm-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border: 1px solid var(--ink); border-left: 5px solid var(--accent); background: var(--surface); }
.rm-title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rm-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1.5px solid var(--accent-text); color: var(--accent-text); border-radius: 2px; font-size: 0.78rem; white-space: nowrap; }
.rm-note { margin: 20px 0 0; color: var(--muted); }

@media (max-width: 860px) {
  .hero { padding: 36px 0 56px; }
  .hero .wrap, .band .wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: 56px; }
  .section { padding-top: 60px; }
  .who { grid-template-columns: 1fr; }
  .who > div, .who > div + div { padding: 24px 0 4px; border-left: 0; }
  .who > div + div { border-top: 2px solid var(--ink); margin-top: 20px; }
  .faq > div { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .tagwrap { max-width: 360px; padding-top: 40px; }
  .suggest b { font-size: 3rem; }
  .rows li { grid-template-columns: minmax(0, 1fr); }
  .tickets { grid-template-columns: minmax(0, 1fr); max-width: 320px; }
  .rm-item { flex-wrap: wrap; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; width: auto; }
  .doc thead { position: absolute; left: -9999px; }
  .doc tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .doc td, .doc th { border: 0; padding: 2px 0; }
  .doc td:first-child, .doc td:last-child { width: auto; }
  .doc table.plans tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .doc table.plans td, .doc table.plans td:first-child, .doc table.plans td:last-child { width: auto; }
  .doc table.plans td:first-child { grid-column: 1 / -1; margin-bottom: 4px; }
  .doc table.plans td[data-plan]::before { content: attr(data-plan); display: block; font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* store-soon */
.btn.store-soon, .btn.store-soon:hover { background: transparent; color: inherit; border-style: dashed; opacity: .6; cursor: default; filter: none; box-shadow: none; transform: none }
.footer-col .store-soon { display: block; padding: 4px 0; opacity: .6; cursor: default }

/* changelog: one article per release, version and date on one line */

/* checkout return notice */
.checkout-close { min-height: 40px; padding: 6px 22px 6px 26px; }
