:root {
  --blue: #2276bc;
  --blue-dark: #0c4e86;
  --ink: #0d1b2a;
  --muted: #5d6f82;
  --line: #d9e4ee;
  --surface: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(13, 27, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.splash-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(34, 118, 188, 0.16), transparent 34%),
    var(--white);
  animation: splashExit 850ms ease 1450ms forwards;
  pointer-events: none;
}

.splash-loader img {
  width: min(440px, 76vw);
  opacity: 0;
  filter: drop-shadow(0 28px 54px rgba(34, 118, 188, 0.22));
  animation: splashLogo 1400ms ease forwards;
}

@keyframes splashLogo {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }

  45%,
  80% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0.94;
    transform: translateY(0) scale(0.985);
  }
}

@keyframes splashExit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 228, 238, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand img {
  width: 92px;
  height: 54px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(34, 118, 188, 0.18);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 74px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 118, 188, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 100%);
}

.hero::before {
  position: absolute;
  top: 36px;
  right: max(-120px, -8vw);
  width: min(620px, 62vw);
  aspect-ratio: 1242 / 848;
  content: "";
  background: url("assets/splash_logo.png") center / contain no-repeat;
  opacity: 0.08;
  filter: blur(0.2px) saturate(1.15);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-grid,
.split,
.founder,
.terms-cta,
.footer-grid {
  display: grid;
  align-items: center;
  gap: 48px;
}

.hero-grid,
.split,
.founder,
.footer-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-actions,
.terms-actions,
.legal-download {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 35px rgba(34, 118, 188, 0.28);
}

.btn.secondary {
  color: var(--blue-dark);
  border-color: var(--line);
  background: var(--white);
}

.hero-card,
.card,
.founder-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 34px;
  background: #f7f7f7;
}

.hero-card img {
  width: 100%;
  height: 220px;
  margin: 0 auto 30px;
  border-radius: 24px;
  object-fit: contain;
  background: #f7f7f7;
}

.hero-card h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.hero-card p,
.intro p,
.split p,
.founder p,
.terms-cta p,
.contact-card p,
.page-hero p {
  color: var(--muted);
}

.hero-card dl {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.hero-card dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-card dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.muted {
  background: var(--surface);
}

.intro {
  max-width: 880px;
}

.intro h2,
.section-heading h2,
.split h2,
.founder h2,
.terms-cta h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.intro p,
.split p,
.founder p,
.terms-cta p,
.contact-card p,
.page-hero p {
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
  box-shadow: none;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span,
.logo-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #081827, #0c4e86);
}

.dark .eyebrow,
.dark .credibility {
  color: #a8d6ff;
}

.dark .section-heading h2 {
  max-width: 900px;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-grid span {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.credibility {
  max-width: 860px;
  margin: 32px 0 0;
  font-size: 1.05rem;
}

.founder-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.founder-card img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 36px;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 24px 46px rgba(13, 27, 42, 0.18);
}

.founder-card p {
  margin: 20px 0 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.terms-cta {
  grid-template-columns: 1fr auto;
}

.contact {
  padding-top: 0;
}

.contact-card {
  padding: 58px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(34, 118, 188, 0.24), transparent 44%);
}

.contact-card p {
  max-width: 720px;
  margin: 18px auto 0;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.footer-brand img {
  width: 78px;
  height: 44px;
  object-fit: contain;
}

.site-footer p {
  max-width: 430px;
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-links {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.page-hero {
  padding: 92px 0 58px;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 118, 188, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
}

.legal {
  max-width: 860px;
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero-grid,
  .split,
  .founder,
  .terms-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .terms-actions,
  .footer-links {
    justify-content: flex-start;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-top: 62px;
  }

  .section,
  .page-hero {
    padding: 62px 0;
  }

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

  .contact-card {
    padding: 34px 22px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .founder-card img {
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-loader,
  .splash-loader img {
    animation-duration: 1ms;
    animation-delay: 0ms;
  }
}
