:root {
  --bg: #edf5ff;
  --surface: #ffffff;
  --ink: #10233f;
  --muted: #4a5f7b;
  --accent: #0d67c7;
  --accent-2: #2aa5ff;
  --ring: #d7e6f8;
  --shadow: 0 18px 50px rgba(15, 52, 108, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(42, 165, 255, 0.22), transparent 35%),
    radial-gradient(circle at 80% 5%, rgba(13, 103, 199, 0.2), transparent 35%),
    linear-gradient(160deg, #f7fbff 0%, #e8f1fc 55%, #e3edf9 100%);
}

.site-header,
main,
.site-footer {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-text {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.09em;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
}

.brand-drop {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    radial-gradient(circle at 35% 78%, #2cf0ff 5%, #1ca4ea 32%, #0f5db9 64%, #08307a 100%);
  border-radius: 0 62% 68% 62%;
  transform: rotate(45deg);
  border: 1px solid rgba(8, 70, 153, 0.45);
  box-shadow:
    0 0 0 1px rgba(131, 231, 255, 0.25) inset,
    0 6px 14px rgba(11, 58, 135, 0.35);
  overflow: hidden;
}

.brand-drop::before,
.brand-drop::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  filter: blur(0.2px);
}

.brand-drop::before {
  width: 7px;
  height: 27px;
  left: 10px;
  top: 5px;
  transform: rotate(-8deg);
}

.brand-drop::after {
  width: 4px;
  height: 16px;
  right: 11px;
  top: 10px;
  opacity: 0.72;
}

.brand-drop-text {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ffffff;
  transform: rotate(-45deg) translateY(5px);
  text-shadow: 0 1px 2px rgba(0, 35, 88, 0.55);
  position: relative;
  z-index: 1;
}

.header-cta {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ring);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: 200ms ease;
}

.header-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 1.25rem 0 2rem;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  font-size: 0.82rem;
}

.hero h1 {
  margin: 0.3rem 0 1rem;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.12;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-lead {
  margin-top: 0.45rem;
  font-size: clamp(1.2rem, 1.7vw, 1.42rem);
  line-height: 1.5;
  max-width: 33ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
}

.btn-ghost {
  color: var(--ink);
  background: #f3f8ff;
  border: 1px solid var(--ring);
}

.hero-media {
  background: var(--surface);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  border: 1px solid #dce8f7;
  padding: 1rem;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

.card,
.contact {
  background: var(--surface);
  border: 1px solid #dce8f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.25rem;
  margin-bottom: 1rem;
}

.card h2,
.contact h2 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.4rem;
}

.card p,
.card li,
.contact p {
  color: #2d4668;
}

.card ol {
  margin: 0.2rem 0 0;
  padding-left: 1.2rem;
}

.card li + li {
  margin-top: 0.42rem;
}

.contact-mail {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  text-decoration: none;
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0 2rem;
  color: #5d7495;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 700ms ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 120ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 200ms;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 0.5rem;
  }

  .hero-media {
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(1080px, calc(100% - 1.25rem));
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
