/* Noteabrief's dark look (noteabrief-desktop/design-system/tokens.json): two flat greys, solid
   inks, the saffron accent, Geist (self-hosted, SIL OFL 1.1: fonts/Geist-OFL.txt), round controls. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #171717;
  --card: #191919;
  --raised: #232323;
  --chip: #2a2a2a;
  --line: rgba(255, 255, 255, 0.07);
  --ink: #ececec;
  --ink-2: #b4b4b4;
  --ink-3: #8e8e8e;
  --saffron: #f2b544;
  --on-saffron: #1f1500;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shell {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.mark { width: 28px; height: 28px; fill: #e9e8e4; }
.mark .dot { fill: var(--saffron); }

.wordmark {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.badge {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--ink-3);
  font-size: 11px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 16px;
  margin-bottom: 16px;
}

h1 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 10px; color: var(--ink); }
.meta { color: var(--ink-2); font-size: 13px; }

.tick {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0 12px;
  padding: 12px 14px;
  background: var(--raised);
  border-radius: 12px;
  cursor: pointer;
}

.tick input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--saffron);
  cursor: pointer;
}

.tick span { font-size: 13px; }

.checkout-frame { min-height: 0; }
.checkout-frame[hidden] { display: none; }

.actions { margin-top: 12px; display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  font: 500 12.5px/1 "Geist", system-ui, sans-serif;
  text-decoration: none;
}

.btn-primary { background: var(--saffron); color: var(--on-saffron); }
.btn-primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.foot { margin-top: 24px; color: var(--ink-3); font-size: 11.5px; text-align: center; }
.foot p { color: var(--ink-3); }

[hidden] { display: none !important; }
