:root {
  --bg: #ffffff;
  --sky: #eef8ff;
  --sky-2: #dff1ff;
  --paper: #ffffff;
  --ink: #132235;
  --muted: #66788d;
  --blue: #2878f0;
  --blue-dark: #1554b8;
  --aqua: #20b8d8;
  --line: rgba(19, 34, 53, 0.1);
  --line-blue: rgba(40, 120, 240, 0.2);
  --shadow: 0 24px 70px rgba(37, 92, 150, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(32, 184, 216, 0.13), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(40, 120, 240, 0.12), transparent 25rem),
    linear-gradient(180deg, #ffffff 0%, var(--sky) 48%, #ffffff 100%);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0%, rgba(255, 255, 255, 0.58) 44%, rgba(40, 120, 240, 0.08) 58%, transparent 74%),
    repeating-linear-gradient(90deg, rgba(19, 34, 53, 0.024) 0 1px, transparent 1px 112px);
  opacity: 0.72;
  transform: translateX(-28%);
  animation: blue-drift 16s ease-in-out infinite alternate;
}

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin-top: 18px;
  font-size: clamp(3rem, 7.8vw, 7.1rem);
  font-weight: 850;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  font-weight: 850;
}

h3 {
  font-size: 1.16rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 74px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-blue);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, var(--sky-2));
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(40, 120, 240, 0.14);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(37, 92, 150, 0.08);
}

.site-nav a {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: #e9f5ff;
  color: var(--blue-dark);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 74svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.28) 72%, rgba(255, 255, 255, 0.88) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 68%, #ffffff 100%),
    url("assets/ololoo-saas-apps.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 22%;
  background: linear-gradient(180deg, transparent, #ffffff);
}

.hero-content {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 72px 0 58px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.9vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(40, 120, 240, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(37, 92, 150, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--line-blue);
  background: #ffffff;
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.trust-section {
  padding-top: 46px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-card,
.service-card,
.process-card,
.launch-panel,
.contact-panel,
.legal-content section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(40, 120, 240, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.trust-card {
  min-height: 166px;
  padding: 24px;
}

.trust-card span,
.card-index,
.process-card span,
.launch-row span {
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-card strong {
  display: block;
  margin-top: 18px;
  font-size: 1.12rem;
}

.trust-card p {
  margin-top: 10px;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow),
.contact-panel p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.process-card {
  min-height: 292px;
  padding: 24px;
}

.service-card h3,
.process-card h3 {
  margin-top: 44px;
}

.service-card p,
.process-card p {
  margin-top: 16px;
  color: var(--muted);
}

.launch-section {
  background: linear-gradient(180deg, transparent, rgba(238, 248, 255, 0.75), transparent);
}

.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.68fr);
  gap: 48px;
  align-items: start;
}

.launch-panel {
  overflow: hidden;
  background: #ffffff;
}

.launch-row {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.launch-row:last-child {
  border-bottom: 0;
}

.launch-row strong {
  line-height: 1.35;
}

.products-section {
  padding-top: 50px;
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tags span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.contact-section {
  padding-top: 50px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-color: var(--line-blue);
  background:
    linear-gradient(115deg, rgba(40, 120, 240, 0.12), transparent 36%),
    linear-gradient(280deg, rgba(32, 184, 216, 0.13), transparent 42%),
    #ffffff;
}

.contact-panel > div {
  display: grid;
  gap: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin-top: 10px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:not(.brand) {
  color: var(--ink);
}

.site-footer a:not(.brand):hover,
.site-footer a:not(.brand):focus-visible {
  color: var(--blue);
  outline: none;
}

.copyright {
  text-align: right;
}

.legal-main {
  width: min(100% - 32px, 940px);
  margin: 0 auto;
  padding: 62px 0 76px;
}

.legal-hero {
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(2.7rem, 7vw, 6.2rem);
}

.legal-hero p:last-child {
  margin-top: 18px;
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 24px;
  padding-top: 38px;
}

.legal-content section {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.legal-content h2 {
  font-size: 1.14rem;
}

.legal-content p {
  margin-top: 12px;
  color: var(--muted);
}

.legal-content a {
  color: var(--blue);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blue-drift {
  0% {
    transform: translateX(-28%);
  }
  100% {
    transform: translateX(18%);
  }
}

@media (max-width: 980px) {
  .card-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid,
  .launch-layout,
  .products-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel .button {
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 740px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand span:last-child {
    overflow-wrap: anywhere;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(310px, calc(100vw - 32px));
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    min-height: 78svh;
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.8rem);
    overflow-wrap: anywhere;
  }

  .section {
    padding: 72px 0;
  }

  .card-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-card,
  .service-card,
  .process-card,
  .launch-row,
  .legal-content section {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
