/* Percent Agent Brochure (A4 + Web) */
:root {
  --bg: #f3f5f8;
  --ink: #151a22;
  --panel: #ffffff;
  --line: #d5dce5;
  --muted: #566173;
  --brand-dark: #2a2f35;
  --brand-mid: #3a414a;
  --accent: #e8ff3b;
}

body.brochure-page {
  background: var(--bg);
  color: var(--ink);
}

.brochure-wrap {
  max-width: 980px;
  margin: 6.5rem auto 2.5rem;
  padding: 0 1.1rem;
}

.brochure-sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(15, 22, 34, 0.09);
  overflow: hidden;
}

.brochure-head {
  background: linear-gradient(132deg, var(--brand-dark), var(--brand-mid));
  color: #eef2f6;
  padding: 2.2rem 2rem 1.8rem;
  border-bottom: 1px solid #46505b;
}

.brand-lockup {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.brand-lockup span {
  color: var(--accent);
}

.brochure-head h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #f5f7fa;
  margin: 0 0 0.8rem;
}

.brochure-sub {
  font-size: 1.22rem;
  font-weight: 600;
  color: #f1f4f8;
  margin-bottom: 0.45rem;
}

.brochure-note {
  font-size: 1rem;
  color: #cdd4dc;
}

.brochure-main {
  padding: 1.45rem 1.35rem 1.5rem;
  display: grid;
  gap: 1rem;
}

.brochure-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.brochure-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.brochure-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.brochure-block h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  color: #212934;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.micro {
  font-size: 0.95rem;
  color: var(--muted);
}

.icon-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  background: #f9fbfd;
}

.icon-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  font-size: 1.2rem;
  color: #1a2028;
  background: var(--accent);
  margin-bottom: 0.45rem;
}

.icon-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: #1f2732;
}

.icon-card p {
  font-size: 0.93rem;
  color: #546172;
}

.no-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.no-item {
  border: 1px solid #303a46;
  background: #2a313b;
  border-radius: 12px;
  padding: 0.72rem 0.65rem;
  text-align: center;
}

.no-word {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.no-label {
  margin-top: 0.25rem;
  color: #dce2e8;
  font-size: 0.9rem;
}

.comm-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem;
  background: #f7fafe;
}

.comm-title {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 1.35rem;
  color: #1f2833;
  margin-bottom: 0.35rem;
}

.comm-desc {
  color: #556274;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.comm-rate {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.2rem;
  line-height: 0.9;
  color: #111722;
}

.comm-rate span {
  color: #6c7888;
  font-size: 1.2rem;
  margin-left: 0.22rem;
}

.tools-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.tool-chip {
  border: 1px dashed #a6b2c2;
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  background: #fbfdff;
  font-size: 0.92rem;
  color: #364252;
}

.tool-chip strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: #1f2733;
}

.brochure-cta {
  border: 1px solid #2f3843;
  background: linear-gradient(150deg, #27303a, #2f3945);
  border-radius: 12px;
  padding: 1rem;
  color: #eff3f7;
  display: grid;
  gap: 0.55rem;
}

.brochure-cta h2 {
  color: #f6f9fc;
  margin: 0;
}

.brochure-links {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.brochure-btn {
  text-decoration: none;
  border: 1px solid #4b5562;
  border-radius: 9px;
  padding: 0.45rem 0.72rem;
  font-size: 0.9rem;
  color: #eaf0f5;
}

.brochure-btn.primary {
  background: var(--accent);
  color: #161d27;
  border-color: #cedf29;
  font-weight: 700;
}

.brochure-print-tip {
  text-align: center;
  font-size: 0.84rem;
  color: #69768a;
  margin-top: 0.8rem;
}

@media (max-width: 900px) {
  .brochure-grid-3,
  .no-strip,
  .tools-row {
    grid-template-columns: 1fr;
  }

  .brochure-grid-2 {
    grid-template-columns: 1fr;
  }

  .brochure-wrap {
    margin-top: 5.8rem;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  nav,
  .footer-legal,
  footer,
  .brochure-print-tip {
    display: none !important;
  }

  .brochure-wrap {
    margin: 0;
    padding: 0;
    max-width: none;
  }

  .brochure-sheet {
    box-shadow: none;
    border-radius: 0;
    border: 1px solid #c8cfda;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .brochure-head {
    padding: 1.35rem 1.2rem 1rem;
  }

  .brochure-main {
    padding: 0.9rem;
    gap: 0.6rem;
  }

  .icon-card,
  .brochure-block,
  .comm-card,
  .no-item,
  .brochure-cta {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
