:root {
  --bg: #fbfaf7;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-muted: #f4f3ff;
  --text: #111827;
  --text-soft: #64748b;
  --heading: #0f172a;
  --line: rgba(48, 39, 205, 0.12);
  --accent: #3027cd;
  --accent-light: #4a42d6;
  --accent-dark: #2218b8;
  --accent-soft: #eeecff;
  --shadow: 0 24px 60px rgba(48, 39, 205, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(74, 66, 214, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

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

.narrow {
  width: min(calc(100% - 2rem), 820px);
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.54);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-accent {
  background: linear-gradient(180deg, rgba(48, 39, 205, 0.05), rgba(48, 39, 205, 0.11));
  border-top: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(48, 39, 205, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 46px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  color: var(--heading);
  font-size: 1rem;
}

.brand-text span {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav-static {
  position: static;
}

.site-nav a {
  color: var(--text-soft);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--heading);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.8rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--heading);
  margin: 4px 0;
  border-radius: 999px;
}

.hero {
  padding: 6rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.hero-card h2,
.legal-copy h1,
.legal-copy h2 {
  font-family: "Poppins", sans-serif;
  color: var(--heading);
  line-height: 1.1;
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 640px;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff;
  box-shadow: 0 16px 40px rgba(48, 39, 205, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--heading);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface-strong);
  transform: translateY(-1px);
}

.button-block {
  width: 100%;
}

.hero-points {
  display: grid;
  gap: 0.7rem;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-soft);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card,
.info-card,
.portfolio-card,
.contact-card,
.reason-item {
  background: var(--surface);
  border: 1px solid rgba(48, 39, 205, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card {
  padding: 2rem;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(145deg, #19143e 0%, var(--accent-dark) 42%, var(--accent) 100%);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.icon-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.icon-badge img {
  width: 27px;
  height: 30px;
}

.card-label {
  margin-bottom: 0.8rem;
  color: #c8c4ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-tag {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.8rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.8);
}

.mini-stats {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mini-stats strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
  font-size: 1.1rem;
}

.mini-stats span {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-heading p:last-child,
.section p {
  color: var(--text-soft);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.services-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-card,
.portfolio-card,
.reason-item {
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.info-card h3,
.portfolio-card h3,
.reason-item h3 {
  margin-bottom: 0.75rem;
  color: var(--heading);
  font-size: 1.1rem;
}

.portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.identity-note {
  margin-top: 1rem;
}

.contact-card {
  padding: 1.6rem;
  backdrop-filter: blur(10px);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-list div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list dt {
  margin-bottom: 0.25rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-list dd {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  word-break: break-word;
}

.contact-list a {
  color: var(--heading);
}

.site-footer {
  padding: 1.4rem 0 2.25rem;
  border-top: 1px solid rgba(48, 39, 205, 0.08);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 24px;
  height: 26px;
  object-fit: contain;
}

.site-footer p,
.site-footer nav {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.legal-copy h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-copy h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.legal-copy p + p {
  margin-top: 1rem;
}

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
  }

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

  .site-nav-static {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-grid,
  .contact-grid,
  .portfolio-grid,
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero h1 {
    max-width: none;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-nav-static {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
  }
}
