/* VoiceTask — Main Stylesheet */
/* Mobile-first, responsive design */

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F2EDE4;
  --text: #3D2E1E;
  --accent: #C17F3F;
  --surface: #EDE8DF;
  --grad-start: #D4945A;
  --grad-end: #B06A2A;
  --white: #FFFFFF;
  --shadow-light: rgba(61, 46, 30, 0.08);
  --shadow-medium: rgba(61, 46, 30, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--grad-end);
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: 2.2rem; margin-bottom: 0.6em; }
h2 { font-size: 1.7rem; margin-bottom: 0.5em; }
h3 { font-size: 1.3rem; margin-bottom: 0.4em; }

p { margin-bottom: 1em; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== STICKY NAVIGATION ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(242, 237, 228, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(193, 127, 63, 0.15);
  padding: 0;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px var(--shadow-light);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.navbar-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.navbar-logo span {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 24px;
  font-weight: 600 !important;
  -webkit-text-fill-color: var(--white) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(193, 127, 63, 0.35);
}

/* Hamburger menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

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

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid rgba(193, 127, 63, 0.15);
    box-shadow: 0 10px 30px var(--shadow-light);
  }

  .nav-links.open {
    transform: translateY(0);
  }
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(160deg, var(--grad-start), var(--grad-end));
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.25;
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--white);
  color: var(--grad-end);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: var(--grad-end);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: var(--white);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(193, 127, 63, 0.4);
  color: var(--white);
}

.btn-icon {
  width: 22px;
  height: 22px;
}

@media (min-width: 769px) {
  .hero { padding: 110px 0 90px; }
  .hero h1 { font-size: 3.2rem; }
  .hero .subtitle { font-size: 1.25rem; }
}

/* ========== SECTION DEFAULTS ========== */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--surface);
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: #7a6a58;
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

@media (min-width: 769px) {
  .section { padding: 90px 0; }
  .section-title { font-size: 2.3rem; }
}

/* ========== HOW IT WORKS (3 steps) ========== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 6px 6px 16px var(--shadow-light), -4px -4px 12px rgba(255, 255, 255, 0.7);
  transition: transform var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-card p {
  color: #7a6a58;
  font-size: 0.95rem;
}

@media (min-width: 769px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ========== FEATURE CARDS (neumorphic) ========== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 6px 6px 16px var(--shadow-light), -4px -4px 12px rgba(255, 255, 255, 0.7);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 24px var(--shadow-medium), -4px -4px 12px rgba(255, 255, 255, 0.8);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: #7a6a58;
  font-size: 0.93rem;
  margin-bottom: 0;
}

@media (min-width: 500px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ========== SCREENSHOT GALLERY ========== */
.screenshot-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
}

.screenshot-gallery::-webkit-scrollbar {
  height: 6px;
}

.screenshot-gallery::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 3px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow-medium);
  transition: transform var(--transition);
}

.screenshot-item:hover {
  transform: scale(1.03);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 769px) {
  .screenshot-item { width: 260px; }
}

/* ========== FAQ ACCORDION ========== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 12px var(--shadow-light), -2px -2px 8px rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: rgba(193, 127, 63, 0.05);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  color: #7a6a58;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========== DOWNLOAD / CTA SECTION ========== */
.download-section {
  background: linear-gradient(160deg, var(--grad-start), var(--grad-end));
  padding: 70px 0;
  text-align: center;
}

.download-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 12px;
}

.download-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto 30px;
}

.download-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 769px) {
  .download-section h2 { font-size: 2.4rem; }
}

/* ========== BLOG CARDS ========== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 6px 6px 16px var(--shadow-light), -4px -4px 12px rgba(255, 255, 255, 0.7);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 24px var(--shadow-medium), -4px -4px 12px rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  display: inline-block;
  background: rgba(193, 127, 63, 0.12);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.blog-card-body p {
  color: #7a6a58;
  font-size: 0.9rem;
  flex: 1;
}

.blog-card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

@media (min-width: 700px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== ARTICLE STYLES ========== */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.article h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.article-meta {
  color: #7a6a58;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.article h2 {
  margin-top: 36px;
  margin-bottom: 14px;
}

.article h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.article p {
  margin-bottom: 16px;
}

.article ul, .article ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article li {
  margin-bottom: 6px;
}

.article img {
  border-radius: var(--radius-sm);
  margin: 24px 0;
  box-shadow: 0 4px 16px var(--shadow-light);
}

.article blockquote {
  border-left: 4px solid var(--accent);
  background: var(--surface);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-style: italic;
  color: #5a4a38;
}

/* Tip / example boxes */
.tip-box {
  background: rgba(193, 127, 63, 0.08);
  border: 1px solid rgba(193, 127, 63, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 20px 0;
}

.tip-box strong {
  color: var(--accent);
}

.example-box {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 20px 0;
  box-shadow: 4px 4px 12px var(--shadow-light);
  border-left: 4px solid var(--accent);
}

.example-box .example-label {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* CTA block inside articles */
.article-cta {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cta h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* Related articles */
.related-articles {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(193, 127, 63, 0.15);
}

.related-articles h3 {
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.related-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 12px var(--shadow-light);
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition);
}

.related-card:hover {
  transform: translateY(-2px);
  color: var(--text);
}

.related-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.related-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.related-card p {
  font-size: 0.82rem;
  color: #7a6a58;
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) {
  .article h1 { font-size: 2.5rem; }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--accent);
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 16px 0 0;
  font-size: 0.85rem;
  color: #7a6a58;
}

.breadcrumbs a {
  color: #7a6a58;
}

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

.breadcrumbs span {
  margin: 0 6px;
}

/* ========== PAGE HEADER (for inner pages) ========== */
.page-header {
  background: linear-gradient(160deg, var(--grad-start), var(--grad-end));
  padding: 50px 0 40px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .page-header { padding: 70px 0 55px; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.12s; }
.animate-in:nth-child(3) { animation-delay: 0.19s; }
.animate-in:nth-child(4) { animation-delay: 0.26s; }
.animate-in:nth-child(5) { animation-delay: 0.33s; }
.animate-in:nth-child(6) { animation-delay: 0.40s; }
.animate-in:nth-child(7) { animation-delay: 0.47s; }
.animate-in:nth-child(8) { animation-delay: 0.54s; }

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* Schema FAQ page specific */
.faq-page-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.faq-category {
  margin-bottom: 36px;
}

.faq-category h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(193, 127, 63, 0.2);
}

/* Guide specific */
.guide-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.guide-content h2 {
  margin-top: 40px;
}

.guide-toc {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 4px 4px 12px var(--shadow-light);
}

.guide-toc h3 {
  margin-bottom: 12px;
}

.guide-toc ul {
  list-style: none;
  padding: 0;
}

.guide-toc li {
  margin-bottom: 6px;
}

.guide-toc a {
  font-size: 0.95rem;
}

/* ========== ARTICLE PAGE STYLES (professional) ========== */
/* Article page header */
.art-meta {
  font-family: 'SF Mono', 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #6B5B4E;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.art-tag {
  font-family: 'SF Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Lead paragraph */
.art-lead {
  font-size: 1.1rem;
  color: #6B5B4E;
  border-left: 3px solid var(--accent);
  background: rgba(193, 127, 63, 0.06);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  line-height: 1.7;
}

/* Hero image */
.art-hero {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(61, 46, 30, 0.12);
  margin: 24px 0;
}

.art-hero-caption {
  font-size: 0.75rem;
  color: #9B8B7A;
  text-align: center;
  margin-top: -16px;
  margin-bottom: 24px;
}

/* Article body wrapper */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.article-wrap h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-wrap h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 40px 0 14px;
  color: var(--text);
}

.article-wrap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 10px;
}

.article-wrap p {
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 16px;
  color: #3D2E1E;
}

.article-wrap img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(61, 46, 30, 0.1);
  margin: 24px 0;
}

/* Highlight/quote block */
.highlight {
  background: #F8F4EF;
  border: 1px solid #E8DFD3;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight p { margin-bottom: 0; }

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #E8DFD3;
  font-size: 0.95rem;
}

.check-list li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Warn list */
.warn-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.warn-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #E8DFD3;
  font-size: 0.95rem;
}

.warn-list li::before {
  content: '!';
  color: #D4945A;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(212, 148, 90, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* CTA block inside article */
.art-cta {
  background: #3D2E1E;
  padding: 36px;
  border-radius: 16px;
  margin: 40px 0;
  text-align: center;
}

.art-cta h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.art-cta p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.art-cta .btn {
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(193, 127, 63, 0.3);
}

.art-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 127, 63, 0.4);
  color: white;
}

/* Related articles */
.related {
  border-top: 1px solid #E8DFD3;
  padding-top: 40px;
  margin-top: 48px;
}

.related-title {
  font-family: 'SF Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9B8B7A;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.related-card {
  background: #F8F4EF;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(61, 46, 30, 0.1);
}

.related-card .art-tag { margin-bottom: 8px; display: block; }
.related-card h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 6px; }
.related-card p { font-size: 0.8rem; color: #6B5B4E; margin: 0; }

/* Article FAQ */
.article-faq {
  background: #F8F4EF;
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
}

.article-faq h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .article-wrap { padding: 24px 16px 40px; }
  .art-hero { max-height: 220px; }
  .art-cta { padding: 24px 20px; }
  .article-faq { padding: 20px 16px; }
}

/* Theme Switcher */
.theme-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.theme-btn {
  padding: 10px 28px;
  border: 2px solid var(--accent);
  border-radius: 50px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-btn.active {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(193, 127, 63, 0.3);
}

.theme-btn:hover:not(.active) {
  background: rgba(193, 127, 63, 0.1);
}

/* Screenshot Gallery - horizontal scroll */
.screenshot-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
}

.screenshot-gallery::-webkit-scrollbar {
  height: 6px;
}

.screenshot-gallery::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 3px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.screenshot-item img {
  width: 240px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(61, 46, 30, 0.12);
  transition: transform 0.3s ease;
}

.screenshot-item img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .screenshot-item img {
    width: 200px;
  }
}
