@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/Outfit-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f4f2ee;
  --paper-2: #ebe8e1;
  --card: #ffffff;
  --ink: #141413;
  --ink-2: #3a3935;
  --muted: #6e6a62;
  --line: rgba(20, 20, 19, .12);
  --accent: #ff5124;
  --accent-text: #b5320a;
  --accent-ink: #ffffff;
  --dark: #121211;
  --dark-2: #1c1c1a;
  --dark-line: rgba(255, 255, 255, .12);
  --dark-muted: #a19d94;

  --ko: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --en: "Outfit", var(--ko);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ko);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #ff6a42; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--dark-line); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; gap: .4em; align-items: center;
  font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translate(3px, -3px); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-scrolled { border-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark {
  width: 22px; height: 22px; background: var(--ink); border-radius: 5px;
  transform: rotate(-12deg); position: relative;
}
.logo__mark::after {
  content: ""; position: absolute; right: -4px; top: -4px; width: 9px; height: 9px;
  background: var(--accent); border-radius: 50%;
}
.logo__txt { font-family: var(--en); font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.logo__txt em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.logo--foot .logo__txt em { color: #8f8b83; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero__title {
  margin-top: 24px;
  font-size: clamp(42px, 6.2vw, 84px);
  line-height: 1.12; letter-spacing: -0.045em; font-weight: 800;
}
.hl { position: relative; color: #f5471a; white-space: nowrap; }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__facts li { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); display: grid; }
.hero__facts li:last-child { border: 0; margin: 0; padding: 0; }
.hero__facts b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.hero__facts span { font-size: 13px; color: var(--muted); }

/* stage: stacked browser frames */
.hero__stage { position: relative; aspect-ratio: 16 / 12.4; }
.stage-card {
  position: absolute; left: 0; top: 0; width: 88%; margin: 0;
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s;
  transform-origin: 50% 100%;
}
.stage-card[data-pos="0"] { transform: translate(0, 18%) rotate(-2deg); z-index: 4; opacity: 1; }
.stage-card[data-pos="1"] { transform: translate(8%, 9%) rotate(1.5deg) scale(.96); z-index: 3; opacity: .9; filter: brightness(.94); }
.stage-card[data-pos="2"] { transform: translate(14%, 0) rotate(4deg) scale(.92); z-index: 2; opacity: .7; filter: brightness(.9); }
.stage-card[data-pos="3"], .stage-card[data-pos="4"] { transform: translate(14%, 0) rotate(4deg) scale(.9); z-index: 1; opacity: 0; }
.stage-dots { position: absolute; right: 0; bottom: 0; display: flex; gap: 8px; z-index: 5; }
.stage-dots button {
  width: 34px; height: 6px; padding: 0; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--line); transition: background-color .3s, width .3s;
}
.stage-dots button[aria-selected="true"] { background: var(--ink); width: 52px; }

.browser {
  background: var(--card); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 60px -18px rgba(20, 20, 19, .35);
  border: 1px solid rgba(20,20,19,.08);
}
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1efea; border-bottom: 1px solid rgba(20,20,19,.06); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d5cc; }
.browser__bar span {
  margin-left: 10px; flex: 1; max-width: 220px; height: 18px; border-radius: 9px; background: #fff;
  font-family: var(--en); font-size: 11px; line-height: 18px; text-align: center; color: var(--muted);
}
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* marquee */
.marquee { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  padding: 18px 28px; font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee span::after { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
section { position: relative; }
.sec-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker {
  font-family: var(--en); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 18px;
}
.work .kicker, .contact .kicker { color: var(--accent); }
.sec-head h2, .contact h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.18; letter-spacing: -.04em; font-weight: 800; }
.sec-head__desc { margin-top: 20px; font-size: 17px; color: var(--muted); max-width: 36em; }

/* ---------- work ---------- */
.work { background: var(--dark); color: #f3f1ec; padding: clamp(80px, 11vw, 150px) 0 clamp(64px, 8vw, 110px); }
.sec-head--dark .sec-head__desc { color: var(--dark-muted); }

.case {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--dark-line);
}
.case--flip { grid-template-columns: 1fr 1.25fr; }
.case--flip .case__media { order: 2; }
.device { position: relative; display: block; padding-right: 12%; padding-bottom: 6%; text-decoration: none; }
.device .browser { box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); border-color: rgba(255,255,255,.06); }
.device .browser__bar { background: #262624; border-color: rgba(255,255,255,.04); }
.device .browser__bar i { background: #48473f; }
.device .browser__bar span { background: #34332f; color: #a19d94; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 25%;
  border-radius: 22px; padding: 6px; background: #000;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12);
  transition: transform .5s var(--ease);
}
.phone img { border-radius: 17px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.device .browser { transition: transform .5s var(--ease); }
.device:hover .browser { transform: translateY(-6px); }
.device:hover .phone { transform: translateY(-14px) rotate(-1.5deg); }

.case__meta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--dark-muted); font-weight: 600; }
.case__no { font-family: var(--en); font-size: 14px; color: var(--accent); letter-spacing: .06em; }
.case__title { margin-top: 14px; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.035em; line-height: 1.2; font-weight: 800; }
.case__lead { margin-top: 16px; font-size: 18px; line-height: 1.6; color: #e4e1da; }
.case__points { margin-top: 26px; border-top: 1px solid var(--dark-line); }
.case__points li {
  position: relative; padding: 13px 0 13px 26px; border-bottom: 1px solid var(--dark-line);
  font-size: 15px; color: #cfcbc2;
}
.case__points li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 10px; height: 2px; background: var(--accent); }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.case__tags span { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--dark-line); color: #cfcbc2; }
.work .link-arrow { color: #fff; }
.work__note { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--dark-muted); }

/* ---------- promise ---------- */
.promise { padding: clamp(80px, 11vw, 150px) 0 clamp(40px, 5vw, 60px); }
.promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.promise__grid li { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line); }
.promise__grid li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.promise__ico { font-family: var(--en); font-weight: 600; font-size: 14px; color: var(--accent-text); }
.promise__grid h3 { margin-top: 16px; font-size: 21px; letter-spacing: -.03em; }
.promise__grid p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.pricing { padding: clamp(80px, 10vw, 130px) 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px 32px;
}
.plan--pick { background: var(--ink); color: #f3f1ec; border-color: var(--ink); }
.plan__badge {
  position: absolute; top: 24px; right: 24px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700;
}
.plan__name { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.plan__for { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 3.2em; }
.plan--pick .plan__for { color: var(--dark-muted); }
.plan__price { margin: 22px 0 26px; font-size: 20px; font-weight: 700; }
.plan__price b { font-family: var(--en); font-size: 60px; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-right: 4px; }
.plan__list { flex: 1; border-top: 1px solid var(--line); }
.plan--pick .plan__list { border-color: var(--dark-line); }
.plan__list li { position: relative; padding: 11px 0 11px 28px; font-size: 15px; border-bottom: 1px solid var(--line); }
.plan--pick .plan__list li { border-color: var(--dark-line); }
.plan__list li::before {
  content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.plan__time { margin: 20px 0; font-size: 14px; color: var(--muted); }
.plan--pick .plan__time { color: var(--dark-muted); }
.plan__time b { color: var(--ink); }
.plan--pick .plan__time b { color: #fff; }
.plan--pick .btn--accent:hover { background: #fff; color: var(--ink); }

.addons {
  margin-top: 20px; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start;
  padding: 28px 32px; border: 1px solid var(--line); border-radius: 20px;
}
.addons h3 { font-size: 17px; }
.addons dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.addons dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.addons dt { color: var(--ink-2); }
.addons dd { margin: 0; font-weight: 700; white-space: nowrap; }

/* ---------- process ---------- */
.process { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: var(--paper); border-radius: 18px; padding: 28px 24px 32px; }
.steps__no {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--en); font-weight: 600; font-size: 18px;
}
.steps li:last-child .steps__no { background: var(--accent); }
.steps h3 { margin-top: 22px; font-size: 19px; letter-spacing: -.03em; }
.steps p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { padding: clamp(80px, 10vw, 130px) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { position: sticky; top: 110px; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 48px 24px 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-2); font-size: 16px; }

/* ---------- contact ---------- */
.contact { background: var(--dark); color: #f3f1ec; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact__lead { margin-top: 22px; font-size: 18px; color: var(--dark-muted); max-width: 30em; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact__selected { margin-top: 18px; font-size: 15px; color: #fff; }
.contact__selected b { color: var(--accent); }
.ask { counter-reset: q; display: grid; gap: 12px; }
.ask li {
  counter-increment: q; position: relative; display: grid; gap: 4px;
  padding: 22px 24px 22px 72px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 16px;
}
.ask li::before {
  content: "0" counter(q); position: absolute; left: 24px; top: 22px;
  font-family: var(--en); font-weight: 600; color: var(--accent);
}
.ask b { font-size: 17px; }
.ask span { font-size: 14px; color: var(--dark-muted); }

/* ---------- footer ---------- */
.foot { background: var(--dark); color: var(--dark-muted); border-top: 1px solid var(--dark-line); }
.foot__in { display: flex; align-items: center; gap: 24px; min-height: 96px; flex-wrap: wrap; font-size: 14px; padding-top: 20px; padding-bottom: 20px; }
.logo--foot .logo__txt { color: #fff; font-size: 17px; }
.logo--foot .logo__mark { background: #fff; }
.foot__copy { margin-left: auto; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:last-child { grid-column: 1 / -1; }
  .plan:last-child .plan__for { min-height: 0; }
}

@media (max-width: 900px) {
  .nav, .top__cta { display: none; }
  .menu-btn {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0;
  }
  .menu-btn i { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.is-open a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 620px; width: 100%; }
  .case, .case--flip { grid-template-columns: 1fr; }
  .case--flip .case__media { order: 0; }
  .promise__grid { grid-template-columns: 1fr 1fr; }
  .promise__grid li, .promise__grid li:not(:nth-child(3n+1)) { padding: 28px 24px 32px 0; border-left: 0; }
  .promise__grid li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq .sec-head { position: static; margin-bottom: 8px; }
  .addons { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px) {
  .top__in { height: 64px; }
  .nav.is-open { top: 64px; }
  .hero__title { font-size: clamp(38px, 11vw, 52px); }
  .hl { white-space: normal; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .hero__facts li { padding-right: 12px; margin-right: 12px; }
  .hero__facts b { font-size: 15px; }
  .hero__facts span { font-size: 12px; }
  .stage-dots { bottom: -8px; }
  .plans, .steps, .promise__grid { grid-template-columns: 1fr; }
  .plan:last-child { grid-column: auto; }
  .plan { padding: 30px 24px 24px; }
  .plan__for { min-height: 0; }
  .promise__grid li:nth-child(even) { padding-left: 0; border-left: 0; }
  .addons { padding: 24px; }
  .addons dl { grid-template-columns: 1fr; }
  .case__lead { font-size: 17px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .ask li { padding: 20px 20px 20px 60px; }
  .ask li::before { left: 20px; top: 20px; }
  .contact__actions .btn { width: 100%; }
  .foot__copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

[hidden] { display: none !important; }
.contact__mail { margin-top: 16px; font-size: 15px; color: var(--dark-muted); }
.contact__mail a { color: #fff; font-weight: 600; text-underline-offset: 4px; }

/* 오픈 기념가 */
.open-badge { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700; vertical-align: 1px; }
.plan__price s { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.plan--pick .plan__price s { color: var(--dark-muted); }
