.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.check {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 19px;
}

.content-section {
  padding: 34px 0 58px;
}

.content-section-tight {
  padding-top: 0;
}

.content-hero {
  padding: 72px 0 32px;
}

.content-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 26px;
  align-items: stretch;
}

.content-hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.content-hero-copy p {
  margin: 0;
  max-width: 720px;
  font-size: 18px;
  color: var(--muted);
}

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

.content-hero-panel {
  display: flex;
}

.hero-panel-card {
  width: 100%;
  border-radius: 28px;
  padding: 26px;
  background: linear-gradient(145deg, rgba(99, 91, 255, 0.15), rgba(16, 185, 129, 0.08)), #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
}

.hero-panel-caption {
  display: inline-flex;
  width: fit-content;
  margin-bottom: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-panel-card strong {
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-panel-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.content-grid {
  display: grid;
  gap: 18px;
}

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

.info-card,
.story-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
}

.info-card h3,
.story-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.story-card p + p {
  margin-top: 12px;
}

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

.story-list,
.plan-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.story-list li,
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}

.story-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #10b981);
  margin-top: 8px;
  flex: 0 0 8px;
}

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

.plan-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.plan-card.featured {
  background: #101827;
  color: #fff;
  transform: translateY(-10px);
}

.plan-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.plan-desc {
  margin: 0;
  color: var(--muted);
}

.plan-card.featured .plan-desc,
.plan-card.featured .plan-list li {
  color: #dbe2ef;
}

.plan-price {
  margin: 20px 0;
  font-size: 44px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.06em;
}

.plan-price small {
  font-size: 15px;
  letter-spacing: 0;
  color: inherit;
  opacity: 0.8;
  font-weight: 800;
}

.plan-card .btn {
  width: 100%;
  margin-top: 24px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 100px;
}

.faq-copy h2 {
  margin: 12px 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.faq-copy p {
  margin: 0;
  color: var(--muted);
}

.accordion {
  display: grid;
  gap: 12px;
}

.page-alert {
  border-radius: 20px;
  padding: 16px 18px;
  font-weight: 700;
  box-shadow: var(--card-shadow);
}

.page-alert-error {
  background: rgba(254, 242, 242, 0.96);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #b91c1c;
}

.page-alert-success {
  background: rgba(236, 253, 245, 0.96);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #047857;
}

.credits-select-wrap {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}

.credits-select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.plan-card.featured .credits-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.submit-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.submit-copy,
.submit-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.submit-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.submit-copy p,
.submit-helper {
  margin: 0;
  color: var(--muted);
}

.submit-helper {
  margin-top: 16px;
}

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

.submit-field {
  display: grid;
  gap: 8px;
}

.submit-field label {
  font-weight: 800;
  color: var(--text);
}

.submit-field textarea,
.submit-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.submit-field textarea {
  min-height: 132px;
  resize: vertical;
}

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

.submit-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.submit-actions {
  margin-top: 0;
}

.task-board {
  display: grid;
  gap: 20px;
}

.task-board-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.task-board-title {
  margin: 14px 0 8px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.task-board-copy {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.task-empty-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.task-empty-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.task-empty-card p {
  margin: 0;
  color: var(--muted);
}

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

.task-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--card-shadow);
}

.task-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
}

.task-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.task-status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status-done {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.status-fail {
  background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}

.status-doing,
.status-wait,
.status-pending {
  background: rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
}

.task-card-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.task-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.task-card-body h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.task-card-body p {
  margin: 0;
  color: var(--muted);
}

.task-status-copy {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f9fafb;
}

.status-fail-copy {
  background: rgba(254, 242, 242, 0.9);
  color: #991b1b;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.1), rgba(16, 185, 129, 0.08)), #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 48px 24px;
  box-shadow: var(--card-shadow);
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.cta-box p {
  max-width: 680px;
  color: var(--muted);
  margin: 0 auto 24px;
  font-size: 17px;
}

@media (max-width: 980px) {
  .content-hero-grid,
  .story-grid,
  .faq-layout,
  .plan-grid,
  .content-grid-3 {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

  .faq-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .content-hero {
    padding-top: 48px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel-card,
  .info-card,
  .story-card,
  .plan-card,
  .cta-box {
    padding: 22px;
  }
}