@font-face {
  font-family: "Pretendard Variable";
  src: url("./assets/pretendard-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #1c1c21;
  --muted-ink: #66666f;
  --muted: #f7f7fa;
  --line: #e4e4ea;
  --accent: #e9e8ff;
  --accent-ink: #5450a5;
  --radius: 20px;
  color-scheme: light;
}

.dark {
  --bg: #19191d;
  --surface: #202026;
  --ink: #f7f7fa;
  --muted-ink: #b6b6c2;
  --muted: #27272e;
  --line: #3d3d47;
  --accent: #36334e;
  --accent-ink: #c3bfff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 5px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
p { word-break: keep-all; overflow-wrap: anywhere; }
.page { width: min(960px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 16px; padding: 10px 16px; z-index: 10; background: var(--ink); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 25px; font-weight: 800; letter-spacing: -1px; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
.site-header nav a { padding: 10px 0; }
.nav-contact span { margin-left: 6px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; padding-block: 86px 78px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .2px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }
h1 { margin-top: 25px; font-size: clamp(43px, 4.3vw, 58px); line-height: 1.16; font-weight: 820; letter-spacing: -2.8px; }
.accent-phrase { background: var(--accent); padding: 0 5px 4px 1px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-description { margin-top: 27px; color: var(--muted-ink); font-size: 16px; line-height: 1.75; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 47px; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 20px; font-size: 14px; font-weight: 650; white-space: nowrap; }
.button-primary { background: var(--ink); color: var(--bg); }
.button-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--bg); }
.button-outline { background: var(--bg); }
.button-outline:hover { background: var(--muted); }
.text-link { font-size: 13px; font-weight: 600; padding-block: 10px; }
.text-link span { margin-left: 7px; }
.access-note { margin-top: 15px; color: var(--muted-ink); font-size: 11px; line-height: 1.6; }
.app-preview { align-self: center; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 19px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 650; }
.sample-label { padding: 5px 8px; border-radius: 5px; background: var(--accent); color: var(--accent-ink); font-size: 10px; }
.screenshot-link { display: block; }
.app-image { width: 100%; }
.image-action { display: flex; justify-content: space-between; padding: 12px 19px; font-size: 11px; font-weight: 600; border-top: 1px solid var(--line); }
.screenshot-link:hover .image-action { background: var(--muted); }
figcaption { padding: 11px 19px 13px; font-size: 10px; line-height: 1.6; color: var(--muted-ink); border-top: 1px solid var(--line); }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-block: 35px 41px; border-block: 1px solid var(--line); }
.step { color: var(--accent-ink); font-size: 11px; font-weight: 650; }
.step span { margin-left: 10px; color: var(--muted-ink); }
.workflow h2 { margin-top: 18px; font-size: 19px; line-height: 1.45; letter-spacing: -.55px; }
.workflow article > p:last-child { margin-top: 10px; color: var(--muted-ink); font-size: 13px; line-height: 1.75; }
.pdf-section { padding-block: 82px 72px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .contact h2 { margin-top: 14px; font-size: 32px; line-height: 1.3; font-weight: 750; letter-spacing: -1.1px; }
.section-heading > p { color: var(--muted-ink); font-size: 13px; line-height: 1.65; }
.pdf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pdf-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.pdf-card-heading { display: flex; align-items: center; justify-content: space-between; padding: 21px 23px; border-bottom: 1px solid var(--line); }
.pdf-card h3 { font-size: 17px; font-weight: 700; }
.pdf-card-heading p { margin-top: 6px; color: var(--muted-ink); font-size: 12px; }
.format-label { border: 1px solid var(--line); border-radius: 5px; padding: 5px 7px; font-size: 10px; font-weight: 650; }
.pdf-image-link { display: block; padding: 15px; background: var(--muted); }
.pdf-image-link img { width: 100%; border: 1px solid var(--line); }
.pdf-download { display: flex; align-items: center; justify-content: space-between; padding: 18px 23px; font-size: 13px; font-weight: 600; border-top: 1px solid var(--line); }
.pdf-download:hover { background: var(--muted); }
.sample-note { margin-top: 17px; color: var(--muted-ink); font-size: 11px; line-height: 1.8; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 38px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--accent); }
.contact h2 { margin-top: 12px; font-size: 28px; }
.contact p:last-child { margin-top: 15px; color: var(--muted-ink); font-size: 13px; line-height: 1.75; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px 35px; color: var(--muted-ink); font-size: 11px; }
.site-footer > span { font-weight: 650; }
.footer-divider { padding-inline: 7px; font-weight: 400; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 48px; }
  h1 { font-size: clamp(44px, 8.3vw, 60px); }
  .hero-copy { max-width: 540px; }
  .app-preview { width: 100%; max-width: 540px; }
  .hero-description { font-size: 16px; }
  .workflow { grid-template-columns: 1fr; gap: 0; padding-block: 0; }
  .workflow article { padding-block: 26px; }
  .workflow article + article { border-top: 1px solid var(--line); }
  .workflow h2 { margin-top: 10px; }
  .workflow article > p:last-child { margin-top: 7px; }
  .workflow br { display: none; }
  .pdf-section { padding-block: 52px 45px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-heading h2 { font-size: 29px; }
  .pdf-grid { grid-template-columns: 1fr; gap: 20px; }
  .pdf-card { max-width: 540px; }
  .contact { align-items: flex-start; flex-direction: column; padding: 29px 25px; gap: 24px; }
  .contact h2 { font-size: 26px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 9px; }
}

@media (max-width: 380px) {
  .page { width: calc(100% - 32px); }
  .site-header { min-height: 73px; }
  .brand { font-size: 23px; gap: 7px; }
  .brand img { width: 25px; height: 25px; }
  .site-header nav { gap: 15px; font-size: 11px; }
  h1 { font-size: 43px; letter-spacing: -2px; }
  .actions { gap: 15px; }
  .button { gap: 15px; padding-inline: 17px; font-size: 13px; }
  .text-link { font-size: 12px; }
  .pdf-card-heading { padding: 19px; }
  .contact { padding: 26px 21px; }
  .contact h2 { font-size: 24px; }
  .section-heading h2 { font-size: 27px; }
}

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