body {
  background: #f5f7f2;
  color: #152927;
}

.topbar {
  min-height: 76px;
  padding: 0.65rem max(calc((100vw - 1180px) / 2), 3vw);
  background: rgba(245, 247, 242, 0.96);
  border-bottom-color: #d8e1dc;
}

.brand-logo {
  color: #152927;
  text-decoration: none;
  gap: 0.45rem;
  font-size: 1rem;
  white-space: nowrap;
}

.logo-img {
  width: 47px;
  height: 47px;
}

.topbar nav {
  align-items: center;
  gap: 1.35rem;
}

.topbar nav a {
  color: #435653;
  font-size: 0.9rem;
}

.topbar nav a:hover {
  color: #d85835;
}

.topbar nav .nav-cta {
  padding: 0.62rem 0.86rem;
  color: #fff;
  background: #173d39;
  border-radius: 4px;
}

main {
  width: min(1180px, 92vw);
  padding: 0 0 3rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 590px;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  padding: 5rem max(calc((100vw - 1180px) / 2), 4vw);
  overflow: hidden;
  color: #fff;
  background-color: #173d39;
  background-image: repeating-linear-gradient(135deg, transparent 0 44px, rgba(255, 255, 255, 0.035) 45px 46px);
  animation: rise 700ms ease;
}

.hero-content,
.hero-actions,
.hero-index {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 610px;
}

.hero .kicker,
.eyebrow {
  margin: 0 0 0.8rem;
  color: #ef8057;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5.4rem;
  line-height: 0.95;
}

.hero-tagline {
  margin: 1rem 0 0;
  color: #f2b17f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 49ch;
  margin: 0.9rem 0 0;
  color: #d4e1dc;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-mark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 3vw;
  width: min(48vw, 610px);
  height: auto;
  opacity: 0.92;
  filter: invert(1);
  mix-blend-mode: lighten;
  transform: translateY(-50%);
}

.hero-index {
  position: absolute;
  right: max(calc((100vw - 1180px) / 2), 4vw);
  bottom: 1.5rem;
  color: #b8cbc4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.btn {
  min-height: 46px;
  gap: 0.5rem;
  border-radius: 4px;
  padding: 0.72rem 1rem;
}

.btn-primary {
  color: #fff;
  background: #d85835;
  box-shadow: none;
}

.btn-primary:hover {
  background: #bf482a;
}

.btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.panel {
  margin-top: 0;
  padding: 4rem 0;
  border: 0;
  border-bottom: 1px solid #d8e1dc;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  animation: none;
}

.section-head {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.section-head h2,
.troops-callout h2 {
  margin: 0;
  color: #173d39;
  font-size: 2.15rem;
  line-height: 1.1;
}

.section-head p:not(.eyebrow) {
  margin: 0.65rem 0 0;
  color: #536661;
  line-height: 1.65;
}

.waitlist-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: start;
  background: transparent;
}

.waitlist-panel .section-head {
  margin: 0;
}

.waitlist-form {
  gap: 0.65rem;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea,
.stack-form input,
.stack-form select,
.stack-form textarea {
  min-height: 45px;
  border-color: #c9d5cf;
  border-radius: 4px;
  background: #fff;
}

.waitlist-form textarea,
.stack-form textarea {
  min-height: 92px;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.dest-card {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #d8e1dc;
  border-left: 1px solid #d8e1dc;
  border-top: 4px solid #d85835;
  border-radius: 4px;
  padding: 1.1rem;
  background: #fff;
}

.dest-card:nth-child(2) {
  border-top-color: #167a78;
}

.dest-card:nth-child(3) {
  border-top-color: #d49a32;
}

.dest-card:nth-child(4) {
  border-top-color: #5277a5;
}

.dest-card h3 {
  color: #173d39;
}

.dest-card p {
  flex: 1;
  color: #536661;
  line-height: 1.55;
}

.dest-card .btn {
  min-height: 40px;
  font-size: 0.86rem;
}

.dest-card .btn-ghost {
  color: #173d39;
  border-color: #c9d5cf;
}

.troops-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin: 1rem 0 0;
  padding: 2.4rem;
  color: #fff;
  background: #c94e30;
}

.troops-callout .eyebrow,
.troops-callout h2 {
  color: #fff;
}

.troops-callout p:not(.eyebrow) {
  max-width: 58ch;
  margin: 0.65rem 0 0;
  color: #f8e5dc;
  line-height: 1.6;
}

.btn-light {
  flex: 0 0 auto;
  color: #173d39;
  background: #fff;
}

.two-col {
  gap: 2.5rem;
}

.subpanel {
  padding: 1.5rem 0;
  border: 0;
  border-top: 3px solid #167a78;
  border-radius: 0;
  background: transparent;
}

.subpanel .section-head h2 {
  font-size: 1.55rem;
}

.vote-category {
  padding-bottom: 1.5rem;
}

.vote-chip {
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
}

.submission-area {
  max-width: 720px;
  padding: 1.5rem;
  border: 1px solid #d8e1dc;
  border-radius: 4px;
  background: #edf2ed;
}

.footer {
  margin-top: 0;
  background: #173d39;
}

.footer-content {
  max-width: 1180px;
}

.footer-section h4 {
  font-family: "Space Grotesk", sans-serif;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
}

.troops-page {
  min-height: 100vh;
  background-color: #173d39;
  background-image: repeating-linear-gradient(135deg, transparent 0 44px, rgba(255, 255, 255, 0.035) 45px 46px);
}

.troops-page .topbar {
  background: #f5f7f2;
}

.troops-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1180px, 92vw);
  padding: 3.2rem 0 0;
}

.troops-page-heading {
  width: 100%;
  margin-bottom: 1.7rem;
  text-align: center;
}

.troops-page-heading h1 {
  margin: 0;
  color: #fff;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 1;
}

.troops-explainer {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1.6rem 2rem;
  border-left: 4px solid #d85835;
  background: #fff;
}

.troops-explainer .eyebrow,
.troops-form-heading .eyebrow {
  margin: 0 0 0.55rem;
}

.troops-explainer h2 {
  margin: 0;
  color: #173d39;
  font-size: 1.6rem;
}

.troops-explainer > p:not(.eyebrow) {
  max-width: 80ch;
  margin: 0.7rem 0 0;
  color: #435653;
  line-height: 1.7;
}

.troops-explainer a {
  color: #a84027;
  font-weight: 700;
}

.troops-candles-about {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1.6rem 2rem;
  border-left: 4px solid #173d39;
  color: #435653;
  background: #fff;
  line-height: 1.7;
}

.troops-candles-about .eyebrow {
  margin: 0 0 0.55rem;
}

.troops-candles-about h2 {
  margin: 0;
  color: #173d39;
  font-size: 1.6rem;
  line-height: 1.25;
}

.troops-candles-about > p:not(.eyebrow) {
  max-width: 80ch;
  margin: 0.7rem 0 0;
}

.troops-candles-about a {
  color: #a84027;
  font-weight: 700;
}

.troops-candles-about .troops-no-cost {
  color: #173d39;
  font-weight: 700;
}

.troops-application-note {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1.6rem 2rem;
  border-left: 4px solid #d85835;
  color: #435653;
  background: #fff;
}

.troops-application-note h2 {
  margin: 0;
  color: #173d39;
  font-size: 1.25rem;
  line-height: 1.55;
}

.troops-application-note a {
  display: inline-block;
  margin-top: 0.8rem;
  color: #a84027;
  font-weight: 700;
}

.troops-application-example {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #d8e1dc;
}

.troops-application-example summary {
  width: fit-content;
  color: #173d39;
  font-weight: 700;
  cursor: pointer;
}

.troops-application-example figure {
  max-width: 820px;
  margin: 1.25rem auto 0;
}

.troops-application-example img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8e1dc;
  box-shadow: 0 8px 24px rgba(23, 61, 57, 0.12);
}

.troops-application-example figcaption {
  margin-top: 0.5rem;
  color: #536661;
  font-size: 0.9rem;
  text-align: center;
}

.troops-form-panel {
  width: min(560px, 100%);
  margin-bottom: 3.2rem;
  padding: 2rem;
  border-top: 4px solid #d85835;
  background: #fff;
}

.troops-form-heading h2 {
  margin: 0;
  color: #173d39;
  font-size: 1.5rem;
}

.troops-form-heading > p:last-child {
  margin: 0.5rem 0 1.2rem;
  color: #536661;
  line-height: 1.55;
}

.troops-form-panel .stack-form {
  gap: 0.7rem;
}

.troops-form-panel .status-text {
  display: block;
  padding: 0;
}

.troops-form-panel .status-text:empty {
  display: none;
}

.troops-candles {
  width: 100%;
  padding: 3rem 0 4rem;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.troops-candles-heading {
  max-width: 1180px;
  width: 92vw;
  margin: 0 auto 1.8rem;
}

.troops-candles-heading h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.troops-candles-heading > p:last-child {
  max-width: 70ch;
  margin-bottom: 0;
  color: #d4e1dc;
  line-height: 1.65;
}

.troops-candle-row {
  width: 92vw;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.troops-candle-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.2rem;
}

.troops-candle-row-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.troops-candle-card {
  overflow: hidden;
  color: #173d39;
  background: #fff;
  box-shadow: 0 12px 28px rgba(4, 20, 16, 0.16);
}

.troops-candle-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.troops-candle-card-content {
  padding: 1rem;
}

.troops-candle-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
}

.troops-candle-description {
  border-top: 1px solid #d8e1dc;
}

.troops-candle-description summary {
  padding: 0.7rem 0;
  color: #a84027;
  font-weight: 700;
  cursor: pointer;
}

.troops-candle-description p {
  margin: 0 0 0.65rem;
  color: #536661;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .topbar {
    flex-direction: row;
    align-items: center;
  }

  .topbar nav {
    justify-content: flex-end;
    gap: 0.6rem 0.9rem;
  }

  .hero {
    min-height: 540px;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-mark {
    right: -10%;
    width: 62vw;
    opacity: 0.2;
  }

  .waitlist-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .troops-candle-row-three,
  .troops-candle-row-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.55rem 5vw 0.75rem;
  }

  .topbar nav {
    justify-content: flex-start;
    gap: 0.65rem 1rem;
  }

  .topbar nav a {
    font-size: 0.82rem;
  }

  .topbar nav .nav-cta {
    padding: 0.42rem 0.55rem;
  }

  .hero {
    min-height: 530px;
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .hero h1 {
    font-size: 3.45rem;
  }

  .hero-mark {
    top: auto;
    right: -20%;
    bottom: -5%;
    width: 95vw;
    transform: none;
  }

  .hero-actions,
  .troops-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .troops-callout .btn {
    width: fit-content;
  }

  .panel {
    padding: 2.8rem 0;
  }

  .section-head h2,
  .troops-callout h2 {
    font-size: 1.8rem;
  }

  .waitlist-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .dest-card {
    min-height: 190px;
  }

  .troops-callout {
    padding: 1.5rem;
  }

  .troops-form-panel {
    padding: 1.35rem;
  }

  .troops-main {
    width: 90vw;
    padding-top: 2rem;
  }

  .troops-explainer {
    padding: 1.3rem;
  }

  .troops-candles-about {
    padding: 1.3rem;
  }

  .troops-application-note {
    padding: 1.3rem;
  }

  .troops-candles {
    padding: 2rem 0;
  }

  .troops-candle-row-three,
  .troops-candle-row-four {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .troops-candle-row-three {
    margin-bottom: 0.9rem;
  }

  .troops-candle-image {
    aspect-ratio: 16 / 9;
  }
}