:root {
  --yellow: #ffc800;
  --black: #121316;
  --black-soft: #1b1d22;
  --white: #fff;
  --sand: #f5f4f0;
  --muted: #686862;
  --line: #dedcd4;
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: inherit; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--black);
  font: 400 17px/1.7 Manrope, system-ui, Arial, sans-serif;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  background: rgba(18, 19, 22, .96);
  border-bottom: 1px solid #2a2d34;
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: height .25s ease;
}

.site-header.sm .wrap { height: 104px; }

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}

.logo img.lg {
  display: block;
  width: auto;
  height: 134px;
  padding: 3px;
  border-radius: 6px;
  background: #fff;
  transition: height .25s ease;
}

.site-header.sm .logo img.lg { height: 90px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 66px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  font: 800 20px/1 "Bricolage Grotesque", Arial, sans-serif;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 74% 100%, 0 100%);
}

.brand-text strong,
.brand-text small { display: block; }

.brand-text strong {
  color: var(--white);
  font: 800 17px/1.15 "Bricolage Grotesque", Arial, sans-serif;
}

.brand-text small {
  margin-top: 4px;
  color: #aaa9a2;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.hcta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hcta .tel {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.hcta .btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  color: #d6d6cf;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--white);
  border-color: var(--yellow);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.legal-hero {
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--black);
  border-bottom: 8px solid var(--yellow);
  padding: 70px 0 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #b9b9b2;
  font-size: 14px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--yellow);
}

h1, h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.025em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(42px, 6vw, 72px); }

.legal-main { padding: 64px 0 90px; }

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--yellow);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(18, 19, 22, .08);
}

.legal-card section + section { margin-top: 38px; }

.legal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.legal-card p { margin: 0; }
.legal-card p + p { margin-top: 10px; }
.legal-card .contact-lines { line-height: 1.85; }
.legal-card a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.legal-card a:hover { color: #8a6a00; }
.legal-card .stand {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-footer {
  padding: 36px 0;
  background: #0b0c0e;
  color: #a1a19a;
  font-size: 14.5px;
}

.site-footer .flogo {
  display: block;
  width: auto;
  height: 84px;
  padding: 4px;
  border-radius: 8px;
  background: #fff;
}

.site-footer b {
  color: #fff;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 17px;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand strong {
  color: var(--white);
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 17px;
}

.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover,
.footer-links a[aria-current="page"] { color: var(--yellow); }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .hcta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 19px; }
  .wrap { width: min(100% - 32px, 1180px); }
  .site-header .wrap { height: 126px; }
  .site-header.sm .wrap { height: 100px; }
  .logo img.lg { height: 112px; }
  .site-header.sm .logo img.lg { height: 86px; }
  .legal-hero { padding: 52px 0 48px; }
  .legal-main { padding: 36px 0 60px; }
  .site-footer .wrap { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
