:root {
  color-scheme: dark;
  --background: #111310;
  --surface: #1b1e19;
  --text: #f4f6f1;
  --muted: #b5bbae;
  --border: #42483d;
  --accent: #c6f34a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

:root[data-theme="light"] {
  color-scheme: light;
  --background: #f5f7f4;
  --surface: #ffffff;
  --text: #182019;
  --muted: #4e5a50;
  --border: #cbd5c9;
  --accent: #176848;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 20px; height: 20px; stroke-width: 1.8; }
.site-header { height: 74px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 750; white-space: nowrap; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 18px; }
.theme-toggle { width: 36px; height: 36px; border: 0; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
:root:not([data-theme="light"]) .theme-icon-moon, :root[data-theme="light"] .theme-icon-sun { display: none; }
.sign-in { display: inline-flex; align-items: center; gap: 5px; font-weight: 650; white-space: nowrap; }
.sign-in svg { width: 16px; height: 16px; }
.hero { position: relative; min-height: min(680px, 75vh); display: flex; align-items: center; background: #111310 url('/assets/flipperstream-hero.jpg') center 55% / cover no-repeat; color: #f4f6f1; }
.hero-content { width: min(600px, 88%); margin-left: max(24px, calc((100vw - 1320px) / 2)); padding: 50px 0; position: relative; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.hero .eyebrow { color: #c6f34a; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; max-width: 530px; font-size: clamp(46px, 5vw, 76px); line-height: 1.04; font-weight: 800; }
.hero-copy { max-width: 480px; margin: 24px 0 31px; color: #e0e5dd; font-size: 20px; line-height: 1.5; }
.hero-link { display: inline-flex; align-items: center; gap: 10px; padding: 14px 19px; background: #c6f34a; color: #141c0e; font-weight: 750; border-radius: 4px; }
.hero-link:hover { background: #d5ff67; }
.hero-link svg { width: 18px; height: 18px; }
.features { padding: 72px max(24px, calc((100vw - 1320px) / 2)) 84px; }
.section-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.17; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 50px; }
.feature-grid article { border-top: 1px solid var(--border); padding-top: 24px; }
.feature-grid article svg { color: var(--accent); width: 26px; height: 26px; }
.feature-grid h3 { margin: 22px 0 8px; font-size: 19px; }
.feature-grid p { max-width: 340px; margin: 0; color: var(--muted); line-height: 1.55; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); padding: 24px max(24px, calc((100vw - 1320px) / 2)); color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--text); text-decoration: underline; }
@media (max-width: 700px) {
  .site-header { height: 64px; }
  .brand { font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .hero { min-height: 650px; align-items: flex-start; background-position: 62% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: rgb(12 15 12 / 60%); }
  .hero-content { padding-top: 67px; }
  .hero-copy { font-size: 17px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .features { padding-top: 50px; padding-bottom: 50px; }
  .site-footer { flex-direction: column; }
}
