:root {
  --navy: #071426;
  --navy-2: #0b2038;
  --blue: #1267e3;
  --blue-2: #1d8cff;
  --cyan: #57d7ff;
  --ink: #0f1f33;
  --muted: #66758a;
  --line: #d9e4f0;
  --surface: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 24px 64px rgba(7, 20, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(7, 20, 38, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(87, 215, 255, 0.42);
  border-radius: 9px;
  color: var(--cyan);
  background: linear-gradient(145deg, rgba(18, 103, 227, 0.35), rgba(255, 255, 255, 0.06));
  font-weight: 900;
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  color: var(--white);
  font-size: 19px;
  line-height: 1.1;
}

.brand-text span {
  margin-top: 3px;
  color: #b9c7d8;
  font-size: 12px;
  font-weight: 800;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: #d8e5f4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(7, 20, 38, 0.96) 0%, rgba(7, 20, 38, 0.84) 48%, rgba(7, 20, 38, 0.9) 100%),
    url("../images/brand/corelabs-ai-hero.png") center / cover no-repeat,
    linear-gradient(180deg, #0a1d34 0%, #071426 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-inner,
.section-inner,
.footer-inner {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  min-height: min(780px, calc(100vh - 76px));
  padding: clamp(62px, 8vw, 112px) 0;
}

.hero-copy {
  display: grid;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(87, 215, 255, 0.28);
  border-radius: 999px;
  color: #cceeff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.eyebrow {
  margin: 0;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dark .eyebrow,
.hero .eyebrow {
  color: var(--cyan);
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
  word-break: keep-all;
}

p {
  overflow-wrap: anywhere;
  word-break: normal;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 4.25vw, 58px);
  line-height: 1.05;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.14;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

p {
  margin: 0;
  line-height: 1.75;
}

.hero-lead {
  max-width: 720px;
  color: #d9e7f6;
  font-size: clamp(17px, 2vw, 21px);
  overflow-wrap: anywhere;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
}

.hero-stat {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-stat strong,
.hero-stat span {
  display: block;
}

.hero-stat strong {
  color: var(--white);
  font-size: 24px;
}

.hero-stat span {
  margin-top: 4px;
  color: #bcd0e5;
  font-size: 13px;
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.25;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 16px 36px rgba(18, 103, 227, 0.3);
}

.button.secondary {
  color: var(--blue);
  border-color: rgba(18, 103, 227, 0.22);
  background: #f4f9ff;
}

.hero .button.secondary,
.dark .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  color: var(--blue);
  background: var(--white);
}

.hero-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  background: #0a1a2d;
}

.hero-logo-panel > img {
  aspect-ratio: 1.72 / 1;
  object-fit: contain;
  padding: clamp(24px, 5vw, 52px);
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.92), rgba(18, 103, 227, 0.18));
}

.hero-panel-caption {
  display: grid;
  gap: 8px;
  padding: 20px;
  color: #d8e6f6;
}

.hero-panel-caption strong {
  color: var(--white);
  font-size: 19px;
}

.section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.section.soft {
  background: var(--surface);
}

.section.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.dark .section-head p {
  color: #c4d4e7;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.download-card,
.lineup-group {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(15, 31, 51, 0.06);
}

.card {
  padding: 26px;
}

.business-card {
  display: grid;
  gap: 16px;
  min-height: 260px;
  align-content: space-between;
  overflow: hidden;
}

.business-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.business-logo {
  width: min(60%, 178px);
  height: 54px;
  object-fit: contain;
  object-position: right center;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  font-weight: 900;
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.card p,
.feature-list li,
.lineup-list li,
.download-card p,
.info-list dd {
  color: var(--muted);
  line-height: 1.72;
}

.dark .card p,
.dark .feature-list li,
.dark .lineup-list li {
  color: #c4d4e7;
}

.card h3 {
  margin-bottom: 10px;
}

.service-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.service-links a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--cyan);
  font-size: 25px;
  line-height: 1.2;
}

.metric span {
  margin-top: 7px;
  color: #c4d4e7;
  font-weight: 800;
}

.product-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.product-media img,
.split > img {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card-image {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  margin-bottom: 18px;
  object-fit: contain;
  border: 1px solid #e4edf7;
  border-radius: 8px;
  background: #f8fbff;
}

.feature-media-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.feature-media-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.feature-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 31, 51, 0.07);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  background: #f8fbff;
}

.feature-media span {
  display: block;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.wide-visual {
  overflow: hidden;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.wide-visual img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  background: #071426;
}

.wide-visual figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-weight: 900;
}

.lineup {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lineup-group {
  padding: 24px;
}

.lineup-group h3 {
  color: var(--blue);
}

.lineup-list,
.feature-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.lineup-list li,
.feature-list li,
.plain-list li {
  position: relative;
  padding-left: 18px;
}

.lineup-list li::before,
.feature-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.notice {
  margin-top: 22px;
  padding: 18px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  color: #3d4d63;
  background: #edf5ff;
  font-weight: 800;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  padding: 22px;
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--blue);
  font-size: 22px;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.download-card {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.download-meta {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--ink);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
}

.contact-cards .card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.site-footer {
  color: #b8c7d9;
  background: var(--navy);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding: 38px 0;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #d8e6f6;
  text-decoration: none;
  font-weight: 800;
}

.mobile-menu {
  display: none;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .grid.three,
  .lineup,
  .metric-grid,
  .trust-strip,
  .feature-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-media-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-menu {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
  }

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

  .site-nav a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 16px;
    word-break: break-all;
  }

  .hero-stats,
  .grid.two,
  .grid.three,
  .lineup,
  .metric-grid,
  .product-media,
  .trust-strip,
  .feature-media-grid,
  .feature-media-grid.compact {
    grid-template-columns: 1fr;
  }

  .business-card-head {
    align-items: flex-start;
  }

  .business-logo {
    width: min(58%, 150px);
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .button {
    width: 100%;
  }
}
