@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800;900&display=swap");

:root {
  --ink: #142033;
  --muted: #627087;
  --line: #d7e0ea;
  --navy: #052b55;
  --blue: #1263b0;
  --teal: #008b8f;
  --mint: #d9f5ef;
  --green: #226c50;
  --yellow: #f3c95f;
  --paper: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(12, 38, 72, 0.18);
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
a,
button,
span,
label,
dt,
dd {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(245px, auto) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(215, 224, 234, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.filter-group {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), #fff4bd);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  justify-content: center;
  gap: 4px;
}

.site-nav a,
.header-action,
.primary-button,
.secondary-button,
.filter-button {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 14px;
  color: #27384e;
}

.site-nav a:hover {
  color: var(--blue);
  background: #eef6ff;
}

.header-action,
.primary-button {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0a6f88);
  box-shadow: 0 12px 26px rgba(5, 43, 85, 0.22);
  cursor: pointer;
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 40px;
  align-items: end;
  min-height: 78svh;
  padding: 76px 6vw 48px;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(3, 24, 48, 0.96) 0%,
      rgba(3, 35, 66, 0.86) 46%,
      rgba(5, 43, 85, 0.24) 100%
    ),
    url("/assets/sensor-hero-ai.png") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 201, 95, 0.8), transparent);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.98;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.82;
}

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

.hero-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-panel:hover {
  border-color: rgba(243, 201, 95, 0.84);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-panel span {
  color: #bfeee7;
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 2.2rem;
  line-height: 1;
}

.hero-panel p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.62;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 5vw 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 1.02rem;
  }

  .brand small {
    font-size: 0.74rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
  }

  .site-nav a {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .header-action {
    display: none;
  }
}
