/* unlock.kiwi (S-SITE, 24 Oct 2026). The demo site's look, set as one calm page: the same tokens and font as
   demo.unlock.kiwi's home (TICKET_ARC/unlock-demo-staging/index.html :root): a milky ground, white panels, the admin's deep
   teal for doors and links, the brand orange as a thin accent. IBM Plex Sans from Google Fonts, as the demo. No scripts. */
:root {
  --milk: #F3F4F1;
  --milk-soft: #F8F8F6;
  --panel: #FFFFFF;
  --line: #E3E5E1;
  --ink: #0F1419;
  --ink-soft: #54616E;
  --brand-orange: #F99F1C;
  --gold: #8A6A2F;          /* the demo's eyebrow gold (#B8924E), darkened to 4.5:1 on the milk */
  --teal-deep: #0B3A46;
  --teal: #07566E;
  --teal-tint: #E8F0F1;
  --draft-bg: #FFF4E0;
  --draft-ink: #5A3A00;
  --draft-line: #E9B45C;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--milk);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { min-height: 100vh; display: flex; flex-direction: column; line-height: 1.55; overflow-wrap: break-word; }
main { flex: 1 0 auto; }
a { color: var(--teal); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 5; }

/* ── header: the portals' white top strip with the wordmark; the orange as a 4 px accent under it ── */
.topbar {
  background: var(--panel);
  border-bottom: 1px solid #E5E8EB;
  min-height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-home { display: inline-flex; align-items: center; min-height: 44px; }
.topbar-logo { height: 34px; width: auto; display: block; }
.topbar-signin { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--teal-deep); text-decoration: none; }
.topbar-signin:hover { text-decoration: underline; text-underline-offset: 3px; }
.accent { height: 4px; background: var(--brand-orange); }

/* ── the home page ── */
.hero { padding: 72px 32px 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto 18px;
  text-wrap: balance;
}
.lead { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); max-width: 680px; margin: 0 auto; }
.doors { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  background: var(--teal-deep); color: #FFFFFF; border: 1.5px solid var(--teal-deep);
}
.btn-alt { background: var(--panel); color: var(--teal-deep); }
.btn:hover { opacity: 0.92; }

.band { padding: 8px 32px 56px; }
.band-inner { max-width: 880px; margin: 0 auto; display: grid; gap: 16px; }
.band h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-align: center; margin-bottom: 4px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; min-width: 0; }
.card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 12px; }
.card a.go { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--teal-deep); }
.contact { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; text-align: center; }
.contact p { font-size: 15px; color: var(--ink-soft); }
.contact a { font-weight: 600; color: var(--teal-deep); display: inline-flex; align-items: center; min-height: 44px; }

/* ── the legal pages ── */
.draft-band {
  background: var(--draft-bg);
  color: var(--draft-ink);
  border-bottom: 2px solid var(--draft-line);
  padding: 12px 32px;
  font-size: 15px;
  text-align: center;
}
.draft-band strong { letter-spacing: 0.02em; }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 32px 64px; }
.doc h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 18px; }
.doc h2 { font-size: 20px; font-weight: 600; margin: 28px 0 10px; }
.doc h3 { font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.doc p { margin: 0 0 14px; color: var(--ink); max-width: 70ch; }
.doc ul, .doc ol { margin: 0 0 14px 1.2em; display: grid; gap: 6px; max-width: 70ch; }
.doc blockquote { border-left: 3px solid var(--draft-line); padding: 4px 0 4px 14px; margin: 0 0 14px; color: var(--ink-soft); }
.doc .meta { font-size: 13.5px; color: var(--ink-soft); }
.doc .table-wrap { overflow-x: auto; margin: 0 0 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--panel); border: 1px solid var(--line); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-top: 1px solid var(--line); }
.doc thead th { background: var(--milk-soft); border-top: 0; }
.doc .back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--teal-deep); }

/* ── footer: the demo's white footer ── */
footer { background: var(--panel); border-top: 1px solid #E5E8EB; padding: 24px 32px; text-align: center; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 8px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; color: var(--ink-soft); text-decoration: underline; text-decoration-color: #C9CED3; text-underline-offset: 3px; }
.footer-copy { font-size: 12px; color: var(--ink-soft); }

/* ── phone: a 16 px gutter, the doors one under the other ── */
@media (max-width: 640px) {
  .topbar, .hero, .band, .draft-band, footer { padding-left: 16px; padding-right: 16px; }
  .doc { padding: 32px 16px 48px; }
  .topbar-logo { height: 28px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 26px; }
  .doors { flex-direction: column; }
  .btn { width: 100%; }
  .cards { grid-template-columns: minmax(0, 1fr); }
}
