:root {
  color-scheme: light;
  --navy-950: #07142b;
  --navy-900: #0f2347;
  --navy-800: #173765;
  --blue-700: #064cad;
  --blue-600: #1264d8;
  --mint-500: #00c7ae;
  --mint-100: #ccf6ef;
  --slate-950: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 35, 71, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate-950);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: keep-all;
}

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

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-950);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section-shell,
.hero-shell,
.footer-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-900));
  color: var(--white);
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(6, 76, 173, 0.24);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.desktop-nav > a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 750;
  transition: 160ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"] {
  background: var(--slate-100);
  color: var(--blue-700);
}

.desktop-nav > .nav-cta {
  margin-left: 6px;
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(6, 76, 173, 0.2);
}

.desktop-nav > .nav-cta:hover,
.desktop-nav > .nav-cta[aria-current="page"] {
  background: var(--navy-900);
  color: var(--white);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary::before {
  content: "";
  width: 20px;
  height: 14px;
  border-top: 2px solid var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
  box-shadow: inset 0 5px 0 -3px var(--navy-900);
}

.mobile-nav-panel {
  position: absolute;
  top: 52px;
  right: 0;
  width: min(290px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav-panel a {
  display: block;
  padding: 13px 14px;
  border-radius: 10px;
  color: var(--slate-700);
  font-weight: 750;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a[aria-current="page"] {
  background: var(--slate-100);
  color: var(--blue-700);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 18%, rgba(0, 199, 174, 0.22), transparent 28%),
    radial-gradient(circle at 14% 90%, rgba(18, 100, 216, 0.34), transparent 36%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-shell {
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 64px;
  padding-block: 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #8cf5e5;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d5e2f4;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--mint-500);
  color: var(--navy-950);
}

.button-secondary {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: var(--white);
}

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 28px 70px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
}

.hero-card-label {
  margin: 0 0 18px;
  color: #8cf5e5;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}

.hero-card dl {
  margin: 0;
}

.hero-card-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-card-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.hero-card dt {
  color: #aabbd2;
  font-size: 14px;
}

.hero-card dd {
  margin: 0;
  font-weight: 750;
  line-height: 1.55;
}

.breadcrumb {
  border-bottom: 1px solid var(--slate-200);
  background: var(--white);
}

.breadcrumb ol {
  width: min(1180px, calc(100% - 40px));
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 0;
  color: var(--slate-500);
  font-size: 13px;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--slate-300);
}

.content-section {
  padding-block: 88px;
}

.content-section.muted {
  background: var(--slate-50);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-heading h2,
.split-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.section-heading p,
.split-copy > p {
  margin: 18px 0 0;
  color: var(--slate-600);
  font-size: 17px;
  line-height: 1.8;
}

.stats-grid,
.card-grid,
.client-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  min-height: 156px;
  padding: 26px;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  background: var(--white);
}

.stat-value {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-700);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.stat-label {
  color: var(--slate-600);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.feature-panel {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(145deg, #e9f2ff, #effcf9);
}

.feature-panel::after {
  content: "SJ";
  position: absolute;
  right: -12px;
  bottom: -40px;
  color: rgba(6, 76, 173, .08);
  font-size: 150px;
  font-weight: 950;
  letter-spacing: -.1em;
}

.feature-list,
.plain-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(6,76,173,.12);
}

.feature-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.feature-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--white);
  color: var(--blue-700);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(6,76,173,.1);
}

.feature-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature-list p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.7;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.portfolio-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: #b8d4f6;
  box-shadow: var(--shadow);
}

.card-number,
.card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 34px;
  padding-inline: 12px;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.service-card h2,
.service-card h3,
.portfolio-card h2,
.portfolio-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  letter-spacing: -.03em;
}

.service-card p,
.portfolio-card p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.75;
}

.plain-list {
  margin-top: 20px;
}

.plain-list li {
  position: relative;
  margin-top: 9px;
  padding-left: 18px;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.6;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: .65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-500);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: process;
}

.process-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--navy-900);
  color: var(--white);
  counter-increment: process;
}

.process-card::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 28px;
  color: #8cf5e5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.process-card p {
  margin: 0;
  color: #c5d3e7;
  line-height: 1.75;
}

.client-grid {
  grid-template-columns: repeat(4, 1fr);
}

.client-name {
  min-height: 90px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: var(--white);
  color: var(--slate-700);
  text-align: center;
  font-size: 17px;
  font-weight: 850;
}

.note {
  margin-top: 20px;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.7;
}

.cta-band {
  padding-block: 72px;
  background: var(--slate-50);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 44px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--blue-700), var(--navy-900));
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -.04em;
}

.cta-panel p {
  margin: 12px 0 0;
  color: #d9e7f8;
  line-height: 1.75;
}

.site-footer {
  padding-block: 58px 34px;
  background: var(--navy-950);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 54px;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 900;
}

.footer-copy,
.footer-list {
  margin: 0;
  color: #aabbd2;
  line-height: 1.75;
}

.footer-list {
  padding: 0;
  list-style: none;
}

.footer-list a:hover {
  color: #8cf5e5;
}

.footer-heading {
  margin: 0 0 14px;
  color: #dce8f7;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #7186a3;
  font-size: 13px;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-shell,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 38px;
    padding-block: 68px;
  }

  .hero-card {
    max-width: 560px;
  }

  .stats-grid,
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .nav-shell,
  .section-shell,
  .hero-shell,
  .footer-shell,
  .breadcrumb ol {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 66px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .hero-shell {
    min-height: 0;
    padding-block: 56px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .content-section {
    padding-block: 64px;
  }

  .stats-grid,
  .card-grid,
  .process-grid,
  .client-grid,
  .footer-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .service-card,
  .portfolio-card {
    min-height: 0;
  }

  .feature-panel,
  .cta-panel {
    padding: 28px 22px;
  }

  .cta-panel .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
