:root {
  --coral: #F2545B;
  --indigo: #2B2A4C;
  --cream: #F6EFE9;
  --ink: #2B2A4C;
  --line: rgba(43, 42, 76, .14);
  --muted: rgba(43, 42, 76, .66);
  --shadow: 0 14px 36px rgba(43, 42, 76, .1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* 顶部导航 */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 239, 233, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topnav ol {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 6px 22px;
  list-style: none;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 16px;
  font-weight: 500;
  color: var(--indigo);
  text-decoration: none;
  border-radius: 12px;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.topnav a:hover {
  color: var(--coral);
  background: rgba(242, 84, 91, .1);
  transform: translateY(-1px);
}

.topnav li:nth-child(4) { margin-right: 100px; }
.topnav li:nth-child(6) { margin-left: 100px; }

.brand-cell {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand-cell .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--coral);
  padding: 0 14px;
}

.brand-cell .brand:hover { background: transparent; transform: none; }

.brand-logo { width: 26px; height: 26px; border-radius: 8px; }

/* 主视觉 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(62% 78% at 82% 18%, rgba(242, 84, 91, .18), transparent 68%);
}

.hero-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(158deg, #2B2A4C 0%, #4a3358 62%, #7c3f4f 100%);
  border-radius: 0 28px 28px 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: softIn 1.1s cubic-bezier(.2, .8, .25, 1) both;
}

@keyframes softIn {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: none; }
}

.typewall {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}

.typewall span {
  background: linear-gradient(178deg, #F2545B 6%, #F6EFE9 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: riseUp .95s cubic-bezier(.2, .8, .25, 1) both;
  animation-delay: calc(var(--i) * .11s);
}

@keyframes riseUp {
  from { opacity: 0; transform: translateY(58%) rotate(4deg); }
  to { opacity: 1; transform: none; }
}

.hero-copy {
  position: relative;
  align-self: center;
  padding: 132px 44px 132px 28px;
  text-align: right;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 22px;
  padding: 7px 18px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .18em;
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(242, 84, 91, .32);
  animation: bob 3.6s ease-in-out infinite;
}

@keyframes bob {
  50% { transform: translateY(-9px); }
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7.4vw, 6.4rem);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.035em;
}

.hero-lede {
  max-width: 30ch;
  margin: 22px 0 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-more {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  margin-top: 30px;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  background: var(--indigo);
  border-radius: 999px;
  transition: transform .25s ease, background-color .25s ease;
}

.hero-more:hover {
  background: var(--coral);
  transform: translateY(-3px);
}

/* 滚动字带 */
.tape {
  overflow: hidden;
  background: var(--indigo);
  color: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tape-row {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 18px;
  padding: 13px 0;
  font-size: 17px;
  letter-spacing: .3em;
  white-space: nowrap;
  animation: slideBy 34s linear infinite;
}

.tape-row .dot { color: var(--coral); }

@keyframes slideBy {
  to { transform: translateX(-50%); }
}

/* 正文区 */
.stage {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 26px 96px;
  align-items: start;
}

.rail {
  position: sticky;
  top: 116px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.rail-kicker,
.foot-kicker {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--coral);
}

.rail h2 {
  margin: 4px 0 16px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px dashed var(--line);
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px;
  font-size: 16px;
  color: var(--indigo);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  transition: color .2s ease, padding-left .2s ease;
}

.rail-list a:hover {
  color: var(--coral);
  padding-left: 8px;
}

.stage-body { max-width: 720px; }

.stage-body section + section {
  margin-top: 46px;
  padding-top: 46px;
  border-top: 1px dashed var(--line);
}

.stage-body h2 {
  margin: 42px 0 16px;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.025em;
}

.stage-body section > h2:first-child { margin-top: 4px; }

.stage-body h2 small,
.stage-body h3 small {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--coral);
  margin-bottom: 8px;
}

.stage-body h3 {
  margin: 30px 0 12px;
  font-size: 1.24rem;
  line-height: 1.45;
  font-weight: 600;
}

.stage-body p {
  margin: 0 0 18px;
  max-width: 68ch;
}

.stage-body ul,
.stage-body ol {
  margin: 0 0 20px;
  padding-left: 1.3em;
}

.stage-body li { margin-bottom: 10px; }

.stage-body a {
  color: var(--coral);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 84, 91, .4);
  transition: background-color .2s ease;
}

.stage-body a:hover { background: rgba(242, 84, 91, .12); }

.stage-body figure {
  margin: 26px 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stage-body blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  font-size: 17px;
  background: #fff;
  border-left: 4px solid var(--coral);
  border-radius: 0 24px 24px 0;
  box-shadow: var(--shadow);
}

.stage-body blockquote p:last-child { margin-bottom: 0; }

.stage-body strong { color: var(--indigo); font-weight: 700; }

/* 页脚 */
.foot {
  margin-top: 40px;
  background: var(--indigo);
  color: var(--cream);
  padding-bottom: 26px;
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 26px 42px;
}

.foot-cta h2 {
  flex: 1 1 100%;
  margin: 2px 0 0;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.04em;
}

.foot-cta .foot-kicker { color: var(--coral); }

.foot-cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--coral);
  border-radius: 999px;
  transition: transform .25s ease, background-color .25s ease;
}

.foot-cta-btn:hover {
  background: #fff;
  color: var(--indigo);
  transform: translateY(-3px);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 26px;
  border-top: 1px solid rgba(246, 239, 233, .2);
}

.foot-addr {
  font-style: normal;
  display: grid;
  gap: 6px;
}

.foot-brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--coral);
}

.foot-host {
  font-size: 16px;
  color: rgba(246, 239, 233, .66);
}

.foot-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: rgba(246, 239, 233, .84);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.foot-col a:hover {
  color: var(--coral);
  transform: translateX(4px);
}

.foot-copy {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 26px 0;
  font-size: 15px;
  letter-spacing: .1em;
  color: rgba(246, 239, 233, .55);
  border-top: 1px solid rgba(246, 239, 233, .14);
}

/* 滚动出现 */
.js .stage-body > section,
.js .rail,
.js .foot-cta {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .25, 1);
}

.js .stage-body > section.on,
.js .rail.on,
.js .foot-cta.on {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 44px 18px 72px;
  }

  .rail { position: static; }

  .rail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }

  .stage-body { max-width: none; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 168px; }

  .topnav ol {
    flex-wrap: wrap;
    justify-content: center;
    padding: 4px 10px 8px;
    gap: 0;
  }

  .topnav li:nth-child(4),
  .topnav li:nth-child(6) { margin: 0; }

  .brand-cell {
    position: static;
    transform: none;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
  }

  .topnav a { padding: 0 9px; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero-copy {
    order: 1;
    padding: 52px 20px 44px;
    text-align: left;
  }

  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }

  .hero-lede {
    margin-left: 0;
    max-width: 40ch;
  }

  .hero-figure {
    order: 2;
    min-height: 44vh;
    border-radius: 0 0 28px 28px;
  }

  .typewall { font-size: clamp(3rem, 17vw, 5rem); }

  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .foot-cta { padding: 48px 20px 30px; }
  .foot-cols,
  .foot-copy { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js .stage-body > section,
  .js .rail,
  .js .foot-cta {
    opacity: 1;
    transform: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
