/* sky-site.css: the frame every inner marketing page shares (2026-11-18).

   Pricing, Questions, For teams, How Sky works, Facts, the three legal pages,
   Explore, a shared list (/l/) and a public profile (/u/) each grew their own
   header, footer, button and sky, and a visitor moving between them met five
   different sites. This file is the one copy of the parts that must match the
   landing page (site/index.html, which keeps its own copy and is the source):

     .site-head   the Sky mark and name, How it works, Pricing, Questions and
                  the sky-blue "Add Sky to Chrome" pill
     .site-foot   the landing's footer links
     .site-pill   the landing's primary button (.btn.solid there)
     .site-sky    the landing's sky behind the page, night and dawn
     .site-eyebrow / .site-title   the page's label and its serif title

   Each page still carries its own :root tokens for its content. The frame
   reads its own --site-* tokens below, so a page whose palette drifted cannot
   pull the header or footer with it. Theme follows the same rule as every
   site page: the system's choice, overridden by data-theme, which the inline
   script in each page's <head> sets from localStorage's skyTheme.

   Every var() here carries a fallback, because verify.py's variable check
   reads each page on its own and these tokens are declared in this file. */

:root {
  --site-ground: #070b16;
  --site-ink: #eaf1fb; --site-ink-2: #9db0cf; --site-ink-3: #8a9ab3;
  --site-line: #1c2842; --site-line-2: #26355a;
  --site-surface: #0f1a2e;
  --site-brand: #009bd7; --site-accent: #34b8e6; --site-eyebrow: #34b8e6;
  --site-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --site-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --site-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --site-sky:
    radial-gradient(1150px 640px at 82% -8%, rgba(52,184,230,.20), transparent 58%),
    radial-gradient(1000px 640px at 12% 4%, rgba(104,96,232,.16), transparent 56%),
    radial-gradient(1300px 700px at 50% 116%, rgba(38,120,190,.20), transparent 60%),
    linear-gradient(180deg, #060a14 0%, #080f1f 46%, #0b1730 100%);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --site-ground: #e9f1fb;
    --site-ink: #10233b; --site-ink-2: #47525f; --site-ink-3: #626d7a;
    --site-line: #dbe6f2; --site-line-2: #c9d8ea;
    --site-surface: #ffffff;
    --site-accent: #0b74a5; --site-eyebrow: #0a5a82;
    --site-sky:
      radial-gradient(1080px 560px at 80% -10%, rgba(255,201,128,.72), rgba(255,201,128,0) 60%),
      radial-gradient(760px 480px at 16% 0%, rgba(255,166,183,.42), rgba(255,166,183,0) 58%),
      linear-gradient(179deg, #bcd8f2 0%, #d4e5f6 24%, #e8eef6 50%, #f7efe4 78%, #fdefd9 100%);
  }
}
:root[data-theme="light"] {
  --site-ground: #e9f1fb;
  --site-ink: #10233b; --site-ink-2: #47525f; --site-ink-3: #626d7a;
  --site-line: #dbe6f2; --site-line-2: #c9d8ea;
  --site-surface: #ffffff;
  --site-accent: #0b74a5; --site-eyebrow: #0a5a82;
  --site-sky:
    radial-gradient(1080px 560px at 80% -10%, rgba(255,201,128,.72), rgba(255,201,128,0) 60%),
    radial-gradient(760px 480px at 16% 0%, rgba(255,166,183,.42), rgba(255,166,183,0) 58%),
    linear-gradient(179deg, #bcd8f2 0%, #d4e5f6 24%, #e8eef6 50%, #f7efe4 78%, #fdefd9 100%);
}

/* ---- the sky ---- */
html.site-sky { background-color: var(--site-ground, #070b16); }
html.site-sky body {
  margin: 0;
  background-color: var(--site-ground, #070b16);
  background-image: var(--site-sky, none);
  background-attachment: fixed;
  color: var(--site-ink, #eaf1fb);
}

/* ---- header ---- */
.site-head {
  box-sizing: border-box; position: relative; z-index: 5;
  max-width: 1120px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--site-sans, system-ui, sans-serif);
}
.site-head .site-brand {
  display: inline-flex; align-items: center; gap: 11px; flex: none;
  color: var(--site-ink, #eaf1fb); text-decoration: none;
  font-size: 20px; font-weight: 640; letter-spacing: -.02em; line-height: 1;
  min-height: 44px;
}
.site-head .site-brand img { display: block; width: 30px; height: 30px; }
.site-head .site-nav { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-head .site-nav .site-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px;
  font-size: 15px; font-weight: 600; color: var(--site-ink-2, #9db0cf);
  text-decoration: none; white-space: nowrap; border-radius: 8px;
  transition: color .15s ease;
}
.site-head .site-nav .site-link[aria-current="page"] { color: var(--site-ink, #eaf1fb); }
.site-head .site-nav .site-pill { margin-left: 6px; }

/* ---- the primary pill, the landing's .btn.solid ---- */
.site-pill {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--site-sans, system-ui, sans-serif); font-size: 15px; font-weight: 640; line-height: 1.2;
  padding: 10px 18px; min-height: 42px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--site-brand, #009bd7); color: #0b1220; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--site-brand, #009bd7) 45%, transparent);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.site-pill:active { transform: translateY(0) scale(.99); }
/* A smaller one for a card: the same fill and shape, a lighter shadow. */
.site-pill.sm { font-size: 14px; padding: 8px 15px; min-height: 38px; box-shadow: 0 4px 12px color-mix(in srgb, var(--site-brand, #009bd7) 30%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .site-head .site-nav .site-link:hover { color: var(--site-ink, #eaf1fb); }
  .site-pill:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb, var(--site-brand, #009bd7) 52%, transparent); }
  .site-pill.sm:hover { transform: translateY(-1px); box-shadow: 0 8px 18px color-mix(in srgb, var(--site-brand, #009bd7) 40%, transparent); }
  .site-foot a:hover { color: var(--site-ink, #eaf1fb); text-decoration: underline; text-underline-offset: 3px; }
}

/* ---- the page's label and title ---- */
.site-eyebrow {
  font-family: var(--site-mono, ui-monospace, monospace); font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--site-eyebrow, #34b8e6);
}
.site-title {
  font-family: var(--site-serif, Georgia, serif); font-weight: 600; font-style: normal;
  font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.015em;
  color: var(--site-ink, #eaf1fb); text-wrap: balance;
}

/* ---- footer, the landing's links ---- */
.site-foot {
  box-sizing: border-box; max-width: 1120px; margin: 64px auto 0; padding: 22px 28px 56px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 26px;
  border-top: 1px solid var(--site-line, #1c2842);
  font-family: var(--site-sans, system-ui, sans-serif); font-size: 13px; line-height: 1.4;
  color: var(--site-ink-3, #8a9ab3);
}
.site-foot a, .site-foot span { display: inline-flex; align-items: center; min-height: 32px; }
.site-foot a { color: inherit; text-decoration: none; }

a.site-link:focus-visible, .site-brand:focus-visible, .site-pill:focus-visible, .site-foot a:focus-visible {
  outline: 2px solid var(--site-accent, #34b8e6); outline-offset: 3px;
}

/* Phones, the landing's rule: the nav keeps its links and drops the button,
   since Sky installs on a desktop Chrome and every page carries its own way
   in further down. Footer links grow to a thumb's height. */
@media (max-width: 640px) {
  .site-head { padding: 10px 20px; gap: 10px; }
  .site-head .site-nav { gap: 8px; }
  .site-head .site-nav .site-pill { display: none; }
  .site-foot { margin-top: 48px; padding: 14px 20px 40px; gap: 0 18px; }
  .site-foot a, .site-foot span { min-height: 44px; }
  .site-foot span { flex-basis: 100%; justify-content: center; min-height: 32px; order: 1; }
}
@media (max-width: 400px) {
  .site-head { padding: 10px 16px; }
  .site-head .site-brand { gap: 9px; font-size: 18px; }
  .site-head .site-brand img { width: 26px; height: 26px; }
  .site-head .site-nav { gap: 2px; }
  .site-head .site-nav .site-link { font-size: 14px; padding: 0 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-pill, .site-head .site-nav .site-link { transition: none; }
  .site-pill:hover, .site-pill:active { transform: none; }
}
