/* ==========================================================================
   Tabcove — GitHub Pages site
   Same tokens as the extension, so the site and the product look like one thing.
   Self-contained: no webfonts, no analytics, no third-party requests at all —
   which is the same promise the product makes.
   ========================================================================== */

:root {
  color-scheme: light dark;

  --brand-900: #062f35;
  --brand-700: #0a5a63;
  --brand-600: #0e7c86;
  --brand-050: #eaf7f8;
  --accent: #f2a33c;

  --bg: #f7f9fa;
  --surface: #ffffff;
  --surface-2: #f1f5f6;
  --border: #dce4e6;
  --text: #0f1b1e;
  --muted: #5a6b6f;

  --r: 12px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1416;
    --surface: #131f22;
    --surface-2: #1b292d;
    --border: #25373c;
    --text: #e8f1f2;
    --muted: #9bb0b4;
    --brand-600: #3fb2bc;
    --brand-050: #10333a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header --------------------------------------------------------------- */
header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 18px;
}

nav.site a:hover {
  color: var(--brand-600);
}

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(900px 340px at 50% -10%, var(--brand-050), transparent 70%);
}

.hero img.mark {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  margin-bottom: 20px;
}

h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.tagline {
  font-size: 19px;
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #20160a;
  font-weight: 650;
  padding: 12px 24px;
  border-radius: var(--r);
  text-decoration: none;
}

.cta:hover {
  background: #d98a20;
}

.cta-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* ---- Content -------------------------------------------------------------- */
main {
  padding: 40px 0 72px;
}

h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}

h3 {
  font-size: 17px;
  margin: 28px 0 8px;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--brand-600);
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 5px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

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

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

thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

tbody th {
  white-space: nowrap;
  font-weight: 500;
  width: 1%;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-600);
  border-radius: var(--r);
  padding: 16px 18px;
  margin: 24px 0;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.meta {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---- Footer --------------------------------------------------------------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0 48px;
  font-size: 13.5px;
  color: var(--muted);
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

footer.site a {
  color: var(--muted);
  margin-left: 16px;
}

@media (max-width: 560px) {
  h1 {
    font-size: 30px;
  }

  .hero {
    padding: 48px 0 36px;
  }

  footer.site .wrap {
    flex-direction: column;
  }

  footer.site a {
    margin: 0 16px 0 0;
  }
}
