:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --ink: #101114;
  --ink-soft: #6e6e73;
  --line: #d2d2d7;
  --nav-bg: rgba(250, 250, 252, 0.78);

  --brand-cyan: #14b8eb;
  --brand-indigo: #3f5de0;
  --brand-violet: #7b34cc;
  --brand-magenta: #c81ca4;

  --link: #0066cc;
  --link-hover: #004999;

  --radius-xl: 38px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --maxw: 1260px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  line-height: 1.5;
  background:
    radial-gradient(circle at 85% -15%, rgba(20, 184, 235, 0.09), transparent 32%),
    radial-gradient(circle at 10% -30%, rgba(123, 52, 204, 0.08), transparent 32%),
    var(--bg);
}

a {
  color: inherit;
}

.top-ribbon {
  background: linear-gradient(90deg, #08152f, #1a3c86, #08152f);
  color: #f7f9ff;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  padding: 0.53rem 1rem;
}

.global-nav {
  width: min(var(--maxw), calc(100% - 2rem));
  margin: 0.88rem auto;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0.62rem;
  z-index: 120;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.58rem;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #fff;
  display: inline-flex;
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.24rem;
}

.nav-links a {
  color: #2d2d30;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.34rem 0.64rem;
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.page {
  width: min(var(--maxw), calc(100% - 2rem));
  margin: 0 auto 2.3rem;
}

.hero,
.statement,
.workflow,
.contact {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--panel);
  margin-top: 1rem;
}

.hero {
  min-height: min(82vh, 840px);
  padding: clamp(1.4rem, 4.5vw, 4.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1rem, 3.4vw, 2.6rem);
  align-items: center;
  background:
    radial-gradient(circle at 78% 16%, rgba(20, 184, 235, 0.12), transparent 36%),
    radial-gradient(circle at 16% 84%, rgba(123, 52, 204, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  overflow: hidden;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #5e6679;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.25rem, 7vw, 5.6rem);
  max-width: 11.2ch;
}

.gradient-word {
  background: linear-gradient(90deg, var(--brand-indigo), var(--brand-violet), var(--brand-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  margin: 1rem auto 0;
  max-width: 66ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 2.25vw, 1.34rem);
}

.hero .subtitle {
  margin-left: 0;
}

.hero-actions {
  margin-top: 1.2rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.action-link {
  color: var(--link);
  font-size: 1.01rem;
  font-weight: 700;
  text-decoration: none;
}

.action-link:hover {
  color: var(--link-hover);
}

.action-link.secondary {
  color: #4f5666;
}

.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow {
  position: absolute;
  inset: 8% 12%;
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 20%, rgba(20, 184, 235, 0.4), transparent 56%),
    radial-gradient(circle at 76% 72%, rgba(200, 28, 164, 0.38), transparent 50%),
    radial-gradient(circle at 68% 30%, rgba(63, 93, 224, 0.34), transparent 52%);
  filter: blur(18px);
  transform: scale(1.04);
}

.hero-card {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 3.2 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f8f9fb 0%, #e9edf3 100%);
  border: 1px solid rgba(16, 17, 20, 0.12);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(0.45rem, 1.2vw, 0.8rem) clamp(0.65rem, 1.6vw, 1rem);
}

.hero-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: translateY(0);
  filter: saturate(1.03) contrast(1.02);
}

.statement {
  text-align: center;
  padding: clamp(2rem, 7vw, 4.8rem) clamp(1.2rem, 6vw, 3.8rem);
  background:
    radial-gradient(circle at 12% 24%, rgba(20, 184, 235, 0.18), transparent 38%),
    linear-gradient(160deg, #0b0c13 0%, #040507 100%);
  color: #f5f6fa;
}

.statement h2 {
  font-size: clamp(1.8rem, 5.1vw, 4.2rem);
  max-width: 14ch;
  margin: 0 auto;
}

.statement p {
  margin: 1rem auto 0;
  max-width: 62ch;
  color: #b8becb;
  font-size: clamp(1.01rem, 2.1vw, 1.26rem);
}

.statement .eyebrow {
  color: #d3d7e0;
}

.services-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 300px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  padding: clamp(1.2rem, 3.7vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
  justify-content: flex-start;
}

.service-card:nth-child(2n) {
  background: linear-gradient(175deg, #f8fbff, #eff5ff);
}

.service-card.large {
  min-height: 360px;
}

.service-index {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #667085;
  font-weight: 700;
}

.service-card h3 {
  font-size: clamp(1.45rem, 3vw, 2.65rem);
}

.service-card p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 43ch;
}

.workflow {
  margin-top: 1rem;
  text-align: center;
  padding: clamp(1.9rem, 6.4vw, 4.1rem) clamp(1rem, 5vw, 3rem);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.workflow h2 {
  margin: 0 auto;
  max-width: 17ch;
  font-size: clamp(1.8rem, 5vw, 3.85rem);
}

.workflow-list {
  margin: 1.5rem auto 0;
  max-width: 860px;
  display: grid;
  gap: 0.72rem;
}

.workflow-list article {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 0.95rem;
  text-align: left;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 0.85rem 0.95rem;
}

.workflow-list span {
  font-family: "Outfit", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
}

.workflow-list p {
  margin: 0;
  color: var(--ink-soft);
}

.contact {
  text-align: center;
  padding: clamp(2rem, 6.8vw, 4.9rem) clamp(1.1rem, 6vw, 4rem);
  background:
    radial-gradient(circle at 82% 22%, rgba(200, 28, 164, 0.18), transparent 36%),
    radial-gradient(circle at 14% 84%, rgba(20, 184, 235, 0.15), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.contact h2 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(1.88rem, 4.8vw, 3.8rem);
}

.site-footer {
  width: min(var(--maxw), calc(100% - 2rem));
  margin: 0 auto 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: #545766;
  padding: 1.06rem 1.2rem;
  font-size: 0.84rem;
  display: flex;
  gap: 0.7rem 1.25rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.terms-wrapper {
  width: min(940px, calc(100% - 2rem));
  margin: 1rem auto 2.2rem;
}

.terms-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  padding: clamp(1.3rem, 4.6vw, 2.5rem);
}

.terms-panel h1 {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
}

.terms-panel h2 {
  margin-top: 1.34rem;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  font-family: "Outfit", sans-serif;
}

.terms-panel p,
.terms-panel li {
  color: #4a5566;
}

.terms-panel ul {
  margin-top: 0.35rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px) scale(0.988);
  animation: reveal 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero[data-reveal] { animation-delay: 0.05s; }
.statement[data-reveal] { animation-delay: 0.14s; }
.service-card[data-reveal]:nth-child(1) { animation-delay: 0.18s; }
.service-card[data-reveal]:nth-child(2) { animation-delay: 0.24s; }
.service-card[data-reveal]:nth-child(3) { animation-delay: 0.3s; }
.service-card[data-reveal]:nth-child(4) { animation-delay: 0.36s; }
.workflow[data-reveal] { animation-delay: 0.2s; }
.contact[data-reveal] { animation-delay: 0.16s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1030px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card {
    width: min(100%, 620px);
  }

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

  .service-card,
  .service-card.large {
    min-height: 250px;
  }

  .workflow-list article {
    grid-template-columns: 1fr;
    gap: 0.36rem;
  }
}

@media (max-width: 720px) {
  .global-nav {
    border-radius: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .statement,
  .workflow,
  .contact {
    border-radius: 24px;
  }

  .hero-actions {
    gap: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
