:root {
  --ground: #F7F7F5;
  --surface: #FFFFFF;
  --surface-2: #F1F1EC;
  --line: #E6E6E1;
  --ink: #16181D;
  --muted: #5F636C;
  --accent: #2F5BEA;
  --accent-soft: #E8EEFD;
  --ok: #17663A;
  --ok-soft: #E7F3EC;
  --font-text: Inter, system-ui, sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  background: var(--ground);
}

.bar {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.logo { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.logo span { color: var(--accent); }

section { padding: 26px 18px; border-bottom: 1px solid var(--line); }
section.last { border-bottom: 0; }

h1, h2 { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
h1 { font-size: 26px; line-height: 1.15; margin: 0 0 10px; letter-spacing: -.01em; }
h2 { font-size: 20px; line-height: 1.2; margin: 0 0 14px; }

p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 16px; }
p.flush { margin: 0; }

.cta {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  font: 600 15px Inter, system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}
.cta:hover { background: #2549C4; }
.cta:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; box-shadow: 0 0 0 2px var(--accent); }

.note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

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

.lbl { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lbl .mono { font-size: 11px; }

.bub { max-width: 82%; padding: 9px 12px; border-radius: 18px; font-size: 13px; line-height: 1.4; margin-bottom: 6px; }
.bub.c { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bub.a { background: var(--accent-soft); margin-left: auto; border-bottom-right-radius: 6px; }

.t { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin: -2px 0 8px; }
.t.r { text-align: right; }

.step { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; }
.step .n { font-family: var(--font-head); font-weight: 600; color: var(--accent); font-size: 18px; width: 22px; flex: none; }
.step b { font-size: 14px; display: block; margin-bottom: 2px; }
.step span { font-size: 13px; color: var(--muted); line-height: 1.45; }

.h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.h b { font-size: 14px; }
.pill { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }

.row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 6px 0; border-top: 1px solid var(--surface-2); }
.row span:first-child { color: var(--muted); flex: none; }
.row span:last-child { text-align: right; }

ul { margin: 0; padding: 0; list-style: none; }
li { font-size: 13px; line-height: 1.45; padding: 8px 0 8px 18px; border-top: 1px solid var(--line); position: relative; }
li:first-child { border-top: 0; }
li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.two div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; font-size: 13px; }
.two b { display: block; font-size: 13px; margin-bottom: 2px; }
.two span { color: var(--muted); font-size: 12px; }

footer { padding: 20px 18px; font-size: 12px; color: var(--muted); line-height: 1.6; }
footer a { color: var(--muted); }

@media (min-width: 900px) {
  .bar { padding: 18px 24px; }
  .logo { font-size: 17px; }
  section { padding: 40px 32px; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  p { font-size: 16px; }
  .bub, li, .row, .step span, .two div { font-size: 15px; }
  .step b, .h b, .two b { font-size: 16px; }
  .two span { font-size: 14px; }
  .note, footer { font-size: 13px; }
  footer { padding: 24px 32px; }
}
