/* ==========================================================================
   Flower Palace Decor Ghana
   Plain CSS, no frameworks. Shared by index.html, terms.html, privacy.html
   ========================================================================== */

:root {
  --teal-950: #06201f;
  --teal-900: #0a2928;
  --teal-800: #0e3837;
  --teal-700: #154c49;
  --gold-500: #c79a3f;
  --gold-300: #dcb866;
  --gold-200: #ecd49b;
  --gold-ink: #7d5a14;
  --ivory: #f6f1e4;
  --ivory-50: #fbf8f0;
  --sand: #ece3cf;
  --ink: #10211f;
  --ink-soft: rgba(16, 33, 31, 0.74);
  --on-dark: rgba(246, 241, 228, 0.82);
  --on-dark-soft: rgba(246, 241, 228, 0.64);
  --line-dark: rgba(246, 241, 228, 0.16);
  --line-light: rgba(16, 33, 31, 0.14);

  --header-h: 72px;
  --maxw: 1200px;
  --sheet: 56px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--teal-900);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
em { font-style: italic; }

[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.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: 16px; top: -60px; z-index: 200;
  background: var(--gold-300); color: var(--teal-950);
  padding: 10px 18px; border-radius: 999px; font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--gold-300);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.8;
}
.on-light .eyebrow, .on-sand .eyebrow { color: var(--gold-ink); }

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  line-height: 1.12;
  margin-top: 18px;
}
.section-title em { color: var(--gold-300); }
.on-light .section-title em, .on-sand .section-title em { color: var(--gold-ink); }
.section-intro {
  margin-top: 18px; max-width: 54ch; color: var(--on-dark); font-size: 1.0625rem;
}
.on-light .section-intro, .on-sand .section-intro { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold-500); color: var(--teal-950); }
.btn--gold:hover {
  background: var(--gold-300); transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(199, 154, 63, 0.75);
}
.btn--line { border-color: rgba(246, 241, 228, 0.34); color: var(--ivory); }
.btn--line:hover { border-color: var(--gold-300); color: var(--gold-200); transform: translateY(-2px); }
.btn--ink { border-color: var(--line-light); color: var(--ink); }
.btn--ink:hover { border-color: var(--teal-800); background: var(--teal-800); color: var(--ivory); transform: translateY(-2px); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(6, 32, 31, 0.9);
  border-bottom-color: var(--line-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.01em; white-space: nowrap; }
.logo em { color: var(--gold-300); }

.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a:not(.nav-cta) {
  position: relative; font-size: 0.9375rem; color: var(--on-dark);
  padding: 6px 0; transition: color 0.25s ease;
}
.primary-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-300); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.primary-nav a:not(.nav-cta):hover,
.primary-nav a.is-active { color: var(--ivory); }
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 20px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
  border: 1px solid var(--gold-300); color: var(--gold-200);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.nav-cta:hover { background: var(--gold-300); color: var(--teal-950); }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--ivory); cursor: pointer; border-radius: 50%;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.nav-toggle .bars { position: relative; margin: 0 auto; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px;
    background: var(--teal-950);
    border-bottom: 1px solid var(--line-dark);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav-open .primary-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s;
  }
  .primary-nav a:not(.nav-cta) {
    padding: 16px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line-dark);
  }
  .primary-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 20px; text-align: center; padding: 14px 20px; }
}

/* ---------- Section sheets (rounded overlap transitions) ---------- */
.sheet {
  position: relative;
  margin-top: calc(var(--sheet) * -1);
  border-radius: var(--sheet) var(--sheet) 0 0;
  padding: clamp(80px, 9vw, 128px) 0 calc(clamp(80px, 9vw, 128px) + var(--sheet));
}
.on-light { background: var(--ivory); color: var(--ink); }
.on-sand  { background: var(--sand);  color: var(--ink); }
.on-teal  { background: var(--teal-800); color: var(--ivory); }
.on-deep  { background: var(--teal-900); color: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow-x: clip;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 calc(var(--sheet) + clamp(56px, 7vw, 96px));
  background:
    radial-gradient(90% 70% at 88% 4%, rgba(29, 98, 94, 0.55) 0%, transparent 60%),
    linear-gradient(172deg, var(--teal-800) 0%, var(--teal-950) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.04; font-weight: 400; margin-top: 22px;
  letter-spacing: -0.025em;
}
.hero h1 em { color: var(--gold-300); }
.hero .lead { margin-top: 26px; max-width: 46ch; font-size: 1.125rem; color: var(--on-dark); }
.hero .deliver {
  margin-top: 18px; display: flex; align-items: center; gap: 10px;
  font-size: 0.9375rem; color: var(--gold-200);
}
.hero .deliver svg { width: 18px; height: 18px; flex: none; }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; width: 100%; max-width: 540px; margin-left: auto; padding-bottom: 22%; }
.arch {
  overflow: hidden; background: var(--teal-700);
  border-radius: 999px 999px 10px 10px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--lg {
  width: 84%; aspect-ratio: 6 / 7; position: relative; z-index: 1;
  outline: 1px solid rgba(220, 184, 102, 0.55); outline-offset: 10px;
}
.arch--lg img { object-position: 52% 50%; }
.arch--sm {
  position: absolute; right: 0; bottom: 0; z-index: 2; width: 37%; aspect-ratio: 3 / 4;
  border: 6px solid var(--teal-900);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}

/* hero load-in (transform and opacity only, no layout shift) */
.rise { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.range {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px;
}
.range figure { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3.1; background: var(--teal-700); }
.range img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.range figure:hover img { transform: scale(1.04); }
.range figcaption {
  position: absolute; inset: auto 0 0 0; padding: 36px 18px 16px;
  font-size: 0.9rem; color: var(--ivory);
  background: linear-gradient(to top, rgba(4, 18, 18, 0.82), transparent);
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 12px auto 0; max-width: 440px; }
  .range { grid-template-columns: 1fr 1fr; }
  .range figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { position: relative; }
.about-media .frame { overflow: hidden; border-radius: 6px; aspect-ratio: 5 / 5.4; background: var(--sand); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; right: -18px; bottom: 28px; max-width: 220px;
  background: var(--teal-900); color: var(--ivory);
  padding: 18px 20px; border-radius: 6px; font-size: 0.9rem; line-height: 1.5;
  box-shadow: 0 24px 40px -22px rgba(6, 32, 31, 0.8);
}
.about-badge strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--gold-200); margin-bottom: 4px; }
.about-quote {
  margin-top: 20px; font-family: var(--serif); font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  line-height: 1.32; letter-spacing: -0.015em; text-wrap: balance;
}
.about-copy .body { margin-top: 22px; color: var(--ink-soft); max-width: 52ch; }
.facts { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9875rem; color: var(--ink); }
.facts svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--gold-ink); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .about-badge { right: 12px; }
}

/* ---------- Services ---------- */
.svc-grid {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark);
}
.svc {
  position: relative; padding: 40px 34px 44px;
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  transition: background-color 0.35s ease;
}
.svc:hover { background: rgba(246, 241, 228, 0.045); }
.svc svg { width: 34px; height: 34px; color: var(--gold-300); margin-bottom: 26px; }
.svc h3 { font-size: 1.4rem; line-height: 1.25; }
.svc p { margin-top: 12px; font-size: 0.975rem; color: var(--on-dark-soft); }
.svc::after {
  content: ""; position: absolute; left: 34px; bottom: 0; height: 2px; width: 0; background: var(--gold-300);
  transition: width 0.5s var(--ease);
}
.svc:hover::after { width: 56px; }

@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc { padding: 32px 24px 36px; } .svc::after { left: 24px; } }

/* ---------- Gallery ---------- */
.gallery-grid { margin-top: 56px; column-count: 3; column-gap: 20px; }
.shot {
  position: relative; overflow: hidden; margin: 0 0 20px; break-inside: avoid;
  border-radius: 6px; background: var(--ivory-50);
  box-shadow: 0 22px 40px -28px rgba(6, 32, 31, 0.55);
}
.shot img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 44px 18px 16px; font-size: 0.9rem; color: var(--ivory);
  background: linear-gradient(to top, rgba(4, 18, 18, 0.84), transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease);
}
.shot:hover figcaption, .shot:focus-within figcaption { opacity: 1; transform: none; }

@media (max-width: 960px) { .gallery-grid { column-count: 2; column-gap: 14px; } .shot { margin-bottom: 14px; } }
@media (max-width: 560px) {
  .gallery-grid { column-gap: 10px; margin-top: 40px; }
  .shot { margin-bottom: 10px; border-radius: 4px; }
  .shot figcaption { display: none; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin-top: 34px; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border: 1px solid rgba(220, 184, 102, 0.5); border-radius: 50%; color: var(--gold-300);
}
.ico svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-weight: 500; font-size: 1rem; }
.contact-list span, .contact-list a.value { font-size: 0.975rem; color: var(--on-dark); }
.contact-list a.value { border-bottom: 1px solid rgba(220, 184, 102, 0.4); transition: color 0.2s ease, border-color 0.2s ease; }
.contact-list a.value:hover { color: var(--gold-200); border-color: var(--gold-300); }
.social { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.social a {
  padding: 10px 20px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 0.9rem;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}
.social a:hover { border-color: var(--gold-300); color: var(--gold-200); transform: translateY(-2px); }
.contact-cta { margin-top: 34px; }
.map-box {
  position: relative; overflow: hidden; border-radius: 6px; min-height: 440px;
  border: 1px solid var(--line-dark); background: var(--teal-700);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map-box { min-height: 340px; } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; margin-top: calc(var(--sheet) * -1);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  border-radius: var(--sheet) var(--sheet) 0 0; background: var(--teal-950); color: var(--on-dark);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-top: var(--sheet); }
.site-footer .logo { font-size: 1.45rem; color: var(--ivory); }
.f-brand p { margin-top: 14px; max-width: 32ch; font-size: 0.95rem; color: var(--on-dark-soft); }
.site-footer h2 { font-family: var(--sans); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; color: var(--gold-300); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer li a { font-size: 0.95rem; color: var(--on-dark); transition: color 0.2s ease; }
.site-footer li a:hover { color: var(--gold-200); }
.footer-base {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: 0.85rem; color: var(--on-dark-soft);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Scroll to top ---------- */
.to-top {
  position: fixed; z-index: 90;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  background: rgba(10, 41, 40, 0.92); color: var(--gold-200);
  border: 1px solid rgba(220, 184, 102, 0.55);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease), visibility 0s linear 0.3s,
              background-color 0.25s ease, color 0.25s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--gold-300); color: var(--teal-950); }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rise, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .btn, .shot img, .range img, .svc, .svc::after { transition: none; }
  .to-top { transition: none; }
}

/* ---------- Legal pages ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(44px, 7vw, 88px)) 0 calc(var(--sheet) + 40px);
  background:
    radial-gradient(90% 90% at 90% 0%, rgba(29, 98, 94, 0.5) 0%, transparent 60%),
    linear-gradient(172deg, var(--teal-800), var(--teal-950));
}
.page-hero h1 { margin-top: 18px; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.06; }
.page-hero .meta { margin-top: 18px; color: var(--on-dark-soft); font-size: 0.95rem; }
.legal-sheet { padding-bottom: calc(clamp(72px, 8vw, 112px) + var(--sheet)); }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.925rem; }
.toc h2 { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; color: var(--gold-ink); margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 4px; border-left: 1px solid var(--line-light); }
.toc a { display: block; padding: 5px 0 5px 16px; color: var(--ink-soft); border-left: 2px solid transparent; margin-left: -1px; transition: color 0.2s ease, border-color 0.2s ease; }
.toc a:hover { color: var(--ink); border-left-color: var(--gold-500); }

.prose { max-width: 74ch; counter-reset: sec; }
.prose .lead { font-size: 1.15rem; line-height: 1.7; color: var(--ink); }
.prose h2 {
  counter-increment: sec; margin-top: 52px; font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.25;
  padding-top: 28px; border-top: 1px solid var(--line-light);
}
.prose h2::before { content: counter(sec) ". "; color: var(--gold-ink); }
.prose .lead + h2 { margin-top: 44px; }
.prose p { margin-top: 16px; color: var(--ink-soft); }
.prose ul { margin-top: 16px; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-soft); }
.prose li::marker { color: var(--gold-ink); }
.prose a { color: var(--teal-700); text-decoration: underline; text-decoration-color: rgba(125, 90, 20, 0.5); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold-ink); }
.prose strong { color: var(--ink); font-weight: 500; }
.legal-switch { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  :root { --sheet: 32px; --header-h: 66px; }
  .wrap { padding: 0 20px; }
  .logo { font-size: 1.15rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .range { gap: 10px; }
  .about-badge { position: static; max-width: none; margin-top: 12px; }
}
