:root {
  color-scheme: light;
  font-family: Pretendard, "Noto Sans KR", system-ui, sans-serif;
  color: #172033;
  background: #f6f8fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f6f8fc; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.app-version {
  position: fixed;
  right: 12px;
  bottom: 8px;
  z-index: 100;
  padding: 3px 7px;
  border-radius: 5px;
  color: #737d90;
  background: rgb(255 255 255 / 85%);
  font-size: 11px;
  line-height: 1.4;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: #fff;
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--site-accent);
  background: #fff;
}
nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.login-link { padding: 10px 18px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 999px; }

.hero {
  min-height: 680px;
  padding: 160px 0 100px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgb(255 255 255 / 20%), transparent 24rem),
    linear-gradient(135deg, var(--site-accent-dark), var(--site-accent));
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .16em; opacity: .75; }
.hero h1 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.14; letter-spacing: -.045em; }
.hero h1 strong { color: #bfffe7; }
.hero-copy { max-width: 620px; margin: 28px 0 0; font-size: 18px; line-height: 1.8; opacity: .86; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; padding: 14px 22px; border-radius: 12px; font-weight: 750; }
.button.primary { color: var(--site-accent-dark); background: #fff; }
.button.secondary { border: 1px solid rgb(255 255 255 / 45%); }
.preview-card {
  padding: 32px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 24px;
  background: rgb(255 255 255 / 12%);
  box-shadow: 0 24px 70px rgb(0 0 0 / 16%);
  backdrop-filter: blur(12px);
}
.preview-card .status { display: inline-block; padding: 7px 11px; border-radius: 999px; background: #bfffe7; color: #0c6049; font-size: 12px; font-weight: 800; }
.preview-card h2 { margin: 24px 0; font-size: 32px; }
.preview-card dl { margin: 0; }
.preview-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid rgb(255 255 255 / 18%); }
.preview-card dt { opacity: .7; }
.preview-card dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

.section { padding: 92px 0; background: #fff; }
.section h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.feature-grid article { padding: 28px; border: 1px solid #e5eaf2; border-radius: 18px; background: #fbfcfe; }
.feature-grid article span { color: var(--site-accent); font-size: 13px; font-weight: 800; }
.feature-grid h3 { margin: 24px 0 10px; font-size: 20px; }
.feature-grid p { margin: 0; color: #657086; line-height: 1.7; }
footer { padding: 30px 0; color: #737d90; background: #f6f8fc; }
footer .shell { display: flex; justify-content: space-between; gap: 20px; }

.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: linear-gradient(145deg, #eef3fb, #f9fbfe); }
.auth-card { width: min(440px, 100%); padding: 42px; border-radius: 24px; background: #fff; box-shadow: 0 24px 80px rgb(31 48 82 / 14%); }
.auth-brand { margin-bottom: 42px; }
.auth-brand .brand-mark { color: #fff; background: var(--site-accent); }
.auth-card h1 { margin: 0; font-size: 36px; letter-spacing: -.04em; }
.auth-description, .auth-notice { color: #6f788a; line-height: 1.65; }
.auth-card form { margin-top: 30px; }
.auth-card label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 700; }
.auth-card input { width: 100%; padding: 14px; border: 1px solid #d9dfeb; border-radius: 10px; font: inherit; }
.auth-card button { width: 100%; margin-top: 24px; padding: 15px; border: 0; border-radius: 10px; color: #fff; background: var(--site-accent); font: inherit; font-weight: 750; cursor: pointer; }
.auth-card button:disabled { cursor: wait; opacity: .65; }
.auth-error { min-height: 1.5em; margin: 12px 0 0; color: #b42318; font-size: 14px; }
.user-summary { opacity: .9; font-size: 14px; font-weight: 700; }
.auth-notice { padding: 14px; border-radius: 10px; background: #f5f7fb; font-size: 13px; }
.back-link { display: inline-block; margin-top: 14px; color: var(--site-accent-dark); font-size: 14px; font-weight: 700; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; padding-top: 22px; }
  nav > a:not(.login-link) { display: none; }
  .hero { padding-top: 140px; }
  .hero-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  footer .shell { flex-direction: column; }
  .auth-card { padding: 30px 24px; }
}
