@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap");
@font-face {
  font-family: "Orange Avenue";
  src: url("../fonts/OrangeAvenueDEMO-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Orange Avenue Outline";
  src: url("../fonts/OrangeAvenueOutlineDEMO-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #FAFAFA;
  color: #1A1A1A;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: #00674F;
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

.reveal-delay-4 {
  transition-delay: 0.6s;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(20px);
  padding: 1.2rem 4rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
nav .nav-mark {
  font-family: "Orange Avenue", serif;
  font-size: 1.3rem;
  color: #1A1A1A;
  letter-spacing: 0.02em;
}
nav .nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
nav .nav-right a {
  font-size: 0.7rem;
  color: #5A5A5A;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.3s ease;
}
nav .nav-right a:hover {
  color: #00674F;
}

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 2rem;
}
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #00674F, transparent);
  opacity: 0.5;
}
#hero .hero-outline {
  font-family: "Orange Avenue Outline", serif;
  font-size: clamp(3.5rem, 10vw, 9rem);
  color: transparent;
  -webkit-text-stroke: 1px #E0E0E0;
  letter-spacing: 0.02em;
  line-height: 1;
  position: absolute;
  opacity: 0.4;
  user-select: none;
}
#hero .hero-wordmark {
  font-family: "Orange Avenue", serif;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  position: relative;
  z-index: 1;
  text-align: center;
  color: #1A1A1A;
}
#hero .hero-sub {
  margin-top: 2.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #5A5A5A;
  position: relative;
  z-index: 1;
}
#hero .hero-sub::before, #hero .hero-sub::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: #A0A0A0;
  vertical-align: middle;
  margin: 0 1.5rem;
}
#hero .hero-scroll {
  position: absolute;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
#hero .hero-scroll span {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #A0A0A0;
}
#hero .hero-scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: #00674F;
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% {
    opacity: 0.2;
    transform: scaleY(0.5);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}
.section-padded {
  padding: 10rem 4rem;
}
@media (max-width: 768px) {
  .section-padded {
    padding: 6rem 2rem;
  }
}

#ethos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
@media (max-width: 900px) {
  #ethos {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
#ethos .ethos-left .ethos-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #00674F;
  margin-bottom: 2rem;
}
#ethos .ethos-left .ethos-heading {
  font-family: "Orange Avenue", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #1A1A1A;
}
#ethos .ethos-right {
  padding-top: 1rem;
}
#ethos .ethos-right p {
  color: #5A5A5A;
  font-size: 0.9rem;
  line-height: 2;
  margin-bottom: 2rem;
}
#ethos .ethos-right .ethos-rule {
  width: 60px;
  height: 1px;
  background: #00674F;
  opacity: 0.5;
}

#alliance {
  border-top: 1px solid #E0E0E0;
}
#alliance .alliance-header {
  max-width: 780px;
  margin-bottom: 5rem;
}
#alliance .alliance-header .alliance-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #00674F;
  margin-bottom: 1.8rem;
}
#alliance .alliance-header .alliance-heading {
  font-family: "Orange Avenue", serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.2;
  color: #1A1A1A;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}
#alliance .alliance-header .alliance-intro {
  color: #5A5A5A;
  font-size: 0.95rem;
  line-height: 2;
}
#alliance .alliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 860px) {
  #alliance .alliance-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
#alliance .alliance-card {
  background: #F0F0F0;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
#alliance .alliance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 103, 79, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.04);
}
#alliance .alliance-card .alliance-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
#alliance .alliance-card .alliance-card-top .card-num {
  font-family: "Orange Avenue", serif;
  font-size: 1.5rem;
  color: #00674F;
  line-height: 1;
}
#alliance .alliance-card .alliance-card-top .card-tier {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #A0A0A0;
}
#alliance .alliance-card .alliance-title {
  font-family: "Orange Avenue", serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #1A1A1A;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}
#alliance .alliance-card .alliance-desc {
  color: #5A5A5A;
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}
#alliance .alliance-card .alliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
#alliance .alliance-card .alliance-tags span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #5A5A5A;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 2px;
}

#the-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
@media (max-width: 900px) {
  #the-card {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}
#the-card .card-visual {
  aspect-ratio: 1.586;
  background: #00674F;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
#the-card .card-visual .card-border-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}
#the-card .card-visual .card-inner {
  position: absolute;
  inset: 0;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
#the-card .card-visual .card-inner .card-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  justify-content: center;
}
#the-card .card-visual .card-inner .card-center .card-title {
  font-family: "Orange Avenue", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  letter-spacing: 0.02em;
}
#the-card .card-visual .card-inner .card-center .card-subtitle {
  font-family: "Orange Avenue", serif;
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}
#the-card .card-visual .card-inner .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}
#the-card .card-visual .card-inner .card-footer .card-crest {
  width: 36px;
  height: auto;
  opacity: 0.85;
}
#the-card .card-visual .card-inner .card-footer .card-member {
  text-align: right;
}
#the-card .card-visual .card-inner .card-footer .card-member .card-name {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
#the-card .card-visual .card-inner .card-footer .card-member .card-number {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.2rem;
}
#the-card .card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}
#the-card .card-info .card-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #00674F;
  margin-bottom: 2rem;
}
#the-card .card-info .card-heading {
  font-family: "Orange Avenue", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #1A1A1A;
}
#the-card .card-info p {
  color: #5A5A5A;
  font-size: 0.9rem;
  line-height: 2;
}

#apply .apply-header {
  max-width: 680px;
  margin-bottom: 6rem;
}
#apply .apply-header .apply-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #00674F;
  margin-bottom: 2rem;
}
#apply .apply-header .apply-heading {
  font-family: "Orange Avenue", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #1A1A1A;
}
#apply .apply-header .apply-intro {
  color: #5A5A5A;
  font-size: 0.9rem;
  line-height: 2;
}
#apply .apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-bottom: 6rem;
}
@media (max-width: 900px) {
  #apply .apply-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}
#apply .apply-section-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #1A1A1A;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E0E0E0;
}
#apply .apply-windows .window {
  padding: 1.8rem 0;
  border-bottom: 1px solid #E0E0E0;
}
#apply .apply-windows .window .window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}
#apply .apply-windows .window .window-name {
  font-family: "Orange Avenue", serif;
  font-size: 1.4rem;
  color: #1A1A1A;
}
#apply .apply-windows .window .window-status {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.35rem 1rem;
  border-radius: 2px;
}
#apply .apply-windows .window .window-status--closed {
  color: #5A5A5A;
  border: 1px solid #A0A0A0;
}
#apply .apply-windows .window .window-status--open {
  color: #00674F;
  border: 1px solid #00674F;
}
#apply .apply-windows .window .window-dates {
  font-size: 0.85rem;
  color: #5A5A5A;
  letter-spacing: 0.02em;
}
#apply .apply-windows .window .window-note {
  font-size: 0.7rem;
  color: #A0A0A0;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}
#apply .apply-requirements .requirements-list {
  list-style: none;
}
#apply .apply-requirements .requirements-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid #E0E0E0;
  color: #5A5A5A;
  font-size: 0.85rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
}
#apply .apply-requirements .requirements-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.65rem;
  width: 6px;
  height: 1px;
  background: #00674F;
}
#apply .apply-requirements .requirements-note {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #A0A0A0;
  line-height: 1.8;
  font-style: italic;
}
#apply .apply-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
}
#apply .apply-cta .btn-apply {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #00674F;
  text-decoration: none;
  padding: 1.2rem 3.5rem;
  border: 1px solid #00674F;
  background: transparent;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease;
}
#apply .apply-cta .btn-apply:hover {
  background: #00674F;
  color: #fff;
}
#apply .apply-cta .apply-cta-note {
  font-size: 0.65rem;
  color: #A0A0A0;
  letter-spacing: 0.1em;
}
#apply .payment-section {
  max-width: 480px;
  margin: 0 auto;
  background: #F0F0F0;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
}
#apply .payment-section .payment-header {
  padding: 3rem 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #E0E0E0;
}
#apply .payment-section .payment-header .payment-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #00674F;
  margin-bottom: 1rem;
}
#apply .payment-section .payment-header .payment-heading {
  font-family: "Orange Avenue", serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #1A1A1A;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 1.5rem;
}
#apply .payment-section .payment-header .payment-heading .payment-currency {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #A0A0A0;
  vertical-align: super;
}
#apply .payment-section .payment-header .payment-note {
  font-size: 0.8rem;
  line-height: 1.9;
  color: #5A5A5A;
  max-width: 360px;
  margin: 0 auto;
}
#apply .payment-section .payment-body {
  padding: 2rem 3rem;
}
@media (max-width: 600px) {
  #apply .payment-section .payment-body {
    padding: 1.5rem;
  }
}
#apply .payment-section .payment-body .paypal-button-container {
  min-height: 50px;
}
#apply .payment-section .payment-body .payment-status {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #5A5A5A;
  border: 1px solid #E0E0E0;
  animation: panelFadeIn 0.3s ease;
}
#apply .payment-section .payment-body .payment-status strong {
  font-weight: 400;
  color: #1A1A1A;
}
#apply .payment-section .payment-body .payment-status--success {
  background: rgba(0, 103, 79, 0.06);
  border-color: rgba(0, 103, 79, 0.25);
  color: #004D3B;
}
#apply .payment-section .payment-body .payment-status--error {
  background: rgba(180, 40, 40, 0.05);
  border-color: rgba(180, 40, 40, 0.2);
  color: #7a2020;
}
#apply .payment-section .payment-body .payment-status--processing {
  background: rgba(0, 0, 0, 0.02);
  border-color: #E0E0E0;
  color: #5A5A5A;
}
#apply .payment-section .payment-body .payment-status--cancelled {
  background: rgba(0, 0, 0, 0.02);
  border-color: #E0E0E0;
  color: #A0A0A0;
}
#apply .payment-section .payment-footer {
  padding: 1.5rem 3rem 2rem;
  text-align: center;
  border-top: 1px solid #E0E0E0;
}
@media (max-width: 600px) {
  #apply .payment-section .payment-footer {
    padding: 1.5rem;
  }
}
#apply .payment-section .payment-footer .payment-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: #A0A0A0;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
#apply .payment-section .payment-footer .payment-secure svg {
  flex-shrink: 0;
  opacity: 0.6;
}
#apply .payment-section .payment-footer .apply-cta-note {
  font-size: 0.6rem;
}

footer {
  border-top: 1px solid #E0E0E0;
  padding: 5rem 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (max-width: 768px) {
  footer {
    padding: 4rem 2rem 2rem;
  }
}
footer .footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
}
@media (max-width: 768px) {
  footer .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
footer .footer-left .footer-wordmark {
  font-family: "Orange Avenue", serif;
  font-size: 1.3rem;
  color: #1A1A1A;
}
footer .footer-left .footer-tagline {
  font-size: 0.65rem;
  color: #A0A0A0;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}
footer .footer-center {
  text-align: center;
}
footer .footer-center a {
  font-size: 0.7rem;
  color: #5A5A5A;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}
footer .footer-center a:hover {
  color: #00674F;
}
footer .footer-right {
  text-align: right;
}
@media (max-width: 768px) {
  footer .footer-right {
    text-align: center;
  }
}
footer .footer-right .footer-copy {
  font-size: 0.6rem;
  color: #A0A0A0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
footer .footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
footer .footer-legal .legal-trigger {
  background: none;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  color: #A0A0A0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  padding: 0.2rem 0;
  transition: color 0.3s ease;
}
footer .footer-legal .legal-trigger:hover {
  color: #00674F;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.legal-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.legal-modal.is-open .legal-modal-dialog {
  transform: translateY(0) scale(1);
}
.legal-modal .legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(12px);
}
.legal-modal .legal-modal-dialog {
  position: relative;
  z-index: 1;
  background: #FAFAFA;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  width: 100%;
  max-width: 860px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.legal-modal .legal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2.5rem 3rem 1.5rem;
  border-bottom: 1px solid #E0E0E0;
}
@media (max-width: 600px) {
  .legal-modal .legal-modal-header {
    padding: 1.8rem 1.5rem 1.2rem;
  }
}
.legal-modal .legal-modal-header .legal-modal-badge {
  display: inline-block;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #00674F;
  margin-bottom: 0.4rem;
}
.legal-modal .legal-modal-header .legal-modal-heading {
  font-family: "Orange Avenue", serif;
  font-size: 1.8rem;
  color: #1A1A1A;
  letter-spacing: 0.01em;
}
.legal-modal .legal-modal-header .legal-modal-close {
  background: none;
  border: 1px solid #E0E0E0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5A5A5A;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.legal-modal .legal-modal-header .legal-modal-close:hover {
  background: #00674F;
  color: #fff;
  border-color: #00674F;
}
.legal-modal .legal-modal-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 3rem;
  background: #F0F0F0;
  border-bottom: 1px solid #E0E0E0;
  overflow-x: auto;
  scrollbar-width: none;
}
.legal-modal .legal-modal-nav::-webkit-scrollbar {
  display: none;
}
@media (max-width: 600px) {
  .legal-modal .legal-modal-nav {
    padding: 0.6rem 1.5rem;
  }
}
.legal-modal .legal-modal-nav .legal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.6rem 1.2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5A5A5A;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.legal-modal .legal-modal-nav .legal-nav-btn:hover {
  color: #1A1A1A;
  background: rgba(0, 0, 0, 0.03);
}
.legal-modal .legal-modal-nav .legal-nav-btn.active {
  background: #ffffff;
  color: #00674F;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.legal-modal .legal-modal-body {
  padding: 2.5rem 3rem;
  overflow-y: auto;
  flex: 1;
}
@media (max-width: 600px) {
  .legal-modal .legal-modal-body {
    padding: 1.8rem 1.5rem;
  }
}
.legal-modal .legal-modal-body .legal-panel {
  display: none;
}
.legal-modal .legal-modal-body .legal-panel.active {
  display: block;
  animation: panelFadeIn 0.3s ease;
}
.legal-modal .legal-modal-body .legal-article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E0E0E0;
}
.legal-modal .legal-modal-body .legal-article-header h3 {
  font-family: "Orange Avenue", serif;
  font-size: 1.6rem;
  color: #1A1A1A;
  margin-bottom: 0.4rem;
}
.legal-modal .legal-modal-body .legal-article-header .legal-article-meta {
  font-size: 0.65rem;
  color: #A0A0A0;
  letter-spacing: 0.08em;
}
.legal-modal .legal-modal-body .legal-section {
  margin-bottom: 2.2rem;
}
.legal-modal .legal-modal-body .legal-section h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #00674F;
  margin-bottom: 0.8rem;
}
.legal-modal .legal-modal-body .legal-section p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: #5A5A5A;
  margin-bottom: 0.8rem;
}
.legal-modal .legal-modal-body .legal-section p:last-child {
  margin-bottom: 0;
}
.legal-modal .legal-modal-body .legal-section .legal-contact-line {
  margin-top: 1rem;
  font-size: 0.85rem;
}
.legal-modal .legal-modal-body .legal-section .legal-contact-line a {
  color: #00674F;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 103, 79, 0.4);
}
.legal-modal .legal-modal-body .legal-section .legal-contact-line a:hover {
  border-color: #00674F;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
