/* Open Skies PhotoForecast — site styles */

:root {
  --bg: #0a0d12;
  --surface: #111620;
  --surface-2: #161d29;
  --border: #232c3b;
  --accent: #f0a500;
  --accent-soft: rgba(240, 165, 0, 0.12);
  --text: #e6edf3;
  --muted: #9aa7b8;
  --radius: 14px;
  --maxw: 1080px;
  --readw: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 650; }

p { margin: 0 0 1em; }

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

/* ---------- emblem ---------- */

.emblem { width: 100%; height: 100%; display: block; color: var(--accent); }
.emblem .emblem-core { color: #ffd479; stroke: #ffd479; }
.emblem .emblem-rays { opacity: 0.9; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 13, 18, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand-name { font-size: 1rem; white-space: nowrap; }
.brand-name span { color: var(--muted); font-weight: 500; }

.site-nav { display: flex; gap: 22px; font-size: 0.94rem; }
.site-nav a { color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(240, 165, 0, 0.14), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(240, 165, 0, 0.25);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 20px;
}

.hero p.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 46ch;
}

.hero-art {
  aspect-ratio: 1;
  max-width: 360px;
  margin-inline: auto;
  width: 100%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(240, 165, 0, 0.16), transparent 65%);
}
.hero-art .emblem { width: 78%; height: auto; filter: drop-shadow(0 0 40px rgba(240, 165, 0, 0.35)); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #14100a; }
.btn-primary:hover { background: #ffb81f; }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: #33405a; }

.note { font-size: 0.87rem; color: var(--muted); margin: 0; }

/* ---------- sections ---------- */

section { padding: clamp(52px, 8vw, 88px) 0; }
section + section { border-top: 1px solid var(--border); }

.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- mode chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 550;
}
.chips li strong { color: var(--accent); font-weight: 650; }

/* ---------- feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.card p + p { margin-top: 0.7em; }

.card-icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 14px;
}
.card-icon svg { width: 100%; height: 100%; display: block; }

/* ---------- privacy strip ---------- */

.strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.strip-item h3 { margin-bottom: 6px; }
.strip-item p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- prose (privacy / support body) ---------- */

.prose { max-width: var(--readw); }
.prose h2 { margin-top: 2.2em; padding-top: 0.2em; }
.prose h2:first-of-type { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: #fff; font-weight: 650; }
.prose .meta {
  color: var(--muted);
  font-size: 0.9rem;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 2em;
}
.prose a { word-break: break-word; }

/* ---------- page header (interior pages) ---------- */

.page-head {
  padding: clamp(44px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(240, 165, 0, 0.06), transparent);
}
.page-head p { color: var(--muted); margin: 0; max-width: 60ch; }

/* ---------- contact card ---------- */

.contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-bottom: 48px;
}
.contact h2 { margin-top: 0; }
.contact p { color: var(--muted); }
.contact .email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
details[open] { background: var(--surface-2); }

summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 46px 16px 20px;
  font-weight: 600;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
}
details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }

.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.95rem; }
.faq-body > :last-child { margin-bottom: 0; }
.faq-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.faq-body li::marker { color: var(--accent); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  align-items: center;
}
.site-footer nav { display: flex; gap: 22px; margin-left: auto; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 210px; }
  .site-footer nav { margin-left: 0; }
}

@media (max-width: 560px) {
  .site-header .wrap { gap: 12px; }
  .site-nav { gap: 14px; font-size: 0.85rem; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-name { font-size: 0.95rem; }
  .brand-name span { display: none; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 18px; }
  .site-nav { gap: 12px; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* focus visibility */
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* placeholder shown until a public support address exists */
.contact .email-pending {
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}
