/* Text pages (support, privacy): a readable column on the night background. */
:root {
  color-scheme: dark;
  --bg: #03040c;
  --text: #efe7d2;
  --muted: #9aa0b4;
  --lamp: #ffcf6b;
  --line: #262b3d;
  --card: #0e1020;
  --ok: #9fd8a4;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 17px/1.6 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
.page { max-width: 640px; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top)) 16px calc(48px + env(safe-area-inset-bottom)); }
h1 { font: 34px/1.15 'Patrick Hand', cursive; color: var(--lamp); margin: 8px 0 12px; font-weight: 400; }
h2 { font: 24px/1.2 'Patrick Hand', cursive; color: var(--lamp); margin: 32px 0 8px; font-weight: 400; }
a { color: var(--lamp); }
p { margin: 8px 0; }
.lead { font-size: 1.05rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.back { margin: 0 0 8px; font-size: .9rem; }
.back a { color: var(--muted); }
.hidden { display: none !important; }

.lines { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.lines li {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.lines .num {
  grid-row: span 2; font-weight: 600; font-size: 1.3rem; color: #1a1406; background: var(--lamp);
  border-radius: 12px; padding: 8px 12px; text-decoration: none; text-align: center; min-width: 76px;
}
.lines.urgent .num { background: #ff9c86; }
.lines span { font-size: .92rem; }
.lines .state { font-style: normal; font-size: .85rem; color: var(--muted); }
.lines .state.open { color: var(--ok); }

.quote { background: var(--card); border-left: 3px solid var(--lamp); padding: 10px 14px; border-radius: 6px; }
.btn {
  font: inherit; font-weight: 600; color: #1a1406; background: var(--lamp); border: 0; border-radius: 12px;
  padding: 10px 16px; min-height: 44px; cursor: pointer;
}
.steps { padding-left: 1.3rem; }
.steps li { margin: 6px 0; }
.links { margin-top: 36px; font-size: .92rem; color: var(--muted); }
dl { margin: 8px 0; }
dt { font-weight: 600; margin-top: 12px; }
dd { margin: 2px 0 0; color: #d8d1bd; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  margin: 0; padding: 8px 14px; border-radius: 999px; background: #1d2135; color: var(--text); font-size: .9rem;
}
