:root {
  --navy: #07192d;
  --navy-2: #0d2745;
  --gold: #d9bd55;
  --gold-2: #b99032;
  --cream: #f5efe0;
  --cream-2: #fffaf0;
  --ink: #132238;
  --muted: #65707e;
  --line: rgba(217, 189, 85, 0.42);
  --shadow: 0 18px 58px rgba(0, 0, 0, 0.26);

  /* Logo size controls: adjust these three numbers to dial in the header logo. */
  --logo-min: 82px;
  --logo-fluid: 8vw;
  --logo-max: 125px;

  /* Header button size controls: keeps Call/Text and Email visually balanced. */
  --header-button-width: 132px;
  --header-button-width-mobile: 104px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream-2);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 45%, rgba(217, 189, 85, 0.13), transparent 25%),
    radial-gradient(circle at 78% 36%, rgba(40, 116, 184, 0.18), transparent 31%),
    linear-gradient(135deg, #05111f 0%, var(--navy) 56%, #03101d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  position: relative;
  z-index: 2;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-2);
  text-decoration: none;
  line-height: 0;
}

.brand-mark {
  width: clamp(var(--logo-min), var(--logo-fluid), var(--logo-max));
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  overflow: visible;
  padding: 0;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1.20);
  transform-origin: center center;
}

.brand-fallback {
  display: none;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.08em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions-left {
  grid-column: 1;
  justify-self: start;
}

.header-actions-right {
  grid-column: 3;
  justify-self: end;
}

.gold-button,
.submit-button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2dc73, #d3ac39);
  color: #07111f;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(217, 189, 85, 0.20);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.gold-button {
  min-width: var(--header-button-width);
  padding: 13px 18px;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}
.gold-button.outline {
  background: linear-gradient(135deg, #f2dc73, #d3ac39);
  color: #07111f;
  border: 0;
  box-shadow: 0 14px 36px rgba(217, 189, 85, 0.20);
}
.gold-button:hover,
.submit-button:hover { transform: translateY(-2px); filter: brightness(1.03); }

.main-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vh, 10px);
  padding: 0;
}

.hero {
  width: min(900px, 100%);
  text-align: center;
  margin-top: -10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  width: min(660px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: clamp(0.18em, 0.75vw, 0.32em);
  font-size: clamp(0.95rem, 1.7vw, 1.32rem);
  font-weight: 800;
}

.eyebrow span {
  height: 1px;
  width: clamp(42px, 10vw, 130px);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

h1 {
  margin: clamp(4px, 0.8vh, 10px) 0 clamp(14px, 1.8vh, 20px);
  max-width: 900px;
  color: #fffdf4;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.65rem, 6.2vw, 4.95rem);
  line-height: 0.9;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.26);
}

.hero-copy {
  margin: 0;
  max-width: 780px;
  color: rgba(255, 250, 240, 0.80);
  font-size: clamp(0.95rem, 1.55vw, 1.16rem);
  line-height: 1.55;
  font-weight: 500;
}

.form-section { width: 100%; display: flex; justify-content: center; align-items: center; }

.form-card {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(8px, 1.4vw, 16px);
  color: var(--ink);
  background: linear-gradient(145deg, var(--cream-2), var(--cream));
  border: 2px solid rgba(217, 189, 85, 0.88);
  border-radius: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: clamp(3px, 0.6vw, 6px);
  border: 1px solid rgba(217, 189, 85, 0.30);
  border-radius: clamp(15px, 2.3vw, 22px);
  pointer-events: none;
}

form, .form-grid, .field { position: relative; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.5vh, 15px) 18px;
}

.field.full { margin-bottom: clamp(10px, 1.5vh, 15px); }

label {
  display: block;
  margin: 0 0 6px;
  color: #24364d;
  font-size: clamp(0.82rem, 1.2vw, 0.96rem);
  font-weight: 800;
}

label span { color: #8b6d23; }

.address-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px;
}

.address-label-row label {
  margin: 0;
}

.manual-address-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  color: rgba(36, 54, 77, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.manual-address-toggle input {
  width: 13px;
  height: 13px;
  margin: 0;
  padding: 0;
  accent-color: var(--gold-2);
}

label span { color: #8b6d23; }

input, select {
  width: 100%;
  height: clamp(43px, 5.7vh, 54px);
  border: 1px solid rgba(19, 34, 56, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: clamp(0.94rem, 1.25vw, 1.03rem);
  padding: 0 17px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus, select:focus {
  border-color: rgba(185, 144, 50, 0.85);
  box-shadow: 0 0 0 4px rgba(217, 189, 85, 0.18);
  background: #fff;
}

.submit-button {
  position: relative;
  width: 100%;
  min-height: clamp(46px, 6vh, 56px);
  margin-top: clamp(0px, 0.3vh, 3px);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.submit-button:disabled { opacity: 0.68; cursor: not-allowed; transform: none; }

.submit-note {
  position: relative;
  margin: 6px 0 0;
  color: rgba(36, 54, 77, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.form-message {
  min-height: 0px;
  margin: 0;
  color: #24364d;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.form-message.success { color: #1e6b3a; }
.form-message.error { color: #9b2929; }

.site-footer {
  position: relative;
  z-index: 2;
  padding: clamp(8px, 1.7vh, 16px) 0 clamp(10px, 1.8vh, 18px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.9rem;
}

.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.footer-contact a { color: rgba(255, 250, 240, 0.80); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }

.social-links { display: inline-flex; justify-content: center; gap: 10px; }
.social-links a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 160ms ease, background 160ms ease;
}
.social-links a:hover { transform: translateY(-2px); background: rgba(217, 189, 85, 0.10); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }

.footer-note { justify-self: end; margin: 0; color: rgba(255, 250, 240, 0.62); }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 22px, 560px); }

  .site-header {
    padding-top: 22px;
    padding-bottom: 0;
    align-items: center;
  }

  .hero {
    margin-top: -12px;
  }

  .brand-fallback {
    display: none;
    color: var(--gold);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(18px, 2.2vw, 23px);
    font-weight: 700;
    letter-spacing: -0.08em;
  }

  .header-actions { gap: 8px; }

  .gold-button {
    min-width: var(--header-button-width-mobile);
    padding: 11px 12px;
    font-size: 0.88rem;
  }

  .main-content {
    justify-content: start;
    gap: 14px;
  }

  h1 { font-size: clamp(2.35rem, 10.5vw, 3.45rem); }
  .hero-copy { font-size: 0.94rem; line-height: 1.45; }
  .form-grid { grid-template-columns: 1fr; gap: 10px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-contact { justify-content: center; }
  .footer-note { justify-self: center; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .site-header { padding-top: 0; padding-bottom: 0; }
  .main-content { gap: 4px; }
  h1 { font-size: clamp(2.35rem, 5.2vw, 3.85rem); margin: 1px 0 10px; }
  .hero-copy { font-size: 0.95rem; line-height: 1.35; }
  .form-card { padding: 18px 26px; width: min(660px, 100%); }
  input, select { height: 41px; }
  .form-grid { gap: 8px 14px; }
  .field.full { margin-bottom: 8px; }
  .submit-button { min-height: 42px; margin-top: 2px; }
  .submit-note { margin-top: 6px; font-size: 0.74rem; }
  .site-footer { padding-top: 2px; padding-bottom: 4px; }
}

@media (max-width: 420px) {
  :root {
    --logo-min: 64px;
    --logo-fluid: 22vw;
    --logo-max: 92px;
  }

  .gold-button {
    min-width: 96px;
    padding: 9px 8px;
    font-size: 0.76rem;
  }

  .eyebrow { gap: 10px; letter-spacing: 0.16em; font-size: 0.9rem; }
  .eyebrow span { width: 34px; }
  .form-card { padding: 18px; }
  input, select { height: 42px; border-radius: 13px; }
  .social-links a { width: 34px; height: 34px; }
}

/* Thank-you page */
.thank-you-main {
  min-height: auto;
  display: grid;
  place-items: center;
  padding: 28px 0 14px;
}

.thank-you-card {
  width: min(680px, 100%);
  padding: clamp(20px, 3.5vw, 36px) clamp(28px, 5vw, 54px) clamp(28px, 5vw, 54px);
  border: 2px solid rgba(217, 189, 85, 0.88);
  border-radius: clamp(22px, 3vw, 32px);
  background: linear-gradient(145deg, var(--cream-2), var(--cream));
  color: var(--ink);
  text-align: center;
  box-shadow: var(--shadow);
}

.thank-you-kicker {
  margin: 0 0 10px;
  color: #8b6d23;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.86rem;
  font-weight: 900;
}

.thank-you-card h1 {
  margin: 0 0 14px;
  color: #10233c;
  font-size: clamp(2.35rem, 7vw, 4.4rem);
}

.thank-you-card p {
  max-width: 560px;
  margin: 0 auto 22px;
  color: #465469;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 650;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.thank-you-actions .gold-button {
  min-width: 150px;
}

@media (max-width: 520px) {
  .thank-you-main { min-height: auto; padding: 16px 0 28px; }
  .thank-you-card { padding: 24px 18px; }
}

body.manual-address-active .pac-container {
  display: none !important;
}

.thank-you-logo-badge {
  display: block;
  width: clamp(85px, 10vw, 128px);
  height: auto;
  margin: -2px auto -8px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
}

/* How It Works popup */
.how-it-works-link {
  width: min(560px, 100%);
  margin: -12px auto 4px;
  padding: 0;
  border: none;
  background: transparent;
  color: #b8860b;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.how-it-works-link::before,
.how-it-works-link::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 189, 85, 0.72), transparent);
}

.how-it-works-link:hover {
  color: #8a6508;
}

.how-it-works-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.how-it-works-modal.active {
  display: flex;
}

.how-it-works-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.how-it-works-box {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(145deg, var(--cream-2), var(--cream));
  color: var(--ink);
  border: 2px solid rgba(217, 189, 85, 0.88);
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.how-it-works-box h2 {
  margin: 0 0 18px;
  color: #10233c;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 14px rgba(217, 189, 85, 0.34);
}

.how-it-works-box h2::before,
.how-it-works-box h2::after {
  content: "✦";
  display: inline-block;
  margin: 0 10px;
  color: #d3ac39;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72em;
  line-height: 1;
  vertical-align: 0.08em;
  text-shadow: 0 0 10px rgba(217, 189, 85, 0.42);
}

.how-it-works-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(217, 189, 85, 0.48);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.92);
  color: #132238;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.how-it-works-close:hover,
.how-it-works-close:focus-visible {
  background: #fffaf0;
  color: #07111f;
  outline: none;
}


.how-it-works-steps {
  display: grid;
  gap: 14px;
}

.how-it-works-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.how-it-works-step span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f2dc73, #d3ac39);
  color: #07111f;
  font-weight: 900;
}

.how-it-works-step p {
  margin: 0;
  color: #37475d;
  line-height: 1.34;
  font-size: 0.95rem;
}

.optional-details-block {
  position: relative;
  margin: 8px 0 0;
  text-align: center;
}

.optional-details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  color: #8b6d23;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.optional-details-toggle input {
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  accent-color: var(--gold-2);
}

.property-details-wrap {
  display: none;
  margin-top: 7px;
  text-align: left;
}

.property-details-wrap.active {
  display: block;
}

.property-details-label {
  margin-bottom: 5px;
  font-size: 0.78rem;
}

textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid rgba(19, 34, 56, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  padding: 12px 15px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea:focus {
  border-color: rgba(185, 144, 50, 0.85);
  box-shadow: 0 0 0 4px rgba(217, 189, 85, 0.18);
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}


/* About Orovian Oasis page + popup */
.about-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.about-modal.active {
  display: flex;
}

.about-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.about-modal-box {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  height: min(690px, 92vh);
  border: 2px solid rgba(217, 189, 85, 0.88);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--cream-2), var(--cream));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.about-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(217, 189, 85, 0.48);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.92);
  color: #132238;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.about-modal-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

.about-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 24%, rgba(217, 189, 85, 0.18), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(40, 116, 184, 0.12), transparent 32%),
    linear-gradient(145deg, var(--cream-2), var(--cream));
}

.about-page::before {
  display: none;
}

.about-page-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 4px 18px 10px;
}

.about-card {
  width: min(560px, 100%);
  text-align: center;
  padding: 4px clamp(12px, 3vw, 24px) 12px;
}

.about-logo {
  width: clamp(72px, 14vw, 102px);
  height: auto;
  display: block;
  margin: -6px auto -10px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
}

.about-kicker {
  margin: 0 0 6px;
  color: #8b6d23;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 900;
}

.about-card h1 {
  margin: 0 0 8px;
  color: #10233c;
  font-size: clamp(1.9rem, 6.5vw, 3.15rem);
  line-height: 0.9;
}

.about-intro {
  margin: 0 auto 10px;
  max-width: 500px;
  color: #465469;
  font-size: 0.94rem;
  line-height: 1.38;
  font-weight: 700;
}

.about-highlight {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: start;
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid rgba(217, 189, 85, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  text-align: left;
}

.about-highlight span {
  font-size: 1.2rem;
}

.about-highlight p {
  margin: 0;
  color: #37475d;
  line-height: 1.35;
  font-size: 0.92rem;
  font-weight: 650;
}

.about-points {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
  text-align: left;
}

.about-point {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 9px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(19, 34, 56, 0.08);
}

.about-point > span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f2dc73, #d3ac39);
}

.about-point strong {
  display: block;
  margin-bottom: 2px;
  color: #10233c;
  font-weight: 900;
}

.about-point p {
  margin: 0;
  color: #526073;
  font-size: 0.86rem;
  line-height: 1.3;
  font-weight: 650;
}

.about-closing {
  margin: 0 auto 8px;
  color: #8b6d23;
  font-weight: 900;
}

.about-return {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 220px;
  padding: 11px 18px;
}

@media (max-width: 520px) {
  .about-modal {
    padding: 6px;
    align-items: center;
  }

  .about-modal-box {
    width: min(94vw, 620px);
    height: min(clamp(442px, calc(664px - 50vw), 484px), calc(100dvh - 12px));
    max-height: calc(100dvh - 12px);
    border-radius: 20px;
  }

  .about-modal-close {
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 1.5rem;
  }

  .about-page {
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .about-page-shell {
    min-height: 0;
    height: 100%;
    padding: 10px 10px 18px;
    display: grid;
    place-items: start center;
  }

  .about-card {
    padding: 0 4px;
  }

  .about-logo {
    width: clamp(48px, 14vw, 62px);
    margin: -3px auto 0;
  }

  .about-kicker {
    margin: 0 0 3px;
    letter-spacing: 0.14em;
    font-size: 0.66rem;
  }

  .about-card h1 {
    margin: 0 0 5px;
    font-size: clamp(1.55rem, 7.4vw, 2.02rem);
    line-height: 0.9;
  }

  .about-intro {
    margin: 0 auto 5px;
    font-size: 0.76rem;
    line-height: 1.14;
  }

  .about-highlight {
    grid-template-columns: 24px 1fr;
    gap: 6px;
    margin: 0 0 5px;
    padding: 6px;
    border-radius: 12px;
  }

  .about-highlight span {
    font-size: 0.92rem;
  }

  .about-highlight p {
    font-size: 0.73rem;
    line-height: 1.12;
  }

  .about-points {
    gap: 5px;
    margin: 0 0 5px;
  }

  .about-point {
    grid-template-columns: 27px 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 12px;
  }

  .about-point > span {
    width: 26px;
    height: 26px;
    font-size: 0.84rem;
  }

  .about-point strong {
    margin-bottom: 1px;
    font-size: 0.8rem;
  }

  .about-point p {
    font-size: 0.69rem;
    line-height: 1.1;
  }

  .about-closing {
    margin: 0 auto 4px;
    font-size: 0.77rem;
  }

  .about-return {
    min-width: 184px;
    padding: 8px 13px;
    font-size: 0.8rem;
  }
}

@media (max-width: 520px) and (max-height: 700px) {
  .about-modal {
    padding: 5px;
  }

  .about-modal-box {
    height: min(438px, calc(100dvh - 10px));
    max-height: calc(100dvh - 10px);
    border-radius: 18px;
  }

  .about-page-shell {
    padding: 8px 8px 14px;
  }

  .about-logo {
    width: clamp(44px, 13vw, 56px);
    margin: -2px auto 0;
  }

  .about-kicker {
    margin-bottom: 2px;
    font-size: 0.62rem;
  }

  .about-card h1 {
    margin-bottom: 4px;
    font-size: clamp(1.34rem, 6.4vw, 1.76rem);
  }

  .about-intro {
    margin-bottom: 5px;
    font-size: 0.71rem;
    line-height: 1.1;
  }

  .about-highlight,
  .about-point {
    padding: 5px;
    border-radius: 11px;
  }

  .about-highlight {
    margin-bottom: 5px;
  }

  .about-points {
    gap: 4px;
    margin-bottom: 5px;
  }

  .about-highlight p,
  .about-point p {
    font-size: 0.66rem;
    line-height: 1.08;
  }

  .about-point strong {
    font-size: 0.75rem;
  }

  .about-closing {
    margin-bottom: 4px;
    font-size: 0.73rem;
  }

  .about-return {
    min-width: 178px;
    padding: 7px 12px;
    font-size: 0.77rem;
  }
}


@media (max-width: 760px) {
  .how-it-works-link {
    margin: -12px auto 8px;
    gap: 10px;
    font-size: 0.9rem;
  }
}
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}

.footer-legal-links a {
  color: rgba(255, 250, 240, 0.72);
  text-decoration: none;
  font-weight: 700;
}

.footer-legal-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.legal-modal-box {
  height: min(720px, 90vh);
}

@media (max-width: 760px) {
  .footer-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .footer-legal-links {
    margin-left: 0;
    justify-content: center;
  }

  .legal-modal-box {
    width: min(94vw, 620px);
    height: 88vh;
  }
}


.about-eyebrow-trigger,
.about-eyebrow-trigger span {
  cursor: pointer;
}

.about-eyebrow-trigger {
  position: relative;
  user-select: none;
}

.about-eyebrow-trigger span {
  pointer-events: auto;
}

.about-eyebrow-trigger:hover {
  color: #f6dc8c;
}

.about-eyebrow-trigger:focus-visible {
  outline: 2px solid rgba(242, 208, 122, 0.9);
  outline-offset: 8px;
  border-radius: 999px;
}
