:root {
  --ink: #1c2430;
  --muted: #5d6878;
  --leaf: #27b767;
  --leaf-dark: #108447;
  --sky: #dff6ff;
  --sun: #ffd45a;
  --coral: #ff765f;
  --cream: #fff8df;
  --card: #ffffff;
  --line: rgba(28, 36, 48, .12);
  --shadow: 0 22px 70px rgba(30, 87, 114, .22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6fdff 0%, #fffdf2 44%, #f7fff8 100%);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
}

.site-header.solid {
  position: sticky;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .88);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--sun), var(--coral));
  color: #234;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
  font-size: 14px;
}

.solid .brand-mark,
.footer .brand-mark {
  border-color: rgba(28, 36, 48, .12);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 800;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}

.solid .language-switcher {
  border-color: var(--line);
  background: rgba(255, 255, 255, .8);
}

.language-switcher a {
  display: inline-flex;
  min-width: 42px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 999px;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  background: #fff;
  color: var(--ink);
}

.language-switcher .flag {
  font-size: 18px;
  line-height: 1;
}

.language-switcher .code {
  font-size: 11px;
}

.nav-links a,
.footer-links a,
.footer.compact a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 116px clamp(20px, 6vw, 78px) 78px;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/hero-1207201-flipped.png");
  background-size: cover;
  background-position: 64% center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 52, 67, .78) 0%, rgba(12, 52, 67, .56) 34%, rgba(12, 52, 67, .12) 72%),
    linear-gradient(0deg, rgba(17, 59, 42, .62) 0%, rgba(17, 59, 42, .02) 44%);
}

.hero-content {
  position: relative;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 24px;
  border: 2px solid transparent;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

.button.primary {
  background: linear-gradient(135deg, var(--sun), #ff9f43);
  color: #1e2b35;
}

.button.secondary {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(10px);
}

.download-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro,
.payment,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro > p,
.split p,
.payment-panel {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.payment-panel,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 26px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.feature-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ddfff0, #fff5bd);
  color: var(--leaf-dark);
  font-weight: 900;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.steps li {
  display: grid;
  gap: 5px;
  padding: 20px;
  border-left: 6px solid var(--leaf);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(57, 93, 72, .12);
}

.steps span {
  color: var(--muted);
}

.payment {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1120px) / 2));
  padding-right: max(20px, calc((100vw - 1120px) / 2));
  background: linear-gradient(135deg, #e8fff2, #fff8dd);
}

.payment-panel {
  padding: 28px;
}

.payment-panel p {
  margin-top: 0;
}

.payment-panel ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.cta-band {
  justify-content: space-between;
  min-height: 210px;
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2fd27a, #a8e85f 48%, #ffe36e);
  box-shadow: var(--shadow);
}

.cta-band .eyebrow {
  color: #0f6135;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 42px clamp(20px, 6vw, 78px);
  color: #fff;
  background: #143221;
}

.footer p {
  max-width: 430px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .72);
}

.footer.compact {
  align-items: center;
}

.legal-page {
  background: linear-gradient(180deg, #f7fcff, #fffdf2);
}

.legal {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 92px;
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 64px);
}

.legal h2 {
  margin-top: 38px;
  font-size: 26px;
}

.legal p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.legal a {
  color: var(--leaf-dark);
  font-weight: 800;
}

.support {
  display: grid;
  gap: 20px;
}

.support-card {
  padding: 24px;
}

.support-card h2,
.support-card p {
  margin-top: 0;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .site-header {
    gap: 12px;
  }

  .language-switcher {
    padding: 5px;
  }

  .hero {
    min-height: 780px;
    align-items: end;
  }

  .hero-media {
    background-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(12, 52, 67, .82) 0%, rgba(12, 52, 67, .46) 62%, rgba(12, 52, 67, .04) 100%),
      linear-gradient(90deg, rgba(12, 52, 67, .5), rgba(12, 52, 67, .06));
  }

  .intro,
  .payment,
  .split,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    width: min(640px, calc(100% - 40px));
  }

  .footer,
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 720px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 12px;
  }

  .language-switcher .code {
    display: none;
  }

  .language-switcher a {
    min-width: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .button {
    width: 100%;
  }

  .section {
    width: calc(100% - 32px);
    padding: 58px 0;
  }

  .payment {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cta-band {
    padding: 28px;
  }
}
