/*
========================================================
ファイル      : hlab-rules.css
ページ        : ひとり商いラボ 規約・各種方針
対象URL       : https://emongroup.com/hlab/rules/
用途          : 規約・特商法・ガイドライン・ポリシー一覧
バージョン    : 1.3
最終更新日    : 2026-08-22
依存CSS       : hlab-common.css
========================================================
*/

.hlab-rules {
  min-height: 100vh;
  color: var(--hl-text);
  background-color: #fff9ef;
  background-image:
    linear-gradient(
      rgba(255, 249, 239, 0.86),
      rgba(255, 249, 239, 0.86)
    ),
    var(--hlab-rules-page-bg);
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    YuGothic,
    Meiryo,
    sans-serif;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.hlab-rules__page {
  padding-top: 24px;
  padding-bottom: 86px;
}

.hlab-rules__topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.hlab-rules__logo {
  width: min(390px, 68%);
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.hlab-rules__logo img {
  width: 100%;
}

.hlab-rules__top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.hlab-rules__top-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(106, 59, 34, 0.12);
  border-radius: 999px;
  color: var(--hl-brown);
  background: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 900;
}

.hlab-rules__top-actions .hlab-rules__primary-link {
  color: #fff !important;
  border-color: transparent;
  background:
    linear-gradient(
      145deg,
      #ff9f00,
      var(--hl-orange-dark)
    );
}

.hlab-rules__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: center;
  min-height: 340px;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid var(--hl-border);
  border-radius: 36px;
  background-color: var(--hl-cream);
  background-image:
    linear-gradient(
      rgba(255, 251, 245, 0.09),
      rgba(255, 251, 245, 0.09)
    ),
    var(--hlab-rules-hero-bg);
  background-position: center;
  background-size: cover;
  box-shadow: var(--hl-shadow);
  overflow: hidden;
}

.hlab-rules__eyebrow,
.hlab-rules__intro span,
.hlab-rules__card-label {
  margin: 0;
  color: var(--hl-orange-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hlab-rules__hero h1 {
  margin: 7px 0 12px;
  color: var(--hl-brown);
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.25;
  font-weight: 900;
}

.hlab-rules__lead {
  max-width: 700px;
  margin: 0;
  color: var(--hl-brown-soft);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 780;
}

.hlab-rules__hero-visual {
  display: grid;
  place-items: center;
}

.hlab-rules__hero-visual img {
  width: min(230px, 100%);
  filter:
    drop-shadow(
      0 16px 24px rgba(74, 36, 20, 0.12)
    );
}

.hlab-rules__intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
  margin: 22px 0;
  padding: 24px 28px;
  border: 1px solid rgba(167, 201, 87, 0.38);
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(244, 251, 229, 0.96),
      rgba(255, 255, 255, 0.94)
    );
}

.hlab-rules__intro h2 {
  margin: 5px 0 0;
  color: var(--hl-brown);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.45;
  font-weight: 900;
}

.hlab-rules__intro p {
  margin: 0;
  color: var(--hl-muted);
  font-size: 14px;
  font-weight: 720;
}

.hlab-rules__documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.hlab-rules__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--hl-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--hl-shadow);
  overflow: hidden;
}

.hlab-rules__card::before {
  content: "";
  position: absolute;
  top: -48px;
  right: -44px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    rgba(255, 191, 47, 0.15);
}

.hlab-rules__card:nth-child(2)::before {
  background:
    rgba(167, 201, 87, 0.17);
}

.hlab-rules__card:nth-child(3)::before {
  background:
    rgba(240, 138, 0, 0.12);
}

.hlab-rules__card:nth-child(4)::before {
  background:
    rgba(93, 138, 168, 0.13);
}

.hlab-rules__card-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--hl-brown);
  background: var(--hl-cream-deep);
  font-size: 18px;
  font-weight: 950;
}

.hlab-rules__card:nth-child(2)
.hlab-rules__card-number {
  background: rgba(167, 201, 87, 0.26);
}

.hlab-rules__card:nth-child(3)
.hlab-rules__card-number {
  background: rgba(255, 191, 47, 0.27);
}

.hlab-rules__card:nth-child(4)
.hlab-rules__card-number {
  background: rgba(93, 138, 168, 0.17);
}

.hlab-rules__card-label {
  position: relative;
  z-index: 1;
}

.hlab-rules__card h2 {
  position: relative;
  z-index: 1;
  margin: 5px 0 10px;
  color: var(--hl-brown);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  font-weight: 900;
}

.hlab-rules__card-description {
  position: relative;
  z-index: 1;
  min-height: 100px;
  margin: 0;
  color: var(--hl-muted);
  font-size: 14px;
  font-weight: 700;
}

.hlab-rules__card-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  margin: 20px 0 24px;
  padding: 16px 18px;
  border-radius: 18px;
  list-style: none;
  background: var(--hl-cream);
}

.hlab-rules__card-points li {
  position: relative;
  padding-left: 20px;
  color: var(--hl-brown-soft);
  font-size: 13px;
  font-weight: 800;
}

.hlab-rules__card-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--hl-orange-dark);
  font-weight: 950;
}

.hlab-rules__card .hlab-button {
  width: 100%;
  margin-top: auto;
}

.hlab-rules__note {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(240, 138, 0, 0.21);
  border-radius: 24px;
  background: rgba(255, 248, 238, 0.95);
}

.hlab-rules__note-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      #ffbf2f,
      var(--hl-orange)
    );
  font-size: 28px;
  font-weight: 950;
}

.hlab-rules__note h2 {
  margin: 0 0 5px;
  color: var(--hl-brown);
  font-size: 19px;
  font-weight: 900;
}

.hlab-rules__note p {
  margin: 0;
  color: var(--hl-muted);
  font-size: 13px;
  font-weight: 720;
}

.hlab-rules__footer {
  margin-top: 34px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(106, 59, 34, 0.12);
  color: var(--hl-muted);
  text-align: center;
  font-size: 12px;
}

.hlab-rules__footer p {
  margin: 3px 0;
}

.hlab-rules__member-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  color: #fff !important;
  background:
    linear-gradient(
      145deg,
      #ff9f00,
      var(--hl-orange-dark)
    );
  box-shadow:
    0 12px 28px rgba(216, 111, 0, 0.27);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hlab-rules__documents {
    grid-template-columns: 1fr;
  }

  .hlab-rules__card-description {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .hlab-rules__topbar {
    display: block;
  }

  .hlab-rules__logo {
    width: min(360px, 100%);
  }

  .hlab-rules__top-actions {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .hlab-rules__hero {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .hlab-rules__hero-visual {
    display: none;
  }

  .hlab-rules__intro {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .hlab-rules {
    background-attachment: scroll;
  }

  .hlab-rules__page {
    padding-top: 14px;
    padding-bottom: 92px;
  }

  .hlab-rules__top-actions a {
    min-height: 38px;
    padding: 7px 11px;
    font-size: 11px;
  }

  .hlab-rules__hero {
    min-height: 0;
  }

  .hlab-rules__hero h1 {
    font-size: 34px;
  }

  .hlab-rules__intro,
  .hlab-rules__card,
  .hlab-rules__note {
    padding: 20px 16px;
  }

  .hlab-rules__note {
    grid-template-columns: 1fr;
  }

  .hlab-rules__member-top {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    padding: 10px 16px;
  }
}

/* ========================================================
   ヒーロー背景 可読性統一
   左側の文章を優先し、背景イラストは右側へ残す
======================================================== */

.hlab-rules__hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 251, 245, 0.995) 0%,
      rgba(255, 251, 245, 0.98) 34%,
      rgba(255, 251, 245, 0.94) 54%,
      rgba(255, 251, 245, 0.54) 72%,
      rgba(255, 251, 245, 0.12) 100%
    ),
    var(--hlab-rules-hero-bg);
  background-position: center right;
  background-size: cover;
}

.hlab-rules__hero > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 720px) {
  .hlab-rules__hero {
    background-image:
      linear-gradient(
        rgba(255, 251, 245, 0.96),
        rgba(255, 251, 245, 0.96)
      ),
      var(--hlab-rules-hero-bg);
    background-position: center;
  }
}

/* ========================================================
   規約・各種方針 ページ階層整理 v1.1 / 2026-08-11
   公式デザインテンプレート v8.59
   ・ページ題名はフラット
   ・「規約一覧」を1つの主グループとしてまとめる
   ・利用規約 / ガイドライン / プライバシーは個別カード
   ・説明だけの独立カードを減らし、階層を明確にする
   ・PC / スマホとも同じ構造
   ・文書URL、会員判定、noindex は変更しない
======================================================== */

/* --------------------------------------------------------
   1. ページ題名
-------------------------------------------------------- */
.hlab-rules-page .hlab-rules__hero {
  grid-template-columns: minmax(0, 1fr) 145px;
  gap: 22px;
  min-height: 158px;
  margin-bottom: 20px;
  padding: 14px 8px 18px;
  border: 0;
  border-bottom: 2px solid rgba(240, 138, 0, 0.28);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hlab-rules-page .hlab-rules__hero-copy {
  align-self: center;
  padding-left: 2px;
}

.hlab-rules-page .hlab-rules__hero h1 {
  margin: 4px 0 6px;
  color: var(--hl-brown);
  font-size: clamp(30px, 3.5vw, 38px);
  line-height: 1.24;
}

.hlab-rules-page .hlab-rules__lead {
  max-width: 760px;
  color: #705746;
  font-size: 13px;
  line-height: 1.62;
  font-weight: 700;
}

.hlab-rules-page .hlab-rules__hero-visual img {
  width: min(104px, 100%);
  filter: drop-shadow(0 7px 10px rgba(74, 36, 20, 0.07));
}

/* --------------------------------------------------------
   2. 主グループ
   v8.59の資料ページ型グループ寸法を適用
-------------------------------------------------------- */
.hlab-rules-page .hlab-rules__group {
  position: relative;
  margin: 0 0 22px;
  padding: 14px;
  border-top: 5px solid #f08a00;
  border-right: 2px solid rgba(240, 138, 0, 0.38);
  border-bottom: 2px solid rgba(240, 138, 0, 0.38);
  border-left: 2px solid rgba(240, 138, 0, 0.38);
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(240, 138, 0, 0.070) 0%,
      rgba(240, 138, 0, 0.030) 48%,
      rgba(240, 138, 0, 0) 100%
    ),
    linear-gradient(
      180deg,
      #fff5e8 0%,
      #f9ead4 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 20px rgba(105, 63, 24, 0.055);
}

.hlab-rules-page .hlab-rules__group::before {
  position: absolute;
  top: -5px;
  left: 28px;
  width: 84px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  content: "";
  background: #ffd166;
}

/* --------------------------------------------------------
   3. グループ見出し
-------------------------------------------------------- */
.hlab-rules-page .hlab-rules__group-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0 0 12px;
  padding: 4px 7px 10px;
  border-bottom: 1px solid rgba(240, 138, 0, 0.18);
}

.hlab-rules-page .hlab-rules__group-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(240, 138, 0, 0.42);
  border-radius: 14px;
  color: #b86800;
  background:
    linear-gradient(
      145deg,
      #fffaf0,
      #ffe9c7
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 3px 8px rgba(105, 63, 24, 0.055);
  font-size: 13px;
  font-weight: 950;
}

.hlab-rules-page .hlab-rules__group-head span {
  color: #b86800;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hlab-rules-page .hlab-rules__group-head h2 {
  margin: 2px 0 3px;
  color: #b86800;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.36;
  font-weight: 950;
}

.hlab-rules-page .hlab-rules__group-head p {
  max-width: 780px;
  margin: 0;
  color: var(--hl-muted);
  font-size: 11px;
  line-height: 1.58;
  font-weight: 720;
}

/* --------------------------------------------------------
   4. 個別文書カード
-------------------------------------------------------- */
.hlab-rules-page .hlab-rules__documents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
}

.hlab-rules-page .hlab-rules__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(240, 138, 0, 0.20);
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #fff8ef 100%
    );
  box-shadow: none;
  overflow: hidden;
}

.hlab-rules-page .hlab-rules__card::before {
  top: -54px;
  right: -48px;
  width: 140px;
  height: 140px;
  background: rgba(255, 191, 47, 0.10);
}

.hlab-rules-page .hlab-rules__card:nth-child(2)::before {
  background: rgba(139, 99, 182, 0.08);
}

.hlab-rules-page .hlab-rules__card:nth-child(3)::before {
  background: rgba(63, 127, 196, 0.07);
}

.hlab-rules-page .hlab-rules__card-number {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border: 1px solid rgba(240, 138, 0, 0.20);
  border-radius: 13px;
  color: #b86800;
  background: #fff4df;
  font-size: 13px;
}

.hlab-rules-page .hlab-rules__card:nth-child(2)
.hlab-rules__card-number {
  color: #6e4a98;
  border-color: rgba(139, 99, 182, 0.20);
  background: rgba(139, 99, 182, 0.09);
}

.hlab-rules-page .hlab-rules__card:nth-child(3)
.hlab-rules__card-number {
  color: #2f67a5;
  border-color: rgba(63, 127, 196, 0.18);
  background: rgba(63, 127, 196, 0.08);
}

.hlab-rules-page .hlab-rules__card-label {
  font-size: 9px;
  line-height: 1.3;
}

.hlab-rules-page .hlab-rules__card h3 {
  position: relative;
  z-index: 1;
  margin: 4px 0 7px;
  color: var(--hl-brown);
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.38;
  font-weight: 950;
}

.hlab-rules-page .hlab-rules__card-description {
  min-height: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.62;
}

.hlab-rules-page .hlab-rules__card-points {
  gap: 5px;
  margin: 12px 0 14px;
  padding: 11px 12px;
  border: 1px solid rgba(106, 59, 34, 0.07);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.52);
}

.hlab-rules-page .hlab-rules__card-points li {
  padding-left: 17px;
  font-size: 11px;
  line-height: 1.5;
}

.hlab-rules-page .hlab-rules__card .hlab-button {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 12px;
}

/* --------------------------------------------------------
   5. 補足
   独立した大カードではなく、補助情報として弱める
-------------------------------------------------------- */
.hlab-rules-page .hlab-rules__note {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(139, 99, 182, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      #fffaf4 0%,
      #fff6ed 100%
    );
  box-shadow: none;
}

.hlab-rules-page .hlab-rules__note-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 18px;
}

.hlab-rules-page .hlab-rules__note h2 {
  margin-bottom: 2px;
  font-size: 15px;
  line-height: 1.4;
}

.hlab-rules-page .hlab-rules__note p {
  font-size: 11px;
  line-height: 1.55;
}

/* --------------------------------------------------------
   6. タブレット / スマホ
-------------------------------------------------------- */
@media (max-width: 900px) {
  .hlab-rules-page .hlab-rules__documents {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hlab-rules-page .hlab-rules__hero {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    margin-bottom: 16px;
    padding: 12px 4px 16px;
    border: 0;
    border-bottom: 2px solid rgba(240, 138, 0, 0.24);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hlab-rules-page .hlab-rules__hero-visual {
    display: grid;
    order: -1;
  }

  .hlab-rules-page .hlab-rules__hero-visual img {
    width: 76px;
    max-width: 76px;
    filter: drop-shadow(0 5px 8px rgba(74, 36, 20, 0.06));
  }

  .hlab-rules-page .hlab-rules__hero h1 {
    margin: 3px 0 5px;
    font-size: clamp(28px, 8.3vw, 35px);
    line-height: 1.24;
  }

  .hlab-rules-page .hlab-rules__lead {
    font-size: 13px;
    line-height: 1.6;
  }

  .hlab-rules-page .hlab-rules__group {
    padding: 8px;
    border-top: 4px solid #f08a00;
    border-right: 1px solid rgba(240, 138, 0, 0.30);
    border-bottom: 1px solid rgba(240, 138, 0, 0.30);
    border-left: 1px solid rgba(240, 138, 0, 0.30);
    border-radius: 18px;
    background:
      linear-gradient(
        180deg,
        #fff5e8 0%,
        #faedd9 100%
      );
  }

  .hlab-rules-page .hlab-rules__group-head {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 9px;
    padding: 4px 5px 9px;
  }

  .hlab-rules-page .hlab-rules__group-number {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 12px;
  }

  .hlab-rules-page .hlab-rules__card {
    padding: 15px;
    border-radius: 15px;
  }

  .hlab-rules-page .hlab-rules__note {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px;
  }

  .hlab-rules-page .hlab-rules__note-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 15px;
  }
}

/* ========================================================
   上帯・公式ロゴ テンプレート準拠 v1.2 / 2026-08-11
   公式デザインテンプレート v8.59
   ・ロゴは「カード」ではなくブランド要素
   ・白背景、余白、角丸をロゴ自体へ付けない
   ・承認済み会員ページと同じPC幅220pxを基準
   ・スマホは165px / 44%を基準
   ・上帯内でロゴと操作導線を横並びに保つ
======================================================== */

.hlab-rules__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hlab-rules__logo {
  display: block;
  flex: 0 1 220px;
  width: min(220px, 48%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hlab-rules__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hlab-rules__top-actions {
  flex: 0 1 auto;
}

@media (max-width: 720px) {
  .hlab-rules__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .hlab-rules__logo {
    flex: 0 1 190px;
    width: min(190px, 46%);
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .hlab-rules__top-actions {
    justify-content: flex-end;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .hlab-rules__logo {
    flex: 0 1 165px;
    width: min(165px, 44%);
  }
}



/* ========================================================
   特定商取引法に基づく表記 /rules/law/ v1.0 / 2026-08-22
======================================================== */

.hlab-law__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0 0 14px;
  color: var(--hl-muted);
  font-size: 12px;
  font-weight: 750;
}

.hlab-law__breadcrumb a {
  color: var(--hl-orange-dark);
  font-weight: 900;
}

.hlab-law__intro {
  margin: 22px 0;
  padding: 22px 26px;
  border: 1px solid rgba(240, 138, 0, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.hlab-law__intro p {
  margin: 0;
  color: var(--hl-brown-soft);
  font-size: 14px;
  font-weight: 720;
}

.hlab-law__sheet {
  margin-top: 22px;
  border: 1px solid var(--hl-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--hl-shadow);
  overflow: hidden;
}

.hlab-law__sheet-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--hl-border);
  background: linear-gradient(135deg, #fff7e8, #fffdfa);
}

.hlab-law__sheet-head span {
  color: var(--hl-orange-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.hlab-law__sheet-head h2 {
  margin: 5px 0 0;
  color: var(--hl-brown);
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.4;
  font-weight: 950;
}

.hlab-law__list {
  margin: 0;
}

.hlab-law__row {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  border-bottom: 1px solid rgba(106, 59, 34, 0.1);
}

.hlab-law__row:last-child {
  border-bottom: 0;
}

.hlab-law__row dt,
.hlab-law__row dd {
  margin: 0;
  padding: 18px 22px;
}

.hlab-law__row dt {
  color: var(--hl-brown);
  background: rgba(255, 248, 238, 0.72);
  font-size: 13px;
  font-weight: 950;
}

.hlab-law__row dd {
  color: var(--hl-brown-soft);
  font-size: 14px;
  font-weight: 700;
}

.hlab-law__row dd p {
  margin: 0 0 8px;
}

.hlab-law__row dd p:last-child {
  margin-bottom: 0;
}

.hlab-law__row dd ul {
  margin: 0;
  padding-left: 1.25em;
}

.hlab-law__row dd a {
  color: var(--hl-orange-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hlab-law__current-offer {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(167, 201, 87, 0.36);
  border-radius: 16px;
  background: rgba(244, 251, 229, 0.76);
}

.hlab-law__current-offer strong {
  color: var(--hl-brown);
}

.hlab-law__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .hlab-law__intro,
  .hlab-law__sheet-head {
    padding: 20px 16px;
  }

  .hlab-law__row {
    grid-template-columns: 1fr;
  }

  .hlab-law__row dt {
    padding: 14px 16px 8px;
    background: rgba(255, 248, 238, 0.92);
  }

  .hlab-law__row dd {
    padding: 8px 16px 16px;
  }

  .hlab-law__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hlab-law__actions .hlab-button {
    width: 100%;
  }
}
