/* Web mapping of lib/core/design_system/seed/seed.dart. Keep role values aligned. */
@font-face {
  font-family: Pretendard;
  src: url("/page-assets/Pretendard-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Pretendard;
  src: url("/page-assets/Pretendard-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --fg-neutral: #1a1c22;
  --fg-neutral-muted: #5a6270;
  --fg-brand: #2f56e6;
  --fg-on-brand: #fff;
  --bg-top-bar: #2f56e6;
  --bg-canvas: #f0f4fe;
  --bg-page: #fff;
  --bg-neutral-subtle: #eef1f6;
  --bg-brand-solid: #2f56e6;
  --bg-section-head: #e4ebfd;
  --stroke-neutral: #e2e4ea;
  --stroke-brand: #2f56e6;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --x1: 4px;
  --x2: 8px;
  --x3: 12px;
  --x4: 16px;
  --x5: 20px;
  --x6: 24px;
  --x8: 32px;
  --x10: 40px;
  --t2: 12px;
  --t3: 13px;
  --t4: 14px;
  --t5: 16px;
  --t6: 18px;
  --t7: 20px;
  --t9: 24px;
  --t10: 26px;
  --display: 34px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--fg-neutral);
  font:
    400 var(--t5)/1.7 Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a {
  color: var(--fg-brand);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--stroke-brand);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
h1 {
  font-size: var(--display);
  line-height: 40px;
  letter-spacing: -1px;
}
h2 {
  font-size: var(--t9);
}
h3 {
  font-size: var(--t6);
}
p + p {
  margin-top: var(--x3);
}
ul,
ol {
  padding-left: var(--x6);
  margin: var(--x3) 0;
}
li + li {
  margin-top: var(--x2);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--bg-page);
}
.skip-link:focus {
  top: 12px;
}
.topbar {
  background: var(--bg-top-bar);
  color: var(--fg-on-brand);
}
.topbar-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--x6);
}
.brand {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--t7);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: var(--t2);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}
.nav {
  display: flex;
  gap: var(--x6);
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: inherit;
  font-size: var(--t4);
  text-decoration: none;
  padding-block: var(--x2);
}
.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px currentColor;
  font-weight: 700;
}
.topbar a:focus-visible {
  outline-color: var(--fg-on-brand);
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 64px;
}
.hero h1 {
  max-width: 500px;
}
.lead {
  font-size: var(--t6);
  color: var(--fg-neutral-muted);
  margin-top: var(--x5);
  max-width: 620px;
}
.hero .lead {
  font-size: var(--t5);
}
.hero-label {
  display: flex;
  align-items: center;
  gap: var(--x3);
  margin-bottom: var(--x6);
  font-size: var(--t4);
  font-weight: 700;
  color: var(--fg-brand);
}
.hero-label img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--bg-page);
  border-radius: var(--radius-md);
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--x3);
  margin-top: var(--x8);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--x3);
  min-height: 48px;
  padding: var(--x3) var(--x5);
  border: 1px solid var(--stroke-brand);
  border-radius: var(--radius-sm);
  background: var(--bg-brand-solid);
  color: var(--fg-on-brand);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--t4);
  line-height: 1.45;
}
.button:hover {
  opacity: 0.9;
}
.button.secondary {
  background: var(--bg-page);
  color: var(--fg-brand);
}
.button svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.helper {
  font-size: var(--t3);
  color: var(--fg-neutral-muted);
  margin-top: var(--x3);
}
.redirect-notice {
  font-size: var(--t3);
  margin-top: var(--x4);
  color: var(--fg-neutral-muted);
}
.text-button {
  border: 0;
  background: none;
  color: var(--fg-brand);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: var(--x2) 0;
  margin-left: var(--x2);
  font-weight: 700;
}
.preview {
  background: var(--bg-page);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 12px #0b122014;
  margin: 0;
  transform: rotate(-2deg);
}
.preview-head {
  background: var(--bg-top-bar);
  color: var(--fg-on-brand);
  padding: var(--x6) var(--x8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.preview-head span {
  font-size: var(--t3);
}
.preview-body {
  padding: var(--x8);
}
.preview-body h2 {
  font-size: var(--t7);
}
.preview-tabs {
  display: flex;
  gap: var(--x5);
  font-size: var(--t4);
  padding-bottom: var(--x4);
  margin-bottom: var(--x5);
  border-bottom: 1px solid var(--stroke-neutral);
}
.preview-tabs b {
  color: var(--fg-brand);
}
.check-row {
  display: flex;
  align-items: center;
  gap: var(--x3);
  padding-block: var(--x4);
  border-bottom: 1px solid var(--stroke-neutral);
  font-size: var(--t4);
}
.check-row:last-of-type {
  border: 0;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--stroke-brand);
  border-radius: 6px;
  color: var(--fg-brand);
  flex: none;
}
.check.done {
  background: var(--bg-brand-solid);
  color: var(--fg-on-brand);
}
.check-row small {
  margin-left: auto;
  font-size: var(--t2);
  color: var(--fg-neutral-muted);
}
.preview figcaption {
  font-size: var(--t2);
  padding: var(--x4) var(--x8);
  color: var(--fg-neutral-muted);
  background: var(--bg-neutral-subtle);
}
.section {
  padding-bottom: 64px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--x6);
  margin-bottom: var(--x6);
}
.section-head p {
  font-size: var(--t4);
  color: var(--fg-neutral-muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--x4);
}
.card {
  background: var(--bg-page);
  padding: var(--x8);
  border-radius: var(--radius-lg);
}
.card p {
  margin-top: var(--x3);
  color: var(--fg-neutral-muted);
  font-size: var(--t4);
}
.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--bg-canvas);
  color: var(--fg-brand);
  border-radius: var(--radius-sm);
  margin-bottom: var(--x6);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--x8);
  padding: var(--x8);
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  list-style: none;
  margin: 0;
  counter-reset: steps;
}
.steps li {
  margin: 0;
  counter-increment: steps;
}
.steps li:before {
  content: counter(steps);
  display: block;
  color: var(--fg-brand);
  font-size: var(--t9);
  font-weight: 700;
  margin-bottom: var(--x4);
}
.steps h3 {
  font-size: var(--t5);
}
.steps p {
  font-size: var(--t4);
  color: var(--fg-neutral-muted);
  margin-top: var(--x2);
}
.bottom-cta {
  display: flex;
  justify-content: space-between;
  gap: var(--x6);
  align-items: center;
  padding: var(--x8);
  background: var(--bg-section-head);
  border-radius: var(--radius-lg);
  margin-bottom: 64px;
}
.bottom-cta p {
  font-size: var(--t4);
  margin-top: var(--x2);
}
.page-head {
  padding-block: 56px var(--x10);
}
.page-head .meta {
  font-size: var(--t3);
  color: var(--fg-neutral-muted);
  margin-top: var(--x4);
}
.content-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--x8);
  align-items: start;
  padding-bottom: 64px;
}
.toc {
  position: sticky;
  top: var(--x6);
  font-size: var(--t4);
}
.toc strong {
  display: block;
  margin-bottom: var(--x4);
}
.toc a {
  display: block;
  padding: var(--x2) 0;
  text-decoration: none;
  color: var(--fg-neutral-muted);
}
.toc a:hover {
  color: var(--fg-brand);
}
.article {
  min-width: 0;
}
.article-section {
  padding: var(--x8);
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  margin-bottom: var(--x4);
}
.article-section h2 {
  font-size: var(--t7);
  margin-bottom: var(--x5);
}
.article-section h3 {
  margin-top: var(--x6);
  margin-bottom: var(--x3);
  font-size: var(--t5);
}
.article-section p,
.article-section li {
  font-size: var(--t4);
}
.table-scroll {
  overflow-x: auto;
  margin-block: var(--x5);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--t4);
  text-align: left;
}
th,
td {
  padding: var(--x4);
  border-bottom: 1px solid var(--stroke-neutral);
  vertical-align: top;
}
th {
  font-weight: 700;
  background: var(--bg-canvas);
}
td:first-child {
  min-width: 112px;
  font-weight: 700;
}
.note {
  padding: var(--x5);
  background: var(--bg-canvas);
  border-radius: var(--radius-sm);
  font-size: var(--t4);
  margin-top: var(--x5);
}
.draft {
  border: 1px solid var(--stroke-brand);
  margin-bottom: var(--x6);
  padding: var(--x5);
  border-radius: var(--radius-md);
  background: var(--bg-page);
}
.draft strong {
  color: var(--fg-brand);
}
.draft p {
  font-size: var(--t4);
  margin-top: var(--x2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--x4);
  margin-bottom: var(--x10);
}
.contact-main {
  background: var(--bg-page);
  padding: var(--x8);
  border-radius: var(--radius-lg);
}
.contact-main .email {
  display: inline-block;
  font-size: var(--t7);
  font-weight: 700;
  margin-block: var(--x4);
}
.contact-main p {
  font-size: var(--t4);
  color: var(--fg-neutral-muted);
}
dl {
  font-size: var(--t4);
  margin: var(--x5) 0 0;
}
dt {
  color: var(--fg-neutral-muted);
  margin-top: var(--x3);
}
dd {
  margin: 0;
}
.faq-group {
  margin-bottom: var(--x8);
}
.faq-group h2 {
  font-size: var(--t7);
  margin-bottom: var(--x4);
}
details {
  background: var(--bg-page);
  border-radius: var(--radius-md);
  margin-bottom: var(--x2);
}
summary {
  padding: var(--x5) var(--x6);
  cursor: pointer;
  font-weight: 700;
  font-size: var(--t5);
}
details[open] summary {
  color: var(--fg-brand);
}
.answer {
  padding: 0 var(--x6) var(--x6);
  font-size: var(--t4);
  color: var(--fg-neutral-muted);
}
.answer p,
.answer li {
  font-size: var(--t4);
}
.referral {
  background: var(--bg-page);
  border: 1px solid var(--stroke-brand);
  padding: var(--x5);
  border-radius: var(--radius-md);
  margin-top: var(--x6);
}
.referral p {
  font-size: var(--t4);
}
.referral-code-row {
  display: flex;
  gap: var(--x3);
  align-items: center;
  margin-block: var(--x3);
}
.referral-code-row code {
  font-size: var(--t9);
  font-weight: 700;
  letter-spacing: 2px;
  flex: 1;
  word-break: break-all;
}
.referral .copy-status {
  font-size: var(--t3);
  color: var(--fg-brand);
  min-height: 22px;
}
.footer {
  background: var(--bg-page);
  border-top: 1px solid var(--stroke-neutral);
  padding-block: var(--x8);
}
.footer-inner {
  display: flex;
  gap: var(--x6);
  justify-content: space-between;
  align-items: start;
}
.footer p {
  font-size: var(--t3);
  color: var(--fg-neutral-muted);
}
.footer .nav {
  gap: var(--x4);
}
.footer .nav a {
  color: var(--fg-neutral-muted);
  font-size: var(--t3);
}
.footer .nav a.policy {
  font-weight: 700;
  color: var(--fg-neutral);
}
@media (max-width: 800px) {
  .hero {
    gap: var(--x8);
    grid-template-columns: 1fr;
    padding-block: var(--x10);
  }
  .hero-copy {
    max-width: 600px;
  }
  .preview {
    transform: none;
    max-width: 520px;
    width: 100%;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    display: flex;
    gap: var(--x2) var(--x5);
    flex-wrap: wrap;
    border-bottom: 1px solid var(--stroke-neutral);
    padding-bottom: var(--x5);
  }
  .toc strong {
    width: 100%;
    margin: 0;
  }
  .toc a {
    padding: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: var(--x2);
  }
}
@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .topbar-inner {
    min-height: 104px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--x2);
    padding-block: var(--x4);
  }
  .brand small {
    display: none;
  }
  .nav {
    gap: var(--x5);
  }
  .nav a {
    font-size: var(--t3);
  }
  h1 {
    font-size: var(--t10);
    line-height: 1.4;
    letter-spacing: -0.6px;
  }
  .lead {
    font-size: var(--t5);
  }
  .page-head {
    padding-block: var(--x8);
  }
  .grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .card,
  .article-section,
  .contact-main {
    padding: var(--x6);
  }
  .feature-icon {
    margin-bottom: var(--x4);
  }
  .store-links {
    gap: var(--x2);
  }
  .store-links .button {
    flex: 1;
    padding-inline: var(--x3);
    font-size: var(--t3);
  }
  .bottom-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--x6);
  }
  .section {
    padding-bottom: var(--x10);
  }
  .preview-body,
  .preview-head {
    padding: var(--x6);
  }
  .preview figcaption {
    padding-inline: var(--x6);
  }
  .steps {
    gap: var(--x6);
  }
  th,
  td {
    padding: var(--x3);
  }
  .contact-main .email {
    font-size: var(--t6);
  }
  .referral-code-row {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .topbar,
  .footer,
  .toc,
  .skip-link,
  .store-links,
  .bottom-cta {
    display: none;
  }
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }
  .wrap {
    width: 100%;
  }
  .content-grid {
    display: block;
  }
  .article-section {
    padding: 16px 0;
    break-inside: avoid;
  }
  .page-head {
    padding-top: 0;
  }
  a {
    color: inherit;
  }
}

/* Preserve readable column widths on narrow screens. */
.table-scroll table {
  min-width: 540px;
}
.table-scroll + .table-hint {
  display: none;
}
.article-section > .button {
  margin-top: var(--x5);
}
@media (max-width: 600px) {
  .table-scroll + .table-hint {
    display: block;
    font-size: var(--t3);
    color: var(--fg-neutral-muted);
    margin-bottom: var(--x5);
  }
}
