:root {
  --navy: #0c1638;
  --navy-soft: #172550;
  --blue: #355cff;
  --paper: #f4f7fb;
  --white: #ffffff;
  --ink-muted: #5d6680;
  --line: rgba(12, 22, 56, 0.13);
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 18px 50px rgba(17, 31, 73, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  word-break: keep-all;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
nav { display: flex; gap: 8px; }
nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #38415c;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
nav a:hover { background: rgba(255,255,255,0.8); }
.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 54px;
  padding: 72px 0 92px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}
h1,
h2,
h3,
p { margin-top: 0; }
h1 {
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 7vw, 6.35rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}
h1 span { color: var(--blue); }
.hero-description {
  max-width: 570px;
  margin-bottom: 34px;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}
.primary-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(12,22,56,0.2);
}
.primary-link:hover { background: var(--blue); }
.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #dae3ff, #b9c9ff);
  border: 1px solid rgba(53,92,255,0.12);
  border-radius: 46px;
  box-shadow: var(--shadow);
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: #ffcf55;
  border-radius: 50%;
}
.hero-monogram {
  position: relative;
  z-index: 2;
  color: var(--navy);
  font-size: clamp(5.5rem, 12vw, 9rem);
  font-weight: 950;
  letter-spacing: -0.1em;
  transform: translateX(-0.04em);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(12,22,56,0.28);
  border-radius: 50%;
}
.orbit-one { width: 360px; height: 360px; }
.orbit-two { width: 470px; height: 190px; transform: rotate(-28deg); }
.visual-note {
  position: absolute;
  z-index: 3;
  padding: 7px 12px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}
.note-one { top: 18%; left: 11%; }
.note-two { top: 28%; right: 9%; }
.note-three { right: 14%; bottom: 16%; }
.apps-section { padding: 98px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.section-heading h2,
.about-section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}
.section-heading > p {
  max-width: 350px;
  margin-bottom: 3px;
  color: var(--ink-muted);
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.app-card {
  position: relative;
  min-height: 345px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.app-card:hover {
  z-index: 2;
  border-color: rgba(53,92,255,0.35);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.app-card:focus-visible,
nav a:focus-visible,
.primary-link:focus-visible,
footer a:focus-visible {
  outline: 3px solid #ffbd2e;
  outline-offset: 4px;
}
.app-card::before {
  content: "";
  position: absolute;
  top: -62px;
  right: -52px;
  width: 155px;
  height: 155px;
  background: var(--accent-soft);
  border-radius: 50%;
}
.app-number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(12,22,56,0.45);
  font-size: 0.72rem;
  font-weight: 800;
}
.app-symbol {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  color: var(--navy);
  background: var(--accent);
  border-radius: 18px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}
.app-category {
  margin-bottom: 8px;
  color: var(--ink-muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.app-card h3 {
  margin-bottom: 10px;
  font-size: 1.42rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.app-card p {
  margin-bottom: 24px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.card-link {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 850;
}
.card-coral { --accent: #ffad9f; --accent-soft: #ffe0da; }
.card-mint { --accent: #9be1c4; --accent-soft: #dff6ed; }
.card-yellow { --accent: #ffd66b; --accent-soft: #fff0bd; }
.card-blue { --accent: #a9c2ff; --accent-soft: #dce6ff; }
.card-green { --accent: #b8dc8b; --accent-soft: #e5f3d3; }
.card-violet { --accent: #c9b1f7; --accent-soft: #ece2ff; }
.card-aqua { --accent: #8edbe4; --accent-soft: #d7f3f6; }
.card-red { --accent: #ff9c8e; --accent-soft: #ffe0db; }
.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  padding: 96px 70px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-lg);
}
.about-section .eyebrow { color: #8ea8ff; }
.about-copy { color: #c7cfe4; font-size: 1.06rem; }
.about-copy p:last-child { margin-bottom: 0; }
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 0 100px;
}
.principles article {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.principles span {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
}
.principles h3 { margin: 22px 0 8px; font-size: 1.25rem; }
.principles p { margin-bottom: 0; color: var(--ink-muted); font-size: 0.92rem; }
footer {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 36px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
footer strong { font-size: 1.06rem; }
footer p { margin: 7px 0 0; color: var(--ink-muted); font-size: 0.88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 0.88rem; font-weight: 750; text-decoration: none; }
.copyright { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 360px; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section { grid-template-columns: 1fr; gap: 40px; padding: 64px 44px; }
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 70px; }
  .brand > span:last-child { display: none; }
  nav a { padding-inline: 10px; font-size: 0.84rem; }
  .hero { min-height: auto; gap: 42px; padding: 46px 0 68px; }
  h1 { font-size: clamp(3.15rem, 17vw, 4.6rem); }
  .hero-description { font-size: 1rem; }
  .hero-visual { min-height: 310px; border-radius: 30px; }
  .hero-visual::before { width: 210px; height: 210px; }
  .orbit-one { width: 275px; height: 275px; }
  .orbit-two { width: 345px; height: 150px; }
  .apps-section { padding: 74px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 310px; }
  .about-section { padding: 48px 26px; border-radius: 24px; }
  .principles { grid-template-columns: 1fr; padding-bottom: 74px; }
  footer { grid-template-columns: 1fr; min-height: auto; }
  .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
