:root {
  --ink: #061638;
  --text: #172033;
  --muted: #5b6474;
  --paper: #fffaf1;
  --panel: rgba(255, 255, 255, 0.88);
  --line: rgba(6, 22, 56, 0.14);
  --teal: #0c6f69;
  --purple: #4b2caf;
  --gold: #f4c45b;
  --shadow: 0 24px 70px rgba(6, 22, 56, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(137, 215, 211, 0.32), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(244, 196, 91, 0.24), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal);
}

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

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(12, 111, 105, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal);
  font-weight: 850;
}

.language-picker select {
  max-width: 148px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
}

.button-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(12, 111, 105, 0.24);
}

.button-secondary {
  color: var(--teal);
  background: rgba(12, 111, 105, 0.08);
  border-color: rgba(12, 111, 105, 0.18);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.card,
.notice,
.language-list {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 34px;
  padding: clamp(28px, 5vw, 58px);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(12, 111, 105, 0.18), rgba(244, 196, 91, 0.22));
}

.kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(19px, 2.8vw, 26px);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.language-list {
  border-radius: 34px;
  padding: 26px;
}

.language-list h2 {
  color: var(--ink);
  font-size: 22px;
}

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

.language-grid a {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.language-grid a:hover,
.language-grid a:focus-visible {
  border-color: rgba(12, 111, 105, 0.34);
  color: var(--teal);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card,
.notice {
  border-radius: 28px;
  padding: 24px;
}

.card h2,
.notice h2 {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.05;
}

.card p,
.notice p,
.card li {
  color: var(--text);
  line-height: 1.6;
}

.sequence {
  display: grid;
  gap: 10px;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.pricing {
  display: grid;
  gap: 12px;
}

.price-line {
  padding: 14px;
  border-radius: 18px;
  background: rgba(12, 111, 105, 0.08);
  font-weight: 900;
  color: var(--ink);
}

.notice {
  margin-top: 20px;
  background: rgba(75, 44, 175, 0.08);
  border-color: rgba(75, 44, 175, 0.18);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal);
}

[dir="rtl"] .brand,
[dir="rtl"] .nav-links,
[dir="rtl"] .actions,
[dir="rtl"] .footer-links {
  direction: rtl;
}

[dir="rtl"] h1 {
  letter-spacing: -0.035em;
}

@media (max-width: 900px) {
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .language-picker select {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 22px, 1120px);
    padding-top: 26px;
  }

  .hero-copy,
  .language-list,
  .card,
  .notice {
    border-radius: 22px;
    padding: 20px;
  }

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

  .brand img {
    width: 42px;
    height: 42px;
  }
}
