/* ---------- Legal pages ---------- */
.legal .legal-body {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}
.legal .legal-body p { margin: 0 0 16px; }
.legal .legal-body strong { color: var(--text); }
.legal .legal-body a { color: var(--accent); }
.legal .legal-body a:hover { text-decoration: underline; }
.legal .legal-body h3 {
  margin: 32px 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.legal .legal-body .legal-note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.legal .legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal .legal-body ul li {
  margin: 4px 0;
}
.legal .legal-body .legal-table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 14px;
}
.legal .legal-body .legal-table th,
.legal .legal-body .legal-table td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.legal .legal-body .legal-table thead th {
  background: var(--bg-subtle);
  color: var(--text);
  font-weight: 600;
}
.legal .legal-body .legal-table code {
  font-size: 13px;
}

/* ---------- About page ---------- */
.about-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
}
.about-portrait {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-portrait figcaption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}
.about-text p { margin: 0 0 18px; }
.about-text strong { color: var(--text); font-weight: 500; }
.about-text em { color: var(--text); font-style: italic; font-family: var(--font-serif); font-size: 1.05em; }
.about-lead {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 28px !important;
  letter-spacing: -0.01em;
}
.about-signature {
  margin-top: 28px !important;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
}
@media (max-width: 720px) {
  .about-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-portrait {
    max-width: 280px;
  }
  .about-lead { font-size: 19px; }
}

/* ---------- Pricing page ---------- */
.pricing-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.pricing-head .eyebrow {
  margin-bottom: 20px;
}
.pricing-title {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.pricing-title em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}
.pricing-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto 80px;
}
.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s;
}
.pricing-card-active {
  border-color: var(--border-strong);
}
.pricing-card-soon {
  background: var(--bg-subtle);
  opacity: 0.88;
}
.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-badge {
  align-self: flex-start;
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 2px;
}
.pricing-badge-soon {
  background: var(--bg-elevated);
  color: var(--text-faint);
  border: 1px solid var(--border);
}
.pricing-card h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.pricing-amount {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.pricing-amount-muted {
  color: var(--text-faint);
  font-weight: 400;
}
.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-tagline {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 4px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231cb1b1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 L5 8.5 L9.5 3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.pricing-features-soon li {
  color: var(--text-muted);
}
.pricing-features-soon li::before {
  background-color: transparent;
  border: 1px dashed var(--border-strong);
  background-image: none;
}
.pricing-cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pricing-cta[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.pricing-faq {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.pricing-faq h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  text-align: center;
}
.pricing-faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 4px;
}
.pricing-faq details[open] {
  background: var(--bg-elevated);
  margin: 0 -16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.pricing-faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-faint);
  transition: transform 0.15s;
}
.pricing-faq details[open] summary::after {
  content: '−';
  color: var(--accent);
}
.pricing-faq details p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
.pricing-faq details em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text);
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card { padding: 24px 22px; }
  .pricing-amount { font-size: 36px; }
}
