:root {
  --ink: #173039;
  --paper: #edf5f7;
  --white: #ffffff;
  --yellow: #2e6b73;
  --mint: #dcefee;
  --warning: #db4730;
  --muted: rgba(23, 48, 57, 0.62);
  --display: "Nunito", "Noto Sans KR", sans-serif;
  --body: "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 17px; }
a { color: inherit; }
button, a { font: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 99; top: 12px; left: 12px; padding: 9px 14px; color: var(--ink); background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

header { position: absolute; z-index: 10; inset: 0 0 auto; height: 88px; display: flex; align-items: center; justify-content: space-between; width: min(1380px, calc(100% - 64px)); margin: auto; border-bottom: 1px solid rgba(23,48,57,.12); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 17px var(--display); letter-spacing: -.04em; text-decoration: none; }
.brand img { border-radius: 10px; }
.language-switch { display: flex; padding: 3px; border: 1px solid rgba(23,48,57,.22); border-radius: 999px; }
.language-switch button { padding: 4px 10px; border: 0; border-radius: 999px; color: var(--ink); background: transparent; font: 12px sans-serif; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: white; background: var(--yellow); }

.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .85fr); align-items: center; gap: 4vw; padding: 145px max(5vw, 40px) 70px; background: radial-gradient(circle at 78% 47%, rgba(46,107,115,.12), transparent 28%), var(--paper); }
.hero-copy { width: min(740px, 100%); justify-self: end; }
.availability { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: var(--muted); font-size: 13px; letter-spacing: .07em; }
.availability > span:first-child { width: 8px; height: 8px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 0 6px rgba(219,71,48,.1); }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--display); letter-spacing: -.055em; line-height: 1.08; }
h1 { max-width: 780px; margin-bottom: 30px; font-size: clamp(58px, 6.6vw, 104px); font-weight: 900; }
h1 em, h2 em { color: var(--yellow); font-style: normal; }
.hero-body { max-width: 560px; margin-bottom: 22px; color: var(--muted); font-size: clamp(18px, 1.35vw, 22px); line-height: 1.7; }
.trust-line { display: flex; align-items: center; gap: 13px; margin-bottom: 34px; font-size: 13px; }
.trust-line strong { color: var(--yellow); font-weight: 800; }
.trust-line span { padding-left: 13px; border-left: 1px solid rgba(23,48,57,.2); color: rgba(23,48,57,.46); }
.hero-link { display: inline-flex; align-items: center; justify-content: space-between; min-width: 245px; padding: 15px 18px; border-radius: 14px; color: white; background: var(--yellow); font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(46,107,115,.16); transition: transform .2s ease; }
.hero-link:hover { transform: translateY(-3px); }

.alarm-visual { position: relative; min-height: 620px; display: grid; place-items: center; }
.giant-time { position: absolute; top: 50%; left: 50%; color: transparent; font: 150px/1 var(--display); letter-spacing: -.1em; -webkit-text-stroke: 1px rgba(46,107,115,.13); transform: translate(-50%, -50%) rotate(90deg); white-space: nowrap; }
.alarm-card { position: relative; z-index: 2; width: min(390px, 90%); padding: 30px; color: var(--ink); background: var(--white); border: 1px solid rgba(23,48,57,.08); border-radius: 30px; box-shadow: 0 24px 60px rgba(23,48,57,.14); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 60px; }
.sun { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--yellow); background: var(--mint); font-size: 22px; }
.card-time { font: 13px var(--display); }
.alarm-card strong { display: block; margin-bottom: 12px; font: clamp(30px, 3vw, 43px)/1.1 var(--display); letter-spacing: -.05em; }
.alarm-card p { margin-bottom: 30px; color: rgba(11,13,15,.58); line-height: 1.65; }
.alarm-card button { width: 100%; display: flex; justify-content: space-between; padding: 15px 16px; border: 0; border-radius: 14px; color: white; background: var(--yellow); font-weight: 700; }
.check-stamp { position: absolute; z-index: 3; right: 1%; bottom: 14%; padding: 10px 14px; border: 1px solid rgba(46,107,115,.14); border-radius: 999px; color: var(--yellow); background: rgba(255,255,255,.92); box-shadow: 0 10px 28px rgba(23,48,57,.12); font: 700 13px var(--body); text-align: center; }

.reason { padding: 150px max(7vw, 36px); color: var(--ink); background: #f8fbfb; }
.reason > * { max-width: 1250px; margin-left: auto; margin-right: auto; }
.section-label { display: inline-flex; margin-bottom: 26px; padding: 7px 12px; border-radius: 999px; color: var(--yellow); background: var(--mint); font: 700 13px var(--body); letter-spacing: 0; }
.reason h2 { margin-bottom: 90px; font-size: clamp(50px, 6.5vw, 96px); }
.reason h2 em { color: var(--yellow); box-shadow: none; }
.timeline { display: grid; grid-template-columns: 1fr 170px 1fr; align-items: stretch; }
.timeline-event { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; border: 1px solid rgba(23,48,57,.12); border-radius: 26px; background: var(--white); box-shadow: 0 14px 40px rgba(23,48,57,.06); }
.event-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.event-top time { font: clamp(38px, 4vw, 62px)/1 var(--display); letter-spacing: -.07em; }
.event-top span { padding: 6px 9px; border: 1px solid rgba(46,107,115,.25); border-radius: 999px; color: var(--yellow); font: 700 10px sans-serif; letter-spacing: .08em; }
.timeline-event strong { margin-bottom: 9px; font: clamp(30px, 3vw, 48px) var(--display); letter-spacing: -.05em; }
.timeline-event p { margin: 0; color: rgba(11,13,15,.55); }
.timeline-highlight { background: var(--mint); border-color: rgba(46,107,115,.18); box-shadow: 0 16px 42px rgba(46,107,115,.1); }
.timeline-highlight p { color: rgba(11,13,15,.65); }
.timeline-gap { display: flex; align-items: center; color: var(--ink); }
.timeline-gap span { flex: 1; height: 1px; background: rgba(46,107,115,.38); }
.timeline-gap b { flex: none; padding: 8px 10px; border: 1px solid rgba(46,107,115,.28); border-radius: 999px; color: var(--yellow); background: #f8fbfb; font: 700 11px sans-serif; }
.reason-end { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 75px; margin-bottom: 0; }
.reason-end > span { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; color: white; background: var(--yellow); font: 800 22px sans-serif; }
.reason-end p { margin: 0; font-size: clamp(19px, 2vw, 28px); line-height: 1.45; }
.reason-end strong { font-family: var(--display); letter-spacing: -.04em; }

.final { min-height: 680px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 30px; color: #e8f2f2; background: #0e1416; text-align: center; }
.final img { margin-bottom: 32px; border-radius: 20px; box-shadow: 0 20px 55px rgba(0,0,0,.45); }
.final h2 { margin-bottom: 22px; font-size: clamp(54px, 7vw, 100px); }
.final h2 em { color: #61bfba; }
.final p { margin-bottom: 34px; color: rgba(232,242,242,.58); font-size: 14px; }
.final > a { display: inline-flex; justify-content: space-between; gap: 55px; min-width: 260px; padding: 15px 18px; border-radius: 14px; color: #071616; background: #61bfba; font-weight: 800; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.final > a:hover { background: white; transform: translateY(-3px); }
footer { display: flex; justify-content: space-between; padding: 26px max(5vw, 28px); border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); background: #0e1416; font-size: 13px; }
footer a { text-underline-offset: 4px; }

.reveal { animation: reveal .8s cubic-bezier(.2,.8,.2,1) both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .18s; }
.delay-3 { animation-delay: .3s; }
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 900px) {
  header { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; padding: 130px 24px 80px; }
  .hero-copy { justify-self: start; }
  .alarm-visual { min-height: 520px; }
  .check-stamp { right: 6%; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline-gap { width: 70px; height: 55px; justify-self: center; transform: rotate(90deg); }
  .timeline-gap b { transform: rotate(-90deg); }
}

@media (max-width: 560px) {
  header { height: 72px; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding-top: 115px; }
  h1 { font-size: clamp(55px, 17vw, 82px); }
  .hero-body { font-size: 17px; }
  .trust-line { align-items: flex-start; flex-direction: column; gap: 5px; }
  .trust-line span { padding-left: 0; border-left: 0; }
  .alarm-visual { min-height: 470px; margin: 0 -10px; }
  .alarm-card { width: calc(100% - 40px); padding: 24px; box-shadow: 0 20px 48px rgba(23,48,57,.14); }
  .card-top { margin-bottom: 45px; }
  .check-stamp { right: 0; bottom: 5%; font-size: 12px; }
  .reason { padding: 100px 24px; }
  .reason h2 { margin-bottom: 60px; font-size: 47px; }
  .timeline-event { min-height: 250px; padding: 26px; }
  .reason-end { align-items: flex-start; justify-content: flex-start; margin-top: 55px; }
  .final { min-height: 600px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
