/* AWattPrice legal pages */

:root {
  color-scheme: light;
  --ink: #0f1623;
  --ink-soft: #2a3343;
  --muted: #5a6678;
  --muted-2: #8390a3;
  --line: #e3e8f0;
  --line-strong: #cfd7e2;
  --paper: #ffffff;
  --paper-alt: #f7f8fb;
  --paper-warm: #fff8f1;
  --orange: #ef7d32;
  --orange-deep: #d96716;
  --orange-soft: #fdecdc;
  --dark: #0f1623;
  --dark-soft: #1a2233;
  --shadow-sm: 0 4px 14px rgba(15, 22, 35, 0.06);
  --shadow-md: 0 18px 44px rgba(15, 22, 35, 0.10);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(239, 125, 50, 0.12), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 46%, var(--paper) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

p, h1, h2, h3, ul, ol { margin: 0; }

ul, ol { padding-left: 1.35rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.87);
  border-bottom: 1px solid rgba(227, 232, 240, 0.76);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(15, 22, 35, 0.14);
}

.topnav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 600;
}

.topnav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.topnav a:hover,
.topnav a[aria-current="page"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease;
}
.cta-pill:hover { background: var(--dark-soft); transform: translateY(-1px); }

.legal-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 76px);
}

.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 7vw, 92px);
  align-items: end;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(2.45rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 780;
}

.lede {
  max-width: 690px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.hero-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.hero-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.language-switch a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.94rem;
  font-weight: 650;
}
.language-switch a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.legal-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.legal-aside {
  position: sticky;
  top: 104px;
}

.side-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.side-card h2 {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.side-card a {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}
.side-card a:hover { color: var(--orange-deep); }

.legal-card {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

.legal-card section + section {
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  color: var(--ink);
  font-size: clamp(1.42rem, 2.4vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 760;
}

.legal-card h3 {
  margin-top: 26px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.28;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.legal-card p,
.legal-card ul,
.legal-card ol { margin-top: 16px; }

.legal-card li + li { margin-top: 8px; }

.legal-card a {
  color: var(--orange-deep);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-panel {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
}

.contact-panel strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(52px, 7vw, 78px) 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-light { color: #fff; }

.footer-brand-block p {
  margin-top: 18px;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
  line-height: 1.55;
}

.footer-mail {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 650;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.footer-mail:hover { border-color: #fff; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 56px);
}

.footer-cols h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-cols a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.02rem;
}
.footer-cols a:hover { color: #fff; }

.footer-bottom {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .legal-hero-grid,
  .legal-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
    order: 2;
  }

  .side-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-card h2 {
    grid-column: 1 / -1;
  }

  .topnav { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 17.5px; }

  .topbar-row { min-height: 64px; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 34px; height: 34px; }
  .cta-pill { min-height: 40px; padding: 0 16px; font-size: 0.94rem; }

  .legal-hero { padding: 44px 0 34px; }
  h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .hero-note { padding: 20px; }
  .legal-card { padding: 26px 20px; }
  .side-card { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
