/* Support, privacy and claim pages. Standalone from the pane's stylesheet —
   these are read in a browser at full width, not in a 320px task pane, and they
   must render on a reviewer's machine with no build step and no webfont fetch. */
:root {
  color-scheme: light dark;
  --ink: #1b1b1b;
  --muted: #5a5a5a;
  --rule: #e0e0e0;
  --link: #0b5cab;
  --page: #ffffff;
  --key-bg: #f4f4f4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8e8e8;
    --muted: #a8a8a8;
    --rule: #3a3a3a;
    --link: #7ab3f0;
    --page: #161616;
    --key-bg: #242424;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.6 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.1rem;
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.lead {
  color: var(--muted);
  margin-top: 0;
}

a {
  color: var(--link);
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

/* The claim page. The key is the only thing on it that matters, so it is the
   only thing styled to stand out — selectable, monospace, and big enough to
   read off a screen while typing it into the pane on another machine. */
.key {
  display: block;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.15rem;
  word-break: break-all;
  user-select: all;
  background: var(--key-bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}

.status {
  color: var(--muted);
}

.error {
  border-left: 3px solid #c0392b;
  padding-left: 0.9rem;
}

/* The buy page. Two plans side by side where there is room, stacked where there
   is not — the seat count and the buy button must stay reachable on a phone. */
.cycle label {
  margin-right: 1rem;
}

.plans {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.plan {
  flex: 1 1 16rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0 1.1rem 0.5rem;
}

.plan h3 {
  font-size: 1rem;
  margin-bottom: 0;
}

.price strong {
  font-size: 1.6rem;
}

button {
  font: inherit;
  color: var(--page);
  background: var(--link);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.1);
}

#seats {
  font: inherit;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.45rem 0.5rem;
  width: 4.5rem;
  margin-right: 0.5rem;
}
