:root {
  --ink: #191f28;
  --ink-soft: #4e5968;
  --ink-faint: #8b95a1;
  --night: #101828;
  --night-soft: #1a2436;
  --paper: #ffffff;
  --cloud: #f6f8fb;
  --mist: #eef2f7;
  --blue-wash: #eef4ff;
  --line: #e8ecf1;
  --blue: #3182f6;
  --blue-deep: #1b64da;
  --teal: #00b493;
  --teal-deep: #0d8f76;
  --teal-soft: #e6f8f3;
  --ink-950: var(--ink);
  --ink-900: #202936;
  --ink-800: #333d4b;
  --ink-700: #4e5968;
  --ink-600: var(--ink-soft);
  --ink-500: var(--ink-faint);
  --ink-300: #c4cbd3;
  --ink-200: var(--line);
  --ink-100: var(--mist);
  --white: var(--paper);
  --blue-700: var(--blue-deep);
  --blue-600: var(--blue);
  --blue-100: var(--blue-wash);
  --mint-600: var(--teal-deep);
  --mint-500: var(--teal);
  --mint-100: var(--teal-soft);
  --amber-600: #a86613;
  --amber-100: #fff2d9;
  --red-600: #c24145;
  --red-100: #ffebeb;
  --shadow-soft: 0 6px 14px rgba(16, 24, 40, 0.05),
    0 30px 64px rgba(16, 24, 40, 0.12);
  --shadow-card: 0 2px 6px rgba(16, 24, 40, 0.03),
    0 18px 44px rgba(16, 24, 40, 0.07);
  --shadow-btn: 0 10px 26px rgba(49, 130, 246, 0.3);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 32px;
  --shell: 1140px;
  --font-sans:
    "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-950);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(36, 114, 238, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--blue-600);
  opacity: 0;
  transform: translateY(-150%);
}

.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
}

.compliance-bar {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--cloud);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 180, 147, 0.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}

.nav-shell,
.content-shell,
.footer-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(150deg, #5c9dff, var(--blue) 60%);
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(49, 130, 246, 0.32);
}

.brand-name {
  font-size: 17px;
}

.brand-tag {
  padding: 3px 7px;
  border: 1px solid #d2e1fb;
  border-radius: 7px;
  color: var(--blue-deep);
  background: var(--blue-100);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 10px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a[aria-current="page"] {
  color: var(--blue-deep);
  background: var(--blue-wash);
  font-weight: 700;
}

.footer-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.nav-links a:hover {
  background: var(--mist);
}

.nav-action {
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(49, 130, 246, 0.22);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(56% 48% at 84% 12%, rgba(49, 130, 246, 0.1), transparent 70%),
    radial-gradient(44% 42% at 8% 92%, rgba(0, 180, 147, 0.07), transparent 70%),
    linear-gradient(180deg, #fbfcfe 0%, #f3f7fc 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(16, 24, 40, 0.055) 1px,
    transparent 1.4px
  );
  background-size: 26px 26px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 66%);
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85),
    transparent 66%
  );
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 900px);
  margin-inline: auto;
  padding: 82px 0 88px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.65;
}

.hero-glow-one {
  top: 62px;
  left: -130px;
  width: 330px;
  height: 330px;
  background: radial-gradient(
    circle,
    rgba(36, 114, 238, 0.11),
    transparent 68%
  );
}

.hero-glow-two {
  right: -120px;
  bottom: -30px;
  width: 370px;
  height: 370px;
  background: radial-gradient(circle, rgba(22, 180, 150, 0.1), transparent 68%);
}

.eyebrow,
.section-kicker,
.sidebar-kicker {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.pain-question {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid rgba(49, 130, 246, 0.16);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  margin: 0;
}

.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.028em;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-copy {
  max-width: 690px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(16px, 2vw, 17px);
  line-height: 1.8;
  letter-spacing: -0.025em;
}

.beta-status {
  display: flex;
  width: fit-content;
  max-width: 620px;
  align-items: center;
  gap: 10px;
  margin: 22px auto 0;
}

.beta-status > span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--teal-deep);
  background: var(--teal-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.beta-status p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.analysis-form {
  max-width: 780px;
  margin: 30px auto 0;
  text-align: left;
}

.analysis-form > label {
  display: block;
  margin: 0 0 9px 4px;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 700;
}

.input-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.input-shell:focus-within {
  border-color: var(--blue);
  box-shadow: 0 20px 60px rgba(49, 130, 246, 0.16);
  transform: translateY(-2px);
}

.search-icon {
  color: var(--ink-500);
}

.search-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.input-shell input {
  min-width: 0;
  padding: 15px 14px;
  border: 0;
  outline: 0;
  color: var(--ink-950);
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.input-shell input::placeholder {
  color: #98a9b8;
  font-weight: 500;
}

.input-shell button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.input-shell button:hover {
  transform: translateY(-1px);
}

.input-shell button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.input-shell button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.form-error {
  min-height: 24px;
  margin: 7px 4px 0;
  color: var(--red-600);
  font-size: 13px;
  font-weight: 600;
}

.example-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 2px 4px 0;
  color: var(--ink-500);
  font-size: 12px;
}

.example-row > span {
  margin-right: 2px;
  font-weight: 600;
}

.example-chip {
  padding: 5px 10px;
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  color: var(--ink-600);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.example-chip:hover {
  border-color: #aac4f4;
  color: var(--blue-700);
  transform: translateY(-1px);
}

.hero-contact-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px 12px;
  margin-top: 18px;
  color: var(--ink-500);
  font-size: 12px;
}

.hero-kakao-direct {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(188, 167, 0, 0.24);
  border-radius: 999px;
  color: #261f00;
  background: #fee500;
  font-weight: 800;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.hero-kakao-direct:hover {
  box-shadow: 0 8px 20px rgba(122, 104, 0, 0.14);
  transform: translateY(-1px);
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  color: var(--ink-600);
  font-size: 13px;
  font-weight: 600;
}

.hero-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-assurances svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--mint-600);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-risk {
  margin: 13px 0 0;
  color: var(--ink-500);
  font-size: 11px;
}

.route-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.route-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px 38px;
  align-items: center;
}

.route-heading .section-kicker {
  margin: 0 0 7px;
}

.route-heading h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.analysis-route {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.analysis-route li {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--cloud);
  transition: background 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

.analysis-route li:hover {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.analysis-route li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--ink-faint);
  background: var(--paper);
  font-size: 10px;
  font-weight: 700;
}

.analysis-route strong,
.analysis-route small {
  display: block;
}

.analysis-route strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.analysis-route small {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.4;
}

.analysis-route .route-result {
  border-color: rgba(0, 180, 147, 0.22);
  background: var(--teal-soft);
}

.analysis-route .route-result > span {
  color: var(--teal-deep);
  background: rgba(0, 180, 147, 0.13);
}

.analysis-route .route-result strong {
  color: var(--teal-deep);
}

.relevance-note {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.relevance-note span {
  margin-right: 8px;
  color: var(--teal-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

.analysis-route [data-reveal]:nth-child(2) {
  transition-delay: 0.06s;
}

.analysis-route [data-reveal]:nth-child(3) {
  transition-delay: 0.12s;
}

.analysis-route [data-reveal]:nth-child(4) {
  transition-delay: 0.18s;
}

.analysis-route [data-reveal]:nth-child(5) {
  transition-delay: 0.24s;
}

.principle-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.principle-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

/* revealed 后恢复快速 hover 交互过渡 */
.analysis-route li[data-reveal].revealed,
.principle-grid article[data-reveal].revealed {
  transition: background 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}
