:root {
  --bg: #f3efe6;
  --bg-deep: #ebe4d7;
  --surface: rgba(255, 252, 246, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --text: #18211d;
  --muted: #5b6763;
  --line: rgba(24, 33, 29, 0.1);
  --primary: #015de2;
  --primary-dark: #123f8f;
  --accent: #66d9b4;
  --accent-dark: #0e8942;
  --shadow: 0 28px 80px rgba(22, 24, 21, 0.09);
  --shadow-soft: 0 12px 36px rgba(22, 24, 21, 0.07);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  --radius-xl: 34px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(102, 217, 180, 0.2), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(1, 93, 226, 0.11), transparent 28%),
    linear-gradient(180deg, #faf7f1 0%, var(--bg) 55%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0) 30%);
}

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

.site-shell,
.legal-shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-top: 8px;
  border: 1px solid rgba(24, 33, 29, 0.07);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.nav a.is-active,
.lang-switch {
  color: var(--primary-dark);
}

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

.lang-switch {
  padding: 7px 12px;
  border: 1px solid rgba(1, 93, 226, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
  align-items: stretch;
  padding: 28px 0 18px;
}

.hero-copy,
.hero-card,
.panel,
.link-card,
.legal-page {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-card,
.panel,
.link-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 42px 40px;
  background:
    radial-gradient(circle at top left, rgba(102, 217, 180, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(252, 248, 241, 0.9));
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 93, 226, 0.09), transparent 68%);
}

.hero-card {
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(102, 217, 180, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(245, 251, 247, 0.98), rgba(238, 247, 241, 0.92));
}

.eyebrow,
.panel-kicker,
.link-card-label,
.legal-meta {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--primary-dark);
}

h1,
h2 {
  font-family: var(--serif);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 6vw, 4.9rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.lede,
.panel p,
.legal-page p,
.legal-page li,
.link-card span {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(1, 93, 226, 0.18);
  color: var(--primary-dark);
}

.signal-stack {
  position: relative;
  height: 156px;
  margin-bottom: 18px;
}

.signal,
.signal-core {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.signal {
  border-top: 10px solid transparent;
  border-radius: 999px 999px 0 0;
}

.signal-1 {
  inset: 28px 24px auto;
  height: 92px;
  border-top-color: rgba(102, 217, 180, 0.95);
}

.signal-2 {
  inset: 46px 56px auto;
  height: 72px;
  border-top-color: #20be62;
}

.signal-3 {
  inset: 64px 90px auto;
  height: 54px;
  border-top-color: var(--accent-dark);
}

.signal-core {
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
}

.card-title {
  font-weight: 800;
  margin: 0 0 12px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.section-grid,
.link-cards {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.section-grid {
  grid-template-columns: 1.05fr 1.05fr 0.9fr;
}

.link-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.link-card {
  padding: 26px;
}

.panel {
  background: rgba(255, 255, 255, 0.7);
}

.link-card {
  display: grid;
  gap: 8px;
  transition: transform 160ms ease, border-color 160ms ease;
  background: rgba(255, 255, 255, 0.76);
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(1, 93, 226, 0.28);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 26px;
  margin-top: 22px;
  color: var(--muted);
}

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

.footer-tagline {
  margin-top: 4px;
  font-size: 0.95rem;
}

.language-main,
.quick-redirect-main {
  min-height: 58vh;
  display: grid;
  place-items: center;
}

.language-hero,
.quick-redirect-card {
  width: min(760px, 100%);
}

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

.language-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}

.legal-page {
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.legal-page section + section {
  margin-top: 28px;
}

.legal-page ul {
  padding-left: 18px;
}

.content-page h2,
.page-title {
  margin-bottom: 14px;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.content-columns {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  margin-top: 20px;
}

.help-section + .help-section,
.faq-category + .faq-category,
.legal-group + .legal-group {
  margin-top: 24px;
}

.help-section h3,
.faq-category h3,
.legal-group h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.help-body ul,
.legal-group ul,
.ordered-list {
  padding-left: 20px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-number {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-weight: 800;
}

.info-list {
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 6px 0;
}

.info-row dt {
  color: var(--muted);
  font-weight: 700;
}

.info-row dd {
  margin: 0;
}

.signature {
  font-weight: 700;
  color: var(--primary-dark);
}

@media (max-width: 920px) {
  .hero,
  .section-grid,
  .link-cards,
  .content-columns,
  .language-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .legal-shell {
    width: min(100% - 20px, 1120px);
  }

  .hero-copy,
  .hero-card,
  .panel,
  .link-card,
  .legal-page {
    padding: 22px;
    border-radius: 22px;
  }

  .topbar {
    padding: 16px;
  }

  .nav {
    gap: 12px;
  }
}
