[hidden] { display: none !important; }
:root {
  --purple: #6C3CE0;
  --purple-d: #4B23B0;
  --green: #22B573;
  --green-d: #1A9A60;
  --ink: #22163F;
  --muted: #5A5275;
  --line: #E3DEF3;
  --soft: #F4F0FE;
  --bg: #F7F5FD;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
body { margin: 0; font-family: Rubik, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--purple-d); }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button, input, select { font-family: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.block { padding-top: 96px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 15px; }
.muted.big { font-size: 18px; margin-top: 8px; }
.accent { color: var(--purple-d); font-weight: 500; margin-top: 6px; }
h2 { font-size: 40px; margin-bottom: 8px; }

/* header */
.top { background: #fff; border-bottom: 1px solid #ECE7F8; position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.brand span { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 32px; color: var(--purple); }
.top nav { display: flex; flex-wrap: wrap; gap: 24px; }
.top nav a { text-decoration: none; color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 16px; padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer; }
.btn-lg { font-size: 18px; padding: 16px 28px; border-radius: 14px; }
.btn-xl { font-size: 19px; padding: 18px; border-radius: 14px; width: 100%; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-d); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); }
.btn-ghost { background: #fff; color: var(--purple); border: 2px solid #DCD2FA; }
.btn-outline { background: #fff; color: var(--purple-d); border: 2px solid var(--purple); }
.btn-soft { background: var(--soft); color: var(--purple-d); font-size: 15px; padding: 10px 16px; border-radius: 10px; }
.btn-white { background: #fff; color: var(--purple); }
.link { background: none; border: 0; color: var(--purple-d); font-size: 16px; text-decoration: underline; cursor: pointer; align-self: center; }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; }
.hero-text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; background: #E3F6EC; color: #0E6B3E; font-size: 15px; font-weight: 500; padding: 6px 14px; border-radius: 999px; }
h1 { font-size: 58px; line-height: 1.1; }
h1 span { color: var(--purple); }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { flex: 1 1 420px; display: flex; justify-content: center; }
.hero-cert { width: 486px; height: 344px; max-width: 100%; }
.hero-scale { transform: scale(0.54); transform-origin: top right; }

/* how / cards */
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.card { background: #fff; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); line-height: 1.6; }
.ic { width: 52px; height: 52px; border-radius: 14px; background: #EFEAFD; display: flex; align-items: center; justify-content: center; }

/* maker */
.maker { background: #fff; border-radius: 28px; padding: 28px; margin-top: 28px; box-shadow: 0 10px 40px rgba(34, 22, 63, 0.08); display: flex; flex-direction: column; gap: 24px; }
.steps { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.steps i { width: 36px; height: 2px; background: #DCD2FA; }
.step { display: flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border-radius: 999px; border: 2px solid var(--purple); background: #fff; color: var(--purple-d); font-size: 16px; font-weight: 500; cursor: pointer; }
.step span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; background: var(--soft); color: var(--purple); }
.step.on { background: var(--purple); color: #fff; }
.step.on span { background: #fff; }
.step b { font-weight: inherit; }
.maker-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.form { flex: 1 1 420px; min-width: 0; }
.preview { flex: 1 1 360px; position: sticky; top: 90px; background: var(--soft); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.pv-nav { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.pv-nav button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--purple-d); font-size: 18px; cursor: pointer; }
.pv-frame { position: relative; overflow: hidden; box-shadow: 0 16px 48px rgba(34, 22, 63, 0.18); border-radius: 4px; }
.pv-inner { position: absolute; top: 0; right: 0; transform-origin: top right; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-s { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.two > .stack-s { flex: 1 1 180px; }
.two > .grow2 { flex: 2 1 260px; }
.grow2 { flex: 2 1 260px; }
.two { display: flex; flex-wrap: wrap; gap: 14px; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lbl { font-size: 17px; font-weight: 500; }
.lbl-s { font-size: 15px; font-weight: 500; }
.h3 { font-size: 20px; }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }
input, select { font-size: 16px; padding: 11px 12px; border-radius: 10px; border: 2px solid var(--line); color: var(--ink); background: #fff; min-width: 0; width: 100%; }
select { width: auto; min-width: 260px; cursor: pointer; }
.row { display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; align-items: center; }
.row-head { font-size: 13px; font-weight: 500; color: var(--muted); }
.num { width: 28px; height: 28px; border-radius: 50%; border: 0; font-size: 13px; cursor: pointer; background: var(--soft); color: var(--purple-d); }
.num.on { background: var(--purple); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; font-size: 14px; cursor: pointer; color: var(--ink); background: #fff; border: 2px solid var(--line); }
.chip.on { background: var(--soft); border-color: var(--purple); }
.swatch { display: flex; gap: 2px; padding: 6px 8px; border-radius: 999px; cursor: pointer; background: #fff; border: 2px solid var(--line); }
.swatch.on { border-color: var(--purple); }
.swatch span { width: 18px; height: 18px; border-radius: 50%; }
.custom { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--purple-d); background: var(--soft); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.custom input { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.toggle { display: inline-flex; align-self: flex-start; border-radius: 12px; overflow: hidden; border: 2px solid var(--purple); }
.toggle button { padding: 10px 22px; border: 0; background: #fff; color: var(--purple-d); font-size: 15px; font-weight: 500; cursor: pointer; }
.toggle button.on { background: var(--purple); color: #fff; }
.file { position: relative; overflow: hidden; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 8px; }
.summary { background: var(--bg); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { font-weight: 700; font-size: 18px; border-top: 2px solid var(--line); padding-top: 12px; }
.notice { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; z-index: 50; max-width: 90vw; }

/* audience, pricing, faq */
.aud { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.aud li { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 12px 20px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 28px; }
.plan { background: #fff; border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 6px 24px rgba(34, 22, 63, 0.08); }
.plan .btn { margin-top: auto; }
.plan.hot { background: var(--purple); color: #fff; }
.plan.hot .price span { color: #E6DEFC; }
.tag { align-self: flex-start; background: var(--green); color: #fff; font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 999px; }
.plan-n { font-size: 20px; font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: Fredoka, Rubik, sans-serif; font-size: 46px; font-weight: 600; }
.price span { font-size: 15px; color: var(--muted); }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 24px; }
.faq .card h3 { font-size: 18px; }
.foot { background: var(--ink); color: #DCD2FA; margin-top: 96px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.foot .brand span { color: #fff; font-size: 28px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: #DCD2FA; }

/* certificate */
.cert { position: relative; overflow: hidden; font-family: Rubik, sans-serif; color: var(--ink); }
.cert .c-tex { position: absolute; inset: 0; }
.cert .c-bg { position: absolute; inset: 0; }
.cert .c-b1 { position: absolute; inset: 12px; }
.cert .c-b2 { position: absolute; inset: 21px; }
.cert .c-corner { position: absolute; }
.cert .c-ribbon { position: absolute; top: 26px; left: -50px; width: 200px; padding: 7px 0; transform: rotate(-45deg); text-align: center; font-size: 13px; font-weight: 700; color: #1F2A5A; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); z-index: 2; }
.cert .c-content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cert .c-org { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 2px; }
.cert .c-org span { width: 44px; height: 1px; }
.cert .c-org b { font-weight: 600; }
.cert .c-logo { max-width: 220px; object-fit: contain; }
.cert .c-title { font-weight: 900; line-height: 1.1; }
.cert .c-lead { font-size: 14px; color: #5A5275; }
.cert .c-name { font-weight: 700; line-height: 1.15; padding: 0 28px 4px; }
.cert .c-line { font-size: 15px; color: #4A4366; line-height: 1.55; max-width: 82%; }
.cert .c-note { font-size: 17px; font-weight: 700; max-width: 82%; }
.cert .c-bottom { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; }
.cert .c-sign { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 130px; }
.cert .c-rule { width: 100%; height: 1px; }
.cert .c-cap { font-size: 11px; color: #5A5275; }
.cert .c-credit { position: absolute; bottom: 27px; left: 0; right: 0; text-align: center; font-size: 10px; color: #8A8398; }
.cert .c-credit span { font-family: Fredoka, sans-serif; font-weight: 600; color: #6C3CE0; }
.cert .c-demo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-24deg); font-family: Fredoka, Rubik, sans-serif; font-size: 64px; font-weight: 700; color: rgba(108, 60, 224, 0.08); white-space: nowrap; pointer-events: none; }

/* print */
#printArea { display: none; }
@media print {
  .site, .notice { display: none !important; }
  #printArea { display: block; }
  .print-page { position: relative; overflow: hidden; page-break-after: always; break-after: page; }
  .print-page > div { position: absolute; top: 0; right: 0; }
  body { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (max-width: 640px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .top nav { display: none; }
  select { min-width: 0; width: 100%; }
  .maker { padding: 16px 14px; border-radius: 22px; }
  .preview { position: static; order: -1; padding: 14px 10px; }
  .pv-nav { white-space: nowrap; font-size: 13px; }
  .cta .btn { flex: 1 1 100%; }
  .steps { flex-wrap: nowrap; gap: 6px; }
  .steps i { display: none; }
  .step { flex: 1 1 0; justify-content: center; gap: 6px; padding: 7px 6px; font-size: 13px; white-space: nowrap; min-width: 0; }
  .step span { width: 22px; height: 22px; font-size: 12px; flex: none; }
  .step .sl { display: none; }
  .row-head { display: none; }
  #rows { gap: 14px; }
  .row { grid-template-columns: 28px minmax(0, 1fr); row-gap: 6px; }
  .row input[data-k="note"] { grid-column: 2; font-size: 15px; padding: 9px 12px; }
  .summary span:last-child { white-space: nowrap; }
  .block { padding-top: 64px; }
  .hero-cert { width: 324px; height: 229px; }
  .hero-scale { transform: scale(0.36); }
}