@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Google Light Styling (DEFAULT) */
  --bg-app: #ffffff;
  --bg-section-alt: #f8f9fa;
  --bg-surface: #ffffff;
  --border-color: #dadce0;
  --border-color-hover: #bdc1c6;
  
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-tertiary: #70757a;
  
  /* Brand colors */
  --google-blue: #1a73e8;
  --google-red: #ea4335;
  --google-yellow: #fbbc05;
  --google-green: #34a853;
  
  --primary: var(--google-blue);
  --primary-hover: #1557b0;
  --primary-glow: rgba(26, 115, 232, 0.1);
  --accent: var(--google-red);
  
  --success: var(--google-green);
  --warning: var(--google-yellow);
  --error: var(--google-red);
  
  --shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --shadow-md: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
  --shadow-lg: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.2);
  
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-snappy: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-family: "Google Sans", "Product Sans", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 64px;
}

[data-theme="dark"] {
  --bg-app: #1f2023;
  --bg-section-alt: #2b2c2f;
  --bg-surface: #2d2e31;
  --border-color: #3c4043;
  --border-color-hover: #5f6368;
  
  --text-primary: #e8eaed;
  --text-secondary: #e8eaed;
  --text-tertiary: #9aa0a6;
  
  --google-blue: #8ab4f8;
  --google-red: #f28b82;
  --google-yellow: #fdd663;
  --google-green: #81c995;
  
  --primary: var(--google-blue);
  --primary-hover: #aecbfa;
  --primary-glow: rgba(138, 180, 248, 0.15);
  --accent: var(--google-red);
  
  --shadow-sm: 0 1px 3px 0 rgba(0,0,0,0.5);
  --shadow-md: 0 4px 8px 3px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 16px 4px rgba(0,0,0,0.6);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-app);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.25;
}

/* Apple-style sections */
.section {
  padding: 140px 0;
  position: relative;
}
.section--dense {
  padding: 120px 0;
}
.section--feature {
  padding: 160px 0;
}
.section-alt {
  background: color-mix(in srgb, var(--bg-section-alt) 92%, transparent);
}

/* Section heading */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-head h2 {
  font-size: clamp(2.05rem, 4vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin: 0 0 16px;
}
.section-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.78;
  letter-spacing: -0.002em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-snappy);
}
a:hover {
  text-decoration: underline;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
}
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.nav-links > li { display: flex; align-items: center; }
.nav-links > li > .nav-tab { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; box-sizing: border-box; }

.nav-menu { position: relative; }
.nav-menu-trigger {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-weight: 500;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 999px;
}
.nav-menu-trigger:hover, .nav-menu.open .nav-menu-trigger {
  color: var(--primary);
  background: var(--primary-glow);
}
.nav-menu-trigger span { font-size: .8em; margin-left: 3px; }
.nav-menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 175px;
  padding: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  z-index: 20;
}
.nav-menu.open .nav-menu-panel { display: flex; flex-direction: column; }
.nav-menu-panel .nav-tab { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 8px; }
.nav-menu-panel .nav-tab:hover, .nav-menu-panel .nav-tab.active { background: var(--primary-glow); color: var(--primary); }

.guide-screenshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 24px 0 34px; }
.guide-screenshot-card { margin: 0; padding: 12px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 14px; box-shadow: var(--shadow-sm); }
.guide-screenshot-card img { display: block; width: 100%; max-height: 520px; object-fit: contain; object-position: top; border-radius: 8px; background: var(--bg-section-alt); }
.guide-screenshot-card figcaption { padding: 12px 4px 2px; color: var(--text-secondary); font-size: .88rem; line-height: 1.45; }
.guide-inline-shot { max-width: 620px; margin: 24px auto 38px; padding: 12px; border: 1px solid var(--border-color); border-radius: 14px; background: var(--bg-surface); box-shadow: var(--shadow-sm); }
.guide-inline-shot img { display: block; width: 100%; max-height: 620px; object-fit: contain; object-position: top; border-radius: 8px; }
.guide-inline-shot figcaption { padding: 12px 4px 2px; color: var(--text-secondary); font-size: .9rem; line-height: 1.5; }
.guide-jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.guide-jump-links a { padding: 9px 16px; color: var(--primary); background: var(--primary-glow); border: 1px solid var(--border-color); border-radius: 999px; font-weight: 600; text-decoration: none; }
.guide-jump-links a:hover { border-color: var(--primary); }
.guide-faq-section { margin-top: 56px; padding-top: 28px; border-top: 2px solid var(--border-color); scroll-margin-top: calc(var(--header-height) + 24px); }
.guide-faq-grid { display: grid; gap: 14px; margin-top: 24px; }
.guide-faq-card { padding: 18px 20px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-section-alt); }
.guide-faq-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.guide-faq-card p { margin: 0; }
.rich-text .guide-code-example { display: block; margin: 14px 0 24px; padding: 18px 20px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-primary); background: var(--bg-section-alt); border: 1px solid var(--border-color); border-radius: 12px; font: 500 .92rem/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.rich-text .guide-code-example code { display: block; padding: 0; color: inherit; background: transparent; border: 0; border-radius: 0; font: inherit; white-space: inherit; }
.guide-csv-example { border-left: 4px solid var(--primary) !important; }
#quick-start, #screenshots { scroll-margin-top: calc(var(--header-height) + 24px); }

/* Support page */
.support-page { position: relative; overflow: hidden; min-height: calc(100vh - var(--header-height)); background: radial-gradient(circle at 12% 10%, rgba(251,188,5,.18), transparent 28rem), radial-gradient(circle at 88% 18%, rgba(26,115,232,.16), transparent 30rem), var(--bg-app); }
.support-hero { position: relative; max-width: 1120px; margin: 0 auto; padding: 96px 28px 64px; text-align: center; }
.support-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid var(--border-color); border-radius: 999px; background: color-mix(in srgb, var(--bg-surface) 88%, transparent); color: var(--text-secondary); font-size: .86rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.support-eyebrow::before { content: "♥"; color: var(--google-red); }
.support-title { max-width: 820px; margin: 26px auto 18px; font-size: clamp(2.7rem, 7vw, 5.2rem); font-weight: 700; letter-spacing: -.055em; line-height: .98; }
.support-title span { color: var(--primary); }
.support-lead { max-width: 700px; margin: 0 auto; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-secondary); }
.support-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.support-action { min-width: 220px; min-height: 56px; justify-content: center; gap: 10px; border-radius: 14px; font-size: 1rem; font-weight: 700; box-shadow: var(--shadow-md); }
.support-action:hover { text-decoration: none; transform: translateY(-2px); }
.support-action-coffee { color: #1f1f1f; background: #ffdd00; border-color: #ffdd00; }
.support-action-coffee:hover { color: #1f1f1f; background: #f4d400; }
.support-action-paypal { color: #fff; background: #0070ba; border-color: #0070ba; }
.support-action-paypal:hover { color: #fff; background: #005ea6; }
.support-note { margin-top: 18px; color: var(--text-tertiary); font-size: .88rem; }
.support-content { max-width: 1060px; margin: 0 auto; padding: 0 28px 96px; }
.support-impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 62px; }
.support-impact-card { padding: 28px; border: 1px solid var(--border-color); border-radius: 20px; background: color-mix(in srgb, var(--bg-surface) 94%, transparent); box-shadow: var(--shadow-sm); }
.support-impact-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; color: var(--primary); background: var(--primary-glow); font-size: 1.35rem; }
.support-impact-card h2 { margin-bottom: 10px; font-size: 1.2rem; }
.support-impact-card p { color: var(--text-secondary); }
.support-message { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: center; padding: 42px; border: 1px solid var(--border-color); border-radius: 26px; background: var(--bg-surface); box-shadow: var(--shadow-md); }
.support-message-logo { width: min(100%, 250px); aspect-ratio: 1; justify-self: center; object-fit: cover; border-radius: 28%; box-shadow: 0 20px 50px rgba(26,115,232,.22); }
.support-message h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.support-message p + p { margin-top: 12px; }
.support-thanks { margin-top: 24px; color: var(--text-primary); font-weight: 600; }
@media (max-width: 780px) { .support-hero { padding-top: 64px; } .support-impact { grid-template-columns: 1fr; } .support-message { grid-template-columns: 1fr; padding: 28px; text-align: center; } .support-message-logo { width: 170px; } }
@media (max-width: 480px) { .support-title { font-size: 2.65rem; } .support-actions, .support-action { width: 100%; } .support-content { padding-inline: 18px; } }
.nav-tab {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-snappy);
}
.nav-tab:hover {
  background-color: var(--bg-section-alt);
  color: var(--text-primary);
  text-decoration: none;
}
.nav-tab.active {
  background-color: var(--primary-glow);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-snappy);
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-sm);
}
.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--primary);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--bg-section-alt);
  border-color: var(--border-color-hover);
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  background-color: var(--bg-surface);
  max-width: 1200px;
  margin: 0 auto;
}
.hero-content {
  max-width: 800px;
  margin-bottom: 48px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--text-secondary);
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--google-green);
  border-radius: 50%;
}
.hero-title {
  font-size: 3rem;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--google-blue);
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Mockup Frame */
.mockup-showcase-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.mockup-frame {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mockup-header {
  height: 40px;
  background-color: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background-color: var(--google-red); }
.mockup-dot.yellow { background-color: var(--google-yellow); }
.mockup-dot.green { background-color: var(--google-green); }
.mockup-address-bar {
  flex-grow: 1;
  max-width: 400px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  height: 24px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-tertiary);
}
.mockup-viewport {
  position: relative;
  background-color: #f1f3f4;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Sections */
.home-section {
  padding: 80px 24px;
}
.home-section.alt-bg {
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--google-blue);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.25rem;
}

/* Grid & Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
}
.feature-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-color-hover);
}
.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Showcase Row */
.showcase-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.showcase-text {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
}
.showcase-text h3 {
  font-size: 1.15rem;
  margin: 16px 0 8px;
}
.showcase-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: stretch;
}
.pricing-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.pricing-card.featured {
  border-color: var(--google-blue);
  border-width: 2px;
  box-shadow: var(--shadow-sm);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background-color: var(--google-blue);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 12px;
}
.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.pricing-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 48px;
}
.price {
  margin: 16px 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-tertiary);
}
.pricing-features {
  list-style: none;
  margin: 24px 0;
  flex-grow: 1;
}
.pricing-features li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--google-green);
  font-weight: bold;
}
.pricing-btn {
  width: 100%;
}

/* FAQ Accordion */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.accordion-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 500;
}
.accordion-icon {
  position: relative;
  width: 12px;
  height: 12px;
}
.accordion-icon::before, .accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-secondary);
  transition: var(--transition-snappy);
}
.accordion-icon::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}
.accordion-icon::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}
.accordion-item.active .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}
.accordion-item.active .accordion-content {
  max-height: 1000px;
  padding: 0 24px 20px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}
.accordion-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Timeline */
.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  width: 50%;
  position: relative;
}
.timeline-item.right {
  align-self: flex-end;
  justify-content: flex-start;
}
.timeline-item.left {
  align-self: flex-start;
}
.timeline-dot {
  position: absolute;
  top: 16px;
  width: 16px;
  height: 16px;
  background-color: var(--bg-surface);
  border: 4px solid var(--google-blue);
  border-radius: 50%;
  z-index: 2;
}
.timeline-item.left .timeline-dot {
  right: -9px;
}
.timeline-item.right .timeline-dot {
  left: -7px;
}
.timeline-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow-sm);
}
.timeline-date {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--google-blue);
}

/* Rich Text & Document Layouts */
.rich-text {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
}
.rich-text h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}
.rich-text h2 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
}
.rich-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.rich-text ul, .rich-text ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.rich-text li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.rich-text code {
  font-family: monospace;
  background-color: var(--bg-section-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
}
.rich-text strong {
  color: var(--text-primary);
}

/* Changelog Timeline Page */
.changelog-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}
.changelog-release-header h3 {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-top: 40px;
}
.changelog-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border-color);
}
.changelog-tag {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  height: fit-content;
}
.changelog-tag.added {
  background-color: rgba(52, 168, 83, 0.15);
  color: var(--google-green);
}
.changelog-tag.fixed {
  background-color: rgba(234, 67, 53, 0.15);
  color: var(--google-red);
}
.changelog-tag.changed {
  background-color: rgba(26, 115, 232, 0.15);
  color: var(--google-blue);
}
.changelog-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .header {
    padding: 0 16px;
  }
  .nav-links {
    display: none; /* simple hidden on mobile, fallback layout */
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .timeline-line {
    left: 16px;
  }
  .timeline-item {
    width: 100%;
    align-self: flex-start !important;
    justify-content: flex-start;
    padding-left: 32px;
  }
  .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot {
    left: 8px;
  }
  .timeline-content {
    width: 100%;
  }
  .rich-text {
    padding: 20px;
  }
}

/* Interactive Showcase Tab Styles */
.showcase-tab-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.showcase-tab-btn:hover {
  background-color: var(--bg-section-alt);
  color: var(--text-primary);
  border-color: #bdc1c6;
}
.showcase-tab-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}

/* ========== Apple Design System ========== */
/* Section Padding: Unified vertical rhythm */
.section {
  padding: 140px 0;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section--dense {
  padding: 120px 0;
}
.section--feature {
  padding: 160px 0;
}

/* Alternating section backgrounds */
.section-alt {
  background: color-mix(in srgb, var(--bg-section-alt) 65%, var(--primary) 4%);
}

/* Typography: Apple-style heading scale */
h2 {
  font-size: clamp(2.05rem, 4vw, 3.05rem);
  line-height: 1.75;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h3 {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h4, h5, h6 {
  font-weight: 600;
  line-height: 1.5;
}

/* Card system: One unified style */
.card,
.feature-card,
.showcase-text,
.pricing-card,
.product-card,
.guide-screenshot-card,
.guide-inline-shot,
.guide-faq-card,
.timeline-content,
.support-impact-card {
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.12), 0 4px 8px 3px rgba(60, 64, 67, 0.08);
  transition: box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover states: All interactive elements use cubic-bezier easing */
.card:hover,
.feature-card:hover,
.showcase-text:hover,
.pricing-card:hover,
.product-card:hover,
.guide-faq-card:hover,
.timeline-content:hover,
.support-impact-card:hover {
  box-shadow: 0 4px 12px 0 rgba(60, 64, 67, 0.15), 0 8px 24px 4px rgba(60, 64, 67, 0.12);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

/* FAQ Navigation */
.studio-faq-wrapper { display: grid; grid-template-columns: 160px 1fr; gap: 40px; max-width: 1080px; margin: 0 auto; align-items: start; }
.studio-faq-nav { position: fixed; left: calc((100vw - 1080px - 40px) / 2); top: 180px; width: 160px; height: fit-content; }
.studio-faq-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.studio-faq-nav button { width: 100%; text-align: left; padding: 11px 14px; border: none; border-radius: 8px; color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; background: transparent; cursor: pointer; transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1); border-left: 3px solid transparent; font-family: inherit; }
.studio-faq-nav button:hover { color: var(--text-primary); background: color-mix(in srgb, var(--primary) 8%, transparent); border-left-color: var(--primary); }
.studio-faq-nav button.active { color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); border-left-color: var(--primary); font-weight: 700; }
.studio-faq-group { display: none; }
.studio-faq-group.active-tab { display: block; }
@media (max-width: 900px) { .studio-faq-wrapper { grid-template-columns: 1fr; gap: 32px; } .studio-faq-nav { position: static; width: auto; display: flex; gap: 6px; flex-wrap: wrap; left: auto; top: auto; } .studio-faq-nav ul { flex-direction: row; flex-wrap: wrap; } .studio-faq-nav button { padding: 8px 12px; font-size: 0.8rem; } }

/* Button hover states */
.btn {
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px 0 rgba(60, 64, 67, 0.15);
}
.btn:active {
  transform: translateY(0);
}

/* Link transitions */
a {
  transition: color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              text-decoration-color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .section,
  .card,
  .feature-card,
  .btn,
  a {
    transition: none;
  }
}

/* Dark mode: All text meets 4.5:1 contrast */
[data-theme="dark"] {
  --text-primary: #e8eaed;
  --text-secondary: #e8eaed;
  --text-tertiary: #9aa0a6;
}

/* Light mode: All text meets 4.5:1 contrast (already set, ensure consistency) */
:root {
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-tertiary: #70757a;
}
