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

:root {
  --bg: #fff7fb;
  --bg-soft: #ffeaf3;
  --ink: #2a1331;
  --ink-soft: #4d2a55;
  --brand: #c2185b;
  --brand-2: #7c1f8f;
  --accent: #ff7ab6;
  --good: #2e9e6c;
  --bad: #d23f5b;
  --line: #f1c6dc;
  --shadow: 0 10px 30px rgba(124, 31, 143, .12);
  --radius: 14px;
  --maxw: 1100px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #fff 60%);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.8rem, 4vw + 0.5rem, 2.6rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.3rem, 2vw + 0.6rem, 1.8rem); margin: 0 0 .55em; }
h3 { font-size: 1.15rem; margin: 1em 0 .4em; }

p { margin: 0 0 1em; }

/* Breadcrumb */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px 0;
  font-size: .9rem;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--ink-soft);
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--brand);
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb [aria-current="page"] { color: var(--brand); font-weight: 600; }

/* HERO */
.hero {
  max-width: var(--maxw);
  margin: 18px auto 30px;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 122, 182, .18), transparent 55%),
    radial-gradient(circle at 5% 90%, rgba(124, 31, 143, .14), transparent 50%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}
.hero-text .badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.lead { font-size: 1.05rem; color: var(--ink-soft); }

.cta {
  display: inline-block;
  margin-top: 6px;
  padding: 16px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5ea0 0%, #c2185b 55%, #7c1f8f 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .01em;
  box-shadow: 0 12px 28px rgba(194, 24, 91, .35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.cta:hover { transform: translateY(-2px); filter: brightness(1.06); text-decoration: none; }
.cta:active { transform: translateY(0); }
.cta.secondary {
  margin-top: 18px;
  background: linear-gradient(135deg, #7c1f8f, #c2185b);
}
.cta-note {
  display: block;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: .82rem;
}

.hero-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.hero-image img { width: 100%; height: auto; }
.hero-image figcaption {
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--ink-soft);
  background: var(--bg-soft);
  text-align: center;
}

/* Content */
.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 40px;
}
.content section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(124, 31, 143, .05);
}

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 8px;
  font-size: .95rem;
  min-width: 480px;
}
caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 10px;
}
thead th {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
}
tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) td { background: #fff7fb; }
tbody tr:hover td { background: #ffe9f3; }

/* Lists */
.stat-list, .warn-list { padding-left: 0; list-style: none; }
.stat-list li {
  padding: 10px 14px;
  background: #fff7fb;
  border-left: 4px solid var(--brand);
  margin-bottom: 8px;
  border-radius: 6px;
}
.warn-list li {
  padding: 10px 14px 10px 36px;
  position: relative;
  background: #fff5f4;
  border-left: 4px solid var(--bad);
  margin-bottom: 8px;
  border-radius: 6px;
}
.warn-list li::before {
  content: "!";
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bad);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* Two column cards */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 14px 0;
}
.card {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.card h3 { margin-top: 0; }
.card.good { border-color: #b9e9d2; background: #f1fbf6; }
.card.good h3 { color: var(--good); }
.card.bad { border-color: #f3c4cd; background: #fdf4f5; }
.card.bad h3 { color: var(--bad); }
.card ul { padding-left: 20px; margin: 0; }
.card li { margin-bottom: 6px; }

/* Editor blockquote */
.editor {
  margin: 18px 0 0;
  padding: 20px 22px;
  background: linear-gradient(135deg, #fff5fa, #fff);
  border-left: 6px solid var(--brand-2);
  border-radius: 12px;
}
.editor h3 { margin-top: 0; color: var(--brand-2); }

/* Warning section */
.warning {
  background: linear-gradient(180deg, #fff5f4, #fff) !important;
  border-color: #f3c4cd !important;
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  transition: box-shadow .15s ease;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-2);
  outline: none;
  padding: 4px 0;
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 8px 0 4px; color: var(--ink-soft); }

/* Closing */
.closing { text-align: center; }
.closing .cta { margin-top: 6px; }

/* Footer */
footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: .85rem;
  border-top: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .content section { padding: 18px; }
  .hero { padding: 22px 16px; }
  .cta { width: 100%; text-align: center; padding: 15px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
