/* The TitanKeys site: cream on ink with the Titan 2 Elite's orange, as in the app. No web fonts or outside files, so a
   visit asks nothing from any other server. */
:root {
  --orange: #EF804E;
  --ink: #160A04;
  --cream: #FFF1E6;
  --muted: #A2958C;
  --line: #3A2A20;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

a { color: var(--orange); }

h1 { font-size: 2.2em; line-height: 1.15; margin: 0.4em 0 0.2em; }
h2 { font-size: 1.35em; margin: 2em 0 0.5em; padding-top: 0.6em; border-top: 1px solid var(--line); }
h3 { font-size: 1.05em; margin: 1.4em 0 0.3em; color: var(--orange); }

.brand { display: inline-block; text-decoration: none; color: var(--cream); font-weight: 600; }
.brand span { color: var(--orange); }
.lead { font-size: 1.15em; }
.muted { color: var(--muted); }

.summary {
  border: 1px solid var(--orange);
  border-radius: 12px;
  padding: 4px 20px;
  margin: 24px 0;
}

ul { padding-left: 1.2em; }
li { margin: 0.3em 0; }

table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
th, td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

.button {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  margin: 8px 8px 8px 0;
}

footer { margin-top: 48px; color: var(--muted); font-size: 0.9em; }

@media (max-width: 480px) {
  body { font-size: 17px; }
  h1 { font-size: 1.8em; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: none; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  td:first-child { font-weight: 600; }
}
