/* ============================================================
   OTTERLY CLEAN EXTERIORS — shared styles for legal pages
   (Privacy Policy & Terms). Mirrors the tokens/type used on
   the main site so these pages feel native.
   ============================================================ */
:root {
  --navy:        #0B2A43;
  --navy-800:    #0E3553;
  --ink:         #0E1726;
  --blue:        #0B66D6;
  --blue-700:    #0A55B4;
  --blue-50:     #EAF2FD;
  --paper:       #FFFFFF;
  --surface:     #F6F7F9;
  --surface-2:   #EEF1F4;
  --line:        #E3E7EC;
  --line-strong: #D3D9E0;
  --muted:       #54606E;
  --muted-soft:  #79838F;
  --shadow-xs:   0 1px 2px rgba(14,23,38,.05);
  --shadow-sm:   0 1px 2px rgba(14,23,38,.04), 0 2px 8px rgba(14,23,38,.05);
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --pill: 999px;
  --maxw: 1160px;
  --ease: cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--navy); color: #fff; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
  font-weight: 700;
  overflow-wrap: break-word;
}

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

/* ---- Buttons (only the variants used here) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 11px 20px; border-radius: var(--r-sm);
  font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .16s var(--ease), border-color .16s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--blue-700); box-shadow: 0 10px 22px -6px rgba(11,102,214,.5); }
.btn--ghost { background: var(--paper); color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: var(--surface); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.brand { display: flex; align-items: center; }
.brand__full { height: 56px; width: auto; display: block; flex: none; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.header-phone { display: none; align-items: center; gap: 7px; font-weight: 600; color: var(--navy); font-size: .96rem; white-space: nowrap; }
.header-phone:hover { color: var(--blue); text-decoration: none; }
.header-phone svg { width: 17px; height: 17px; flex: none; }
@media (min-width: 720px) {
  .header-phone { display: inline-flex; }
  .brand__full { height: 64px; }
  .site-header__inner { min-height: 88px; }
}

/* ============================================================
   LEGAL CONTENT
   ============================================================ */
.legal { background:
  radial-gradient(120% 60% at 100% 0%, var(--surface) 0%, #fff 55%);
  border-bottom: 1px solid var(--line); }
.legal__head { max-width: 820px; margin: 0 auto; padding: 48px 22px 8px; }
.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.legal__head h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .25em; }
.legal__org { font-weight: 600; color: var(--navy); margin: 0; }
.legal__date { color: var(--muted-soft); font-size: .95rem; margin: 2px 0 0; }

.prose { max-width: 820px; margin: 0 auto; padding: 16px 22px 72px; }
.prose h2 {
  font-size: 1.35rem; margin: 40px 0 .5em; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 24px; }
.prose h3 { font-size: 1.05rem; color: var(--navy); margin: 24px 0 .4em; font-family: 'Inter', sans-serif; font-weight: 700; }
.prose p { margin: 0 0 1rem; color: var(--muted); }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; color: var(--muted); }
.prose strong { color: var(--navy); }
.prose a { font-weight: 600; }

/* Important-notice callout */
.callout {
  background: var(--blue-50); border: 1px solid #cfe1fb;
  border-radius: var(--r); padding: 18px 20px; margin: 8px 0 12px;
}
.callout h2 { border: 0; padding: 0; margin: 0 0 .35em; font-size: 1.05rem; color: var(--navy); }
.callout p { margin: 0; color: var(--navy-800); }

/* Contact block */
.contact-block {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px 22px; margin: 10px 0 0;
}
.contact-block p { margin: 0 0 .35rem; color: var(--ink); }
.contact-block p:last-child { margin-bottom: 0; }
.contact-block .name { font-weight: 700; color: var(--navy); }

.legal-consent { margin-top: 28px; font-style: italic; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: #b9c9d8; padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex: none; }
.footer-brand strong { color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .94rem; }
.footer-links a { color: #b9c9d8; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 20px; font-size: .86rem; color: #7e98ae; }
