:root {
  color-scheme: light;
  --bg: #fffdf8;
  --bg-soft: #f5fbf4;
  --surface: #ffffff;
  --surface-tint: #fbf8ff;
  --text: #202820;
  --muted: #5e6a61;
  --border: #dce8de;
  --green: #bfe8c7;
  --green-strong: #4d9b75;
  --purple: #c8b7ec;
  --purple-strong: #7155ad;
  --shadow: 0 18px 52px rgba(77, 112, 91, 0.14);
  --shadow-soft: 0 10px 30px rgba(113, 85, 173, 0.1);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 16% 8%, rgba(191, 232, 199, 0.46), transparent 35rem),
    radial-gradient(ellipse at 88% 20%, rgba(200, 183, 236, 0.36), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 44%, #f7fbf6 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
select {
  font: inherit;
  min-width: 0;
}

:focus-visible {
  outline: 3px solid rgba(113, 85, 173, 0.36);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--text);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.88);
  border-block-end: 1px solid rgba(220, 232, 222, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: calc(100% - 40px);
  max-width: var(--max);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 214px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 247, 238, 0.88));
  box-shadow: 0 0 28px rgba(191, 232, 199, 0.8), inset 0 0 0 1px rgba(113, 85, 173, 0.12);
}

.brand-mark svg {
  width: 36px;
  height: 36px;
}

.mark-ring {
  fill: none;
  stroke: rgba(113, 85, 173, 0.64);
  stroke-width: 1.8;
}

.mark-points circle {
  fill: var(--green-strong);
}

.mark-points .mark-center {
  fill: var(--purple-strong);
  filter: drop-shadow(0 0 5px rgba(113, 85, 173, 0.44));
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}

.brand-tagline {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding-block: 8px;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--purple-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.language-select {
  min-height: 42px;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  padding: 0 12px;
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--green-strong), var(--purple-strong));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(113, 85, 173, 0.18);
}

.button-primary:hover {
  box-shadow: 0 18px 36px rgba(113, 85, 173, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(113, 85, 173, 0.22);
  color: var(--purple-strong);
}

.button-secondary:hover {
  background: #ffffff;
  border-color: rgba(113, 85, 173, 0.36);
}

.button-disabled,
.button-disabled:hover {
  transform: none;
  cursor: not-allowed;
  opacity: 0.72;
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.container {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
}

.narrow {
  max-width: 940px;
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  padding-block: 84px 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 70px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h1 {
  margin-block-end: 16px;
  font-size: 64px;
  font-weight: 760;
}

h2 {
  margin-block-end: 18px;
  font-size: 36px;
  font-weight: 720;
}

h3 {
  margin-block-end: 12px;
  font-size: 22px;
  font-weight: 700;
}

.hero-tagline {
  margin-block-end: 22px;
  color: var(--purple-strong);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
}

.hero-lede,
.section-lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-lede {
  max-width: 620px;
  margin-block-end: 30px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  margin-block-start: 18px;
  color: var(--green-strong);
  font-weight: 700;
}

.fallback-note {
  max-width: 680px;
  margin-block: 16px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.sigil {
  width: min(100%, 410px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 19%, rgba(191, 232, 199, 0.36) 20% 48%, rgba(200, 183, 236, 0.2) 49% 70%, transparent 71%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(248, 244, 255, 0.64));
  box-shadow: 0 0 58px rgba(191, 232, 199, 0.54), 0 34px 80px rgba(113, 85, 173, 0.16);
}

.sigil svg {
  width: 94%;
  height: 94%;
}

.sigil-ring {
  fill: none;
}

.sigil-ring.outer {
  stroke: rgba(113, 85, 173, 0.46);
  stroke-width: 2;
}

.sigil-ring.inner {
  stroke: rgba(77, 155, 117, 0.22);
  stroke-width: 1.2;
}

.sigil-line {
  fill: none;
  stroke: rgba(113, 85, 173, 0.18);
  stroke-width: 1.4;
}

.sigil-points circle {
  fill: var(--green-strong);
}

.sigil-points .sigil-center {
  fill: url(#centerGlow);
  stroke: rgba(113, 85, 173, 0.52);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 16px rgba(191, 232, 199, 0.84));
}

.official-section {
  background: linear-gradient(180deg, rgba(245, 251, 244, 0.72), rgba(251, 248, 255, 0.62));
  border-block: 1px solid rgba(220, 232, 222, 0.76);
}

.section-heading {
  margin-block-end: 26px;
}

.section-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.official-panel,
.info-panel,
.disclaimer,
.contact-card {
  border: 1px solid rgba(220, 232, 222, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.official-panel {
  padding: 32px;
}

.official-copy {
  margin: 0;
  color: #273228;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.78;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.split-layout,
.language-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
}

.info-panel,
.disclaimer {
  padding: 28px;
}

.info-panel p,
.disclaimer p {
  margin-block-end: 0;
  color: var(--muted);
}

.consultation-section {
  background: rgba(255, 255, 255, 0.62);
}

.payment-section {
  background: linear-gradient(180deg, rgba(251, 248, 255, 0.54), rgba(255, 255, 255, 0.72));
}

.payment-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.paypal-wordmark {
  color: #213a7a;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.language-section {
  background: rgba(245, 251, 244, 0.68);
  border-block: 1px solid rgba(220, 232, 222, 0.72);
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.language-option {
  min-height: 48px;
  border: 1px solid rgba(113, 85, 173, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.language-option:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 155, 117, 0.34);
}

.language-option.is-active {
  background: linear-gradient(135deg, rgba(191, 232, 199, 0.82), rgba(200, 183, 236, 0.72));
  border-color: rgba(113, 85, 173, 0.32);
  color: #1e2b20;
}

.contact-layout {
  align-items: start;
}

.contact-card {
  display: inline-grid;
  gap: 2px;
  margin-block: 6px 24px;
  padding: 16px 18px;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-card a {
  color: var(--purple-strong);
  font-weight: 800;
  text-decoration: none;
}

.disclaimer {
  border-color: rgba(113, 85, 173, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 248, 255, 0.86));
}

.site-footer {
  padding: 28px 0;
  background: #202820;
  color: rgba(255, 255, 255, 0.84);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-layout p {
  margin: 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.footer-layout a {
  color: #ffffff;
}

[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.official-copy[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.official-copy[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .section-actions,
[dir="rtl"] .footer-layout {
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1040px) {
  .nav-shell {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-block-end: 2px;
  }

  [dir="rtl"] .nav-links {
    justify-content: flex-end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    justify-content: start;
  }

  [dir="rtl"] .hero-visual {
    justify-content: end;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }

  .container,
  .nav-shell {
    width: calc(100% - 28px);
  }

  .brand {
    min-width: 0;
  }

  .brand-tagline {
    display: none;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-tagline {
    font-size: 21px;
  }

  .split-layout,
  .split-layout.reverse,
  .language-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .payment-panel {
    order: 2;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .nav-shell {
    gap: 14px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .header-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .language-select {
    width: 100%;
    flex: 1 1 auto;
  }

  .header-actions .button {
    width: 100%;
    flex: 1 1 auto;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 27px;
  }

  .hero {
    padding-block-start: 62px;
  }

  .hero-lede,
  .section-lede {
    font-size: 16px;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .official-panel,
  .info-panel,
  .disclaimer {
    padding: 22px;
  }

  .official-copy {
    font-size: 15px;
    line-height: 1.72;
  }

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

  .sigil {
    width: min(100%, 320px);
  }
}
