:root {
  --bg: #FFF7ED;
  --surface: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --primary: #EA580C;
  --secondary: #0EA5E9;
  --accent: #8B5CF6;
  --border: rgba(31, 41, 55, 0.12);
  --nav-bg: #111827;
  --nav-height: 44px;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-mono: "Courier New", Courier, monospace;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-serif);
  background: var(--bg);
  background-image: linear-gradient(165deg, var(--bg) 0%, rgba(234, 88, 12, 0.04) 40%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.compliance-banner {
  width: 100%;
  background: var(--nav-bg);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  text-align: center;
  padding: 10px 16px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  line-height: 1.45;
  font-family: var(--font-sans);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 32px;
  width: 100%;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo img {
  max-height: 20px;
  width: auto;
  display: block;
}

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

.header-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font-sans);
  position: relative;
  padding-bottom: 6px;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #fff;
}

.header-nav a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 4px;
}

.burger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-sheet {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  border-radius: 16px 16px 0 0;
  padding: 24px 32px 40px;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  max-height: 70vh;
  overflow-y: auto;
}

.mobile-sheet.open {
  transform: translateY(0);
}

.mobile-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
}

.mobile-sheet-overlay.open {
  display: block;
}

.mobile-sheet nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-sheet nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-family: var(--font-sans);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer {
  background: var(--nav-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 32px 32px;
  margin-top: auto;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 32px;
}

.footer-brand img {
  max-height: 24px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-legal h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #fff;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.footer-badges a {
  display: block;
}

.footer-badges img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-badges a:hover img {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.footer-cookie-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--secondary);
  cursor: pointer;
  text-decoration: underline;
  font-size: 12px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-box {
  background: var(--surface);
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.modal-box h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  font-family: var(--font-sans);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #c2410c;
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px 32px;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-sans);
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 32px 64px;
}

.legal-content h1 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 20px 0 10px;
}

.legal-content p {
  margin-bottom: 14px;
  font-size: 15px;
}

.legal-content ul {
  margin: 0 0 14px 24px;
}

.legal-content li {
  margin-bottom: 6px;
  font-size: 15px;
}

.legal-content a {
  color: var(--secondary);
}

.page-hero-strip {
  background: var(--nav-bg);
  padding: 40px 32px;
  text-align: center;
}

.page-hero-strip h1 {
  color: #fff;
  font-size: 1.75rem;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-strip p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-family: var(--font-sans);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .mobile-sheet {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-content {
    padding: 32px 20px 48px;
  }
}

.resp-hero {
  background: linear-gradient(135deg, var(--nav-bg) 60%, rgba(234, 88, 12, 0.3) 100%);
  padding: 56px 32px;
  text-align: center;
}

.resp-hero h1 {
  color: #fff;
  font-size: 2rem;
  max-width: 640px;
  margin: 0 auto 12px;
}

.resp-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-sans);
  font-size: 14px;
}

.resp-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 32px 64px;
}

.resp-content h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.resp-content p {
  margin-bottom: 14px;
  font-size: 15px;
}

.resp-callout {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 28px;
  margin: 32px 0;
  text-align: center;
}

.resp-callout h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.resp-callout p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.resp-callout a {
  color: var(--secondary);
  font-weight: 600;
}

.resp-image-band {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  max-width: 500px;
}

.resp-image-band img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.resp-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.resp-tool {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 8px;
}

.resp-tool h3 {
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--accent);
  margin-bottom: 8px;
}

.resp-tool p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .resp-content {
    padding: 32px 20px 48px;
  }

  .resp-tools {
    grid-template-columns: 1fr;
  }

  .resp-image-band {
    max-width: 100%;
  }

  .resp-image-band img {
    max-width: 100%;
    max-height: 240px;
  }
}

@media (max-width: 375px) {
  .resp-image-band {
    overflow: hidden;
  }
}
