:root {
  --text: #1a1a1a;
  --grey: #666;
  --rule: #e2e2e2;
  --bg: #fff;
  --soft: #f6f6f4;
  --button: #1a1a1a;
  --button-text: #fff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 40px; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 26px; font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .3em; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: #fff; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 17px; text-decoration: none; }
.site-header nav a { text-decoration: none; margin-left: 24px; font-size: 15px; color: var(--grey); }
.site-header nav a:hover, .site-header nav a.current { color: var(--text); }

/* Buttons */
.button {
  display: inline-block; padding: 12px 22px; border-radius: 4px;
  background: var(--button); color: var(--button-text);
  font-size: 16px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer;
}
.button:hover { opacity: .9; }
.button.secondary { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.price { font-size: 20px; font-weight: 600; }
.buy-note { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--grey); }

/* Page sections */
.section { padding: 56px 0; border-top: 1px solid var(--rule); }
.section:first-of-type { border-top: 0; }
.two-col { display: grid; gap: 32px; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } }
.small { font-size: 14px; color: var(--grey); }
.screenshot { border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,.18); }

/* Spec table */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; font-size: 14px; color: var(--grey); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav a { margin-right: 20px; text-decoration: none; }
.site-footer p { margin: 0; }

@media (max-width: 600px) {
  h1 { font-size: 32px; }
  .site-header .container { height: auto; padding-top: 14px; padding-bottom: 14px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-header nav a { margin: 0 18px 0 0; font-size: 15px; }
  .section { padding: 40px 0; }
}
