/* ==========================================================================
   STOLVON — Editorial Design System & Styling
   High-contrast, luxury editorial aesthetic for health & wellness after 40
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #0E070D;
  --bg-subtle: #150D14;
  --panel: #1B111A;
  --panel-card: #231622;
  --panel-hover: #2E1D2D;
  --ink: #F4ECF2;
  --ink-heading: #FFFFFF;
  --muted: #C7B2C2;
  --muted-subtle: #968091;
  --accent: #9D5A8C;
  --accent-light: #B872A5;
  --accent-glow: rgba(157, 90, 140, 0.25);
  --accent-soft: rgba(157, 90, 140, 0.12);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --success: #3E885B;
  --gold: #D6A862;
  
  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-md);
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-light);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  color: var(--ink-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  color: var(--muted);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Layout Container */
.container {
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
}

/* Top Announcement & Editorial Bar */
.top-notice-bar {
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  background: #180F17;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.top-notice-bar a {
  text-decoration: underline;
  color: var(--accent-light);
  margin-left: 0.35rem;
}

.topbar {
  text-align: center;
  padding: 0.5rem 1rem;
  background: var(--bg);
  color: var(--muted-subtle);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Header & Navigation */
.site-header {
  background: rgba(14, 7, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 80px;
}

.wordmark {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.wordmark:hover {
  color: var(--accent-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav > a, .main-nav summary {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: var(--transition);
}

.main-nav > a:hover, .main-nav summary:hover {
  color: #fff;
}

.main-nav > a.active {
  color: #fff;
  font-weight: 600;
}

details {
  position: relative;
}

summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "▾";
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1rem;
  width: 320px;
  padding: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  gap: 0.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 110;
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown a {
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  line-height: 1.35;
}

.dropdown a:hover {
  background: var(--panel-card);
  color: #fff;
  padding-left: 1.1rem;
}

.phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(157, 90, 140, 0.4);
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  transition: var(--transition);
}

.phone:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Typography Helpers & Badges */
.eyebrow, .category {
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

/* Buttons */
.button, button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(157, 90, 140, 0.35);
  text-align: center;
}

.button:hover, button[type="submit"]:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 90, 140, 0.5);
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--panel-card);
  border-color: var(--muted);
}

/* Section Components */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.75rem;
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 5.5rem 0 6rem;
  background: radial-gradient(circle at 80% 20%, #2A1324 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.04;
  margin: 0.75rem 0 1.5rem;
  color: #fff;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* Feature & Article Grids */
.feature-grid, .article-grid, .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.article-card:hover {
  border-color: var(--accent);
  background: var(--panel-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-card h3 {
  font-size: 1.4rem;
  margin: 0.5rem 0 0.85rem;
  color: #fff;
}

.article-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read {
  margin-top: auto;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.read:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Stats Section */
.stats-section {
  padding: 3.5rem 0;
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats-row > div {
  padding: 1.5rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.stats-row strong {
  display: block;
  font-family: var(--display);
  font-size: 2.8rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stats-row span {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Split Section */
.split, .split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split img, .split-grid img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.band {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

/* Tables */
table, .overview-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

th, td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

th {
  background: var(--panel-card);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Steps / Method */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.steps > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: var(--transition);
}

.steps > div:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.steps b {
  display: inline-block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.steps p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Quotes */
.quote-section {
  background: linear-gradient(135deg, #1D0E1A, #120911);
  border-block: 1px solid var(--line);
  text-align: center;
  padding: 5rem 0;
}

blockquote {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.35;
  color: #fff;
  max-width: 860px;
  margin: 0 auto 1.5rem;
}

.quote-credit {
  font-size: 0.95rem;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quote-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.quote-wall blockquote {
  margin: 0;
  padding: 1.75rem;
  background: var(--panel);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  text-align: left;
}

/* Article List (Homepage Featured) */
.article-list {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.article-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: block;
  transition: var(--transition);
}

.article-row:hover {
  background: var(--panel-card);
  border-color: var(--accent);
  transform: translateX(6px);
}

.article-row span {
  font-size: 0.78rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.article-row h3 {
  font-size: 1.45rem;
  margin: 0.4rem 0 0.5rem;
  color: #fff;
}

.article-row p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* FAQ Details */
.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-list details, .exercise-faq details, .vitamin-faq details, .ginkgo-faq details, .rutin-faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.faq-list details[open], details[open] {
  border-color: var(--accent);
  background: var(--panel-card);
}

.faq-list summary, .exercise-faq summary, .vitamin-faq summary, .ginkgo-faq summary, .rutin-faq summary {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.faq-list details p, details p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Gallery & Glossary */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  border-color: var(--accent);
}

.glossary-grid, .term-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.glossary-grid > div, .term-grid > article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.glossary-grid h3, .term-grid h3 {
  font-size: 1.2rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.glossary-grid p, .term-grid p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Callout & Takeaway Boxes */
.callout, .key-box {
  background: var(--panel-card);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
}

.callout h2, .callout h3, .key-box h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.callout p, .key-box p, .key-box li {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Newsletter & Form Controls */
.newsletter-section {
  background: linear-gradient(135deg, #221220, #140A13);
  border-block: 1px solid var(--line);
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter form, .contact-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

input, textarea, select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--body);
  font-size: 0.95rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  border-color: var(--accent-light);
  background: rgba(0, 0, 0, 0.5);
}

input::placeholder, textarea::placeholder {
  color: var(--muted-subtle);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(62, 136, 91, 0.15);
  border: 1px solid var(--success);
  color: #79D99A;
}

.form-status.error {
  display: block;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid #dc3545;
  color: #ff8591;
}

/* CTA Strip */
.cta-strip {
  padding: 4.5rem 0;
  text-align: center;
  background: radial-gradient(circle at center, #261221 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.cta-strip h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.cta-strip p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.75rem;
}

/* Article Template */
.article-header {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, rgba(38, 18, 33, 0.4) 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 950px;
  margin: 0.5rem 0 1rem;
  color: #fff;
}

.article-body {
  max-width: 820px;
  margin-inline: auto;
  padding: 3.5rem 0;
}

.article-body h2 {
  font-size: 1.9rem;
  color: #fff;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Policy Page Styling */
.policy-body {
  max-width: 900px;
  margin-inline: auto;
  padding: 3rem 0;
}

.policy-body h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-body p, .policy-body li {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-bottom: 2rem;
}

.contact-info-card h3 {
  color: var(--accent-light);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-info-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.map-wrapper {
  min-height: 460px;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  padding: 5rem 0 2.5rem;
  background: #080407;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3.5rem;
}

.footer-grid h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.footer-grid p, .footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: #fff;
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  color: var(--muted-subtle);
  font-size: 0.82rem;
}

.footer-bottom p {
  color: var(--muted-subtle);
  margin-bottom: 0;
}

/* Cookie Banner & Preferences Modal */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 2.5rem));
  z-index: 1000;
  background: rgba(22, 13, 21, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}

.cookie-banner p a {
  text-decoration: underline;
  color: var(--accent-light);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner-actions button {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--body);
  transition: var(--transition);
}

.cookie-btn-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}

.cookie-btn-primary:hover {
  background: var(--accent-light);
}

.cookie-btn-secondary {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.cookie-btn-secondary:hover {
  background: var(--panel-card);
  border-color: var(--muted);
}

/* Cookie Modal */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cookie-modal-backdrop.open {
  display: flex;
}

.cookie-modal {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.25s ease;
}

.cookie-modal h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cookie-modal-item {
  background: var(--panel-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1rem 0;
}

.cookie-modal-item header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.cookie-modal-item h4 {
  font-size: 1.05rem;
  color: #fff;
}

.cookie-modal-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}

.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* 404 Page */
.not-found {
  text-align: center;
  padding: 8rem 0 6rem;
}

.not-found .eyebrow {
  font-size: 1.1rem;
}

.not-found h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  color: #fff;
  margin-bottom: 1rem;
}

.not-found p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .split, .split-grid, .contact-layout, .newsletter {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .feature-grid, .article-grid, .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  
  .steps, .stats-row, .glossary-grid, .term-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  
  .nav-wrap {
    min-height: 70px;
  }
  
  .phone {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 1rem;
    right: 1rem;
    background: var(--panel);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 120;
  }
  
  .main-nav.open {
    display: flex;
  }
  
  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    background: var(--panel-card);
    margin-top: 0.5rem;
  }
  
  .feature-grid, .article-grid, .grid-3, .gallery-grid, .quote-wall {
    grid-template-columns: 1fr;
  }
  
  .steps, .stats-row, .glossary-grid, .term-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cookie-banner.show {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-banner-actions {
    flex-direction: column;
  }
  
  .hero {
    padding: 3.5rem 0 4rem;
  }
  
  .hero img {
    height: 280px;
  }
}
