/* ============ Fonts (Ronzino — SIL OFL, self-hosted) ============ */
@font-face {
  font-family: 'Ronzino';
  src: url('assets/fonts/Ronzino-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ronzino';
  src: url('assets/fonts/Ronzino-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ronzino';
  src: url('assets/fonts/Ronzino-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============ Design tokens (from Figma) ============ */
:root {
  --purple:   #bab8ff;   /* hero background */
  --navy:     #022a3b;   /* text + button */
  --content-max: 1280px;
  --font: 'Ronzino', 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ============ Nav (node 11:4) ============ */
.nav {
  background: #fff;
  height: 80px;
  width: 100%;
}
.nav__container {
  max-width: var(--content-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 5.5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__link {
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--navy);
  white-space: nowrap;
}
.nav__link:hover { text-decoration: underline; }
.nav__toggle {
  display: none;               /* desktop: links only, hamburger hidden */
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.nav__toggle img { width: 100%; height: 100%; }

/* Full-screen overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.nav-overlay[hidden] { display: none; }
.nav-overlay__close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.nav-overlay__close img { width: 100%; height: 100%; }
.nav-overlay__links {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.nav-overlay__links a {
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--navy);
}
.nav-overlay__links a:hover { text-decoration: underline; }

/* ============ Hero ============ */
.hero {
  background: var(--purple);
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 64px 80px;
}
.hero__inner {
  width: 100%;
  max-width: var(--content-max);
  display: flex;
  align-items: center;
  gap: 80px;
}

/* Text column */
.hero__text {
  flex: 1 1 0;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.hero__title {
  width: 100%;
  font-weight: 700;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1.1;
  color: var(--navy);
}
.hero__body {
  width: 100%;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--navy);
  max-width: 640px;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 8px 24px;
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 48px;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn:hover { background: transparent; color: var(--navy); }

/* Illustration */
.hero__illustration {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1 / 1;
  max-width: 600px;
}
.hero__illustration img { width: 100%; height: 100%; object-fit: contain; }

/* ============ Mobile ============ */
@media (max-width: 900px) {
  /* Nav: hide inline links, show only the menu button (right-aligned) */
  .nav__container { padding: 0 26px; justify-content: flex-end; }
  .nav__link { display: none; }
  .nav__toggle { display: block; }

  .hero { padding: 56px 20px; min-height: 0; align-items: flex-start; }
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .hero__title { font-size: clamp(30px, 8vw, 36px); }
  .hero__text { max-width: 800px; gap: 32px; }
  .btn { width: 100%; }
  .hero__illustration { width: 100%; max-width: none; }
}
