/* Scalene Apex — static site. System fonts only, no external requests. Contrast ≥ 4.5:1 for text (WCAG 2.1 AA). */
:root {
  --ink: #111418;
  --muted: #4a525c; /* 8.0:1 on white */
  --line: #d9dde2;
  --soft: #f4f6f8;
  --accent: #1f4fd1; /* 6.5:1 on white */
  --accent-ink: #ffffff;
  --ok: #156b3a;
  --warn-bg: #fff4d6;
  --warn-ink: #5a4100;
  --radius: 10px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

.top { border-bottom: 1px solid var(--line); background: #fff; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand img { display: block; height: 34px; width: auto; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; flex: 1; }
.top nav a { color: var(--ink); text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.lang { margin: 0; font-size: 15px; }

main { display: block; }
section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 22px 0 6px; }
p, li { max-width: 72ch; }
.lead { font-size: 20px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.hero { padding: 64px 0 48px; background: linear-gradient(180deg, var(--soft), #fff); }
.cta { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 12px 20px; border-radius: var(--radius); text-decoration: none; font-weight: 600; margin-top: 8px; }
.cta:hover { filter: brightness(1.08); }
.cta.alt { background: #fff; color: var(--accent); border: 2px solid var(--accent); margin-left: 8px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.card h3 { margin-top: 0; }
.card ul { padding-left: 20px; margin: 8px 0 0; }

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 24px 0; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.plan.pop { border: 2px solid var(--accent); }
.plan .price { font-size: 32px; font-weight: 700; margin: 6px 0 0; }
.plan .per { color: var(--muted); font-size: 15px; }
.plan ul { padding-left: 20px; margin: 12px 0 0; }

.table-wrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 16px; }
caption { text-align: left; font-weight: 600; padding: 0 0 8px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--soft); }
td.c, th.c { text-align: center; }

ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
pre { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
.note { background: var(--soft); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 6px; }
.draft { margin: 0; background: var(--warn-bg); color: var(--warn-ink); padding: 12px 20px; text-align: center; border-bottom: 1px solid #e8d48f; }
.legal h2 { margin-top: 32px; font-size: 22px; }
.legal { padding-top: 32px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 15px; background: var(--soft); }
.foot p { margin: 4px 0; max-width: none; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .top nav { order: 3; flex-basis: 100%; gap: 14px; }
  .cta.alt { margin-left: 0; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.shots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin-top: 16px; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
