:root {
  color-scheme: light;
  --ink: #15162a;
  --muted: #676a83;
  --paper: #f7f8ff;
  --panel: rgba(255, 255, 255, .9);
  --line: #dfe2f2;
  --violet: #6657f5;
  --violet-dark: #4135bd;
  --coral: #f15f77;
  --aqua: #4fc8cf;
  --shadow: 0 22px 64px rgba(66, 57, 145, .15);
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(102, 87, 245, .1), transparent 32rem),
    linear-gradient(315deg, rgba(241, 95, 119, .08), transparent 30rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.68;
}

a { color: inherit; }

.site {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(223, 226, 242, .9);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 36px rgba(66, 57, 145, .1);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
}

.brand-icon,
.hero-icon {
  display: block;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(38, 30, 112, .22);
}

.brand-icon { width: 40px; height: 40px; border-radius: 10px; }

.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.nav-links a {
  padding: 8px 12px;
  border: 1px solid rgba(65, 53, 189, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.app-hero,
.page-hero {
  margin: 22px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(102, 87, 245, .26);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #242554 0%, #5548d7 56%, #8d70ff 100%);
  box-shadow: var(--shadow);
}

.app-hero {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
}

.page-hero { display: flex; align-items: center; gap: 20px; padding: clamp(24px, 4vw, 38px); }

.hero-icon {
  justify-self: end;
  width: min(188px, 34vw);
  height: min(188px, 34vw);
  border-radius: 38px;
}

.eyebrow {
  color: #d8d2ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 { margin: 10px 0 16px; font-size: clamp(36px, 7vw, 68px); line-height: 1.04; letter-spacing: -.02em; }
h2 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
h3 { margin: 0 0 8px; font-size: 18px; }
p, li { font-size: 16px; }

.lead { max-width: 760px; margin: 0; color: rgba(255,255,255,.88); font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 17px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary { background: #fff; color: var(--violet-dark); }
.button.secondary { border: 1px solid rgba(255,255,255,.34); color: #fff; }

.panel {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(250,250,255,.92); }
.card-accent { border-top: 4px solid var(--violet); }
.meta-list { padding-left: 20px; }

.note {
  padding: 14px 16px;
  border-left: 4px solid var(--coral);
  border-radius: 12px;
  background: rgba(241, 95, 119, .09);
}

.safety { border-left-color: var(--aqua); background: rgba(79, 200, 207, .1); }
.footer { margin-top: 32px; color: var(--muted); font-size: 13px; }
.footer a, .email-link { color: var(--violet-dark); font-weight: 850; }

@media (max-width: 760px) {
  .site { width: min(100% - 28px, 1080px); padding-top: 14px; }
  .nav { position: static; align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .app-hero { grid-template-columns: 1fr; }
  .hero-icon { justify-self: start; order: -1; width: 88px; height: 88px; border-radius: 20px; }
  .page-hero { align-items: flex-start; }
  .page-hero .hero-icon { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 15px; }
  .grid { grid-template-columns: 1fr; }
}
