:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --surface-alt: #eef4ff;
  --text: #173054;
  --muted: #68778f;
  --line: #dbe4f4;
  --primary: #0e5bb7;
  --primary-dark: #0a3a77;
  --accent: #59c8ff;
  --shadow: 0 24px 60px rgba(19, 48, 84, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Malgun Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(89, 200, 255, 0.22), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.86);
  border-bottom: 1px solid rgba(219, 228, 244, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(14, 91, 183, 0.16);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.46rem;
  font-weight: 800;
  line-height: 1;
}

.brand-name-main {
  color: var(--text);
}

.brand-subtext {
  color: var(--primary);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--primary);
}

.hero {
  padding: 40px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin: 0 0 20px;
  border-radius: 999px;
  background: rgba(14, 91, 183, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero h1 .hero-kicker {
  font-size: 0.5em;
  color: var(--text);
  margin-bottom: 8px;
}

.hero h1 .hero-main {
  font-size: 0.67em;
}

.hero-text,
.section-text,
.about-card p,
.contact-copy p,
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  margin-top: 16px;
  max-width: 640px;
  font-size: 1.02rem;
}

.hero-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-tags span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(19, 48, 84, 0.06);
}

.hero-tags::-webkit-scrollbar {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1a78dc 100%);
  color: #fff;
  box-shadow: 0 20px 34px rgba(14, 91, 183, 0.24);
}

.button-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  min-height: 440px;
}

.visual-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.visual-photo {
  width: 100%;
  height: 100%;
  min-height: 416px;
  border-radius: 24px;
  object-fit: cover;
}

.shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.shape-one {
  top: 18px;
  right: -12px;
  width: 160px;
  height: 160px;
  background: rgba(89, 200, 255, 0.32);
}

.shape-two {
  bottom: 26px;
  left: -20px;
  width: 220px;
  height: 220px;
  background: rgba(14, 91, 183, 0.12);
}

.shape-three {
  top: 42%;
  right: 24%;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.section {
  padding: 42px 0 90px;
}

.products {
  padding: 24px 0 40px;
  scroll-margin-top: 96px;
}

.products .section-head {
  margin-bottom: 18px;
}

.products .section-head h2 {
  margin-bottom: 6px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
}

.products .eyebrow {
  margin-bottom: 12px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about {
  scroll-margin-top: 96px;
}

.about-panel,
.product-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 228, 244, 0.92);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(19, 48, 84, 0.06);
}

.about-panel {
  max-width: 980px;
  padding: 42px;
}

.about-panel p {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 2;
}

.about-panel p + p {
  margin-top: 22px;
}

.about-signature {
  color: var(--primary);
  font-weight: 700;
  text-align: right;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  min-height: 150px;
  padding: 22px 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(19, 48, 84, 0.1);
}

.product-card:focus-visible {
  outline: 3px solid rgba(14, 91, 183, 0.24);
  outline-offset: 2px;
}

.product-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(89, 200, 255, 0.12), rgba(14, 91, 183, 0.04));
  transform: rotate(18deg);
}

.product-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 1.26rem;
}

.product-card p {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-card-wide {
  grid-column: span 1;
  min-height: 150px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 24px;
  align-items: stretch;
}

.contact {
  scroll-margin-top: 96px;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-item {
  padding: 20px;
  border-radius: 20px;
  background: var(--surface-alt);
}

.contact-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-item strong {
  font-size: 1.2rem;
}

.site-footer {
  padding: 18px 0 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-card-wide {
    grid-column: span 2;
  }

  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    width: 100%;
    gap: 10px;
  }

  .brand img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 1.1rem;
    line-height: 1.15;
  }

  .brand-subtext {
    font-size: 0.82rem;
    letter-spacing: 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.88rem;
  }

  .main-nav a {
    flex: 1;
    text-align: center;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
  }

  .hero h1 .hero-kicker {
    margin-bottom: 6px;
  }

  .hero-text {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .hero-tags {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 8px;
    margin-top: 16px;
  }

  .hero-tags span {
    padding: 7px 11px;
    font-size: 0.86rem;
  }

  .visual-card {
    padding: 10px;
  }

  .visual-photo {
    min-height: 300px;
    border-radius: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card-wide {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 26px 0 68px;
  }

  .about-panel {
    padding: 28px 22px;
  }

  .about-panel p {
    font-size: 1rem;
    line-height: 1.85;
  }

  .site-header {
    position: static;
  }

  .footer-inner {
    font-size: 0.76rem;
  }
}
