/* ============ UP MEDIA — design system ============ */
:root {
  --ink: #0e0e1a;
  --ink-soft: #4b4b60;
  --paper: #f7f7fb;
  --white: #ffffff;
  --indigo: #4633f0;
  --indigo-dark: #2e1fc4;
  --mint: #63e6c0;
  --pink: #ff4d7d;
  --line: #e6e6f0;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(20, 16, 80, 0.08);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--indigo);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--indigo);
}

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }

.accent { color: var(--indigo); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(70, 51, 240, 0.35);
}
.btn-primary:hover { background: var(--indigo-dark); }

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--indigo-dark);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo { display: inline-flex; align-items: center; }
/* the PNG carries built-in padding, so it renders larger than it looks */
.logo img { height: 66px; width: auto; margin-left: -18px; }
.site-footer .logo img { height: 76px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--indigo);
  transition: width 0.2s ease;
}
.nav a:not(.btn):hover::after,
.nav a.active::after { width: 100%; }
.nav .btn { padding: 10px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: 0.2s;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero .lead { margin-top: 24px; }

.hero-art { position: relative; }
.hero-rocket {
  width: 100%;
  filter: drop-shadow(0 30px 50px rgba(46, 31, 196, 0.25));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.orbit {
  position: absolute;
  inset: -40px;
  border: 2px dashed rgba(70, 51, 240, 0.25);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- stats bar ---------- */
.stats {
  background: var(--ink);
  color: var(--white);
  padding: 44px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--mint);
}
.stat span { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 16px; }
.section.alt { background: var(--white); }

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(20, 16, 80, 0.13);
}
.section.alt .card { background: var(--paper); box-shadow: none; }

.card .num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: 0.1em;
}
.card h3 { margin: 14px 0 12px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(70, 51, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px 32px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(70, 51, 240, 0.15);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.94rem; }
.step ul { margin: 10px 0 0 18px; color: var(--ink-soft); font-size: 0.94rem; }
.step li + li { margin-top: 6px; }

/* ---------- CTA band ---------- */
.band {
  background: linear-gradient(120deg, var(--indigo-dark), var(--indigo) 60%, #6a5cff);
  color: var(--white);
  border-radius: 28px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}
.band h2 { margin-bottom: 14px; }
.band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; }

/* ---------- contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { color: var(--ink-soft); margin-bottom: 28px; }
.contact-list { list-style: none; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.contact-list .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(70, 51, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--indigo); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--indigo);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .logo { color: var(--white); }
.site-footer h4 {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 {
  font-size: 1.5rem;
  margin: 44px 0 14px;
}
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0 0 20px; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--indigo); }
.legal .updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}
.legal-facts {
  list-style: none;
  margin: 24px 0 0 !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.legal-facts li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px 24px;
  margin: 0 !important;
}
.legal-facts li + li { border-top: 1px solid var(--line); }
.legal-facts b { color: var(--ink); }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(99, 230, 192, 0.18), transparent),
    radial-gradient(700px 400px at 10% 80%, rgba(70, 51, 240, 0.12), transparent);
}
.page-hero .lead { margin-top: 20px; }
.page-hero .btn { margin-top: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap, .grid-2 { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; gap: 20px; }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav.open { transform: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
