/* Feather Linux site — brand palette from assets/branding/BRAND.md
   Midnight #112B4E · Feather teal #18B7B0 · Slate #477083 · Warm white #F7F5F1 */

:root {
  --midnight: #112B4E;
  --teal: #18B7B0;
  --teal-dark: #0f8c86;
  --slate: #477083;
  --warm-white: #F7F5F1;
  --ink: #1b2733;
  --muted: #5a6b78;
  --line: #e3e0d9;
  --line-strong: #d3cfc6;
  --page: #ffffff;
  --max: 960px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--slate); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

h1, h2, h3 { color: var(--midnight); line-height: 1.25; letter-spacing: -0.01em; }

code {
  font-family: "SF Mono", "JetBrains Mono", "DejaVu Sans Mono", Consolas, monospace;
  font-size: 0.88em;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.08em 0.36em;
}

/* Header */
.site-header {
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid var(--line);
  background: var(--page);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; display: block; }
.brand-name { font-weight: 700; color: var(--midnight); font-size: 19px; letter-spacing: -0.01em; }
.brand-sub { color: var(--slate); font-weight: 600; margin-left: 5px; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--teal-dark); text-decoration: none; }

/* Hero */
.hero {
  background: var(--warm-white);
  border-bottom: 1px solid var(--line);
  padding: 68px 0 60px;
}
.hero h1 {
  font-size: 40px;
  margin: 0 0 18px;
  max-width: 18ch;
}
.lede {
  font-size: 20px;
  color: var(--slate);
  max-width: 62ch;
  margin: 0 0 30px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--page);
  color: var(--midnight);
  font-weight: 600;
  font-size: 15px;
}
.btn:hover { border-color: var(--slate); text-decoration: none; color: var(--midnight); }
.btn-primary {
  background: var(--midnight);
  border-color: var(--midnight);
  color: #fff;
}
.btn-primary:hover { background: #0b2038; color: #fff; }

/* Notice */
.notice {
  margin: 32px 0 4px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  background: var(--warm-white);
  border-radius: 8px;
  font-size: 15.5px;
  color: var(--muted);
}
.notice strong { display: block; color: var(--midnight); margin-bottom: 3px; font-size: 16px; }

/* Screenshot */
.shot { padding: 44px 0 8px; }
.shot figure { margin: 0; text-align: center; }
.shot img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 43, 78, 0.10);
}
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Bands */
.band { padding: 52px 0; border-bottom: 1px solid var(--line); }
.band-alt { background: var(--warm-white); }
.band h2 { font-size: 27px; margin: 0 0 8px; }
.section-lede { color: var(--slate); max-width: 68ch; margin: 0 0 26px; font-size: 17px; }

/* Overview */
.cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.facts { margin: 8px 0 0; padding: 0; list-style: none; }
.facts li { position: relative; padding: 0 0 12px 22px; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.aside-note {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}
.aside-note h3 { margin: 0 0 8px; font-size: 16px; }
.aside-note p { margin: 0; font-size: 15px; color: var(--muted); }

/* Hardware grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cell {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}
.cell h3 { margin: 0 0 6px; font-size: 17px; }
.cell p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Code blocks */
pre {
  background: var(--midnight);
  color: #eaf1f5;
  border-radius: 8px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 14px;
}
pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
#get h3 { font-size: 16px; margin: 26px 0 10px; }
.muted { color: var(--muted); font-size: 15px; }
.callout {
  margin-top: 26px;
  padding: 14px 18px;
  border-left: 4px solid var(--teal);
  background: var(--warm-white);
  border-radius: 0 6px 6px 0;
  font-size: 15.5px;
  color: var(--ink);
}

/* Table */
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
thead th { color: var(--midnight); border-bottom: 2px solid var(--line-strong); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr:last-child td { border-bottom: 0; }

/* Doc links */
.links { columns: 2; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.links li { padding: 7px 0; break-inside: avoid; }
.links a { color: var(--slate); font-weight: 500; }

/* Footer */
.site-footer {
  background: var(--midnight);
  color: #c4d2de;
  padding: 34px 0;
  font-size: 14px;
}
.site-footer a { color: #8fd6d2; }
.site-footer a:hover { color: #b6e6e3; }
.footer-inner p { margin: 0 0 10px; max-width: 80ch; }
.footer-inner .disclaimer { color: #8ea3b5; margin-bottom: 0; }

/* Responsive */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 30px; }
  .lede { font-size: 18px; }
  .cols { grid-template-columns: 1fr; gap: 26px; }
  .grid { grid-template-columns: 1fr; }
  .links { columns: 1; }
  .site-header { position: static; }
}
