/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #6d28d9;
  --accent: #8b5cf6;
  --bg: #f9fafb;
  --bg-secondary: #f3f0ff;
  --text: #111827;
  --radius: 8px;
  --shadow: 4px 4px 0 #6d28d9;
  --shadow-sm: 2px 2px 0 #8b5cf6;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.75; font-size: 16px; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.25; }
a { display: inline-block; text-align: center; color: var(--primary); text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .8; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

.site-header { background: #fff; border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 200; }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: .875rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.site-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--primary); letter-spacing: -1px; padding: 0; text-align: left; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .9rem; padding: .25rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; text-align: left; }
.nav-links a:hover { color: var(--primary); border-color: var(--primary); opacity: 1; }
.burger { display: none; background: none; border: 2px solid var(--primary); border-radius: var(--radius); padding: .4rem .65rem; cursor: pointer; color: var(--primary); font-size: 1.2rem; line-height: 1; }
.burger:hover { background: var(--bg-secondary); }

.breadcrumbs-wrap { max-width: 760px; margin: 0 auto; padding: 1.25rem 1.5rem .5rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; list-style: none; font-size: .8rem; color: #6b7280; }
.breadcrumbs li:not(:last-child)::after { content: 'A'; margin-left: .35rem; color: #9ca3af; }
.breadcrumbs a { color: #6b7280; font-size: .8rem; padding: 0; text-align: left; }
.breadcrumbs a:hover { color: var(--primary); opacity: 1; }

.article-wrap { max-width: 760px; margin: 0 auto; padding: 1.5rem 1.5rem 3rem; }
.article-badge { display: inline-block; background: var(--primary); color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .85rem; border-radius: var(--radius); margin-bottom: 1rem; }
.article-category { display: inline-block; background: var(--bg-secondary); color: var(--primary); font-family: 'Space Grotesk', sans-serif; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: .3rem .8rem; border-radius: var(--radius); border: 1px solid #c4b5fd; margin-bottom: .75rem; }
.article-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; font-size: .82rem; color: #6b7280; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid #e5e7eb; }
.article-lead { font-size: 1.08rem; color: #374151; line-height: 1.8; margin-bottom: 2rem; padding-left: 1rem; border-left: 4px solid var(--accent); }
.article-image { margin-bottom: 2rem; }
.article-body h2 { font-size: 1.35rem; color: var(--primary); margin: 2rem 0 .85rem; }
.article-body p { margin-bottom: 1.25rem; color: #1f2937; }
.pull-quote { margin: 2rem 0; padding: 1.25rem 1.75rem; background: var(--bg-secondary); border-left: 5px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-style: italic; color: var(--primary); line-height: 1.6; }
.article-disclaimer { margin-top: 2rem; padding: .875rem 1.1rem; background: #faf5ff; border: 1px solid #e9d5ff; border-radius: var(--radius); font-size: .82rem; color: #6b7280; line-height: 1.6; }
.article-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.article-tags a { background: var(--bg-secondary); color: var(--primary); font-size: .78rem; font-weight: 500; padding: .3rem .8rem; border-radius: 99px; border: 1px solid #c4b5fd; transition: background .2s, color .2s; }
.article-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); opacity: 1; }

.discussion-wrap { max-width: 760px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.discussion-block { background: var(--bg-secondary); border: 2px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.discussion-block h2 { font-size: 1.25rem; margin-bottom: .6rem; }
.discussion-block > p { color: #6b7280; font-size: .95rem; margin-bottom: 1.25rem; }
.discussion-block textarea { width: 100%; min-height: 110px; padding: .875rem 1rem; border: 2px solid #e5e7eb; border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: .95rem; resize: vertical; transition: border-color .2s; margin-bottom: .75rem; display: block; }
.discussion-block textarea:focus { outline: none; border-color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: .95rem; font-weight: 600; padding: .7rem 1.5rem; border-radius: var(--radius); border: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: background .2s; display: inline-block; text-align: center; }
.btn-primary:hover { background: var(--accent); opacity: 1; }

.read-also-wrap { max-width: 760px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.read-also-wrap h2 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.read-also-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.read-also-card { background: #fff; border: 2px solid #e5e7eb; border-radius: var(--radius); padding: 1.25rem; transition: border-color .25s, box-shadow .25s; }
.read-also-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.read-also-card h3 { font-size: .95rem; margin-bottom: .5rem; }
.read-also-card h3 a { color: var(--text); text-align: left; display: block; }
.read-also-card h3 a:hover { color: var(--primary); opacity: 1; }
.read-also-card p { font-size: .82rem; color: #6b7280; }

.myths-wrap { max-width: 760px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.myths-wrap h2 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.myths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.myth-card { padding: 1.25rem; border-radius: var(--radius); border: 2px solid; }
.myth-card.myth { background: #fef2f2; border-color: #fecaca; }
.myth-card.reality { background: #f0fdf4; border-color: #bbf7d0; }
.myth-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.myth-card.myth h3 { color: #b91c1c; }
.myth-card.reality h3 { color: #15803d; }
.myth-card p { font-size: .9rem; color: var(--text); line-height: 1.6; }

.subscribe-section { background: var(--primary); color: #fff; padding: 3.5rem 1.5rem; text-align: center; }
.subscribe-section h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); color: #fff; margin-bottom: .75rem; }
.subscribe-section > p { color: #ddd6fe; margin-bottom: 1.75rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.subscribe-form { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 0 auto; }
.subscribe-form input[type="email"] { flex: 1; min-width: 200px; padding: .75rem 1rem; border: 2px solid rgba(255,255,255,.5); border-radius: var(--radius); font-size: 1rem; background: rgba(255,255,255,.12); color: #fff; font-family: 'Inter', sans-serif; }
.subscribe-form input[type="email"]::placeholder { color: #c4b5fd; }
.subscribe-form input[type="email"]:focus { outline: none; border-color: #fff; }
.subscribe-form .btn-primary { background: #fff; color: var(--primary); box-shadow: 4px 4px 0 rgba(0,0,0,.15); border: none; }
.subscribe-form .btn-primary:hover { background: var(--bg-secondary); }

.site-footer { background: var(--text); color: #9ca3af; padding: 3rem 1.5rem 2rem; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; display: block; text-align: left; margin-bottom: .5rem; padding: 0; }
.footer-copy { font-size: .82rem; color: #6b7280; }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a { color: #9ca3af; font-size: .875rem; text-align: left; padding: 0; }
.footer-nav a:hover { color: var(--accent); opacity: 1; }
.footer-disclaimer { font-size: .78rem; color: #6b7280; line-height: 1.65; grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid #374151; }

.cookie-check { display: none; }
.cookie-check:checked ~ .cookie-banner { display: none; }
.cookie-banner { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 300px; background: #fff; border: 2px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; z-index: 1000; }
.cookie-banner p { font-size: .88rem; color: var(--text); line-height: 1.6; margin-bottom: 1rem; }
.cookie-banner p a { color: var(--primary); text-decoration: underline; display: inline; padding: 0; text-align: left; }
.cookie-actions { display: flex; gap: .5rem; }
.cookie-lbl { flex: 1; display: block; text-align: center; padding: .5rem; border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: .82rem; font-family: 'Space Grotesk', sans-serif; transition: opacity .2s; }
.cookie-lbl.accept { background: var(--primary); color: #fff; }
.cookie-lbl.decline { background: var(--bg-secondary); color: var(--primary); border: 1px solid #c4b5fd; }
.cookie-lbl:hover { opacity: .85; }

@media (max-width: 768px) {
  .burger { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 1.5rem 1.5rem; border-bottom: 2px solid var(--primary); gap: .75rem; z-index: 100; }
  .nav-links.open { display: flex; }
  .myths-grid { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; align-items: stretch; }
  .subscribe-form input[type="email"] { min-width: unset; }
  .footer-inner { grid-template-columns: 1fr; }
  .cookie-banner { left: 1rem; right: 1rem; width: auto; }
}
@media (max-width: 480px) {
  .article-wrap, .breadcrumbs-wrap, .discussion-wrap, .read-also-wrap, .myths-wrap { padding-left: 1rem; padding-right: 1rem; }
  .article-title { font-size: 1.5rem; }
}
/* POLICY PAGES */
.policy-main { padding: 3rem 1.5rem 5rem; }
.policy-container { max-width: 760px; margin: 0 auto; }
.policy-container h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; color: var(--primary); }
.policy-intro { font-size: 1.05rem; color: #374151; margin-bottom: 2rem; line-height: 1.8; padding-bottom: 1.5rem; border-bottom: 1px solid #e5e7eb; }
.policy-container h2 { font-size: 1.2rem; color: var(--text); margin: 2rem 0 .75rem; padding-left: .75rem; border-left: 4px solid var(--accent); }
.policy-container h3 { font-size: 1rem; color: var(--primary); margin: 1.25rem 0 .5rem; }
.policy-container p { color: #1f2937; margin-bottom: 1rem; line-height: 1.8; }
.policy-container strong { color: var(--text); }
.policy-container a { color: var(--primary); text-decoration: underline; display: inline; padding: 0; }
.policy-list { margin: .5rem 0 1rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.policy-list li { color: #1f2937; line-height: 1.7; font-size: .97rem; }
.policy-updated { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #e5e7eb; font-size: .85rem; color: #9ca3af; }

/* SUCCESS PAGE */
.success-main { min-height: 75vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.success-container { max-width: 520px; text-align: center; }
.success-icon { width: 72px; height: 72px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; margin: 0 auto 1.5rem; box-shadow: var(--shadow); }
.success-title { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--primary); margin-bottom: 1rem; }
.success-subtitle { font-size: 1.05rem; color: #374151; line-height: 1.8; margin-bottom: 1rem; }
.success-note { font-size: .85rem; color: #9ca3af; margin-bottom: 2rem; }
.success-btn { margin-top: .5rem; text-decoration: none; }