:root {
  --bg: #f7f8fb;
  --ink: #0c1524;
  --muted: #647084;
  --line: #e4e8f0;
  --navy: #0d1b2f;
  --blue: #2454ff;
  --blue-dark: #173acc;
  --panel: #ffffff;
  --soft: #eef3ff;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(13, 27, 47, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 251, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 232, 240, 0.8);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.brand-text { font-size: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: #263248;
  font-weight: 600;
}

.nav-cta {
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 54px;
  align-items: center;
}

.eyebrow, .section-label {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 14px;
}

h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.045em; }

h1 {
  font-size: clamp(46px, 7vw, 78px);
  max-width: 850px;
}

h2 {
  font-size: clamp(32px, 4.2vw, 52px);
}

h3 {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 20px;
  max-width: 680px;
  margin: 26px 0 32px;
}

.hero-actions, .trust-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
}

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 30px rgba(36, 84, 255, 0.26);
}

.button.primary:hover { background: var(--blue-dark); }

.button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.trust-row {
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-row span {
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-card {
  background: var(--navy);
  color: white;
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--shadow);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -120px -90px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(36,84,255,0.9), rgba(36,84,255,0));
}

.card-top {
  display: flex;
  gap: 8px;
}

.card-top span {
  width: 11px;
  height: 11px;
  background: rgba(255,255,255,0.32);
  border-radius: 999px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
}

.metric-grid div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 16px;
}

.metric-grid small {
  color: rgba(255,255,255,0.62);
  display: block;
}

.metric-grid strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.chart {
  height: 130px;
  display: flex;
  gap: 12px;
  align-items: end;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-top: 12px;
}

.chart span {
  flex: 1;
  background: linear-gradient(180deg, #7ea0ff, #2454ff);
  border-radius: 999px 999px 0 0;
  min-height: 22px;
}

.card-note {
  color: rgba(255,255,255,0.72);
  margin: 10px 0 0;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 75px 24px;
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 19px;
  margin-top: 32px;
}

.service-grid, .work-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card, .work-grid article, .founder-card, .inquiry-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 38px rgba(13, 27, 47, 0.05);
}

.service-card p, .work-grid p, .founder-card p, .contact-copy p {
  color: var(--muted);
}

.dark-panel {
  background: var(--navy);
  color: white;
  border-radius: 34px;
  padding: 52px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}

.dark-panel .section-label { color: #9bb3ff; }

.steps {
  display: grid;
  gap: 16px;
}

.steps div {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.steps span {
  color: #9bb3ff;
  font-weight: 900;
  font-size: 13px;
}

.steps p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
}

.founder-card {
  max-width: 850px;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.email-line a {
  color: var(--blue);
  font-weight: 800;
}

.inquiry-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  color: #263248;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fbfcff;
  color: var(--ink);
}

textarea { resize: vertical; }

.form-note {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 24px;
    right: 24px;
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hero, .intro, .split, .contact {
    grid-template-columns: 1fr;
  }
  .service-grid, .work-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 56px;
  }
  .dark-panel {
    padding: 34px 24px;
    border-radius: 26px;
  }
  .footer {
    flex-direction: column;
  }
}
