:root {
  --brand: #ec1459;
  --brand-dark: #c70f4a;
  --green: #41b555;
  --ink: #1e1a24;
  --muted: #6a6470;
  --line: #f0e3e8;
  --tint: #fdf0f4;
  --tint-green: #edf8ef;
  --shadow-lg: 0 20px 60px rgba(120, 20, 60, 0.08);
  --shadow-sm: 0 8px 24px rgba(120, 20, 60, 0.04);
  --pad-x: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: none; }
h1, h2, h3, h4, h5, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 50px; padding: 0 22px; border-radius: 8px;
  font-size: 15px; white-space: nowrap;
  border: 1px solid var(--brand);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn img { width: 17px; height: 17px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(236, 20, 89, .28); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--brand); }

/* ---------- Shared text ---------- */
.label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--brand);
}
.label img { width: 6px; height: 6px; }
.h2 { font-size: 42px; font-weight: 500; line-height: 1.16; color: var(--ink); }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); }
.intro { display: flex; flex-direction: column; gap: 18px; }
.intro--center { align-items: center; text-align: center; }
.intro--center .lead { width: 620px; max-width: 100%; }

.section { padding: 100px var(--pad-x); }
.section--tint { background: var(--tint); display: flex; flex-direction: column; gap: 44px; }

/* ---------- Navigation ---------- */
.nav {
  height: 92px; padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); background: #fff;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: auto; height: 46px; }
.brand__name { font-size: 26px; font-weight: 600; letter-spacing: -0.6px; line-height: 1; color: var(--brand); }
.brand__name span { color: var(--green); }
.nav__links { display: flex; gap: 32px; font-size: 14px; color: var(--ink); }
.nav__links a:hover { color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 654px; overflow: hidden;
  border: .8px solid var(--line); border-bottom: 0;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg img {
  position: absolute; height: 73.63%; left: 28.91%; top: 52.74%; width: 42.18%;
}
.hero__inner {
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding-top: 56px;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-bg-in {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
.hero__bg img { animation: hero-bg-in 1.2s ease-out both; }
.hero__eyebrow, .hero__title, .hero__lead, .hero__actions, .hero__scope {
  animation: hero-rise .8s cubic-bezier(.2, .7, .2, 1) both;
}
.hero__eyebrow { animation-delay: .1s; }
.hero__title   { animation-delay: .25s; }
.hero__lead    { animation-delay: .4s; }
.hero__actions { animation-delay: .55s; }
.hero__scope   { animation-delay: .7s; }
@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .hero__eyebrow, .hero__title, .hero__lead, .hero__actions, .hero__scope { animation: none; }
}
.hero__eyebrow { font-size: 13px; color: var(--brand); margin-bottom: 18px; }
.hero__title { font-size: 66px; font-weight: 500; line-height: 1.12; color: var(--ink); }
.hero__title span { color: var(--brand); }
.hero__lead { margin-top: 0; font-size: 19px; line-height: 1.6; color: var(--muted); width: 680px; max-width: 100%; }
.hero__actions { display: flex; align-items: center; gap: 23px; margin-top: 36px; }
.hero__scope { display: flex; gap: 20px; margin-top: 53px; padding-top: 12px; }
.hero__scope li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.hero__scope img { width: 14px; height: 14px; }

/* ---------- Demo ---------- */
.demo-intro { padding: 32px var(--pad-x) 21px; }
.demo-intro__row {
  display: flex; align-items: center; justify-content: space-between; padding: 0 64px;
}
.demo-intro__row p { font-size: 14px; font-weight: 500; color: var(--brand); }
.demo-intro__type { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.demo-intro__type img { width: 15px; height: 15px; }

.demo {
  position: relative; height: 719px; overflow: hidden;
  border: .8px solid var(--line); border-bottom: 0;
}
.demo__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.demo__bg img { filter: hue-rotate(124deg) saturate(1.1);
  position: absolute; height: 111.78%; left: 0; top: -5.89%; width: 387.1%;
}
.demo__fade {
  position: absolute; left: 0; right: 0; top: 0; height: 100%;
  background: linear-gradient(to bottom, #fff 10%, rgba(255, 255, 255, 0));
}
.workspace {
  position: absolute; top: 14px; left: 0; right: 0; margin: 0 auto;
  width: min(1224px, calc(100% - 216px)); aspect-ratio: 1908 / 926;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.workspace img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* ---------- Split sections ---------- */
.split {
  display: flex; align-items: center; gap: 80px; padding: 100px var(--pad-x);
}
.split--web { border-top: 1px solid var(--line); }
.split__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.details { display: flex; flex-direction: column; gap: 22px; }
.detail { display: flex; gap: 14px; align-items: flex-start; }
.detail__badge {
  flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--tint-green);
  display: flex; align-items: center; justify-content: center;
}
.detail__badge img { width: 16px; height: 16px; }
.detail h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.detail p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* SaaS architecture illustration */
.arch {
  position: relative; flex: none; width: 584px; height: 458px;
  background: var(--tint); border-radius: 20px; overflow: hidden;
}
.arch__label { position: absolute; left: 26px; top: 24px; font-size: 11px; color: var(--brand); }
.arch__lines { position: absolute; left: 102px; top: 124px; width: 380px; height: 220px; }
.module {
  position: absolute; width: 174px; padding: 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.module img { width: 22px; height: 22px; }
.module div { display: flex; flex-direction: column; gap: 5px; }
.module p:first-child { font-size: 14px; color: var(--ink); }
.module p:last-child { font-size: 11px; color: var(--muted); }
.arch__core {
  position: absolute; left: 208px; top: 173px; width: 168px; height: 111px;
  background: var(--brand); border-radius: 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.arch__core img { width: 27px; height: 27px; }
.arch__core p { font-size: 16px; color: #fff; white-space: nowrap; }

/* Responsive web illustration */
.web-ill {
  position: relative; flex: none; width: 584px; height: 480px;
  background: #fdf0f4; border-radius: 20px; overflow: hidden;
}
.desktop {
  position: absolute; left: 34px; top: 50px; width: 470px; height: 360px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column;
}
.desktop__bar { height: 25px; background: #fcf8fa; padding: 0 12px; display: flex; align-items: center; gap: 4px; flex: none; }
.desktop__bar img { width: 5px; height: 5px; }
.desktop__nav { height: 43px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.desktop__nav span:first-child { font-size: 12px; color: var(--ink); }
.desktop__nav span:last-child { font-size: 8px; color: var(--muted); white-space: pre; }
.desktop__hero { background: var(--tint); padding: 22px; display: flex; gap: 22px; align-items: flex-start; flex: none; }
.desktop__copy { width: 230px; display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.desktop__copy h4 { font-size: 28px; font-weight: 400; line-height: 1.1; color: var(--ink); }
.desktop__copy p { font-size: 10px; line-height: 1.5; color: var(--muted); }
.desktop__btn { background: var(--brand); color: #fff; font-size: 8px; padding: 8px 12px; border-radius: 5px; white-space: nowrap; }
.desktop__art { width: 152px; height: 152px; flex: none; }
.desktop__cards { padding: 20px; display: flex; gap: 12px; }
.desktop__cards div { flex: 1 1 0; display: flex; flex-direction: column; gap: 7px; }
.desktop__cards i { display: block; width: 24px; height: 3px; background: var(--brand); }
.desktop__cards p { font-size: 9px; font-weight: 500; color: var(--ink); }

.mobile {
  position: absolute; left: 415px; top: 186px; width: 131px; height: 258px;
  background: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: 8px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 8px; overflow: hidden;
}
.mobile__notch { align-self: center; width: 32px; height: 4px; border-radius: 4px; background: var(--ink); }
.mobile__brand { font-size: 9px; font-weight: 600; color: var(--ink); }
.mobile__hero { background: var(--tint); padding: 9px; display: flex; flex-direction: column; gap: 9px; }
.mobile__hero h5 { font-size: 17px; font-weight: 400; line-height: 1.2; color: var(--ink); }
.mobile__hero img { width: 68px; height: 68px; }
.mobile__btn { width: 73px; height: 13px; border-radius: 3px; background: var(--brand); }
.mobile__home { width: 34px; height: 3px; border-radius: 3px; background: var(--ink); }

/* ---------- Capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.cap__icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.cap h3 { font-size: 21px; font-weight: 500; color: var(--ink); }
.cap p { font-size: 14px; line-height: 1.65; color: var(--muted); margin-top: -8px; margin-bottom: auto; }
.flow {
  background: var(--tint); border-radius: 8px; padding: 12px 10px;
  display: flex; align-items: center; gap: 7px;
}
.flow img { width: 10px; height: 10px; flex: none; }
.stage {
  flex: 1 1 0; min-width: 0; text-align: center; padding: 7px 3px;
  font-size: 9px; color: var(--brand); background: #fff; border: 1px solid var(--line);
  border-radius: 5px; white-space: nowrap;
}
.stage--mid { background: #f8eef2; }

/* ---------- Featured work ---------- */
.work-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.work-head p { font-size: 13px; color: var(--muted); }
.showcase {
  background: var(--tint); border: 1px solid var(--line); border-radius: 24px;
  padding: 44px; display: flex; align-items: center; gap: 60px;
}
.showcase__story { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.tag {
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 12px; font-size: 11px; color: var(--brand);
}
.showcase__title { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.showcase__name { font-size: 60px; font-weight: 500; color: var(--ink); }
.showcase__client { font-size: 24px; color: var(--brand); }
.showcase__desc { font-size: 16px; line-height: 1.65; color: var(--muted); }
.meta {
  display: flex; gap: 32px; width: 100%; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.meta div { display: flex; flex-direction: column; gap: 7px; }
.meta dt { font-size: 10px; color: var(--muted); }
.meta dd { font-size: 14px; color: var(--ink); }
.showcase__visual { flex: none; width: 700px; display: flex; flex-direction: column; gap: 18px; }
.showcase__heading { display: flex; justify-content: space-between; color: var(--brand); }
.showcase__heading span:first-child { font-size: 12px; font-weight: 600; }
.showcase__shot {
  width: 100%; aspect-ratio: 1908 / 926; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.showcase__shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Process ---------- */
.section--process { border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 55px; }
.steps { display: flex; gap: 36px; }
.step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.step__marker { display: flex; align-items: center; justify-content: space-between; }
.step__marker span {
  width: 48px; height: 48px; border-radius: 100px; background: var(--tint);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--brand);
}
.step__copy { display: flex; flex-direction: column; gap: 12px; }
.step__copy h3 { font-size: 22px; font-weight: 500; color: var(--ink); }
.step__copy p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.step__out { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step__out p:first-child { font-size: 10px; color: var(--green); }
.step__out p:last-child { font-size: 13px; font-weight: 500; color: var(--ink); }

/* ---------- Partnership ---------- */
.values { display: flex; gap: 24px; }
.value {
  flex: 1 1 0; min-width: 0; height: 405px; padding: 28px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  display: flex; flex-direction: column; justify-content: center; gap: 30px;
}
.value__badge {
  display: flex; align-items: center; gap: 16px; padding: 10px 14px;
  background: var(--brand); border-radius: 8px; font-size: 14px; color: #fff;
}
.value__copy { display: flex; flex-direction: column; gap: 18px; }
.value__copy h3 { font-size: 24px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.value__copy p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.value__practice { display: flex; flex-direction: column; gap: 12px; }
.value__practice p:first-child { font-size: 10px; color: var(--green); }
.value__practice p:last-child { font-size: 15px; font-weight: 500; color: var(--ink); }

/* ---------- Closing CTA ---------- */
.cta-wrap { padding-top: 38px; }
.cta {
  position: relative; overflow: hidden; padding: 100px var(--pad-x);
  display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center;
}
.cta__bg {
  position: absolute; inset: 0 48px; border-radius: 24px;
  background: linear-gradient(120.39deg, #fff8fa 20%, #fbd0dd 63.2%, #ec1459 92%);
}
.cta__orbits { position: absolute; left: 50%; top: 80px; transform: translateX(-50%); width: 920px; height: 550px; pointer-events: none; }
.cta > :not(.cta__bg):not(.cta__orbits) { position: relative; }
.cta__title { font-size: 52px; font-weight: 500; line-height: 1.15; color: var(--ink); width: 800px; max-width: 100%; }
.cta__lead { font-size: 17px; line-height: 1.65; color: var(--muted); width: 575px; max-width: 100%; }
.topics { display: flex; gap: 26px; padding-top: 12px; }
.topics li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--brand); }
.topics img { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.footer { padding: 80px var(--pad-x) 28px; display: flex; flex-direction: column; gap: 64px; }
.footer__nav { display: flex; gap: 80px; align-items: flex-start; }
.footer__brand { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer__brand p:first-of-type { width: 340px; max-width: 100%; font-size: 15px; line-height: 1.65; color: var(--muted); }
.footer__tag { font-size: 13px; color: var(--green); }
.footer__logo img { height: 50px; }
.footer__logo .brand__name { font-size: 28px; }
.footer__group { flex: none; width: 190px; display: flex; flex-direction: column; gap: 18px; }
.footer__group h4 { font-size: 15px; font-weight: 600; color: var(--ink); }
.footer__group a { font-size: 13px; line-height: 1.4; color: var(--muted); }
.footer__group a:hover { color: var(--brand); }
.footer__legal {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
}

/* ---------- Smaller screens (design is 1440 desktop) ---------- */
@media (max-width: 1100px) {
  :root { --pad-x: 32px; }
  .nav__links { display: none; }
  .split, .showcase { flex-direction: column; }
  .split--web { flex-direction: column-reverse; }
  .arch, .web-ill, .showcase__visual, .showcase__shot { max-width: 100%; }
  .cap-grid, .values, .steps { grid-template-columns: 1fr; flex-direction: column; }
  .footer__nav { flex-wrap: wrap; gap: 40px; }
  .hero__title { font-size: 44px; }
  .h2, .cta__title { font-size: 32px; }
  .hero { height: auto; padding-bottom: 60px; }
  .demo { height: 420px; }
  .workspace { width: calc(100% - 64px); }
}

/* ---------- Light animations ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* hero entrance */
.hero__inner > * { opacity: 0; animation: fade-up .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__inner > :nth-child(1) { animation-delay: .05s; }
.hero__inner > :nth-child(2) { animation-delay: .15s; }
.hero__inner > :nth-child(3) { animation-delay: .27s; }
.hero__inner > :nth-child(4) { animation-delay: .39s; }
.hero__inner > :nth-child(5) { animation-delay: .5s; }

/* scroll reveal (classes added by script.js) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* hover lifts */
.cap, .value, .module, .showcase__shot { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cap:hover, .value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #f6c4d4; }
.module:hover { transform: translateY(-3px); }
.showcase__shot:hover { transform: translateY(-3px); }
.btn img { transition: transform .2s ease; }
.btn:hover img { transform: translate(2px, -2px); }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav__links a:hover::after { transform: scaleX(1); }

/* gentle floating in illustrations */
.arch__core { animation: float 5s ease-in-out infinite; }
.mobile { animation: float 6s ease-in-out infinite .5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero__inner > * { opacity: 1 !important; transform: none !important; }
}
