/* Shared layout for inner content pages (not the landing hero). */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1f36;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: #fff;
  border-bottom: 1px solid #f0f1f6;
}

.back-link {
  font-size: 15px;
  font-weight: 500;
  color: #4a90e2;
  transition: color 0.2s;
}

.back-link:hover {
  color: #1a1f36;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 48px 40px;
}

h1 {
  font-size: 40px;
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.page-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #4a5068;
  margin-bottom: 28px;
}

.content {
  font-size: 16px;
  line-height: 1.75;
  color: #4a5068;
}

.content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1f36;
  margin: 32px 0 12px;
}

.content p {
  margin-bottom: 16px;
}

.content ul {
  margin: 0 0 16px 22px;
}

.content li {
  margin-bottom: 10px;
}

.content a,
a.content-link {
  color: #2454C5;
  font-weight: 600;
}

.content a:hover,
a.content-link:hover {
  color: #1a1f36;
}

.page-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fef9ec;
  border: 1px solid #f3e3b3;
  border-left: 4px solid #e0a516;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #5c4a17;
  margin-bottom: 32px;
}

.page-notice strong {
  color: #1a1f36;
}

.page-notice a {
  color: #1a1f36;
  font-weight: 600;
}

.steps-list {
  display: grid;
  gap: 20px;
  margin: 28px 0 32px;
}

.step-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  background: #f8f9fb;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #1a1f36;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-row h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.price-card {
  border: 1px solid #e0e2ea;
  border-radius: 16px;
  padding: 28px 24px;
  background: #fff;
}

.price-card.ours {
  background: #1a1f36;
  color: #fff;
  border-color: #1a1f36;
}

.price-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: inherit;
}

.price-card .amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.price-card.ours .amount {
  color: #fff;
}

.price-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4a5068;
}

.price-card.ours p {
  color: #d5d8e6;
}

.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}

.guide-card {
  display: block;
  padding: 24px;
  border: 1px solid #e0e2ea;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.guide-card:hover {
  border-color: #2454C5;
  box-shadow: 0 8px 24px -12px rgba(36, 84, 197, 0.35);
}

.guide-card h2,
.guide-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1a1f36;
}

.guide-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7190;
}

.page-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  background: #2454C5;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
}

.page-cta:hover {
  background: #1C45A8;
  color: #fff !important;
}

.faq-page .faq-item {
  background: #fff;
  border: 1px solid #e0e2ea;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-page .faq-question {
  width: 100%;
  padding: 18px 20px;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #1a1f36;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

.faq-page .faq-question:hover {
  background: #f8f9fb;
}

.faq-page .faq-icon {
  flex-shrink: 0;
  color: #4a90e2;
  font-size: 20px;
}

.faq-page .faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #6b7190;
}

.faq-page .faq-answer.show {
  display: block;
}

.footer {
  background: #1a1f36;
  color: #fff;
  padding: 56px 48px 40px;
  margin-top: 64px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-text,
.footer-disclaimer {
  font-size: 14px;
  line-height: 1.6;
  color: #a0a5b8;
  margin-bottom: 16px;
}

.footer-disclaimer a {
  color: #e8ecf8;
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px 28px;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #a0a5b8;
}

.footer-links a:hover,
.footer-links a.current {
  color: #fff;
}

.footer-links a.current {
  color: #7eb0ff;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #2d3350;
  font-size: 13px;
  color: #6b7190;
}

@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }

  .container {
    padding: 48px 20px 24px;
  }

  h1 {
    font-size: 28px;
  }

  .price-grid,
  .guide-cards {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 20px;
  }
}
