:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #273244;
  --muted: #667085;
  --line: #e6edf3;
  --teal: #66d3c6;
  --teal-dark: #237d76;
  --coral: #ff9a8b;
  --peach: #ffe3d5;
  --sky: #d9f0ff;
  --mint: #dcf8ed;
  --lilac: #efe6ff;
  --lemon: #fff3bd;
  --sand: #f7fbff;
  --shadow: 0 18px 42px rgba(74, 91, 120, 0.12);
}

* {
  box-sizing: border-box;
}

.section--page-top {
  padding-top: 140px;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(230, 237, 243, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.brand-logo {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  background: white;
  box-shadow: 0 8px 18px rgba(24, 48, 78, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  font-weight: 900;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #153d3a;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #8ee5dc;
  border-color: #8ee5dc;
}

.auth-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 330px;
  padding: 7px 8px 7px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(74, 91, 120, 0.08);
}

.auth-chip span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-chip a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #153d3a;
  background: var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.auth-chip a:hover,
.auth-chip a:focus-visible,
.auth-chip a[aria-current="page"] {
  background: var(--teal);
}

.auth-chip button {
  min-height: 30px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--peach);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 136px 0 72px;
  background: #ffffff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 43%, rgba(255, 255, 255, 0.42) 100%);
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 18px;
  font-size: 22px;
  line-height: 1.35;
  text-transform: none;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: #30343a;
  font-size: 22px;
  line-height: 1.7;
  font-weight: 600;
}

.hero-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #153d3a;
  background: var(--teal);
  border-color: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #8ee5dc;
  border-color: #8ee5dc;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(74, 91, 120, 0.18);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--ink);
}

.button.secondary[data-open-auth],
.auth-actions .button.secondary {
  color: #153d3a;
  background: #d8fbf5;
  border-color: var(--teal);
}

.button.secondary[data-open-auth]:hover,
.button.secondary[data-open-auth]:focus-visible,
.auth-actions .button.secondary:hover,
.auth-actions .button.secondary:focus-visible {
  background: #8ee5dc;
  border-color: #8ee5dc;
}

.button.full {
  width: 100%;
}

.hero-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin-top: 54px;
}

.hero-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(74, 91, 120, 0.12);
  border-radius: 6px;
  color: #30343a;
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.muted {
  background: var(--sand);
}

.intro-strip {
  padding: 30px 0;
  background: linear-gradient(90deg, var(--mint), var(--sky), var(--peach));
  color: var(--ink);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.intro-grid p {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  line-height: 1.72;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 720px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.problem-list {
  display: grid;
  gap: 16px;
}

.problem-item {
  padding: 22px 0 22px 22px;
  border-left: 4px solid var(--teal);
}

.problem-item strong {
  font-size: 20px;
}

.problem-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.asset-grid,
.pricing-grid,
.example-grid,
.flow-grid {
  display: grid;
  gap: 16px;
}

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

.asset-card,
.example-card,
.plan-card,
.flow-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(74, 91, 120, 0.06);
}

.asset-card {
  min-height: 220px;
  padding: 26px;
}

.asset-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 24px;
  color: #184844;
  background: var(--mint);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.asset-card p,
.example-card p,
.plan-card li,
.flow-grid p {
  color: var(--muted);
}

.product-section {
  background: #ffffff;
}

.product-grid,
.template-grid {
  display: grid;
  gap: 16px;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card,
.template-card {
  display: grid;
  align-content: start;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(74, 91, 120, 0.06);
}

.product-card {
  min-height: 280px;
  padding: 24px;
}

.product-card span,
.template-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 30px;
  color: #184844;
  background: var(--mint);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.product-card p,
.template-card p {
  margin: 0;
  color: var(--muted);
}

.product-card a {
  align-self: end;
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 900;
}

.preview-section {
  background: linear-gradient(180deg, #f7fdff 0%, #ffffff 100%);
}

.preview-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.preview-form,
.preview-result {
  min-height: 620px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.preview-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #dbe5ee;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdfb;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(102, 211, 198, 0.26);
  border-color: var(--teal);
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
    #fffdfb;
}

.photo-upload {
  position: relative;
  padding: 16px;
  background: #f7fdff;
  border: 1px dashed #b9dbe8;
  border-radius: 8px;
}

.photo-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.upload-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px 10px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #dbe5ee;
  border-radius: 6px;
  cursor: pointer;
}

.upload-control span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  color: #184844;
  background: var(--mint);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.upload-control small {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-preview {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.photo-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.preview-result {
  display: flex;
  align-items: stretch;
}

.empty-result,
.filled-result {
  width: 100%;
}

.empty-result {
  display: grid;
  align-content: center;
  min-height: 100%;
  color: var(--muted);
}

.empty-result h3 {
  color: var(--ink);
}

.manual-preview-stack {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.manual-preview-stack article {
  padding: 16px;
  background: #f7fdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.manual-preview-stack span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  margin-bottom: 10px;
  color: #153d3a;
  background: var(--mint);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.manual-preview-stack strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.manual-preview-stack p {
  margin: 8px 0 0;
  line-height: 1.6;
}

.result-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding-left: 22px;
}

.result-list li {
  padding-left: 4px;
  font-weight: 900;
  line-height: 1.55;
}

.profile-card-result {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 16px;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  border: 1px solid rgba(74, 91, 120, 0.12);
  border-radius: 8px;
}

.profile-image-wrap {
  position: relative;
}

.profile-card-result img {
  width: 108px;
  height: 144px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.82);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(74, 91, 120, 0.14);
}

.profile-image-label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 7px;
  color: #153d3a;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(74, 91, 120, 0.1);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.profile-card-result strong {
  display: block;
  font-size: 19px;
  line-height: 1.35;
}

.profile-card-result p {
  margin: 8px 0 0;
  color: #435164;
  line-height: 1.55;
}

.result-block {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.result-block ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 18px;
}

.result-block p {
  margin: 10px 0 0;
  color: var(--muted);
}

.microcopy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.package-builder-section {
  background: #ffffff;
}

.checkout-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fdff 100%);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: start;
}

.checkout-layout > div > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.checkout-flow {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-flow li {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 900;
}

.checkout-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.checkout-card h3 {
  font-size: 30px;
}

.checkout-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 20px;
}

.checkout-price span {
  color: #153d3a;
  font-size: 34px;
  font-weight: 900;
}

.checkout-price del {
  color: var(--muted);
  font-weight: 800;
}

.checkout-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.checkout-card .button + .button {
  margin-top: 10px;
}

.checkout-sample-note {
  max-width: 680px;
  margin-top: 28px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-sample-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.checkout-sample-note p {
  margin: 0;
  color: var(--muted);
}

.package-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.package-form,
.package-result {
  min-height: 720px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.package-form {
  display: grid;
  gap: 20px;
}

.package-funnel-head {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, var(--mint), #ffffff);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.package-funnel-head > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.package-funnel-head .eyebrow {
  margin: 0;
}

.package-funnel-head strong {
  color: #153d3a;
  font-size: 18px;
}

.package-progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(102, 211, 198, 0.35);
  border-radius: 999px;
}

.package-progress span {
  display: block;
  width: 16.666%;
  height: 100%;
  background: var(--teal);
  border-radius: inherit;
  transition: width 180ms ease;
}

.package-stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.package-stepper button {
  min-height: 42px;
  padding: 0 10px;
  color: var(--muted);
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.package-stepper button[aria-current="step"] {
  color: #153d3a;
  background: var(--teal);
  border-color: var(--teal);
}

.package-step {
  display: grid;
  gap: 16px;
  margin: 0;
  min-height: 520px;
  padding: 6px 0 8px 18px;
  border: 0;
  border-left: 4px solid var(--teal);
}

.package-step legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px -18px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.package-step legend span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #153d3a;
  background: var(--teal);
  border-radius: 6px;
  font-size: 14px;
}

.package-step-controls {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-top: 4px;
}

.package-step-controls .button {
  flex: 1;
}

.portfolio-input-grid {
  display: grid;
  gap: 14px;
}

.portfolio-input-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f7fdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portfolio-input-card strong {
  font-size: 18px;
}

.portfolio-photo-upload {
  padding: 12px;
}

.package-result {
  display: flex;
  align-items: stretch;
}

.package-summary {
  margin: 10px 0 20px;
  color: var(--muted);
}

.package-output-block {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.package-output-block p {
  margin: 10px 0 0;
  color: var(--muted);
}

.package-output-block ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.package-subheading {
  display: block;
  margin-top: 18px;
}

.my-projects-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fdff 100%);
}

.my-projects-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.my-projects-toolbar {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 36px;
}

.formula-create-wrap {
  position: relative;
}

.formula-create-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 10px;
  width: min(560px, calc(100vw - 40px));
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(74, 91, 120, 0.14);
}

.formula-create-menu[hidden] {
  display: none;
}

.formula-create-menu article {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #f9fefd;
  border: 1px solid rgba(102, 211, 198, 0.36);
  border-radius: 8px;
}

.formula-create-menu article:last-child {
  background: linear-gradient(135deg, #ffffff, var(--mint));
}

.formula-create-menu span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.formula-create-menu strong {
  color: var(--ink);
  font-size: 19px;
}

.formula-create-menu p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.formula-create-menu .button {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

.my-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.my-project-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 300px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(74, 91, 120, 0.06);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.my-project-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 8px;
}

.my-project-topline,
.my-project-image,
.my-project-body {
  position: relative;
  z-index: 0;
}

.my-project-card:hover,
.my-project-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(102, 211, 198, 0.72);
  box-shadow: 0 16px 34px rgba(74, 91, 120, 0.1);
  outline: none;
}

.my-project-card.is-package {
  border-color: rgba(102, 211, 198, 0.65);
  background: #f8fffd;
}

.my-project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.my-project-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #153d3a;
  background: var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.my-project-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.my-project-body {
  display: grid;
  gap: 12px;
}

.my-project-body h3 {
  font-size: 21px;
}

.my-project-body p {
  margin: 0;
  color: var(--muted);
}

.my-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.my-project-meta span {
  padding: 6px 9px;
  color: #596575;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.my-project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.my-project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.my-project-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.my-project-actions .button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.my-project-empty {
  margin-top: 18px;
  align-items: flex-start;
}

.project-detail-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fdff 100%);
}

.project-detail-nav {
  margin-bottom: 18px;
}

.project-detail-content {
  display: grid;
  gap: 26px;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(74, 91, 120, 0.08);
}

.project-detail-main {
  display: grid;
  align-content: start;
  gap: 18px;
}

.project-detail-main h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

.project-detail-main > p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.project-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.project-detail-image {
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.project-detail-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 6px;
}

.project-detail-image p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.project-detail-block {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-detail-block h3 {
  font-size: 22px;
}

.project-detail-block-body {
  display: grid;
  gap: 12px;
}

.project-detail-text {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-detail-text strong {
  color: var(--ink);
  font-size: 13px;
}

.project-detail-list,
.project-detail-lesson-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.project-detail-card-list,
.project-portfolio-detail-list {
  display: grid;
  gap: 12px;
}

.project-detail-mini-card,
.project-portfolio-detail-card {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.project-detail-mini-card:first-child,
.project-portfolio-detail-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.project-detail-mini-card h4,
.project-portfolio-detail-card h4 {
  font-size: 17px;
}

.project-detail-mini-card p,
.project-portfolio-detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-detail-outcome {
  color: #274c48 !important;
  font-weight: 800;
}

.project-portfolio-detail-card {
  grid-template-columns: 120px 1fr;
  align-items: start;
}

.project-portfolio-detail-card img {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.flow-grid article {
  padding: 24px;
}

.flow-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  color: #62332d;
  background: var(--peach);
  border-radius: 6px;
  font-weight: 900;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.example-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
}

.example-input-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: var(--mint);
  border-radius: 6px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.example-profile-title {
  margin: -8px 0 0;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
}

.example-block {
  padding: 14px 16px;
  background: var(--sand);
  border-radius: 6px;
  border: 1px solid var(--line);
}

.example-block strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--teal-dark);
}

.example-block ol,
.example-block ul {
  margin: 0;
  padding-left: 18px;
}

.example-block li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.example-block p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.example-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.example-cta .microcopy {
  width: 100%;
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.problem-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(74, 91, 120, 0.06);
}

.problem-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.4;
}

.problem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.target-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.target-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px;
  background: var(--mint);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.target-list li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.templates-section {
  background: #ffffff;
}

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

.template-card {
  min-height: 420px;
  padding: 18px;
}

.template-preview-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.template-card h3 {
  font-size: 22px;
}

.tag {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 10px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.pricing-section {
  background: var(--bg);
}

.launch-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
  padding: 28px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--lemon), var(--peach), var(--sky));
  border-radius: 8px;
}

.launch-offer .eyebrow,
.launch-offer p {
  color: #5c6573;
}

.launch-offer p {
  max-width: 700px;
  margin: 10px 0 0;
}

.premium-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 22px;
}

.premium-proof-grid article {
  min-height: 210px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(58, 78, 110, 0.08);
}

.premium-proof-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.premium-proof-grid p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.premium-sample {
  margin: 26px 0 24px;
  padding: 28px;
  background: #f7fdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading.compact h3 {
  margin-bottom: 8px;
  font-size: 30px;
}

.sample-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sample-output-card {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(58, 78, 110, 0.07);
}

.sample-output-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-output-card h4 {
  margin: 0 0 12px;
  font-size: 20px;
}

.sample-output-card p,
.sample-output-card li {
  color: var(--muted);
  line-height: 1.65;
}

.sample-table {
  display: grid;
  gap: 8px;
}

.sample-table p {
  margin: 0;
  padding: 10px;
  background: #f6fbfd;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}

.sample-table strong {
  display: block;
  color: var(--ink);
}

.sample-quote {
  padding: 14px;
  color: var(--ink) !important;
  background: #fffaf0;
  border-left: 4px solid #d8a23a;
  border-radius: 6px;
  font-weight: 800;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
}

.plan-card.highlighted {
  border-color: var(--teal);
  background: #f6fffc;
  box-shadow: var(--shadow);
}

.plan-card.premium-plan {
  position: relative;
  border-color: #d8a23a;
  background: #fffaf0;
  box-shadow: 0 18px 48px rgba(166, 120, 32, 0.14);
}

.plan-card.premium-plan::before {
  content: "추천";
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #463100;
  background: #ffe39b;
  border: 1px solid #e6c46a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.plan-name {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 900;
}

.plan-card h3 {
  margin-bottom: 10px;
  font-size: 30px;
}

.plan-limit {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  color: var(--teal-dark);
  background: #e9fbf8;
  border: 1px solid #b7ece4;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.plan-action {
  margin-top: auto;
}

.policy-band {
  color: var(--ink);
  background: linear-gradient(90deg, var(--mint), var(--lilac));
}

.policy-band .eyebrow,
.policy-copy p {
  color: #596575;
}

.policy-copy p {
  margin: 0 0 16px;
  font-size: 18px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta {
  padding: 88px 0;
  color: var(--ink);
  background: linear-gradient(135deg, var(--sky), var(--mint), var(--lemon));
  text-align: center;
}

.final-cta .eyebrow {
  color: var(--teal-dark);
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 auto 28px;
}

.site-footer {
  padding: 36px 0;
  background: #f6fbfd;
  color: var(--ink);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-inner p {
  margin: 12px 0 0;
  color: var(--muted);
}

.business-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.business-info span {
  display: inline-flex;
  align-items: center;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
}

.footer-brand .brand-logo {
  width: 42px;
  height: 42px;
}

.auth-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(39, 50, 68, 0.28);
  backdrop-filter: blur(12px);
}

.auth-dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 30px;
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.auth-dialog h2 {
  font-size: 32px;
}

.auth-copy {
  margin: 12px 0 22px;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button.google {
  color: var(--ink);
  background: white;
  border-color: rgba(102, 211, 198, 0.74);
}

.policy-page {
  padding-top: 130px;
}

.policy-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 88px;
}

.policy-doc h1 {
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1.16;
}

.policy-doc h2 {
  margin-top: 44px;
  font-size: 26px;
}

.policy-doc p,
.policy-doc li {
  color: var(--muted);
  line-height: 1.85;
}

.policy-doc ul {
  padding-left: 20px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .split,
  .intro-grid,
  .preview-grid,
  .checkout-layout,
  .package-grid,
  .project-detail-hero,
  .project-detail-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .asset-grid,
  .example-grid,
  .pricing-grid,
  .flow-grid,
  .product-grid,
  .template-grid,
  .problem-grid,
  .target-list,
  .my-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .my-projects-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .my-projects-toolbar {
    justify-content: flex-start;
    margin-bottom: 24px;
  }

  .formula-create-wrap {
    width: fit-content;
  }

  .launch-offer {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-proof-grid {
    grid-template-columns: 1fr;
  }

  .sample-output-grid {
    grid-template-columns: 1fr;
  }

  .package-stepper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .auth-chip {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 760px;
    padding-top: 108px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background: rgba(255, 255, 255, 0.86);
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .result-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .auth-actions {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  h2 {
    font-size: 34px;
  }

  .asset-grid,
  .example-grid,
  .pricing-grid,
  .flow-grid,
  .product-grid,
  .template-grid,
  .problem-grid,
  .target-list,
  .my-project-grid {
    grid-template-columns: 1fr;
  }

  .my-projects-toolbar,
  .my-project-actions,
  .package-step-controls {
    flex-direction: column;
  }

  .formula-create-wrap {
    width: 100%;
  }

  .formula-create-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .package-stepper {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-step {
    min-height: auto;
  }

  .preview-form,
  .preview-result,
  .package-form,
  .package-result {
    min-height: auto;
    padding: 22px;
  }

  .photo-preview,
  .profile-card-result,
  .project-portfolio-detail-card {
    grid-template-columns: 1fr;
  }

  .project-detail-hero,
  .project-detail-block {
    padding: 20px;
  }

  .project-detail-main h2 {
    font-size: 34px;
  }

  .project-detail-main > p {
    font-size: 17px;
  }

  .project-detail-image {
    min-height: 240px;
  }

  .project-portfolio-detail-card img {
    width: 100%;
  }

  .upload-control {
    align-items: stretch;
    flex-direction: column;
  }

  .photo-preview img,
  .profile-card-result img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .plan-card {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }

  .policy-doc h1 {
    font-size: 38px;
  }
}
