/* loyaltycase.com: the pages around the cases (home, privacy, terms). Same look as the cases. No outside fonts. */
:root {
  --paper: #ffffff;
  --ink: #16171b;
  --muted: #646a78;
  --line: #dfe2ea;
  --stamp: #2a43c2;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --font-hand: "Shantell Sans", "Chalkboard SE", cursive;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.screen { flex: 1; width: 100%; max-width: 30rem; margin: 0 auto; display: flex; flex-direction: column; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 18px 0 8px; }
.word { font-family: var(--font-hand); font-weight: 700; font-size: 1.25rem; text-decoration: none; }

/* home: one screen, nothing to scroll */
.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-block: 8px; }
h1 { margin: 0; font-size: 2.625rem; line-height: 1.08; font-weight: 600; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--stamp); }
.sub { margin: 0 0 10px; font-size: 1.1875rem; line-height: 1.45; color: var(--muted); }
.cta { display: flex; flex-direction: column; gap: 10px; }
.btn { height: 54px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: 600 1.0625rem var(--font-body); display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.dark:hover { background: #2c2e36; }
.free { margin: 2px 0 0; text-align: center; font-family: var(--font-hand); font-size: 1rem; color: var(--muted); }

/* his LinkedIn: small, black and white, above Privacy · Terms */
.foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0 22px; font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.foot .legal { display: flex; gap: .55rem; }
.foot .li { display: inline-flex; color: var(--ink); }

/* plain pages: privacy, terms */
.page { flex: 1; padding: 14px 0 28px; font-size: 1.125rem; line-height: 1.6; }
.page h1 { font-size: 2rem; margin: 8px 0 18px; }
.page h2 { margin: 28px 0 6px; font-size: 1.1875rem; font-weight: 600; }
.page p { margin: 0 0 14px; }
.page a { color: var(--stamp); text-underline-offset: .18em; }
.leave { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.leave input { flex: 1 1 12rem; min-width: 0; height: 3rem; padding: 0 .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: 400 1.0625rem var(--font-body); }
.leave input:focus { outline: 2px solid var(--stamp); outline-offset: 1px; border-color: var(--stamp); }
.leave button { height: 3rem; padding: 0 1.1rem; border: 0; border-radius: 12px; background: var(--ink); color: var(--paper); font: 600 1rem var(--font-body); cursor: pointer; }

@media (min-width: 700px) { h1 { font-size: 3.25rem; } .page h1 { font-size: 2.25rem; } }
