/* Sixty Skies website. Tokens follow the app's design system (apps/mobile/src/theme.ts). Fonts are served from this
   site, never from a third party, so a visit sends nothing to anyone but the host. */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --mist: #F6F1EC; --surface: #FFFDFA; --line: #E7DED6; --ink: #23273A; --muted: #5E6173;
  --dawn: #D98C7E; --dawn-ink: #9E4F43; --dawn-soft: #F6E4DE;
  --support: #2C6A7A; --challenge: #974622;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px; --r-md: 18px; --r-lg: 28px;
  --wrap: 1040px; --text: 680px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dawn-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--dawn); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header and footer */
.top { padding: 22px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 500 22px/1 var(--serif); }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font: 600 14px/1 var(--sans); padding: 8px 2px; }
.nav a[aria-current="page"], .nav a:hover { color: var(--dawn-ink); }
footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 14px; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer .links a { color: var(--ink); }

/* Home */
.hero { display: grid; gap: 32px; align-items: center; padding: 32px 0 24px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.05fr 1fr; padding-top: 56px; } }
.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dawn-ink); margin: 0 0 14px; }
h1 { font: 400 clamp(40px, 7vw, 64px)/1.04 var(--serif); letter-spacing: -0.01em; margin: 0 0 20px; text-wrap: balance; }
.lead { font: 400 20px/1.55 var(--serif); margin: 0 0 24px; max-width: 34em; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--mist); font: 600 14px/1 var(--sans); }
.hero figure { margin: 0; }
.hero img { border-radius: var(--r-lg); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; box-shadow: 0 18px 40px rgba(35, 39, 58, .12); }
.hero figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
section { padding: 56px 0 8px; }
h2 { font: 400 clamp(28px, 4.4vw, 40px)/1.12 var(--serif); margin: 0 0 14px; text-wrap: balance; }
.section-lead { font: 400 18px/1.6 var(--serif); color: var(--ink); margin: 0 0 28px; max-width: 36em; }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.feature h3 { font: 500 22px/1.2 var(--serif); margin: 0 0 8px; }
.feature p { margin: 0; color: var(--ink); }
.skies { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); padding: 0; margin: 0; list-style: none; }
.skies li { margin: 0; }
.skies img { border-radius: var(--r-sm); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.skies span { display: block; font: 400 17px/1.3 var(--serif); margin-top: 8px; }
.skies small { display: block; color: var(--muted); font-size: 13px; }
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; max-width: var(--text); }
.principles li { padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 18px/1.5 var(--serif); }
.principles b { font-weight: 500; }
.tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.tier.paid { border-color: var(--dawn); }
.tier h3 { font: 500 24px/1.2 var(--serif); margin: 0 0 12px; }
.tier ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.note { background: var(--dawn-soft); border-radius: var(--r-md); padding: 24px; max-width: var(--text); }
.note p { margin: 0 0 10px; font: 400 18px/1.55 var(--serif); }
.note p:last-child { margin: 0; }

/* Text pages (privacy, terms, support, legal notice) */
.page { max-width: var(--text); padding-top: 24px; }
.page h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 10px; }
.page .meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.page h2 { font-size: 28px; margin: 44px 0 10px; }
.page h3 { font: 600 16px/1.4 var(--sans); margin: 26px 0 6px; }
.page p, .page li { font-size: 16.5px; }
.page ul { padding-left: 22px; }
.page li { margin: 4px 0; }
.page .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.page .summary p { margin: 0 0 8px; }
.page .summary ul { margin: 0; }
.page table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.page th, .page td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.page th { font-weight: 600; }
.table-scroll { overflow-x: auto; }
.page dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 12px 0; }
.page dt { font-weight: 600; }
.page dd { margin: 0; }
@media (max-width: 520px) { .page dl { grid-template-columns: 1fr; } .page dd { margin-bottom: 8px; } }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font: 500 19px/1.4 var(--serif); }
.faq details p { margin: 10px 0 0; }
.contact { font: 400 22px/1.4 var(--serif); }
@media (min-width: 860px) { .skies { grid-template-columns: repeat(5, 1fr); } }
