@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-variable.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-variable-italic.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #eeece5;
  --text: #2d2e32;
  --main: #2ef0bd;
  --main-light-light: #b9f1e3;
  --main-soft: #c8f8e8;
  --surface: #f8f7f3;
  --surface-strong: #ffffff;
  --muted: #6c6d70;
  --border: rgba(45, 46, 50, 0.18);
  --border-strong: #2d2e32;
  --shadow: 0 18px 50px rgba(45, 46, 50, 0.12);
  --radius: 8px;
  --content: min(1120px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1120px) / 2));
  background: rgba(238, 236, 229, 0.94);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img,
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a,
.language-link,
.site-footer a {
  transition: color 0.16s ease;
}

.site-nav a:hover,
.language-link:hover,
.site-footer a:hover {
  color: var(--text);
}

.language-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 800;
}

.language-link img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.site-main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(620px, 78svh, 820px);
  padding: 68px max(24px, calc((100vw - 1120px) / 2)) 78px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.88;
  font-weight: 900;
}

.lead {
  width: min(680px, 100%);
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
  line-height: 1.48;
  font-weight: 520;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 84px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.intro-section,
.trust-section {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1120px) / 2));
  padding-left: max(24px, calc((100vw - 1120px) / 2));
  background: var(--main-light-light);
}

.intro-section + .section,
.flow-section + .trust-section,
.trust-section + .section {
  border-top: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section h2,
.page h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
}

.audience-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--main);
  color: var(--text);
}

.audience-label strong {
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 900;
}

.audience-label span {
  color: rgba(45, 46, 50, 0.78);
  font-size: 0.98rem;
  line-height: 1.42;
  font-weight: 700;
}

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

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.flow-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.feature-card h3,
.flow-step h3,
.trust-list strong {
  margin: 0 0 10px;
  display: block;
  font-size: 1.24rem;
  line-height: 1.15;
  font-weight: 900;
}

.feature-card p,
.flow-step p,
.trust-copy p,
.trust-list span,
.page-content {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
  font-weight: 520;
}

.flow-step {
  overflow: hidden;
}

.flow-step img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 20px;
  background: var(--surface-strong);
  border-bottom: 1px solid var(--border);
}

.flow-step span {
  display: inline-flex;
  margin: 20px 22px 12px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
  border-bottom: 4px solid var(--main);
}

.flow-step h3,
.flow-step p {
  padding: 0 22px;
}

.flow-step p {
  padding-bottom: 24px;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: start;
}

.trust-copy h2 {
  margin: 0 0 18px;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.trust-support {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  font-weight: 850;
  border-bottom: 3px solid var(--main);
}

.page {
  width: min(880px, calc(100vw - 48px));
  margin: 72px auto 96px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page h1 {
  margin-bottom: 24px;
}

.page-content > * + * {
  margin-top: 18px;
}

.page-content a {
  font-weight: 850;
  border-bottom: 3px solid var(--main);
}

.page-content ul {
  padding-left: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px max(24px, calc((100vw - 1120px) / 2)) 36px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

.footer-copy {
  text-align: right;
}

@media (max-width: 960px) {
  :root {
    --content: min(100vw - 36px, 720px);
  }

  .site-header {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 18px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 560px;
    padding: 64px 18px;
  }

  .hero h1 {
    font-size: clamp(4rem, 24vw, 7rem);
  }

  .section {
    padding: 58px 0;
  }

  .intro-section,
  .trust-section {
    padding: 58px 18px;
  }

  .section-heading,
  .feature-grid,
  .flow-grid,
  .trust-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .audience-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .feature-card {
    min-height: 0;
  }

  .flow-step img {
    height: 210px;
  }

  .page {
    width: calc(100vw - 36px);
    margin: 40px auto 70px;
    padding: 26px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-nav {
    gap: 14px;
    font-size: 0.91rem;
  }

}
