
.hw-agb-page-wrap{
  --hw-red:#b80f18;
  --hw-red-dark:#8f0b13;
  --hw-text:#151515;
  --hw-muted:#5f5f67;
  --hw-line:rgba(0,0,0,.08);
  --hw-bg:#f6f6f8;
  --hw-card:#ffffff;
  --hw-shadow:0 14px 44px rgba(15,15,20,.08);
  color:var(--hw-text);
  font-family:Montserrat,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}
.hw-agb-page-wrap *{box-sizing:border-box}
.hw-agb-shell{max-width:1320px;margin:0 auto;padding:32px 18px 56px}
.hw-agb-hero-card{
  display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.62fr);
  gap:24px;padding:34px;border-radius:28px;background:
  radial-gradient(circle at top right, rgba(184,15,24,.10), transparent 35%),
  linear-gradient(180deg,#fff 0%,#fbfbfc 100%);
  border:1px solid var(--hw-line);box-shadow:var(--hw-shadow);margin-bottom:28px
}
.hw-agb-kicker{
  display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--hw-red);background:rgba(184,15,24,.07);border:1px solid rgba(184,15,24,.14);
  border-radius:999px;padding:8px 12px
}
.hw-agb-hero-copy h1{font-size:clamp(34px,5vw,56px);line-height:1.02;margin:18px 0 12px;font-weight:800;letter-spacing:-.03em}
.hw-agb-subtitle{font-size:18px;color:#2f2f37;margin:0 0 16px}
.hw-agb-intro{font-size:16px;color:var(--hw-muted);max-width:820px}
.hw-agb-intro p:last-child{margin-bottom:0}
.hw-agb-meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:22px}
.hw-agb-meta-badge{
  min-width:170px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid var(--hw-line);
  box-shadow:0 8px 24px rgba(0,0,0,.05)
}
.hw-agb-meta-label{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#8b8b96;margin-bottom:6px}
.hw-agb-meta-badge strong,.hw-agb-meta-badge a{color:var(--hw-text);text-decoration:none}
.hw-agb-hero-side{display:flex;align-items:flex-start}
.hw-agb-info-card{
  width:100%;display:flex;gap:18px;align-items:flex-start;align-self:flex-start;padding:22px;border-radius:24px;
  background:linear-gradient(180deg,#191a1f 0%,#121216 100%);color:#fff;box-shadow:0 16px 42px rgba(0,0,0,.18)
}
.hw-agb-info-icon{
  width:54px;height:54px;flex:0 0 54px;border-radius:18px;display:grid;place-items:center;
  font-size:28px;font-weight:800;background:linear-gradient(180deg,var(--hw-red) 0%, var(--hw-red-dark) 100%)
}
.hw-agb-info-card h3{margin:4px 0 10px;font-size:22px}
.hw-agb-info-text{color:rgba(255,255,255,.82)}
.hw-agb-info-text p:last-child{margin-bottom:0}
.hw-agb-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:28px;align-items:start}
.hw-agb-sidebar{position:sticky;top:24px}
.hw-agb-card{
  background:var(--hw-card);border:1px solid var(--hw-line);border-radius:24px;padding:24px;
  box-shadow:var(--hw-shadow)
}
.hw-agb-card + .hw-agb-card{margin-top:22px}
.hw-agb-toc-card h3,.hw-agb-contact-card h3{margin:0 0 16px;font-size:20px}
.hw-agb-toc{display:flex;flex-direction:column;gap:8px}
.hw-agb-toc a{
  text-decoration:none;color:#27272d;padding:11px 12px;border-radius:14px;border:1px solid transparent;
  transition:.2s ease;background:transparent;font-weight:600
}
.hw-agb-toc a.level-3{margin-left:14px;font-size:14px;color:#5e5e68;font-weight:500}
.hw-agb-toc a:hover,.hw-agb-toc a.is-active{
  background:rgba(184,15,24,.06);border-color:rgba(184,15,24,.12);color:var(--hw-red)
}
.hw-agb-contact-text{color:var(--hw-muted)}
.hw-agb-company-block{
  margin-top:18px;padding-top:18px;border-top:1px solid var(--hw-line);display:flex;flex-direction:column;gap:8px
}
.hw-agb-company-block strong{font-size:16px}
.hw-agb-company-block span{white-space:pre-line;color:var(--hw-muted)}
.hw-agb-company-block a{color:var(--hw-red);text-decoration:none;font-weight:700}
.hw-agb-content-card{padding:30px}
.hw-agb-richtext{font-size:16px;line-height:1.75;color:#22252d}
.hw-agb-richtext > *:first-child{margin-top:0}
.hw-agb-richtext h2{
  font-size:28px;line-height:1.18;letter-spacing:-.02em;margin:28px 0 14px;padding-top:10px;
  position:relative
}
.hw-agb-richtext h2::before{
  content:"";display:block;width:54px;height:4px;border-radius:999px;
  background:linear-gradient(90deg,var(--hw-red) 0%,rgba(184,15,24,.18) 100%);margin-bottom:14px
}
.hw-agb-richtext h3{
  font-size:20px;line-height:1.3;margin:24px 0 10px;padding-left:14px;border-left:4px solid rgba(184,15,24,.22)
}
.hw-agb-richtext p,.hw-agb-richtext ul,.hw-agb-richtext ol{margin:0 0 16px}
.hw-agb-richtext ul,.hw-agb-richtext ol{padding-left:22px}
.hw-agb-richtext li{margin-bottom:8px}
.hw-agb-richtext a{color:var(--hw-red);font-weight:700;text-decoration:none}
.hw-agb-inline-notice{
  display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:16px;
  border:1px solid rgba(184,15,24,.14);background:rgba(184,15,24,.05);color:#22252d
}
.hw-agb-inline-notice-icon{
  width:26px;height:26px;flex:0 0 26px;border-radius:999px;display:grid;place-items:center;
  background:linear-gradient(180deg,var(--hw-red),var(--hw-red-dark));color:#fff;font-size:14px;font-weight:800;margin-top:1px
}
.hw-agb-inline-notice-text{flex:1;color:#3c3f46}
.hw-agb-inline-notice-link{color:var(--hw-red);font-weight:800;text-decoration:none;white-space:nowrap}
@media (max-width: 1080px){
  .hw-agb-layout{grid-template-columns:1fr}
  .hw-agb-sidebar{position:static}
}
@media (max-width: 900px){
  .hw-agb-hero-card{grid-template-columns:1fr;padding:24px}
}
@media (max-width: 640px){
  .hw-agb-shell{padding:18px 14px 40px}
  .hw-agb-hero-copy h1{font-size:34px}
  .hw-agb-content-card,.hw-agb-card{padding:20px}
  .hw-agb-meta-badge{width:100%}
  .hw-agb-inline-notice{flex-wrap:wrap}
}


@media (max-width: 768px){
  .hw-agb-hero-side,
  .hw-agb-sidebar{
    display:none !important;
  }

  .hw-agb-hero-card{
    grid-template-columns:1fr !important;
    padding:20px;
    margin-bottom:18px;
  }

  .hw-agb-layout{
    grid-template-columns:1fr !important;
    gap:0;
  }

  .hw-agb-content{
    width:100%;
  }

  .hw-agb-content-card{
    padding:22px 18px;
  }

  .hw-agb-hero-copy h1{
    margin-bottom:10px;
  }

  .hw-agb-meta{
    margin-top:18px;
  }
}


.hw-agb-layout,
.hw-agb-content,
.hw-agb-content-card,
.hw-agb-richtext{
  min-width:0;
}

.hw-agb-richtext{
  overflow-wrap:anywhere;
  word-break:break-word;
}

.hw-agb-richtext p,
.hw-agb-richtext li,
.hw-agb-richtext h2,
.hw-agb-richtext h3{
  max-width:100%;
}

@media (max-width: 768px){
  .hw-agb-shell,
  .hw-agb-hero-card,
  .hw-agb-layout,
  .hw-agb-content,
  .hw-agb-content-card{
    width:100%;
    max-width:100%;
    min-width:0;
  }

  .hw-agb-page-wrap{
    overflow-x:hidden;
  }

  .hw-agb-richtext{
    font-size:15px;
    line-height:1.7;
  }

  .hw-agb-richtext h2{
    font-size:28px;
    line-height:1.12;
    word-break:break-word;
  }

  .hw-agb-content-card{
    overflow:hidden;
  }
}

