/* pricetag landing — styles follow the pricetag design system (design/tokens.json) */

@font-face { font-family: "Pretendard"; font-weight: 300; font-display: swap; src: url("fonts/Pretendard-Light.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("fonts/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("fonts/Pretendard-Medium.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("fonts/Pretendard-Bold.woff2") format("woff2"); }

:root {
  --brand: #2E39A9;
  --on-brand: #FFFFFF;
  --brand-text: #2E39A9;
  --bg: #F6F6FA;
  --surface: #FFFFFF;
  --band: #FFFFFF;
  --line: #DDDDDD;
  --chip: #F6F6FA;
  --ink: #000000;
  --body: #5F6488;
  --muted: #5F6488;
  --shadow: 0 4px 16px #00000029;
  --shadow-raised: 0 4px 16px #0000003D;
  --shadow-brand: 0 4px 16px #2E39A93D;
  --chrome: #F6F6FA;
  --dot: #DDDDDD;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-text: #9AA2F5; --bg: #0D0F2B; --surface: #161940; --band: #12153A; --line: #262A5E;
    --chip: #22265A; --ink: #EEF0FF; --body: #B7BBE0; --muted: #9296C6;
    --shadow: 0 4px 16px #00000099; --shadow-raised: 0 4px 16px #000000B3; --shadow-brand: 0 4px 16px #2E39A966;
    --chrome: #1B1E4A; --dot: #3A3F7A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand-text: #9AA2F5; --bg: #0D0F2B; --surface: #161940; --band: #12153A; --line: #262A5E;
  --chip: #22265A; --ink: #EEF0FF; --body: #B7BBE0; --muted: #9296C6;
  --shadow: 0 4px 16px #00000099; --shadow-raised: 0 4px 16px #000000B3; --shadow-brand: 0 4px 16px #2E39A966;
  --chrome: #1B1E4A; --dot: #3A3F7A; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html:lang(ko) body { word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #8C93E0; outline-offset: 2px; }
::selection { background: var(--brand); color: #FFFFFF; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1160px; margin: 0 auto; }
.section { padding: 112px 64px; }
.section.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h2 { margin: 0; font-weight: 700; font-size: 34px; line-height: 1.3; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: 17px; line-height: 1.7; color: var(--body); }
.stack { display: flex; flex-direction: column; }

/* buttons */
.btn { display: inline-block; border: none; border-radius: 32px; font-weight: 500; text-align: center; transition: filter .15s ease, transform .15s ease; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); padding: 16px 30px; font-size: 16px; }
.btn-small { padding: 12px 22px; font-size: 14px; }
.btn-outline { border: 1.5px solid var(--brand-text); color: var(--brand-text); padding: 13px 20px; font-size: 15px; }

/* header */
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; }
.brand span { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border-radius: 32px; background: var(--chip); }
.lang a { border-radius: 32px; padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
.lang a[aria-current="true"] { background: #FFFFFF; color: #000000; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--chip); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.icon-btn .moon { display: block; } .icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .moon { display: none; } :root[data-theme="dark"] .icon-btn .sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .moon { display: none; }
  :root:not([data-theme="light"]) .icon-btn .sun { display: block; }
  :root:not([data-theme="light"]) .lang a[aria-current="true"] { background: #EEF0FF; }
}
:root[data-theme="dark"] .lang a[aria-current="true"] { background: #EEF0FF; }

/* hero */
.hero { padding: 56px 64px 112px; }
.row { display: flex; gap: 80px; align-items: center; flex-wrap: wrap; }
.row > * { flex: 1 1 320px; min-width: 0; }
.eyebrow { font-weight: 700; font-size: 15px; color: var(--brand-text); }
.h1 { margin: 0; font-weight: 700; font-size: 52px; line-height: 1.2; letter-spacing: -0.02em; }
.hero .lead { font-size: 18px; max-width: 470px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 8px; }
.cta-note { font-size: 14px; color: var(--muted); }

.demo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.browser { width: 440px; max-width: 100%; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--chrome); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.browser-bar b { flex: 1 1 auto; margin-left: 12px; height: 22px; border-radius: 6px; background: var(--chip); }
.page { padding: 28px 28px 36px; display: flex; flex-direction: column; gap: 14px; }
.product-img { position: relative; height: 200px; border-radius: 10px; background: #E2E2E0; overflow: hidden; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.product-img img.is-on { opacity: 1; }
.product-name { font-size: 15px; font-weight: 500; padding-top: 8px; }
.price-wrap { position: relative; padding-bottom: 60px; }
.price { border: none; background: transparent; color: var(--ink); font-size: 26px; font-weight: 500; padding: 2px 6px; margin-left: -6px; border-radius: 4px; }
.price[aria-pressed="true"] { background: rgba(46, 57, 169, .12); }
.bubble {
  position: absolute; left: 0; top: 46px; background: var(--surface); color: var(--ink);
  padding: 9px 20px; border-radius: 0 32px 32px 20px; box-shadow: var(--shadow-raised);
  white-space: nowrap; font-size: 18px; font-weight: 300;
}
.bubble[hidden] { display: none; }
.bubble.pop { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
.try { font-size: 13px; color: var(--muted); }
.dots { display: flex; gap: 2px; }
.dots button { width: 28px; height: 28px; border: none; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; }
.dots span { display: block; height: 8px; width: 8px; border-radius: 4px; background: var(--line); transition: width .3s ease, background .3s ease; }
.dots button[aria-current="true"] span { width: 20px; background: var(--brand); }

/* steps */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.step-n { width: 44px; height: 44px; border-radius: 20px 20px 20px 0; background: var(--brand); color: #FFFFFF; box-shadow: var(--shadow-brand); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.step-t { font-weight: 500; font-size: 18px; }
.step p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--body); }

/* features */
.card { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.card-t { font-weight: 700; font-size: 20px; }
.card p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.chips span { font-size: 14px; font-weight: 300; background: var(--bg); padding: 6px 12px; border-radius: 0 16px 16px 16px; white-space: nowrap; }

/* pro showcase */
.pro-points { display: flex; flex-direction: column; gap: 18px; padding-top: 10px; }
.pro-point { display: flex; gap: 14px; align-items: flex-start; }
.pro-point i { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 7px; border-radius: 6px 6px 6px 0; background: var(--brand); }
.pro-point b { display: block; font-weight: 500; font-size: 17px; }
.pro-point span { font-size: 15px; line-height: 1.6; color: var(--body); }
.popups { display: flex; gap: 28px; justify-content: center; align-items: stretch; flex-wrap: wrap; }
.popup { width: 320px; max-width: 100%; background: #FFFFFF; color: #000000; border-radius: 20px; box-shadow: var(--shadow-raised); padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.popup-t { font-size: 20px; font-weight: 400; padding-bottom: 8px; }
.chat { height: 40px; padding: 0 20px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 300; }
.chat-from { align-self: flex-end; background: #FFFFFF; border-radius: 40px 0 40px 40px; box-shadow: 0 4px 16px #00000029; }
.chat-to { align-self: flex-start; background: #2E39A9; color: #FFFFFF; border-radius: 0 40px 40px 40px; box-shadow: 0 4px 16px #2E39A93D; }
.wish { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #DDDDDD; }
.wish-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wish-l img { flex: 0 0 auto; width: 40px; height: 40px; object-fit: cover; border-radius: 8px; background: #E2E2E0; }
.wish-name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-note { font-size: 12px; font-weight: 300; color: #5F6488; }
.wish-price { flex: 0 0 auto; height: 32px; padding: 0 12px; display: flex; align-items: center; background: #2E39A9; color: #FFFFFF; border-radius: 20px 32px 32px 0; box-shadow: 0 4px 16px #2E39A93D; font-size: 14px; font-weight: 300; }

/* pricing */
.plan { border-radius: 16px; padding: 36px 32px; display: flex; flex-direction: column; gap: 24px; }
.plan-free { background: var(--surface); box-shadow: var(--shadow); }
.plan-pro { background: var(--brand); color: #FFFFFF; border-radius: 16px 16px 16px 0; box-shadow: var(--shadow-brand); }
.plan-name { font-weight: 500; font-size: 18px; }
.plan-price { font-weight: 700; font-size: 36px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.plan-free ul { color: var(--body); }
.plan-pro ul { color: #E4E6FA; }
.plan .btn { margin-top: auto; }
.btn-white { background: #FFFFFF; color: #2E39A9; padding: 14px 20px; font-size: 15px; }
.note { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 500; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-size: 22px; font-weight: 300; color: var(--brand-text); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 40px 24px 0; font-size: 16px; line-height: 1.75; color: var(--body); }

/* footer */
.footer { background: var(--brand); color: #FFFFFF; padding: 88px 64px 48px; }
.footer-in { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer-in img { width: 56px; height: 56px; filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .24)); }
.footer h2 { margin: 0; font-weight: 700; font-size: 28px; }
.signup { display: flex; gap: 10px; width: 100%; max-width: 420px; }
.signup input[type="email"] { flex: 1 1 0; min-width: 0; background: #FFFFFF; border: none; color: #000000; font-size: 15px; padding: 14px 18px; border-radius: 32px; }
.signup button { background: #000000; color: #FFFFFF; border: none; font-weight: 500; font-size: 15px; padding: 14px 22px; border-radius: 32px; white-space: nowrap; }
.signup button[disabled] { opacity: .6; cursor: default; }
.hp { position: absolute; left: -5000px; }
.status { min-height: 24px; margin: 0; font-size: 15px; line-height: 1.6; }
.status.is-ok { color: #FFFFFF; }
.status.is-err { color: #FFD7D2; }
.footer small { font-size: 13px; color: #C9CDF5; padding-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer small a { text-decoration: underline; text-underline-offset: 3px; }
.consent { margin: -8px 0 0; max-width: 420px; font-size: 13px; line-height: 1.6; color: #C9CDF5; }
.consent a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.footer-slim { padding: 40px 64px; }
.footer-slim small { padding-top: 0; }

/* subscribed (after the Mailchimp confirmation link) */
.done { min-height: calc(100vh - 200px); display: flex; align-items: center; }
.done-in { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.done-in img { width: 64px; height: 64px; }
.done-in .cta-row { justify-content: center; }

/* privacy policy */
.legal-section { padding-top: 32px; }
.legal { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: var(--body); }
.legal h1 { margin: 0; font-weight: 700; font-size: 40px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.legal .legal-meta { margin: 12px 0 32px; font-size: 15px; color: var(--muted); }
.legal h2 { margin: 56px 0 16px; font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--ink); }
.legal h3 { margin: 28px 0 12px; font-weight: 500; font-size: 17px; color: var(--ink); }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal strong { font-weight: 500; color: var(--ink); }
.legal a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.legal code { font-size: 14px; background: var(--chip); padding: 2px 6px; border-radius: 8px; }
.table-wrap { margin: 0 0 16px; overflow-x: auto; background: var(--surface); border-radius: 16px; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.legal th, .legal td { padding: 14px 18px; text-align: left; vertical-align: top; }
.legal tbody tr + tr > *, .legal thead + tbody tr:first-child > * { border-top: 1px solid var(--line); }
.legal thead th { font-weight: 500; font-size: 14px; color: var(--muted); }
.legal tbody th { font-weight: 500; color: var(--ink); }
.legal table:not(:has(thead)) { min-width: 0; }
.legal table:not(:has(thead)) th { width: 32%; }

/* responsive */
@media (max-width: 860px) {
  .header { padding: 16px 20px; gap: 12px; }
  .header .btn-small { display: none; }
  .hero { padding: 24px 24px 72px; }
  .section { padding: 72px 24px; }
  .footer { padding: 64px 24px 40px; }
  .footer-slim { padding: 32px 24px; }
  .legal h1 { font-size: 32px; }
  .row { gap: 48px; }
  .h1 { font-size: 38px; }
  .h2 { font-size: 28px; }
  .grid3 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
  .h1 { font-size: 32px; }
  .brand img { width: 30px; height: 30px; }
  .brand span { font-size: 19px; }
  .lang a { padding: 8px 10px; }
  .cta-row .btn-primary { width: 100%; }
  .signup { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
