/* SolarFlag.com — site.css */

:root {
  --navy: #07162f;
  --navy-2: #0d2345;
  --blue: #174b8a;
  --red: #b81f2d;
  --gold: #f2c14e;
  --gold-2: #ffd978;
  --cream: #fff7e6;
  --paper: #f7efe0;
  --ink: #152033;
  --muted: #667085;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  --soft-shadow: 0 18px 45px rgba(7, 22, 47, 0.12);
  --radius: 26px;
  --radius-sm: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 193, 78, 0.18), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #f7efe0 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

strong,
b {
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 22, 47, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background:
    linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 12px 30px rgba(242, 193, 78, 0.28);
  font-weight: 950;
}

.brand span:last-child {
  color: var(--gold-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 10px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.main-nav .nav-cta {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 10px 24px rgba(242, 193, 78, 0.25);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus {
  color: var(--navy);
  background: var(--gold-2);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 22, 47, 0.94), rgba(7, 22, 47, 0.62), rgba(7, 22, 47, 0.36)),
    var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(242, 193, 78, 0.34), transparent 18rem),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.12), transparent 17rem),
    linear-gradient(115deg, rgba(184, 31, 45, 0.2), transparent 38%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 170px;
  background: linear-gradient(0deg, rgba(7, 22, 47, 0.92), transparent);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 20px var(--gold);
}

.hero h1 {
  max-width: 860px;
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero h1 span {
  color: var(--gold-2);
}

.hero-lede {
  max-width: 760px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.btn:hover {
  transform: translateY(-2px);
}

.button-primary,
.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 18px 36px rgba(242, 193, 78, 0.28);
}

.button-secondary,
.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-panel {
  margin-top: 54px;
  max-width: 970px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: var(--shadow);
}

.hero-panel article,
.hero-card {
  padding: 26px;
  background: rgba(7, 22, 47, 0.76);
  backdrop-filter: blur(18px);
}

.hero-panel h3,
.hero-card h3 {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: 1.05rem;
}

.hero-panel p,
.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.section {
  padding: 92px 0;
}

.section-navy {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(242, 193, 78, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.section-red {
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(242, 193, 78, 0.23), transparent 23rem),
    linear-gradient(135deg, #7d111e, var(--red));
}

.section-paper {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 239, 224, 0.95)),
    var(--paper);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.section-title {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.section-title span {
  color: var(--red);
}

.section-navy .section-title span,
.section-red .section-title span {
  color: var(--gold-2);
}

.section-lede {
  max-width: 820px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.section-navy .section-lede,
.section-red .section-lede {
  color: rgba(255, 255, 255, 0.82);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(7, 22, 47, 0.08);
}

.card.pad {
  padding: 28px;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-content {
  padding: 26px;
}

.card h2,
.card h3 {
  margin: 0 0 10px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.card h2 {
  font-size: 1.75rem;
}

.card h3 {
  font-size: 1.35rem;
}

.card p {
  color: var(--muted);
}

.card .small {
  font-size: 0.93rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.flag-stripe {
  height: 8px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--white) 33% 66%, var(--blue) 66% 100%);
}

.feature-band {
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 22, 47, 0.95), rgba(13, 35, 69, 0.88)),
    var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.feature-band-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
}

.feature-band img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.86;
}

.feature-copy {
  padding: clamp(30px, 5vw, 58px);
}

.feature-copy h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.stat {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stat strong {
  display: block;
  color: var(--gold-2);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.callout {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(242, 193, 78, 0.28), transparent 18rem),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  box-shadow: var(--shadow);
}

.callout h2,
.callout h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.callout p {
  color: rgba(255, 255, 255, 0.82);
}

.list-check {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 32px;
  margin: 12px 0;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 950;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(7, 22, 47, 0.08);
  box-shadow: 0 14px 35px rgba(7, 22, 47, 0.08);
}

.timeline-date {
  color: var(--red);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.timeline-item h3 {
  margin: 0 0 8px;
  line-height: 1.1;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.signal-flag {
  min-height: 92px;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 12px 24px rgba(7, 22, 47, 0.16);
  background: var(--blue);
}

.signal-flag.a {
  background: linear-gradient(90deg, var(--white) 0 50%, var(--blue) 50%);
}

.signal-flag.b {
  background: var(--red);
}

.signal-flag.c {
  background:
    linear-gradient(90deg, var(--blue) 0 20%, var(--white) 20% 40%, var(--red) 40% 60%, var(--white) 60% 80%, var(--blue) 80%);
}

.signal-flag.d {
  background:
    linear-gradient(135deg, var(--gold) 0 35%, var(--blue) 35% 65%, var(--gold) 65%);
}

.signal-flag.e {
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50%);
}

.signal-flag.f {
  background:
    repeating-linear-gradient(45deg, var(--white) 0 14px, var(--red) 14px 28px);
}

.article {
  max-width: 860px;
  margin: 0 auto;
  padding: 76px 0;
}

.article h1 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.article h2 {
  margin: 44px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.article h3 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.article p,
.article li {
  font-size: 1.08rem;
}

.article p {
  color: #344054;
}

.article ul,
.article ol {
  padding-left: 1.4rem;
}

.article blockquote {
  margin: 34px 0;
  padding: 28px;
  border-left: 7px solid var(--gold);
  border-radius: 0 20px 20px 0;
  background: rgba(242, 193, 78, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--navy);
}

.article-hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 0;
}

.article-hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--soft-shadow);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(7, 22, 47, 0.08);
}

th {
  color: var(--navy);
  background: rgba(242, 193, 78, 0.22);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  color: #344054;
}

.form-card {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(7, 22, 47, 0.18);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 145px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(242, 193, 78, 0.45);
  border-color: var(--gold);
}

.site-footer {
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at top left, rgba(242, 193, 78, 0.14), transparent 22rem),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  padding: 60px 0 28px;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 1rem;
}

.footer-grid p {
  max-width: 360px;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(242, 193, 78, 0.24);
  font-size: 0.84rem;
  font-weight: 850;
}

.section-navy .badge,
.section-red .badge,
.callout .badge {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.12);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 900;
}

.skip-link:focus {
  left: 12px;
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(7, 22, 47, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 15px;
    border-radius: 14px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-panel,
  .grid-3,
  .grid-4,
  .stat-row,
  .feature-band-inner,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-band-inner {
    grid-template-columns: 1fr;
  }

  .feature-band img {
    min-height: 320px;
  }

  .signal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .container,
  .nav-wrap,
  .hero-content,
  .footer-grid,
  .footer-bottom,
  .article-hero {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    font-size: 1.1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 74px 0 84px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  .btn {
    width: 100%;
  }

  .hero-panel,
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-row,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .card.pad,
  .card-content {
    padding: 22px;
  }

  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-flag {
    min-height: 76px;
  }

  .article {
    padding: 56px 0;
  }

  .article p,
  .article li {
    font-size: 1rem;
  }

  .article blockquote {
    padding: 22px;
    font-size: 1.18rem;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin: 8px 0;
  }
}

@media (max-width: 420px) {
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    letter-spacing: -0.065em;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .main-nav {
    left: 12px;
    right: 12px;
  }

  .signal-grid {
    gap: 8px;
  }
}

.footer-credit {
  margin-top: 28px;
  line-height: 1.55;
}

.footer-credit img {
  margin-bottom: 14px;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.footer-credit a {
  color: inherit;
}
