
:root {
  --ink: #1f2428;
  --muted: #5d676e;
  --line: #e4e7e9;
  --paper: #ffffff;
  --wash: #f6f7f7;
  --accent: #cc4129;
  --accent-deep: #b23a22;
  --accent-wash: #fdf0ec;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--wash);
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
.wrap.wide { max-width: 70rem; }
header.site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.25rem 0 .5rem; }
.brand { font-weight: 650; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.brand::before {
  content: ""; display: inline-block; width: .62em; height: .62em; margin-right: .45em;
  border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg);
}
main { padding-bottom: 2rem; }
h1 { font-size: 1.65rem; line-height: 1.25; font-weight: 650; margin: 1.75rem 0 1.25rem; overflow-wrap: anywhere; }
h2 { font-size: 1.1rem; line-height: 1.3; font-weight: 650; margin: 0 0 .75rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 .5rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--accent-deep); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.pre-line { white-space: pre-line; }
.gap-top { margin-top: .85rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; margin: 0 0 1rem; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.spread { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 2.75rem; padding: .55rem 1.15rem; border: 1px solid #d3d8db; border-radius: 999px;
  background: var(--paper); color: var(--ink); font: inherit; font-weight: 550;
  text-decoration: none; cursor: pointer;
}
button:hover, .button:hover { border-color: #b9c0c4; color: var(--ink); }
.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
button.small, .button.small { min-height: 2.25rem; padding: .3rem .85rem; font-size: .875rem; }
button.quiet { border-color: transparent; background: none; color: var(--muted); text-decoration: underline; padding-inline: .35rem; }
button:focus-visible, .button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
form { margin: 0; }
label { display: block; font-weight: 550; margin-bottom: .35rem; }
input[type=email], input[type=text], input[type=search], select, textarea {
  width: 100%; padding: .65rem .8rem; border: 1px solid #cfd5d8; border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit;
}
textarea { min-height: 4.5rem; resize: vertical; }
.field { margin-bottom: 1rem; }
.check { display: flex; align-items: flex-start; gap: .55rem; font-weight: 400; }
.check input { margin: .3rem 0 0; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }
.key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.02rem; letter-spacing: .04em; overflow-wrap: anywhere; }
.pill { display: inline-block; padding: .05rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: var(--wash); color: var(--muted); font-size: .8rem; white-space: nowrap; }
.pill.full { border-color: #f2c6bb; background: var(--accent-wash); color: var(--accent-deep); }
.notice { margin: 0 0 1rem; padding: .75rem 1rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; background: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .75rem; margin: 1rem 0 0; }
.plan { display: flex; flex-direction: column; gap: .45rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.plan h3 { margin: 0; }
.plan p { margin: 0; }
.plan-price { font-size: 1.35rem; font-weight: 650; }
.plan-price span { color: var(--muted); font-size: .95rem; font-weight: 500; }
.plan-saving { color: var(--accent-deep); font-size: .875rem; font-weight: 600; }
.plan button { margin-top: auto; width: 100%; padding-inline: .75rem; }
ul.list { list-style: none; margin: .5rem 0 0; padding: 0; }
ul.list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.licence + .licence { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.licence .row + p { margin-top: .6rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.stat { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.stat b { display: block; font-size: 1.35rem; font-weight: 650; line-height: 1.3; }
.stat span { color: var(--muted); font-size: .85rem; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .925rem; }
th, td { padding: .55rem .6rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .8rem; font-weight: 600; border-top: 0; }
td.num, th.num { text-align: right; }
.filters { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; margin-bottom: 1rem; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
footer.site { padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: .85rem; }
dialog.first-open {
  width: min(34rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto;
  padding: 1.35rem 1.35rem 1.1rem; border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--ink); box-shadow: 0 24px 70px rgb(0 0 0 / .28);
}
dialog.first-open::backdrop { background: rgb(31 36 40 / .45); }
.first-open h2 { margin: 0 0 .5rem; }
.first-open h2:focus { outline: none; }
.first-open-steps { display: grid; gap: 1rem; margin: 1rem 0 0; padding-left: 1.3rem; }
.first-open-steps p { margin: 0; }
.first-open-steps img { display: block; width: 100%; max-width: 21rem; height: auto; margin-top: .55rem; }
.first-open-actions { justify-content: flex-end; margin-top: 1.25rem; }
@media (max-width: 34rem) {
  h1 { font-size: 1.4rem; margin-top: 1.25rem; }
  .card { padding: 1.1rem; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters input { grid-column: 1 / -1; }
  dl.facts { grid-template-columns: 1fr; gap: .1rem; }
  dl.facts dd { margin-bottom: .5rem; }
}
