* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #f8f5f0;
  color: #1e2a2b;
  line-height: 1.55;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.header {
  background: #1e2a2b;
  color: #f0ebe3;
  padding: 16px 0;
  border-bottom: 1px solid #3a4a4b;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  background: #d4c9b8;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  color: #1e2a2b;
}
.logo-text { font-weight: 600; font-size: 1.5rem; letter-spacing: -0.5px; }
.logo-text span { font-weight: 300; color: #b7aa98; }
.nav { display: flex; gap: 22px; font-weight: 500; font-size: 0.95rem; flex-wrap: wrap; }
.nav a { transition: color 0.2s; }
.nav a:hover { color: #e0d4c2; }

.breadcrumb {
  padding: 18px 0 0;
  font-size: 0.88rem;
  color: #6b7a7a;
}
.breadcrumb a { color: #1e2a2b; border-bottom: 1px solid #d4c9b8; }
.breadcrumb a:hover { border-color: #1e2a2b; }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

.detail-hero {
  padding: 28px 0 40px;
  border-bottom: 1px solid #d6ccc0;
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(182, 139, 92, 0.2) 0%, transparent 55%),
    linear-gradient(145deg, #f0ebe3 0%, #e3dbd0 100%);
}
.detail-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}
.detail-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e2a2b;
  padding: 16px 22px;
  border-radius: 16px;
  margin-bottom: 18px;
}
.detail-logo-wrap img {
  max-height: 42px;
  max-width: 180px;
  object-fit: contain;
}
.detail-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.detail-hero .lead {
  font-size: 1.08rem;
  color: #2f3d3e;
  max-width: 560px;
  margin-bottom: 18px;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.meta-chip {
  background: white;
  border: 1px solid #e0d6ca;
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2f3d3e;
}
.meta-chip.score {
  background: #1e2a2b;
  color: #f0ebe3;
  border-color: #1e2a2b;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  min-width: 200px;
}
.btn-primary {
  background: #1e2a2b;
  color: #f0ebe3;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #33494b; }
.btn-outline {
  background: transparent;
  border: 1px solid #1e2a2b;
  color: #1e2a2b;
  padding: 12px 24px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: 0.15s;
}
.btn-outline:hover { background: #1e2a2b; color: white; }

.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 40px 0 50px;
  align-items: start;
}
.section-block { margin-bottom: 36px; }
.section-block h2 {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
  color: #1e2a2b;
}
.section-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 10px;
}
.section-block p {
  color: #2f3d3e;
  margin-bottom: 12px;
  font-size: 1rem;
}
.section-block ul, .section-block ol {
  margin: 0 0 14px 1.2em;
  color: #2f3d3e;
}
.section-block li { margin-bottom: 8px; }

.prose-card {
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 20px;
  padding: 24px 22px;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.list-box {
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 18px;
  padding: 20px 18px;
}
.list-box h3 { margin: 0 0 12px; font-size: 1.05rem; }
.list-box.pros h3 { color: #2a5a3a; }
.list-box.cons h3 { color: #7a3a2a; }
.list-box ul { list-style: none; margin: 0; padding: 0; }
.list-box li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid #f0ebe3;
  font-size: 0.94rem;
  margin: 0;
}
.list-box li:last-child { border-bottom: none; }
.list-box.pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 700;
  color: #2a5a3a;
}
.list-box.cons li::before {
  content: '−';
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 700;
  color: #7a3a2a;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.score-item {
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 16px;
  padding: 16px 16px 14px;
}
.score-item .label {
  font-size: 0.82rem;
  color: #6b7a7a;
  margin-bottom: 4px;
}
.score-item .value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.score-bar {
  height: 6px;
  background: #e8dfd4;
  border-radius: 6px;
  margin-top: 10px;
  overflow: hidden;
}
.score-bar span {
  display: block;
  height: 100%;
  background: #b68b5c;
  border-radius: 6px;
}

.pay-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e0d6ca;
  font-size: 0.94rem;
}
.pay-table th {
  background: #1e2a2b;
  color: #f0ebe3;
  text-align: left;
  padding: 12px 14px;
  font-weight: 500;
}
.pay-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee6dc;
}
.pay-table tr:last-child td { border-bottom: none; }

.steps {
  display: grid;
  gap: 12px;
}
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 16px;
  padding: 16px 18px;
  align-items: start;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #1e2a2b;
  color: #f0ebe3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.step h4 { font-size: 1rem; margin-bottom: 4px; }
.step p { margin: 0; font-size: 0.92rem; color: #3a494a; }

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 0.9rem;
}
.check-item .ico {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #1e2a2b;
  color: #f0ebe3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.faq-item {
  border-bottom: 1px solid #ddd2c4;
  padding: 16px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.25s;
  color: #2f3d3e;
  font-size: 0.95rem;
}
.faq-answer.open { max-height: 320px; padding-top: 10px; }

.sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 16px;
}
.side-card {
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 20px;
  padding: 20px 18px;
}
.side-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.side-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f0ebe3;
  font-size: 0.9rem;
}
.side-row:last-child { border-bottom: none; }
.side-row span { color: #6b7a7a; }
.side-row strong { text-align: right; font-weight: 600; }
.side-cta { margin-top: 14px; }
.side-cta .btn-primary,
.side-cta .btn-outline { display: block; width: 100%; margin-top: 8px; box-sizing: border-box; }
.side-note {
  font-size: 0.8rem;
  color: #6b7a7a;
  margin-top: 12px;
  line-height: 1.45;
}
.warning-box {
  background: #e3dbd0;
  border-radius: 18px;
  padding: 18px 16px;
  font-size: 0.88rem;
  color: #2f3d3e;
}
.warning-box strong { display: block; margin-bottom: 6px; color: #1e2a2b; }

.related {
  padding: 0 0 50px;
}
.related h2 {
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 18px;
  padding: 18px 16px;
  transition: 0.15s;
}
.related-card:hover { border-color: #b9aa97; }
.related-card .rl {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e2a2b;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  min-height: 56px;
}
.related-card .rl img {
  max-height: 28px;
  max-width: 120px;
  object-fit: contain;
}
.related-card .name { font-weight: 600; margin-bottom: 4px; }
.related-card .score { font-size: 0.85rem; color: #b68b5c; font-weight: 600; margin-bottom: 10px; }
.related-card .more {
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid #b7aa98;
}

.footer {
  background: #1e2a2b;
  color: #d6ccc0;
  padding: 40px 0 30px;
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 18px 0 22px;
}
.footer-links a { color: #d6ccc0; border-bottom: 1px solid transparent; }
.footer-links a:hover { border-color: #b7aa98; }
.footer .legal {
  font-size: 0.8rem;
  margin-top: 16px;
  border-top: 1px solid #3a4a4b;
  padding-top: 20px;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.popup-box {
  background: #f8f5f0;
  max-width: 460px;
  width: 100%;
  border-radius: 28px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 30px 50px rgba(0,0,0,0.3);
  border: 1px solid #d4c9b8;
}
.popup-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #1e2a2b;
  color: #f0ebe3;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.popup-box h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 12px; }
.popup-lead { color: #2f3d3e; font-size: 1.05rem; font-weight: 500; margin-bottom: 14px; }
.popup-info {
  text-align: left;
  background: #efe9e0;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 22px;
  font-size: 0.88rem;
  color: #3a494a;
  line-height: 1.55;
}
.popup-info p + p { margin-top: 8px; }
.popup-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.popup-btn {
  padding: 12px 28px;
  border-radius: 60px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  min-width: 140px;
}
.popup-btn.yes { background: #1e2a2b; color: white; }
.popup-btn.no { background: #d4c9b8; color: #1e2a2b; }
.hidden { display: none; }

@media (max-width: 860px) {
  .detail-hero-inner { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: -1; }
  .split-2, .score-grid, .check-grid, .related-grid { grid-template-columns: 1fr; }
  .detail-hero h1 { font-size: 1.75rem; }
}
