:root {
  --purple: #5B2C83;
  --purple-light: #9D6BD6;
  --tint: #F4EFF9;
  --black: #111111;
  --grey: #555;
  --font: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--black); background: #fff; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--purple); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { position: sticky; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid #eee; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 56px; width: auto; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--black); text-decoration: none; font-weight: 500; font-size: 15.5px; }
nav a:hover { color: var(--purple); }

/* Buttons */
.btn { display: inline-block; background: var(--purple); color: #fff; text-decoration: none; font-weight: 600;
  padding: 13px 24px; border-radius: 8px; border: 2px solid var(--purple); }
.btn:hover { background: #47216A; border-color: #47216A; }
nav a.btn, nav a.btn:hover { color: #fff; }
.btn-ghost { background: transparent; color: var(--purple); }
.btn-ghost:hover { background: var(--tint); }
.btn-small { padding: 7px 16px; }
.btn-big { font-size: 20px; padding: 16px 30px; }

/* Text */
.eyebrow { color: var(--purple); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; margin: 0 0 10px; }
h1 { font-size: 58px; line-height: 1.08; margin: 0 0 22px; letter-spacing: -.02em; }
h2 { font-size: 38px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
h3 { font-size: 20px; margin: 0 0 8px; }
.lead { font-size: 20px; color: #333; max-width: 560px; }
.intro { font-size: 18px; color: var(--grey); max-width: 680px; margin: 0 0 34px; }

/* Hero */
.hero { padding: 90px 0 40px; background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-art img { width: 82%; margin: 0 auto; }

/* Sections */
.section { padding: 90px 0; }
#services { padding-top: 40px; scroll-margin-top: 50px; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--black); color: #fff; }
.section-dark .eyebrow { color: var(--purple-light); }
.section-dark p { color: #d8d8d8; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid #e8e2ef; border-radius: 14px; padding: 26px; background: #fff; }
.card p { color: var(--grey); margin: 0; font-size: 16px; }
.px { display: block; width: 14px; height: 14px; border-radius: 3px; background: var(--purple);
  box-shadow: 18px 0 0 var(--purple-light), 0 18px 0 var(--purple-light), 18px 18px 0 var(--purple); margin-bottom: 34px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { background: #fff; border-radius: 14px; padding: 24px; }
.steps p { color: var(--grey); margin: 0; font-size: 16px; }
.num { display: inline-flex; width: 36px; height: 36px; border-radius: 8px; background: var(--purple); color: #fff;
  align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }

/* Product */
.product { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.product-note { border-left: 4px solid var(--purple); padding: 6px 0 6px 24px; color: var(--grey); font-size: 18px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.about p { margin: 0 0 16px; }

/* Contact */
.contact { text-align: center; }
.contact .intro { margin-left: auto; margin-right: auto; }
.section-compact { padding: 56px 0; }
.contact h2 { font-size: 28px; }
.contact .intro { font-size: 17px; margin-bottom: 22px; }

/* Footer */
.foot { background: var(--black); color: #aaa; padding: 40px 0; font-size: 14px; border-top: 1px solid #222; }
.foot-grid { display: flex; gap: 40px; align-items: center; }
.foot-grid img { width: 150px; height: auto; }
.foot p { margin: 0; line-height: 1.7; }
.foot a { color: #ccc; }

/* Simple pages */
.page { padding: 70px 0 90px; max-width: 760px; }
.page h1 { font-size: 42px; }
.page h2 { font-size: 24px; margin-top: 34px; }

/* Mobile */
@media (max-width: 900px) {
  nav a:not(.btn) { display: none; }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .hero { padding: 60px 0 70px; }
  .hero-grid, .product, .about { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { display: none; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .foot-grid { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .brand img { height: 46px; }
}

/* Our work */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.work-card { border: 1px solid #e8e2ef; border-radius: 14px; padding: 30px; background: #fff; display: flex; flex-direction: column; }
.work-card p { color: var(--grey); margin: 0 0 14px; font-size: 16px; }
.work-card .btn { align-self: flex-start; margin-top: auto; }
.work-tag { display: inline-block; align-self: flex-start; background: var(--tint); color: var(--purple) !important; font-size: 12.5px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.work-client { color: var(--purple) !important; font-weight: 600; }
.work-note { font-size: 14.5px !important; font-style: italic; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } }
