:root {
  --bg: #f7efe3;
  --bg-strong: #f0e1cf;
  --surface: rgba(255, 250, 242, 0.78);
  --surface-strong: #fff8f1;
  --ink: #181411;
  --muted: #62564c;
  --line: rgba(24, 20, 17, 0.08);
  --coral: #ef6a43;
  --coral-deep: #cd4d28;
  --mint: #138d7d;
  --mint-soft: #b8ebe2;
  --gold: #f3bf56;
  --shadow: 0 24px 80px rgba(59, 42, 24, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans KR", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(239, 106, 67, 0.12), transparent 24rem),
    radial-gradient(circle at top right, rgba(19, 141, 125, 0.13), transparent 20rem),
    linear-gradient(180deg, #f8f1e7 0%, #f6ecdf 100%);
  min-height: 100vh;
}

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

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

button {
  cursor: pointer;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.ambient-coral {
  width: 22rem;
  height: 22rem;
  top: 4rem;
  right: -4rem;
  background: rgba(239, 106, 67, 0.28);
}

.ambient-mint {
  width: 18rem;
  height: 18rem;
  top: 24rem;
  left: -3rem;
  background: rgba(19, 141, 125, 0.18);
}

.ambient-sand {
  width: 24rem;
  height: 24rem;
  bottom: 6rem;
  right: 10%;
  background: rgba(243, 191, 86, 0.16);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--coral) 0%, #f09f63 100%);
  color: white;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(239, 106, 67, 0.3);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong,
.hero h1,
.panel-header h2,
.section-heading h2,
.premium-copy h3,
.price-card h3,
.step-card h3,
.faq-grid h3,
.final-cta h2 {
  font-family: "Sora", sans-serif;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.68);
  backdrop-filter: blur(14px);
}

.top-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 1.25rem 5rem;
}

main > section {
  margin-top: 1.4rem;
}

.hero,
.thanks-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy,
.generator-card,
.results,
.pricing,
.how-it-works,
.faq,
.final-cta,
.ticker,
.thanks-hero {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy,
.generator-card,
.results,
.pricing,
.how-it-works,
.faq,
.thanks-hero {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 2.4rem;
  overflow: hidden;
}

.eyebrow,
.mini-label,
.price-badge {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--coral-deep);
  font-weight: 700;
}

.hero h1 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  color: var(--coral-deep);
}

.hero-text {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hero-badges span,
.query-summary span,
.pill-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.95);
  border: 1px solid rgba(24, 20, 17, 0.07);
  color: var(--ink);
  font-size: 0.92rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero-points article,
.strategy-card,
.step-card,
.support-card,
.faq-grid article {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 246, 0.82);
  border: 1px solid rgba(24, 20, 17, 0.06);
}

.hero-points strong,
.strategy-card h3,
.step-card h3 {
  display: block;
  margin-bottom: 0.45rem;
}

.hero-points p,
.strategy-card p,
.step-card p,
.support-card p,
.faq-grid p,
.price-card li,
.final-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.generator-card {
  padding: 1.4rem;
}

.panel-header,
.premium-copy,
.section-heading,
.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.panel-header h2,
.section-heading h2,
.final-cta h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.panel-chip,
.mode-badge {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(19, 141, 125, 0.1);
  color: #0c7265;
  font-size: 0.88rem;
  font-weight: 700;
}

.quick-start {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 1.3rem;
}

.quick-chip {
  border: 1px solid rgba(24, 20, 17, 0.08);
  background: rgba(255, 252, 248, 0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quick-chip:hover,
.quick-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(239, 106, 67, 0.45);
  box-shadow: 0 14px 26px rgba(239, 106, 67, 0.14);
  outline: none;
}

.generator-form {
  display: grid;
  gap: 1rem;
}

.generator-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

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

.generator-form input,
.generator-form select,
.generator-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 20, 17, 0.12);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(255, 251, 247, 0.92);
  color: var(--ink);
  resize: vertical;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.generator-form input:focus,
.generator-form select:focus,
.generator-form textarea:focus {
  outline: none;
  border-color: rgba(239, 106, 67, 0.5);
  box-shadow: 0 0 0 5px rgba(239, 106, 67, 0.11);
}

.form-footer {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.primary-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  font-weight: 700;
}

.primary-button {
  border: none;
  background: linear-gradient(135deg, var(--coral) 0%, #f08744 100%);
  color: white;
  padding: 1rem 1.3rem;
  min-height: 3.4rem;
  box-shadow: 0 18px 32px rgba(239, 106, 67, 0.24);
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(239, 106, 67, 0.32);
  outline: none;
}

.primary-button.secondary {
  background: linear-gradient(135deg, var(--mint) 0%, #1ea997 100%);
  box-shadow: 0 18px 32px rgba(19, 141, 125, 0.24);
}

.primary-button[disabled] {
  opacity: 0.78;
  cursor: wait;
  transform: none;
}

.button-loader {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  display: none;
  animation: spin 0.9s linear infinite;
}

.primary-button.is-loading .button-loader {
  display: inline-block;
}

.primary-button.is-loading .button-copy {
  opacity: 0.95;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.ticker {
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  overflow: hidden;
}

.ticker p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.results,
.pricing,
.how-it-works,
.faq {
  padding: 1.6rem;
}

.hidden {
  display: none !important;
}

.query-summary,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.result-card {
  position: relative;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(255, 245, 236, 0.9));
  border: 1px solid rgba(24, 20, 17, 0.07);
  min-height: 15rem;
}

.result-card h3,
.premium-result h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
}

.result-card h3 {
  font-size: 1.6rem;
}

.result-card p {
  color: var(--muted);
  margin: 0.55rem 0 0;
  line-height: 1.6;
}

.result-card footer,
.premium-result footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.domain-tag,
.copy-name {
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  font-size: 0.84rem;
}

.domain-tag {
  background: rgba(19, 141, 125, 0.1);
  color: #0b6e62;
}

.copy-name {
  border: none;
  background: rgba(24, 20, 17, 0.07);
  color: var(--ink);
}

.copy-name.accent {
  background: rgba(239, 106, 67, 0.13);
  color: var(--coral-deep);
}

.strategy-grid,
.fulfillment-grid,
.support-copy-grid,
.premium-results-grid,
.steps-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.premium-shell {
  margin-top: 1.2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(28, 22, 19, 0.96), rgba(48, 31, 22, 0.92));
  color: white;
  padding: 1.35rem;
  overflow: hidden;
}

.premium-copy h3 {
  margin: 0.4rem 0 0;
  font-size: 2rem;
}

.premium-grid-wrap {
  position: relative;
  margin-top: 1.15rem;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.premium-result {
  padding: 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 12rem;
}

.premium-result p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.locked-overlay {
  position: absolute;
  inset: auto 0 0 0;
  min-height: 7rem;
  display: flex;
  align-items: end;
  padding: 3rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, rgba(22, 16, 14, 0) 0%, rgba(22, 16, 14, 0.95) 56%);
}

.locked-overlay strong {
  display: block;
  font-size: 1.05rem;
}

.locked-overlay p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.stack-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.7rem;
}

.stack-list article {
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.85);
  border: 1px solid rgba(24, 20, 17, 0.06);
}

.stack-list strong {
  display: block;
  margin-bottom: 0.28rem;
}

.brief-card,
.delivery-card {
  min-height: 100%;
}

.brief-preview {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.brief-preview article {
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(24, 20, 17, 0.06);
}

.brief-preview strong {
  display: block;
  margin-bottom: 0.28rem;
}

.brief-preview span {
  color: var(--muted);
  line-height: 1.6;
}

.brief-preview-large {
  margin-top: 1rem;
}

.delivery-steps,
.action-row,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.delivery-steps {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.delivery-steps article {
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(24, 20, 17, 0.06);
}

.delivery-steps strong {
  display: block;
  margin-bottom: 0.28rem;
}

.delivery-steps span {
  color: var(--muted);
  line-height: 1.6;
}

.action-row {
  margin-top: 1rem;
  align-items: center;
}

.action-row-wrap {
  margin-top: 1.2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.premium-results-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.price-card {
  padding: 1.3rem;
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.9);
  border: 1px solid rgba(24, 20, 17, 0.07);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(255, 243, 232, 0.96), rgba(255, 249, 244, 0.92));
  border-color: rgba(239, 106, 67, 0.24);
  box-shadow: 0 20px 40px rgba(239, 106, 67, 0.13);
}

.price-card h3 {
  margin: 0.5rem 0;
  font-size: 1.45rem;
}

.price-tag {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.price-card ul {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
}

.text-link {
  color: var(--coral-deep);
  justify-content: flex-start;
}

.text-link.inverse {
  color: white;
}

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

.step-card span {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(239, 106, 67, 0.14);
  color: var(--coral-deep);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.faq-grid article code {
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(24, 20, 17, 0.06);
}

.final-cta {
  margin-top: 1.6rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(19, 141, 125, 0.92), rgba(14, 103, 92, 0.9));
  color: white;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.thanks-hero {
  padding: 1.4rem;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 2.2rem;
}

.site-footer p {
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .hero,
  .thanks-hero,
  .pricing-grid,
  .premium-results-grid,
  .steps-grid,
  .card-grid,
  .premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header,
  .panel-header,
  .premium-copy,
  .section-heading,
  .final-cta,
  .form-footer {
    flex-direction: column;
  }

  .hero,
  .thanks-hero,
  .field-grid,
  .card-grid,
  .strategy-grid,
  .fulfillment-grid,
  .support-copy-grid,
  .premium-results-grid,
  .pricing-grid,
  .steps-grid,
  .faq-grid,
  .premium-grid,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .top-nav {
    display: none;
  }

  .generator-card,
  .hero-copy,
  .results,
  .pricing,
  .how-it-works,
  .faq,
  .final-cta,
  .thanks-hero {
    padding: 1.2rem;
  }

  .premium-copy h3 {
    font-size: 1.55rem;
  }
}
