:root {
  --blue: #2338c0;
  --blue-dark: #1a2b96;
  --blue-light: #eef1fc;
  --orange: #f26a1f;
  --orange-dark: #d95a12;
  --ink: #2338c0;
  --gray: #2338c0;
  --line: #e4e8f2;
  --bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6
}

img {
  max-width: 100%
}

a {
  color: var(--blue)
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: .2s;
  border: none;
  cursor: pointer;
  font-size: 1rem
}

.btn-orange {
  background: var(--orange);
  color: #fff
}

.btn-orange:hover {
  background: var(--orange-dark)
}

.btn-blue {
  background: var(--blue);
  color: #fff
}

.btn-blue:hover {
  background: var(--blue-dark)
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue)
}

.btn-ghost:hover {
  background: var(--blue-light)
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem
}

h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 8px 0 14px
}

/* nav */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 50
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1100px;
  margin: 0 auto
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none
}

.brand img {
  height: 44px
}

.brand span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue)
}

.brand span b {
  color: var(--orange);
  font-weight: 700
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem
}

.nav-links a:hover {
  color: var(--blue)
}

.nav-links a.active {
  color: var(--blue);
  font-weight: 700
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  margin: 0 auto
}

nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg)
}

nav.open .nav-toggle span:nth-child(2) {
  opacity: 0
}

nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg)
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease
  }

  nav.open .nav-links {
    max-height: 420px;
    opacity: 1
  }

  .nav-links a {
    padding: 14px 24px;
    font-size: 1rem;
    border-top: 1px solid var(--line)
  }
}

/* modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 35, 51, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible
}

.modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(28, 35, 51, .3);
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1)
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--gray);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: .2s
}

.modal-close:hover {
  background: var(--blue-light);
  color: var(--blue);
  border-color: var(--blue)
}

.modal-head {
  padding: 26px 28px 10px;
  text-align: center
}

.modal-head h3 {
  font-size: 1.45rem;
  margin: 0 0 6px;
  color: var(--ink)
}

.modal-head p {
  color: var(--gray);
  font-size: .95rem;
  margin: 0
}

.modal-body {
  padding: 10px 20px 22px
}

.modal-body iframe {
  width: 100%;
  border: 0;
  display: block;
  margin: 0 auto;
  max-width: 100%
}

/* footer */
footer {
  padding: 36px 0;
  border-top: 1px solid var(--line)
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--gray);
  font-size: .9rem
}

.foot img {
  height: 34px
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px
}