:root {
  --bg: #f6f3ff;
  --bg-card: #ffffff;
  --bg-soft: #e3dafa;
  --ink: #1f1a30;
  --ink-2: {{INK_2}};
  --ink-3: {{INK_3}};
  --accent: #8b7ff5;
  --accent-2: {{ACCENT_2}};
  --accent-soft: #e3dafa;
  --green: #7bc7d6;
  --rule: rgba(31, 26, 48, 0.08);
  --section-pad: 144px;
  --container-pad: 48px;
  --base-lh: 1.75;
  --font-display: 'Yeseva One', Georgia, serif;
  --font-body: 'Nunito', -apple-system, sans-serif;
  --font-mono: 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.text-soft {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 38ch;
}

.mono { font-family: var(--font-mono); }

/* === Background blobs === */
.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.s1 { width: 380px; height: 380px; top: -120px; right: -120px; background: var(--accent); }
.s2 { width: 480px; height: 480px; bottom: -160px; left: -180px; background: var(--accent-2); }
.s3 { width: 280px; height: 280px; top: 35%; left: 60%; background: var(--green); opacity: 0.18; }
.s4 { width: 320px; height: 320px; top: 60%; left: 5%; background: var(--accent-soft); opacity: 0.6; }

main, .nav, .ft { position: relative; z-index: 1; }

/* === Brand blob === */
.brand-blob {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  color: var(--accent);
}

.brand-blob.small { width: 32px; height: 32px; }

.brand-blob svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.brand-blob span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  font-size: 16px;
}

.brand-blob.small span { font-size: 13px; }

/* === Nav === */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav nav a:hover { color: var(--accent); }

.btn-pill {
  background: var(--ink) !important;
  color: var(--bg) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.2s !important;
}

.btn-pill:hover {
  background: var(--accent) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* === Badges === */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--rule);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.badge-pill svg { color: var(--green); }

.badge-pill.alt {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* === Hero === */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 40px 32px 80px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-content { animation: fadeUp 0.8s ease-out; }
.hero-art { animation: fadeUp 1s ease-out 0.2s backwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 24px;
}

.hero-color {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 32em;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--accent);
  color: white !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255, 138, 91, 0.3);
}

.btn-big:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 138, 91, 0.4);
}

.btn-big-ink { background: var(--ink); }
.btn-big-ink:hover { background: var(--accent); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  background: white;
  border: 1px solid var(--rule);
  color: var(--ink) !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
}

.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* === Info === */
.info {
  padding: 40px 0 80px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.2s;
}

.info-card:hover { transform: translateY(-3px); }

.info-icon { font-size: 28px; margin-bottom: 12px; }

.info-label {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 4px;
}

.info-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}

/* === Services === */
.services {
  padding: 80px 0;
}

.services-head {
  text-align: center;
  margin-bottom: 48px;
}

.services-head .badge-pill { margin-bottom: 16px; }
.services-head .display { margin-bottom: 0; }

.primary-card {
  background: var(--ink);
  color: white;
  border-radius: 32px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.primary-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.4;
}

.primary-emoji {
  font-size: 64px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.primary-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: white;
  position: relative;
  z-index: 1;
}

.secondary-list {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 28px;
  padding: 32px 40px;
}

.sub-h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--ink);
}

.sec-pills ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sec-pills li {
  background: var(--accent-soft);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.sec-pills li:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* === Company === */
.company {
  padding: 80px 0;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}

.reg-blob {
  background: var(--bg-card);
  border-radius: 32px;
  padding: 40px;
  border: 1px solid var(--rule);
  box-shadow: 0 12px 36px rgba(0,0,0,0.04);
}

.reg-line {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.reg-line:last-child { border-bottom: none; }

.reg-k {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}

.reg-v {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.reg-v.mono { font-family: var(--font-mono); font-weight: 400; font-size: 15px; }

/* === CTA === */
.cta {
  padding: 64px 32px 96px;
}

.cta-blob {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 40px;
  padding: 64px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-blob::before, .cta-blob::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.cta-blob::before { width: 200px; height: 200px; top: -50px; right: -40px; }
.cta-blob::after { width: 140px; height: 140px; bottom: -40px; left: -30px; }

.cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 12px;
  position: relative;
}

.cta-text {
  font-size: 18px;
  margin-bottom: 28px;
  position: relative;
}

.cta .btn-big-ink {
  position: relative;
  z-index: 1;
}

.cta-tel {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.85;
  position: relative;
}

/* === Footer === */
.ft {
  background: var(--bg-card);
  border-top: 1px solid var(--rule);
  padding: 40px 0 24px;
}

.ft-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.ft-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}

.ft-loc { font-size: 14px; color: var(--ink-2); }

.ft-bottom {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-3);
}

/* === Responsive === */
@media (max-width: 800px) {
  .container { padding: 0 20px; }
  .nav { padding: 16px 20px; flex-direction: column; gap: 16px; align-items: flex-start; }
  .nav nav { flex-wrap: wrap; gap: 16px; width: 100%; }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 20px 56px;
  }
  .hero-art { max-width: 280px; margin: 0 auto; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .primary-card { flex-direction: column; padding: 40px 24px; text-align: center; }
  .primary-emoji { font-size: 48px; }
  .secondary-list { padding: 24px; }
  .company-grid { grid-template-columns: 1fr; gap: 32px; }
  .reg-blob { padding: 28px; }
  .reg-line { grid-template-columns: 1fr; gap: 4px; }
  .cta-blob { padding: 48px 28px; }
}
