:root {
  --midnight:   #0F1523;
  --amber:      #F5A623;
  --amber-lt:   #FFD060;
  --amber-dk:   #D4820A;
  --white:      #FFFFFF;
  --ivory:      #F5F4F0;
  --text:       #1A1A2E;
  --muted:      rgba(26, 26, 46, .52);
  --border:     rgba(26, 26, 46, .10);
  --success:    #2BAE66;
  --warning:    #F5A623;
  --danger:     #E2453C;
  --info:       #4A64B4;
  --max-w:      1100px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  18px;
  --shadow-sm:  0 2px 8px rgba(26, 26, 46, .06);
  --shadow-md:  0 8px 24px rgba(26, 26, 46, .10);
  --shadow-lg:  0 18px 48px rgba(26, 26, 46, .14);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.content-layout {
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 5%;
  font-size: 14px;
}

.content-header__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.content-header__brand {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.01em;
}

.content-header__brand span {
  color: var(--amber-dk);
}

.content-header__brand sup {
  font-size: .55em;
  vertical-align: super;
}

.content-header__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.content-header__nav a {
  color: var(--text);
  text-decoration: none;
}

.content-header__nav a:hover {
  color: var(--amber-dk);
}

.content-header__cta {
  font-weight: 500;
  color: var(--amber-dk);
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
}

.content-header__cta:hover {
  text-decoration: underline;
}

.content-main {
  flex: 1;
  padding: clamp(2rem, 5vh, 3rem) 5% clamp(3rem, 6vh, 4rem);
}

.content-page {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(26, 26, 46, 0.88);
}

.content-page__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .75rem;
  color: var(--text);
  letter-spacing: -.02em;
}

.content-page__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 2.25rem;
  max-width: 62ch;
}

.content-page__related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.content-page__related a {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-page__related a:hover {
  color: var(--amber-dk);
}

.content-page a {
  color: var(--text);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item__q {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 .5rem;
  line-height: 1.45;
  color: var(--text);
}

.faq-item__a {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(26, 26, 46, 0.82);
}

.glossary-list {
  display: flex;
  flex-direction: column;
}

.glossary-term {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.glossary-term:first-child {
  padding-top: 0;
}

.glossary-term:last-child {
  border-bottom: 0;
}

.glossary-term h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 .35rem;
  color: var(--text);
}

.glossary-term__alias {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 .5rem;
}

.glossary-term p {
  margin: 0;
}

.compare-table-wrap {
  overflow-x: auto;
  margin: 0 0 2rem;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th, .compare-table td {
  border: 1px solid var(--border);
  padding: .7rem .8rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.compare-table thead th {
  background: #f8f8f8;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}

.compare-table tbody th[scope="row"] {
  font-weight: 600;
  background: #fafafa;
  white-space: nowrap;
}

.compare-table .col-yc {
  background: #fffbf3;
}

.compare-summary {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.compare-summary h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}

.compare-summary p {
  margin: 0 0 .75rem;
}

.compare-summary p:last-child {
  margin-bottom: 0;
}

.content-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 5%;
  font-size: 13px;
  color: var(--muted);
}

.content-footer__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  align-items: center;
}

.content-footer a {
  color: var(--muted);
  text-decoration: none;
}

.content-footer a:hover {
  color: var(--text);
}

.content-footer span {
  color: var(--border);
  user-select: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .2s;
}

.modal-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.modal {
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: var(--midnight);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 166, 35, 0.12);
  transform: translateY(12px);
  transition: transform .25s ease;
}

.modal-backdrop.is-open .modal {
  transform: translateY(0);
}

.modal::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
}

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  transition: opacity .2s;
}

.modal__close:hover {
  opacity: .7;
}

.modal__close svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
}

.modal__body {
  padding: clamp(2rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.modal__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 1.75rem;
}

.modal__bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 18px;
}

.mb1 {
  height: 11px;
  background: linear-gradient(180deg, #fff, #F5A623 40%, #D4820A);
  opacity: .6;
  width: 3px;
  border-radius: 2px;
}

.mb2 {
  height: 7px;
  background: linear-gradient(180deg, #fff, #F5A623 40%, #D4820A);
  opacity: .5;
  width: 3px;
  border-radius: 2px;
}

.mb3 {
  height: 16px;
  background: linear-gradient(180deg, #fff 0%, #FFE580 14%, #F5A623 55%, #D4820A);
  filter: drop-shadow(0 0 3px rgba(245, 166, 35, 0.7));
  width: 3px;
  border-radius: 2px;
}

.mb4 {
  height: 5px;
  background: linear-gradient(180deg, #fff, #F5A623 40%, #D4820A);
  opacity: .4;
  width: 3px;
  border-radius: 2px;
}

.mb5 {
  height: 9px;
  background: linear-gradient(180deg, #fff, #F5A623 40%, #D4820A);
  opacity: .55;
  width: 3px;
  border-radius: 2px;
}

.modal__word {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}

.modal__word span {
  color: var(--amber);
}

.modal__word sup {
  font-family: var(--font-sans);
  font-size: 7px;
  font-weight: 400;
  vertical-align: super;
  color: rgba(255, 255, 255, 0.3);
}

.modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 1.25rem;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.2);
  color: var(--amber);
}

.modal__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: modal-pulse 2s ease-in-out infinite;
}

@keyframes modal-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .55;
    transform: scale(0.8);
  }
}

.modal__h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: .75rem;
}

.modal__h1 em {
  font-style: italic;
  color: var(--amber);
}

.modal__sub {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.modal__row {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}

.modal__input {
  flex: 1;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 13px 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.modal__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.modal__input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.modal__submit {
  border-radius: 10px;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 20px;
  cursor: pointer;
  white-space: nowrap;
  background: var(--amber);
  color: var(--midnight);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
  transition: opacity .2s, transform .2s;
}

.modal__submit:hover:not(:disabled) {
  opacity: .88;
  transform: translateY(-1px);
}

.modal__submit:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.modal__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1.25rem 0;
}

.modal__check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: .875rem;
  cursor: pointer;
}

.modal__check input[type=checkbox] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--amber);
  cursor: pointer;
}

.modal__check a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal__consent {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: .875rem;
  color: rgba(255, 255, 255, 0.45);
}

.modal__consent a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal__nospam {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  opacity: .45;
  color: rgba(255, 255, 255, 0.5);
  margin-top: .25rem;
}

.modal__nospam svg {
  width: 13px;
  height: 13px;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.modal__error {
  font-size: 13px;
  color: #ff8a8a;
  margin-bottom: .75rem;
  display: none;
}

.modal__error.is-visible {
  display: block;
}

.modal__success {
  display: none;
  text-align: center;
  padding: 1.5rem 0 .5rem;
}

.modal__success.is-visible {
  display: block;
}

.modal__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--amber);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal__success-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}

.modal__success-title em {
  font-style: italic;
  color: var(--amber);
}

.modal__success-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}
