:root,
[data-theme="dawn"] {
  --blue: #10133a;
  --blue-dark: #0c1030;
  --navy: #10133a;
  --ink: #1c2148;
  --muted: #5c6280;
  --line: #e7e1d2;
  --paper: #ffffff;
  --wash: #fbf8f1;
  --gold: #e4b423;
  --ticker: #e4b423;
  --ticker-ink: #16120a;
  --shadow: 0 18px 50px rgba(16, 19, 58, 0.08);
  --radius: 18px;
  --hero-wash: radial-gradient(circle at 85% 0%, #ffe9a8 0, transparent 36%), linear-gradient(#fff, var(--wash));
}

[data-theme="alibaug"] {
  --blue: #2d87ff;
  --blue-dark: #0b5ed7;
  --navy: #0a2540;
  --ink: #1a3654;
  --muted: #5b6b80;
  --line: #dbe7f5;
  --paper: #ffffff;
  --wash: #f4f8fd;
  --gold: #0b5ed7;
  --ticker: #0a2540;
  --ticker-ink: #ffffff;
  --shadow: 0 18px 50px rgba(10, 37, 64, 0.08);
  --hero-wash: radial-gradient(circle at 80% 10%, #dcebff 0, transparent 40%), linear-gradient(#fff, var(--wash));
}

[data-theme="malad"] {
  --blue: #eec539;
  --blue-dark: #111111;
  --navy: #100e42;
  --ink: #17152e;
  --muted: #514e6b;
  --line: #ead98a;
  --paper: #fffdf6;
  --wash: #fff6cc;
  --gold: #eec539;
  --ticker: #eec539;
  --ticker-ink: #16120a;
  --shadow: 0 18px 50px rgba(16, 14, 66, 0.1);
  --hero-wash: linear-gradient(160deg, #100e42 0%, #2a2478 70%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Figtree, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.ticker {
  overflow: hidden;
  background: var(--ticker);
  color: var(--ticker-ink);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  padding: 0.55rem 0;
  animation: ticker 32s linear infinite;
}

.ticker-track span {
  padding-right: 2.5rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.theme-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.theme-bar span {
  color: var(--muted);
  margin-right: 0.3rem;
}

.theme-bar button {
  border: 1px solid var(--line);
  background: var(--wash);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.theme-bar button.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

[data-theme="malad"] .theme-bar button.is-active {
  background: #100e42;
  color: #eec539;
}

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

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  font-family: Sora, Figtree, sans-serif;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
}

.hero h1 {
  text-transform: uppercase;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

a {
  color: var(--blue-dark);
}

.early-strip {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 0.92rem;
  padding: 0.65rem 1rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 6vw;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-brand img {
  height: 78px;
  width: auto;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 1.4rem;
}

.legal-nav .btn {
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 0.7rem 1.2rem;
  box-shadow: 0 8px 20px rgba(16, 19, 58, 0.16);
}

[data-theme="malad"] .btn-primary {
  color: #16120a;
  box-shadow: none;
}

[data-theme="malad"] .btn-primary:hover {
  background: #f6d45c;
  color: #16120a;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 0.7rem 1.2rem;
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1.02rem;
}

.btn-full {
  width: 100%;
}

.hero,
.story,
.included,
.experiences,
.races,
.route,
.travel,
.gallery,
.cta {
  padding: 4.5rem 6vw;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  background: var(--hero-wash);
}

[data-theme="malad"] .hero h1,
[data-theme="malad"] .hero .lede,
[data-theme="malad"] .hero .eyebrow {
  color: #fff;
}

[data-theme="malad"] .hero .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="malad"] .nav {
  background: #100e42;
  border-bottom-color: transparent;
}

[data-theme="malad"] .nav-links a {
  color: #fff;
}

[data-theme="malad"] .nav-brand {
  background: transparent;
}

[data-theme="dawn"] .eyebrow,
[data-theme="dawn"] .exp-kicker,
[data-theme="dawn"] .legal-meta,
[data-theme="dawn"] .price {
  color: #9a7410;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 0.7rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 1.6rem 0 1rem;
}

.hero-date {
  margin: 0;
  font-family: Sora, Figtree, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.hero-tag {
  font-weight: 700;
  color: var(--navy);
}

.hero-meta {
  display: flex;
  gap: 1rem;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.hero-meta li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  min-width: 5.5rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.story-visual {
  position: relative;
  height: 460px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.story-visual img.is-active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 19, 58, 0.72);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn.prev {
  left: 0.8rem;
}

.carousel-btn.next {
  right: 0.8rem;
}

.hero-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  background: rgba(10, 37, 64, 0.88);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.partners {
  padding: 1.4rem 6vw 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.partner-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.partner-row img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.pay-badge {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.video-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.included {
  background: var(--wash);
}

.include-grid,
.exp-grid,
.race-grid,
.travel-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.include-grid article,
.race-grid article,
.travel-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  font-weight: 600;
}

.fine-print,
.section-intro,
.modal-sub {
  color: var(--muted);
}

.exp-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: stretch;
}

.exp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.exp-card.featured {
  border-color: var(--blue);
  transform: translateY(-8px);
}

.exp-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.exp-body {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.exp-kicker {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.price s {
  font-size: 1rem;
  font-weight: 650;
  color: var(--muted);
  margin-right: 0.35rem;
}

.exp-body ul {
  padding-left: 1.1rem;
  color: var(--muted);
  margin: 0.4rem 0 0.8rem;
}

.report {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: auto;
}

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

.race-grid article {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.race-grid strong {
  font-size: 1.8rem;
  color: var(--blue-dark);
}

.prizes {
  margin-top: 1.5rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.prizes h3,
.prizes p {
  color: #fff;
}

.route {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.route img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.travel-grid {
  grid-template-columns: 1fr 1fr;
}

.gallery {
  background: var(--wash);
}

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

.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--navy), #24306e);
  color: #fff;
}

[data-theme="alibaug"] .cta {
  background: linear-gradient(135deg, #0a2540, #1d4f91);
}

.countdown {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.countdown div {
  min-width: 4.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
  text-align: center;
}

[data-theme="malad"] .countdown div {
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
  color: #fff;
}

.countdown strong {
  display: block;
  font-size: 1.35rem;
  font-family: Sora, Figtree, sans-serif;
}

.countdown span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.logo-marquee {
  overflow: hidden;
  margin-top: 0.8rem;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: ticker 48s linear infinite;
}

.logo-track img {
  height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.route-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.route-maps figure {
  margin: 0;
}

.route-maps figcaption {
  margin-top: 0.4rem;
  font-weight: 700;
}

.prizes-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 6vw;
}

.prizes-block img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.prize-kicker {
  margin: 0 0 0.85rem;
  color: #c89612;
  font-family: Sora, Figtree, sans-serif;
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.4;
}

.faq {
  padding: 4.5rem 6vw 5rem;
  background:
    radial-gradient(circle at 0 0, rgba(228, 180, 35, 0.18), transparent 28%),
    var(--wash);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) 1.35fr;
  gap: 3rem;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 6.5rem;
}

.faq-head h2 {
  max-width: 12ch;
}

.faq-head .section-intro {
  max-width: 28rem;
}

.faq-group + .faq-group {
  margin-top: 1.5rem;
}

.faq h3 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a7410;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 0.55rem;
  overflow: hidden;
}

.faq details[open] {
  border-color: #e4d39a;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
  background: var(--gold);
  color: #16120a;
}

.faq details p {
  color: var(--muted);
  margin: 0;
  padding: 0 3.2rem 1.05rem 1.1rem;
  line-height: 1.65;
}

.cta h2,
.cta p {
  color: #fff;
}

.footer {
  background: var(--navy);
  color: #d7e6f7;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2.5rem 6vw;
}

.support-board {
  grid-column: 1 / -1;
  padding-bottom: 1.4rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.support-board h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
}

.support-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.support-grid h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.support-hours {
  color: #e4b423;
  font-weight: 700;
}

.footer a {
  color: #fff;
}

.footer h2,
.footer h3 {
  color: #fff;
}

.footer p {
  margin: 0.25rem 0;
}

.footer-logo {
  height: 88px;
  width: auto;
  margin-bottom: 0.6rem;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
  color: #b9cce0;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.2rem 6vw 4.5rem;
}

.legal-wrap h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.4rem;
}

.legal-wrap h2 {
  font-size: 1.15rem;
  margin: 1.7rem 0 0.5rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0 1.2rem;
}

.legal-wrap th,
.legal-wrap td {
  text-align: left;
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
}

.legal-wrap th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-meta {
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
}

.legal-nav .btn {
  margin-left: auto;
}

body.legal-doc {
  padding-bottom: 0;
}

.thank-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 6vw 5rem;
  text-align: center;
}

.thank-mark {
  width: min(320px, 100%);
  height: auto;
  margin: 0 auto 1.4rem;
}

.thank-page .lede {
  margin-left: auto;
  margin-right: auto;
}

.thank-next {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 1.4rem;
  text-align: left;
}

.thank-next li {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-weight: 600;
}

.thank-page .btn {
  margin-top: 0.4rem;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  display: grid;
  place-items: center;
  z-index: 50;
  padding: 1rem;
}

.modal-card {
  background: #fff;
  width: min(640px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 24px;
  padding: 1.6rem;
  position: relative;
}

.pay-loader {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 2rem 1rem;
}

.pay-spinner {
  width: 46px;
  height: 46px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--navy);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
}

form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 650;
}

input,
select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  background: var(--wash);
}

.form-error {
  color: #c81e1e;
  margin: 0;
}

#success-panel {
  text-align: center;
  padding: 2rem 0.5rem;
}

.enrol-bar {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(620px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0.7rem 0.7rem 1.15rem;
  border-radius: 22px;
  background: #10133a;
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 19, 58, 0.28);
}

.enrol-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.enrol-copy strong {
  font-size: 0.98rem;
}

.enrol-copy span {
  color: #f3e2a4;
  font-size: 0.8rem;
  font-weight: 650;
}

.enrol-bar .btn {
  flex-shrink: 0;
  background: #e4b423;
  color: #16120a;
  box-shadow: none;
  padding: 0.8rem 1.1rem;
}

body:not(.legal-doc) {
  padding-bottom: calc(6.4rem + env(safe-area-inset-bottom));
}

body.register-open .enrol-bar {
  display: none;
}

.cat-picker {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cat-picker legend {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.cat-picker label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem 0.7rem;
  background: #fff;
  cursor: pointer;
}

.cat-picker label:has(input:checked) {
  border-color: var(--navy);
  background: #fbf6e8;
}

.cat-picker input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--navy);
}

.cat-picker span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.cat-picker small {
  color: var(--muted);
  font-weight: 650;
}

.field-hint {
  color: var(--muted);
  font-weight: 600;
}

.modal-card {
  width: min(720px, 100%);
}

@media (max-width: 980px) {
  .nav-links,
  .nav:not(.legal-nav) .btn {
    display: none;
  }

  .hero,
  .story,
  .route,
  .prizes-block,
  .cta,
  .footer,
  .faq-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .faq-head {
    position: static;
  }

  .faq-head h2 {
    max-width: none;
  }

  .include-grid,
  .exp-grid,
  .race-grid,
  .travel-grid,
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .exp-card.featured {
    transform: none;
  }

  .hero-visual img {
    height: 280px;
  }

  .story-visual {
    height: 280px;
  }

  .cat-picker {
    grid-template-columns: 1fr;
  }

  body.legal-doc {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .include-grid,
  .exp-grid,
  .race-grid,
  .travel-grid,
  .gallery-grid,
  .route-maps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 0.6rem 4vw;
  }

  .nav-brand img {
    height: 64px;
  }
}
