:root {
  --bg: #fff8f0;
  --bg-alt: #ffefd9;
  --card: #ffffff;
  --border: #f1e6d3;
  --text: #1f2937;
  --soft: #4b5563;
  --muted: #8b98a8;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-soft: #ffe4cc;
  --green: #10b981;
  --green-dark: #059669;
  --green-soft: #d1fae5;
  --blue: #3b82f6;
  --shadow: 0 22px 60px rgba(31, 41, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

img {
  user-select: none;
}

a {
  color: inherit;
}

main {
  min-height: 100vh;
  background:
    linear-gradient(140deg, rgba(255, 248, 240, 0.94), rgba(255, 239, 217, 0.84)),
    radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.16), transparent 32%),
    radial-gradient(circle at 14% 78%, rgba(59, 130, 246, 0.12), transparent 28%);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px max(22px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(241, 230, 211, 0.72);
  background:
    linear-gradient(140deg, rgba(255, 248, 240, 0.98), rgba(255, 239, 217, 0.94)),
    var(--bg);
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.brand,
.nav,
.header-actions,
.language-switch {
  pointer-events: auto;
}

.brand img {
  display: block;
  width: clamp(138px, 14vw, 182px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(241, 230, 211, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(16px);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 118px 22px 72px;
}

.hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__media img {
  position: absolute;
  display: block;
  height: auto;
  filter: drop-shadow(0 20px 34px rgba(31, 41, 55, 0.14));
}

.parallax {
  --parallax-y: 0px;
  will-change: transform;
}

.hero__badge {
  width: clamp(118px, 15vw, 190px);
  top: 24%;
  right: max(28px, calc((100vw - 1120px) / 2 - 24px));
  transform: translate3d(0, var(--parallax-y), 0) rotate(7deg);
}

.hero__avatar {
  width: clamp(126px, 14vw, 188px);
  right: max(28px, calc((100vw - 1120px) / 2 - 34px));
  bottom: 7%;
  transform: translate3d(0, var(--parallax-y), 0) rotate(-4deg);
  opacity: 0.92;
}

.hero__medal {
  width: clamp(104px, 13vw, 158px);
  left: max(34px, calc((100vw - 1120px) / 2 + 12px));
  bottom: 19%;
  transform: translate3d(0, var(--parallax-y), 0) rotate(-8deg);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 999px;
  background: var(--green-soft);
  letter-spacing: 0;
  text-transform: none;
}

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

h1 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.9;
  font-weight: 950;
}

h2 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 950;
}

.hero__tagline {
  margin: 20px auto 0;
  max-width: 740px;
  color: var(--orange-dark);
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.12;
  font-weight: 900;
}

.hero__text {
  margin: 18px auto 0;
  max-width: 650px;
  color: var(--soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  font-weight: 650;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button,
.final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
}

.button--primary,
.final-cta a {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.button--secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.proof,
.story,
.steps,
.showcase,
.feature-band,
.final-cta,
.legal-hero,
.legal-layout {
  width: min(calc(100% - 44px), 1120px);
  margin: 0 auto;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 42px;
}

.proof article,
.feature,
.legal-note,
.legal-doc {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.proof article {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
}

.proof strong,
.feature h3,
.legal-doc h2 {
  color: var(--text);
  font-weight: 900;
}

.proof span,
.feature p,
.story__copy p:not(.section-kicker),
.showcase__panel p:not(.section-kicker),
.final-cta p,
.step p,
.legal-doc p,
.legal-doc li,
.legal-note p {
  color: var(--soft);
  line-height: 1.65;
  font-weight: 650;
}

.story {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: 34px;
  padding: 74px 0;
}

.story__copy {
  max-width: 560px;
}

.section-kicker {
  margin: 0 0 12px;
}

.story__art {
  position: relative;
  min-height: 420px;
}

.story__badge {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(31, 41, 55, 0.13));
}

.story__badge--one {
  width: min(42vw, 280px);
  top: 48px;
  left: 52px;
  transform: translate3d(0, var(--parallax-y), 0) rotate(-8deg);
}

.story__badge--two {
  width: min(34vw, 210px);
  right: 62px;
  bottom: 46px;
  transform: translate3d(0, var(--parallax-y), 0) rotate(9deg);
}

.steps {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.95fr);
  align-items: start;
  gap: 68px;
  padding: 88px 0 96px;
}

.steps .section-heading {
  position: sticky;
  top: 104px;
  max-width: 760px;
}

.steps__timeline {
  position: relative;
  display: grid;
  gap: 72px;
  padding: 34px 0 34px 46px;
}

.steps__timeline::before {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 22px;
  width: 2px;
  background-image: linear-gradient(
    to bottom,
    rgba(249, 115, 22, 0.62) 0 6px,
    transparent 6px 15px
  );
  background-size: 2px 15px;
}

.step {
  position: relative;
  min-height: 220px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px 0;
}

.step::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 50px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow:
    0 0 0 9px var(--bg),
    0 0 0 10px rgba(249, 115, 22, 0.24);
}

.step__number {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-weight: 950;
}

.step h3 {
  margin: 5px 0 12px;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
  font-weight: 950;
}

.showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: 24px;
  padding: 80px 0;
}

.showcase__panel {
  display: block;
  padding: 0;
}

.showcase__badges {
  position: relative;
  min-height: 360px;
}

.showcase__badges img {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(31, 41, 55, 0.14));
}

.showcase__badges img:nth-child(1) {
  width: min(44vw, 240px);
  left: 0;
  top: 20px;
  transform: translate3d(0, var(--parallax-y), 0) rotate(-10deg);
}

.showcase__badges img:nth-child(2) {
  width: min(39vw, 220px);
  right: 0;
  top: 94px;
  transform: translate3d(0, var(--parallax-y), 0) rotate(8deg);
}

.showcase__badges img:nth-child(3) {
  width: min(31vw, 160px);
  left: 34%;
  bottom: 10px;
  transform: translate3d(0, var(--parallax-y), 0) rotate(-4deg);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 64px 0;
}

.feature {
  min-height: 250px;
  padding: 24px;
}

.feature span {
  display: inline-flex;
  margin-bottom: 44px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 950;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.final-cta {
  margin-bottom: 48px;
  padding: 58px 24px;
  text-align: center;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(16, 185, 129, 0.14)),
    rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
}

.final-cta p {
  max-width: 640px;
  margin: 18px auto 0;
}

.final-cta a {
  margin-top: 26px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-hero {
  padding: 154px 0 42px;
}

.legal-hero h1 {
  max-width: 850px;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
}

.legal-hero p {
  max-width: 740px;
  margin-top: 18px;
  color: var(--soft);
  font-size: 1.1rem;
  line-height: 1.65;
  font-weight: 650;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(31, 41, 55, 0.06);
}

.language-switch--header {
  margin-top: 0;
}

.language-switch span,
.language-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
}

.language-switch span {
  color: var(--orange-dark);
}

.language-switch a {
  color: var(--soft);
  text-decoration: none;
}

.language-switch a:hover {
  color: var(--orange-dark);
}

.legal-hub {
  min-height: 76vh;
}

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

.language-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.06);
}

.language-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-weight: 950;
}

.language-card strong {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 950;
}

.language-card small {
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 72px;
}

.legal-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(31, 41, 55, 0.06);
}

.legal-toc a {
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
}

.legal-toc a:hover {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-note {
  padding: 20px;
}

.legal-note strong {
  color: var(--orange-dark);
}

.legal-doc {
  padding: clamp(22px, 4vw, 42px);
  scroll-margin-top: 118px;
}

.legal-doc h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.legal-doc h3 {
  margin: 24px 0 8px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 900;
}

.legal-doc ul {
  padding-left: 22px;
}

.legal-doc code {
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--bg-alt);
}

@media (max-width: 840px) {
  .site-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 320px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    margin: 20px auto 0;
  }

  .header-actions {
    width: 100%;
    max-width: 320px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
  }

  .language-switch--header {
    width: 100%;
    justify-content: center;
    overflow: hidden;
  }

  .language-switch--header span,
  .language-switch--header a {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
  }

  .nav a {
    flex: 1 1 132px;
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: 58px 16px 54px;
  }

  .hero__media {
    display: none;
  }

  .hero__content {
    min-width: 0;
    width: min(100%, 320px);
    max-width: 320px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    width: 100%;
  }

  h1,
  h2,
  .hero__tagline,
  .hero__text {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .proof,
  .feature-band,
  .story,
  .showcase,
  .steps,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .story,
  .showcase,
  .steps {
    padding: 54px 0;
  }

  .story__art {
    min-height: 340px;
  }

  .story__badge--one {
    width: 220px;
    left: 34px;
  }

  .story__badge--two {
    width: 170px;
    right: 34px;
  }

  .steps {
    gap: 24px;
  }

  .steps .section-heading,
  .legal-toc {
    position: relative;
    top: auto;
  }

  .steps__timeline {
    gap: 38px;
    padding-left: 42px;
  }

  .step {
    min-height: auto;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
  }

  .step__number {
    width: 48px;
    height: 48px;
  }

  .step h3 {
    margin-top: 2px;
  }

  .showcase__badges {
    min-height: 300px;
  }

  .legal-hero {
    padding-top: 58px;
  }

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

@media (max-width: 440px) {
  .proof,
  .story,
  .steps,
  .showcase,
  .feature-band,
  .final-cta,
  .legal-hero,
  .legal-layout {
    width: calc(100% - 32px);
  }

  .eyebrow {
    font-size: 0.78rem;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 4rem);
  }

  .hero__tagline {
    font-size: 1.45rem;
    line-height: 1.16;
  }

  .hero__text {
    font-size: 1rem;
    line-height: 1.55;
  }

  .showcase__badges img:nth-child(1) {
    width: 176px;
  }

  .showcase__badges img:nth-child(2) {
    width: 162px;
  }

  .showcase__badges img:nth-child(3) {
    width: 126px;
  }
}

@media (max-width: 600px) {
  .proof,
  .story,
  .steps,
  .showcase,
  .feature-band,
  .final-cta,
  .legal-hero,
  .legal-layout {
    max-width: 320px;
  }
}

@media (max-width: 400px) {
  .site-header,
  .header-actions,
  .hero__content,
  .proof,
  .story,
  .steps,
  .showcase,
  .feature-band,
  .final-cta,
  .legal-hero,
  .legal-layout {
    max-width: 300px;
  }
}

@media (max-width: 1200px) and (min-width: 841px) {
  .hero__badge,
  .hero__medal {
    opacity: 0.58;
  }

  .hero__avatar {
    opacity: 0.42;
    right: 12px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
