/* Homepage sections under the approved hero. */

.swi-home {
  background: #040d16;
  color: #f4f7f8;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
}

.swi-home * { box-sizing: border-box; }

.swi-home a { color: #3ad0ef; }

.swi-home-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  align-items: center;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.1rem 0;
}

.swi-home-nav a {
  color: #f4f7f8;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.swi-home-nav a:hover,
.swi-home-nav a:focus-visible { color: #f2c14d; }

.swi-home-section {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.swi-home-section + .swi-home-section {
  border-top: 1px solid rgba(58, 208, 239, 0.22);
}

.swi-home h2 {
  margin: 0 0 1rem;
  max-width: 18ch;
  color: #ffffff;
  font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.swi-home-kicker {
  margin: 0 0 0.8rem;
  color: #3ad0ef;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.swi-home-lead {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  color: #e7eef3;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.swi-home-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.swi-home-choices button,
.swi-offer {
  border: 1px solid rgba(58, 208, 239, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #f4f7f8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.swi-home-choices button {
  padding: 0.9rem 1.2rem;
  font-size: 1.08rem;
}

.swi-home-choices button[aria-pressed="true"] {
  background: #3ad0ef;
  color: #041018;
  border-color: #3ad0ef;
}

.swi-home-result {
  min-height: 3.2rem;
  max-width: 42rem;
  margin: 0;
  color: #f2c14d;
  font-size: 1.25rem;
}

.swi-offer-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.swi-offer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  width: 100%;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  text-align: left;
}

.swi-offer.is-dim { opacity: 0.45; }

.swi-offer[aria-pressed="true"] {
  background: #070d14;
  border-color: #3ad0ef;
  opacity: 1;
}

.swi-offer-index {
  color: #f2c14d;
  font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}

.swi-offer strong {
  display: block;
  color: #ffffff;
  font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.swi-offer span {
  grid-column: 2;
  color: #e7eef3;
  font-size: 1.15rem;
  font-weight: 400;
}

.swi-home a.swi-home-button {
  display: inline-flex;
  align-items: center;
  margin-top: 1.4rem;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  background: #3ad0ef;
  color: #041018;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.swi-home a.swi-home-button:hover { background: #7fe3f7; color: #041018; }

.swi-home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
}

.swi-home-links a {
  color: #f4f7f8;
  font-weight: 700;
  text-decoration: none;
}

.swi-home-links a:hover { color: #f2c14d; }

.swi-home-posts {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.swi-home-posts a {
  color: #f4f7f8;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.swi-home-posts a:hover { color: #3ad0ef; }
