:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #d8dee8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --blue: #2563eb;
  --green: #0f8a68;
  --amber: #b86b00;
  --navy: #1c2a3a;
  --shadow: 0 18px 48px rgba(23, 32, 51, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Pretendard",
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  align-items: center;
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 54px;
}

.brand-copy {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  min-height: calc(100svh - 74px);
  padding: clamp(40px, 7vw, 86px) clamp(18px, 5vw, 64px) 34px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(64px, 13vw, 156px);
  letter-spacing: 0;
  line-height: 0.85;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 0;
}

.lead {
  color: #384254;
  font-size: clamp(18px, 2.3vw, 24px);
  max-width: 680px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.button:disabled,
.button.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.launcher-preview {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(226, 233, 242, 0.85)),
    #dfe6ee;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  min-height: 470px;
  padding: clamp(20px, 3.8vw, 34px);
}

.preview-header,
.preview-program,
.preview-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.preview-header {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  padding-bottom: 16px;
}

.preview-header strong {
  background: #e8f6ef;
  border-radius: 6px;
  color: var(--green);
  padding: 5px 9px;
}

.preview-program {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 16px;
  padding: 18px;
}

.preview-program small,
.status-label,
.price-item span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.preview-program strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  margin-top: 4px;
}

.status-pill {
  background: #fff5df;
  border-radius: 6px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  padding: 5px 9px;
}

.preview-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-grid span {
  background: #eef3f8;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  padding: 16px;
}

.preview-footer {
  background: var(--navy);
  border-radius: 8px;
  color: var(--white);
  gap: 12px;
  padding: 16px;
}

.preview-footer button {
  background: #ffffff;
  border: 0;
  border-radius: 6px;
  color: var(--navy);
  font-weight: 900;
  min-height: 36px;
  padding: 0 12px;
}

.section,
.band,
.download-band {
  padding: clamp(46px, 7vw, 82px) clamp(18px, 5vw, 64px);
}

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
  max-width: 780px;
}

.account-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
}

.account-layout.logged-in {
  grid-template-columns: minmax(0, 1fr);
}

.is-logged-in #account-form {
  display: none !important;
}

.account-form,
.account-status,
.program-card,
.price-item,
.notice-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-form,
.account-status {
  padding: 20px;
}

.account-form label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  margin-bottom: 14px;
}

.account-form input {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 44px;
  padding: 0 12px;
  width: 100%;
}

.account-status {
  align-content: start;
  display: grid;
  gap: 12px;
}

.account-status strong {
  font-size: 28px;
}

.account-status p {
  color: var(--muted);
  margin-bottom: 4px;
}

.account-tools {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  margin-top: 18px;
}

.account-tool {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.account-tool h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
}

.account-tool p {
  color: var(--muted);
  margin: 0;
}

.account-tool label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

.account-tool input,
.account-tool textarea,
.account-tool select,
.privacy-request-form input,
.privacy-request-form textarea,
.privacy-request-form select {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.account-tool textarea,
.privacy-request-form textarea {
  resize: vertical;
}

.danger-zone {
  border-color: #f0b8b0;
}

.privacy-request-form {
  max-width: 760px;
}

.program-list,
.notice-list,
.pricing-grid,
.request-layout {
  display: grid;
  gap: 16px;
}

.program-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.program-card {
  padding: 20px;
}

.program-card h3,
.notice-item h3 {
  font-size: 22px;
  line-height: 1.18;
  margin: 0 0 8px;
}

.program-card p,
.notice-item p,
.price-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.feature-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-top: 9px;
}

.feature-row span:first-child {
  font-weight: 750;
}

.feature-row span:last-child {
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
}

.feature-row .unlocked {
  background: #e8f6ef;
  color: var(--green);
}

.feature-row .locked {
  background: #fff5df;
  color: var(--amber);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-item {
  background: var(--paper);
  padding: 20px;
}

.price-item strong {
  display: block;
  font-size: 24px;
  line-height: 1.15;
  margin: 6px 0 10px;
}

.price-item.highlighted {
  background: #ecf4ff;
  border-color: #b8cff8;
}

.membership-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  margin: 18px 0 0;
  max-width: 840px;
  padding-top: 14px;
}

.billing-message {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  margin: 8px 0 0;
  min-height: 1.2em;
}

.billing-message.success {
  color: var(--green);
}

.billing-message.error {
  color: #b42318;
}

.billing-return-page .billing-result h2.success,
.billing-return-page .billing-result .success {
  color: var(--green);
}

.billing-return-page .billing-result h2.error,
.billing-return-page .billing-result .error {
  color: #b42318;
}

.account-action-card form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.account-action-card label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

.account-action-card input {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 44px;
  padding: 0 12px;
  width: 100%;
}

.request-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.request-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.request-form h3 {
  font-size: 22px;
  line-height: 1.18;
  margin: 0;
}

.request-form label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

.request-form input,
.request-form select,
.request-form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}

.form-message {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  min-height: 21px;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: #b42318;
}

.notice-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.notice-item {
  background: var(--white);
  padding: 18px;
}

.notice-date {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.download-band {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.download-band .eyebrow,
.download-band p {
  color: #bdd7ca;
}

.download-band h2 {
  max-width: 820px;
}

.footer {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 64px) 32px;
}

.footer-brand {
  display: grid;
  gap: 6px;
  min-width: 170px;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 8px;
  max-width: 260px;
}

.footer-links a {
  color: #475467;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.business-info {
  display: grid;
  gap: 7px 18px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  margin: 0;
  max-width: 860px;
}

.business-info div {
  display: grid;
  gap: 4px;
  grid-template-columns: 108px minmax(0, 1fr);
}

.business-info dt {
  color: #475467;
  font-size: 0.78rem;
  font-weight: 700;
}

.business-info dd {
  font-size: 0.78rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-main {
  background: var(--white);
}

.legal-hero,
.legal-section {
  padding: clamp(34px, 6vw, 70px) clamp(18px, 5vw, 64px);
}

.legal-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(38px, 7vw, 78px);
  line-height: 1;
  margin-bottom: 18px;
  max-width: 920px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  max-width: 920px;
}

.legal-toc a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 850;
  padding: 9px 12px;
}

.legal-section {
  border-bottom: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1040px;
}

.legal-section h2 {
  font-size: clamp(27px, 4vw, 42px);
  margin-bottom: 24px;
}

.legal-section h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin: 28px 0 8px;
}

.legal-section p,
.legal-section li {
  color: #384254;
}

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-facts {
  display: grid;
  gap: 10px 18px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  margin: 0;
}

.legal-facts div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 148px minmax(0, 1fr);
  padding-top: 10px;
}

.legal-facts dt {
  color: #475467;
  font-weight: 850;
}

.legal-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.formula {
  background: #eef3f8;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 900;
  padding: 14px 16px;
}

@media (max-width: 820px) {
  .topbar,
  .footer,
  .download-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .business-info {
    grid-template-columns: 1fr;
  }

  .hero,
  .account-layout,
  .account-tools,
  .pricing-grid,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .legal-facts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .launcher-preview {
    min-height: 390px;
  }
}

@media (max-width: 520px) {
  .brand-copy {
    white-space: normal;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-toc a {
    width: 100%;
  }

  .legal-facts div {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
