/* FreezeFrame's look, as in the app: warm paper, near-black ink, chunky
   borders, a hard drop shadow. Same colors as mobile/src/lib/theme.ts. */
:root {
  --paper: #f9f5ef;
  --card: #fffdf9;
  --ink: #1a1a1a;
  --muted: #7a746c;
  --faint: #ece6dc;
  --blue: #00b6f8;
  --red: #ff1d44;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

a {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.logo {
  display: inline-block;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.5px;
  text-decoration: none;
}

header {
  margin-bottom: 40px;
}

h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

h2 {
  font-size: 22px;
  margin: 40px 0 8px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.muted {
  color: var(--muted);
}

/* The short version: a card with the app's thick outline and hard shadow. */
.card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 18px 22px 6px;
  margin: 24px 0 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 10px 10px 0;
  border-bottom: 2px solid var(--faint);
}

th {
  font-weight: 800;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 3px solid var(--ink);
  font-size: 15px;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  margin-right: 16px;
}

/* Home page */
.hero {
  padding: 48px 0 16px;
}

.hero h1 {
  font-size: 44px;
}

.hero p {
  font-size: 20px;
  max-width: 34em;
}

.dot {
  color: var(--red);
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }
  .hero h1 {
    font-size: 36px;
  }
  th,
  td {
    display: block;
    padding: 4px 0;
    border: 0;
  }
  tr {
    display: block;
    padding: 8px 0;
    border-bottom: 2px solid var(--faint);
  }
}
