/* ==========================================================================
   누수방수해결사 - design tokens (photo-forward, dark hero + warm accent)
   ========================================================================== */
:root {
  --bg: #f7f6f4;
  --bg-alt: #efece7;
  --surface: #ffffff;

  --ink-dark: #16181d;
  --ink-dark-soft: #23262d;
  --amber: #f0972a;
  --amber-dark: #c96f13;
  --teal: #0f8b8f;
  --green: #1f9d63;

  --ink: #1f2937;
  --ink-soft: #4b5563;
  --ink-muted: #6b7280;
  --ink-inverse: #ece9e3;
  --ink-inverse-muted: #b7b2a8;

  --border: rgba(31, 41, 55, 0.09);
  --border-strong: rgba(31, 41, 55, 0.14);

  --radius-lg: 1.25rem;
  --radius-md: 0.85rem;
  --radius-full: 999px;

  --container: 1320px;
  --container-narrow: 880px;

  --shadow-card: 0 22px 45px -30px rgba(22, 24, 29, 0.5), 0 2px 8px rgba(22, 24, 29, 0.06);
  --shadow-card-hover: 0 28px 55px -28px rgba(22, 24, 29, 0.55), 0 4px 10px rgba(22, 24, 29, 0.08);

  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { font-weight: 900; letter-spacing: -0.03em; color: var(--ink-dark); margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ink-dark); outline-offset: 3px; border-radius: 4px;
}
.site-footer :focus-visible, .cta-box :focus-visible, .hero :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; background: var(--amber-dark); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: var(--radius-md); font-weight: 700; z-index: 1000; transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); }

.text-accent { color: var(--amber-dark); }
.text-emerald { color: var(--green); }
.text-center { text-align: center; }

.gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, var(--amber-dark), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  border-radius: var(--radius-full); font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary { background: var(--amber-dark); color: #fff; box-shadow: 0 14px 30px -10px rgba(201, 111, 19, 0.55); border-color: var(--amber-dark); }
.btn-primary:hover { background: #a65c0d; border-color: #a65c0d; transform: translateY(-2px); }

.btn-dark { background: var(--ink-dark); color: #fff; border-color: var(--ink-dark); }
.btn-dark:hover { background: #000; border-color: #000; transform: translateY(-2px); }

.btn-outline { background: var(--surface); color: var(--ink-dark); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--ink-dark); }

.btn-cta { background: #fff; color: var(--ink-dark); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.35); }
.btn-cta:hover { background: var(--bg-alt); transform: translateY(-3px); }

.btn-compact { padding: 0.5rem 1.25rem; font-size: 0.85rem; line-height: 1.2; flex-direction: column; gap: 0.1rem; }
.btn-strong { font-weight: 900; }
.btn-large { padding: 1.1rem 2.25rem; font-size: 1.1rem; }
.btn-xl { padding: 1.4rem 3rem; font-size: 1.35rem; }
.btn-xl:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(247, 246, 244, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0.9rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; font-weight: 900; color: var(--ink-dark); letter-spacing: -0.03em; white-space: nowrap; }

.brand-mark {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: linear-gradient(140deg, var(--ink-dark), var(--amber-dark));
  box-shadow: 0 6px 14px -4px rgba(22, 24, 29, 0.45);
}
.brand-mark svg { width: 1.2rem; height: 1.2rem; }

.primary-nav ul { display: flex; gap: 1.75rem; }
.nav-item { position: relative; }

.primary-nav > ul > .nav-item > a {
  display: inline-block; padding: 0.5rem 0; font-size: 0.95rem; font-weight: 700; color: var(--ink-muted);
  transition: color 0.2s ease;
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--ink-dark); }

.sub-menu {
  visibility: hidden; opacity: 0; pointer-events: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 11rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 0.5rem; z-index: 10;
  transition: opacity 0.15s ease;
}
.nav-item.has-children:hover .sub-menu,
.nav-item.has-children:focus-within .sub-menu { visibility: visible; opacity: 1; pointer-events: auto; }

.sub-menu li a { display: block; padding: 0.6rem 0.85rem; border-radius: 0.6rem; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.sub-menu li a:hover, .sub-menu li a.is-active { background: var(--bg-alt); color: var(--ink-dark); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle { display: none; width: 2.5rem; height: 2.5rem; border: 1px solid var(--border-strong); border-radius: var(--radius-md); position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 25%; width: 50%; height: 2px; background: var(--ink-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; transform: translateY(-50%); }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-card);
    max-height: 0; overflow: hidden; overflow-y: auto; transition: max-height 0.25s ease;
  }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.5rem 1rem; }
  .primary-nav > ul > .nav-item > a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  .sub-menu { visibility: visible; opacity: 1; pointer-events: auto; display: block; position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0.5rem 1rem; background: transparent; }
  .nav-item.has-children .sub-menu { display: none; }
  .nav-item.has-children.is-open .sub-menu { display: block; }
  .primary-nav.is-open { max-height: 32rem; }
  .btn-compact { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 5.5rem 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; line-height: 1.35; }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; font-weight: 500; }

/* ==========================================================================
   Hero (dark, photo-forward)
   ========================================================================== */
.hero {
  position: relative; padding: 10rem 0 6rem; overflow: hidden;
  background: linear-gradient(180deg, var(--ink-dark) 0%, var(--ink-dark-soft) 100%);
  color: #fff;
}

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.35;
  background-image: url('../img/photo-03.jpg');
  background-size: cover; background-position: center;
  filter: grayscale(30%);
}

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(22,24,29,0.55) 0%, rgba(22,24,29,0.92) 85%);
}

.hero-inner { position: relative; z-index: 1; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(240, 151, 42, 0.15); border: 1px solid rgba(240, 151, 42, 0.4);
  border-radius: var(--radius-full); padding: 0.5rem 1.25rem; margin-bottom: 1.5rem;
  font-size: 0.9rem; font-weight: 700; color: #ffbb70;
}
.badge-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--amber); animation: pulse 1.8s ease-in-out infinite; }

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.3; margin-bottom: 1.25rem; color: #fff; }
.hero-sub { font-size: 1.1rem; color: var(--ink-inverse-muted); font-weight: 500; max-width: 40rem; margin: 0 auto 2.25rem; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 3rem; }

.stat-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem;
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 2.25rem;
}
.stat-row .stat-num { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: #fff; }
.stat-row .stat-label { font-size: 0.85rem; color: var(--ink-inverse-muted); font-weight: 600; margin-top: 0.2rem; }

@media (max-width: 640px) {
  .hero { padding: 8rem 0 4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   Category chips
   ========================================================================== */
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 2.75rem; }
.chip {
  display: inline-flex; align-items: center; padding: 0.55rem 1.1rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-strong); font-size: 0.88rem; font-weight: 700; color: var(--ink-soft);
  background: var(--surface); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { border-color: var(--amber-dark); color: var(--amber-dark); }
.chip.is-active { background: var(--ink-dark); color: #fff; border-color: var(--ink-dark); }

/* ==========================================================================
   Photo gallery
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-card); background: var(--ink-dark); aspect-ratio: 4 / 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
@media (prefers-reduced-motion: reduce) { .gallery-item:hover { transform: none; } }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .gallery-item:hover img { transform: none; } }

.gallery-overlay {
  position: absolute; inset: auto 0 0 0; padding: 1.1rem 1rem 0.9rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
}
.gallery-overlay .cat-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.02em;
  color: #ffbb70; background: rgba(240, 151, 42, 0.18); border: 1px solid rgba(240, 151, 42, 0.4);
  padding: 0.18rem 0.55rem; border-radius: var(--radius-full); margin-bottom: 0.4rem;
}
.gallery-overlay h3 { color: #fff; font-size: 0.92rem; line-height: 1.4; margin-bottom: 0.2rem; }
.gallery-overlay .region { font-size: 0.78rem; color: rgba(255,255,255,0.75); font-weight: 600; }

.gallery-more { text-align: center; margin-top: 2.5rem; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10, 11, 13, 0.92);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-inner { max-width: min(90vw, 900px); max-height: 85vh; position: relative; }
.lightbox-inner img { max-width: 100%; max-height: 75vh; border-radius: var(--radius-md); margin: 0 auto; }
.lightbox-caption { color: #fff; text-align: center; margin-top: 1rem; }
.lightbox-caption .cat-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800; color: #ffbb70;
  background: rgba(240, 151, 42, 0.18); border: 1px solid rgba(240, 151, 42, 0.4);
  padding: 0.2rem 0.6rem; border-radius: var(--radius-full); margin-bottom: 0.5rem;
}
.lightbox-caption h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.25rem; }
.lightbox-caption p { color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; }

.lightbox-close {
  position: absolute; top: -3rem; right: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ==========================================================================
   Cards (reviews, info, faq summary)
   ========================================================================== */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 2rem; position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%; font-size: 1.6rem; margin-bottom: 1.25rem;
}
.icon-circle--amber { background: rgba(240, 151, 42, 0.14); }
.icon-circle--teal { background: rgba(15, 139, 143, 0.12); }
.icon-circle--dark { background: rgba(22, 24, 29, 0.08); }

.info-card h3 { font-size: 1.25rem; margin-bottom: 0.65rem; }
.info-card p { color: var(--ink-muted); font-weight: 500; line-height: 1.7; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
@media (prefers-reduced-motion: reduce) { .review-card:hover { transform: none; } }
.stars { color: var(--amber); letter-spacing: 0.1em; margin-bottom: 0.75rem; font-size: 0.9rem; }
.stars span { color: var(--ink-dark); font-weight: 700; margin-left: 0.5rem; letter-spacing: normal; }
.quote { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1rem; font-weight: 500; }
.quote-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.85rem; }
.quote-name { font-weight: 700; color: var(--ink-dark); }
.quote-tag {
  font-size: 0.7rem; color: var(--amber-dark); background: rgba(240, 151, 42, 0.1);
  border: 1px solid rgba(240, 151, 42, 0.25); padding: 0.25rem 0.6rem; border-radius: var(--radius-full);
}

/* ==========================================================================
   FAQ / table / accordion
   ========================================================================== */
.faq-summary { margin-bottom: 2.5rem; border-color: rgba(15, 139, 143, 0.3); }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 480px; border-collapse: collapse; text-align: left; font-size: 0.9rem; }
thead th { color: var(--ink-muted); font-weight: 700; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-strong); }
tbody th, tbody td { padding: 1.1rem 0.75rem 1.1rem 0; vertical-align: top; border-bottom: 1px solid var(--border); color: var(--ink-soft); font-weight: 500; }
tbody th { color: var(--ink-dark); font-weight: 700; }

.accordion { display: flex; flex-direction: column; gap: 1rem; }
.accordion-item { padding: 0; overflow: hidden; }
.accordion-item:hover { transform: none; box-shadow: var(--shadow-card); }
.accordion-item h3 { margin: 0; font-size: 1rem; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 1.75rem; text-align: left; font-weight: 700; font-size: 1.02rem; color: var(--ink-dark);
}
.chevron { color: var(--ink-muted); font-size: 1.25rem; transition: transform 0.2s ease; flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.accordion-panel { padding: 0 1.75rem 1.4rem; border-top: 1px solid var(--border); padding-top: 1rem; color: var(--ink-soft); font-weight: 500; line-height: 1.7; }

/* ==========================================================================
   Notice list
   ========================================================================== */
.notice-list { display: flex; flex-direction: column; }
.notice-item { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.notice-item:first-child { border-top: 1px solid var(--border-strong); }
.notice-title { font-weight: 700; color: var(--ink-dark); }
.notice-tag { display: inline-block; margin-right: 0.6rem; font-size: 0.72rem; font-weight: 800; color: var(--amber-dark); background: rgba(240, 151, 42, 0.1); padding: 0.2rem 0.55rem; border-radius: var(--radius-full); }
.notice-date { font-size: 0.85rem; color: var(--ink-muted); font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { text-align: center; }
.contact-card .icon-circle { margin: 0 auto 1.25rem; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--ink-muted); font-weight: 500; margin-bottom: 1.25rem; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, var(--ink-dark) 0%, var(--ink-dark-soft) 100%);
  border-radius: 1.75rem; padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 35px 70px -30px rgba(22, 24, 29, 0.55);
}
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.35; margin-bottom: 1.1rem; }
.cta-box p { font-size: 1.1rem; color: var(--ink-inverse); font-weight: 500; margin-bottom: 2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink-dark); padding: 3rem 0; font-size: 0.9rem; color: var(--ink-inverse-muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-brand { color: var(--ink-inverse); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: #fff; }
@media (max-width: 640px) { .footer-inner { flex-direction: column; text-align: center; } }

/* ==========================================================================
   Sub-page hero (light)
   ========================================================================== */
.page-hero { padding: 9rem 0 3rem; text-align: center; background: var(--bg-alt); }
.page-hero .badge { background: rgba(240, 151, 42, 0.1); border-color: rgba(240, 151, 42, 0.3); color: var(--amber-dark); margin-bottom: 1.25rem; }
.page-hero .badge-dot { background: var(--amber-dark); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 0.85rem; color: var(--ink-dark); }
.page-hero p { color: var(--ink-muted); font-weight: 500; font-size: 1.02rem; max-width: 620px; margin: 0 auto; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero { padding: 8rem 0 3rem; text-align: center; }
.legal-hero p { color: var(--ink-muted); font-weight: 600; margin-top: 0.5rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--ink-muted); margin-bottom: 1.5rem; }
.back-link:hover { color: var(--ink-dark); }
.legal-content { padding-bottom: 6rem; }
.legal-content section { margin-bottom: 2.5rem; }
.legal-content h2 { font-size: 1.3rem; margin-bottom: 0.9rem; padding-top: 0.5rem; }
.legal-content h3 { font-size: 1.02rem; margin: 1.25rem 0 0.5rem; }
.legal-content p { color: var(--ink-soft); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-content ol, .legal-content ul { list-style: revert; padding-left: 1.4rem; margin: 0 0 1rem; color: var(--ink-soft); line-height: 1.8; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content strong { color: var(--ink-dark); }
.legal-content .table-scroll { margin: 1rem 0 1.5rem; }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .badge-dot { animation: none; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
