.pricing-page {
  min-height: 100vh;
  background: var(--paper, #e8e8e4);
  color: var(--ink, #1a1a1a);
  font-family: var(--font-sans, "Pretendard Variable", Pretendard, sans-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.pricing-main {
  padding: 48px 20px 80px;
}

.pricing-banner {
  margin: 0 0 24px;
  padding: 12px 14px;
  border: 1px solid var(--border, #c4c4be);
  background: #fff;
  font-size: 14px;
}

.pricing-banner.is-error {
  border-color: #8a3030;
  color: #5a1010;
}

.pricing-banner.is-ok {
  border-color: var(--ink);
}

.pricing-banner.hidden {
  display: none;
}

.pricing-hero {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.pricing-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.pricing-hero p {
  margin: 0;
  color: var(--muted, #6b6b66);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.pricing-interval {
  display: inline-flex;
  gap: 0;
  margin-top: 22px;
  border: 1.5px solid var(--ink);
}

.interval-btn {
  min-width: 88px;
  height: 40px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.interval-btn.is-on {
  background: var(--ink);
  color: var(--paper, #e8e8e4);
}

.pricing-hint {
  margin-top: 10px !important;
  font-size: 13px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 18px 18px;
  border: 1.5px solid var(--border, #c4c4be);
  background: #f4f4f0;
}

.plan-card.is-featured {
  border-color: var(--ink);
  background: #fff;
}

.plan-card.is-coming-soon {
  opacity: 0.72;
}

.plan-card.is-coming-soon .plan-badge {
  color: var(--muted, #6b6b66);
}

.plan-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plan-card h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-amount {
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.plan-per {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding: 8px 0 8px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  border-top: 1px solid var(--rule, rgba(26, 26, 26, 0.14));
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.plan-features li.is-muted {
  color: var(--muted);
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper, #e8e8e4);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}

.plan-cta.is-ghost {
  background: transparent;
  color: var(--ink);
}

.plan-cta:disabled {
  background: rgba(26, 26, 26, 0.18);
  border-color: rgba(26, 26, 26, 0.22);
  color: rgba(26, 26, 26, 0.45);
  opacity: 1;
  cursor: not-allowed;
}

.plan-comparison {
  max-width: 980px;
  margin: 64px auto 0;
}

.plan-comparison h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.03em;
}

.plan-comparison-desc {
  margin: 8px 0 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.plan-comparison-scroll {
  overflow-x: auto;
  border: 1.5px solid var(--border);
  background: #f4f4f0;
}

.plan-comparison table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  table-layout: fixed;
}

.plan-comparison th,
.plan-comparison td {
  padding: 15px 14px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  font-size: 14px;
}

.plan-comparison tr > :last-child {
  border-right: 0;
}

.plan-comparison tbody tr:last-child > * {
  border-bottom: 0;
}

.plan-comparison thead th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.plan-comparison thead th:first-child,
.plan-comparison tbody th {
  width: 31%;
  text-align: left;
}

.plan-comparison tbody th {
  font-weight: 650;
  background: rgba(26, 26, 26, 0.035);
}

.plan-comparison .is-included {
  font-weight: 800;
  color: var(--ink);
}

.plan-comparison .is-unavailable {
  color: var(--muted);
}

.plan-comparison-note {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.pricing-note {
  max-width: 640px;
  margin: 36px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pricing-legal-links {
  margin-top: 16px;
}

.pricing-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-current {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}

.btn-cancel {
  margin-top: 10px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}
