/* Aerial — aerial.sevenlabs.pl
   One stylesheet for every page. No scripts, no web fonts, no third-party requests:
   the privacy policy says this site runs nothing, and the CSP in vercel.json enforces it. */

:root {
  color-scheme: light dark;
  --paper: #ecf1f2;
  --ink: #0f2028;
  --muted: #4d6069;
  --rule: #cfd9dc;
  --accent: #1f8f9e;
  --accent-ink: #14333f;
  --card: #ffffff;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0a161c;
    --ink: #e6edef;
    --muted: #9fb2b9;
    --rule: #21363f;
    --accent: #3fbfd0;
    --accent-ink: #e6edef;
    --card: #101f26;
  }
}

* { 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, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding-inline: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
}

/* Header */

.site-header {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.5rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

/* Body */

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
}

p, ul, ol { margin: 0 0 1rem; }

ul, ol { padding-left: 1.25rem; }

li + li { margin-top: 0.4rem; }

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

strong { font-weight: 600; }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.summary {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}

.summary p:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

address {
  font-style: normal;
}

code {
  font: 0.92em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.05em 0.35em;
}

/* Landing page */

.hero {
  padding: 1rem 0 2rem;
}

.hero .icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(6, 15, 19, 0.25);
  margin-bottom: 1.5rem;
}

.hero h1 { font-size: 2.6rem; }

.platforms {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: -0.25rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.9rem;
  margin: 2rem 0;
}

.feature-list li {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin: 0;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.15rem;
}

.button {
  display: inline-block;
  background: var(--accent-ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
}

@media (prefers-color-scheme: dark) {
  .button { background: var(--accent); color: #06111a; }
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.5rem 0 max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
