/* Shared light foundation for every page; app-specific styles refine it. */
:root { color-scheme: light; }
body.site-light {
  --text: #1d1d1f; --heading: #1d1d1f; --muted: #6e6e73;
  --paragraph: #6e6e73; --tag: #6e6e73; --line: #d2d2d7;
  --footer-line: #d2d2d7; --accent: #00718a; --accent-strong: #005a70;
  --surface: #f5f5f7; --surface-hover: #ebebef; --surface-hover-line: #b9c8ce;
  --image-grad-1: #f5f5f7; --image-grad-2: #f5f5f7; --image-text: #6e6e73;
  --shadow: none;
  background: #fff; color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.site-light .page-bg { display: none; }
.site-light .site-header, .site-light main, .site-light .site-footer { width: min(1120px, calc(100% - 64px)); margin-left: auto; margin-right: auto; }
.site-light .site-header { min-height: 72px; padding: 14px 0; border-bottom: 1px solid #e8e8ed; flex-wrap: wrap; }
.site-light .brand { font-family: inherit; font-size: 21px; letter-spacing: -0.04em; }
.site-light nav { background: none; border: 0; box-shadow: none; padding: 0; gap: 18px; }
.site-light nav a { padding: 10px 0; font-size: 14px; font-weight: 400; border-radius: 0; }
.site-light nav a:hover, .site-light nav a[aria-current="page"] { background: none; color: var(--text); }
.site-light h1, .site-light h2, .site-light h3 { font-family: inherit; color: var(--text); }
.site-light h1 { max-width: none; font-size: clamp(38px, 5.7vw, 76px); line-height: 1.06; letter-spacing: -0.055em; font-weight: 650; }
.site-light h2 { letter-spacing: -0.035em; line-height: 1.15; }
.site-light p, .site-light li { line-height: 1.65; }
.site-light a { color: var(--accent); }
.site-light .brand { color: var(--text); }
.site-light .eyebrow { text-transform: none; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--muted); }
.site-light .button { padding: 12px 22px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: #fff; box-shadow: none; font-weight: 500; }
.site-light .button:hover { background: var(--accent-strong); transform: none; filter: none; box-shadow: none; }
.site-light .button-ghost { background: transparent; color: var(--accent); }
.site-light .button-ghost:hover { background: #edf3f5; }
.site-light :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.site-light .site-footer, .site-light .sift-footer { border-top: 1px solid var(--line); padding: 24px 0; gap: 24px; flex-wrap: wrap; }
.site-light .site-footer a, .site-light .sift-footer a { color: var(--muted); font-size: 14px; }
/* Product pages use the same open hero and gray feature surfaces. */
.light-product main { padding-top: 0; }
.light-product .product-intro { text-align: center; padding: 72px 0 64px; background: none; border: 0; border-radius: 0; backdrop-filter: none; }
.light-product .product-intro .sift-hero-copy { align-items: center; }
.light-product .product-intro .hero-title-row { justify-content: center; margin: 16px 0 24px; }
.light-product .product-intro h1 { margin: 0; }
.light-product .product-intro .lead { max-width: 700px; font-size: 20px; line-height: 1.5; color: var(--muted); }
.light-product .product-intro .app-store-badge { margin-top: 28px; }
.light-product .app-store-badge img { width: 156px; height: 52px; }
.light-product .tool-hero-actions { justify-content: center; margin-top: 28px; }
.light-product .sift-top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px; background: var(--surface); border-radius: 32px; }
.light-product .sift-left { min-width: 0; }
.light-product .sift-tagline { padding: 0; gap: 24px; }
.light-product .sift-tagline p { font-size: 17px; }
.light-product .tagline-highlight { font-size: clamp(26px, 3.2vw, 42px) !important; line-height: 1.15; letter-spacing: -0.04em; }
.light-product .setup-steps { gap: 20px; }
.light-product .setup-step { font-size: 17px; line-height: 1.5; gap: 14px; color: var(--text); }
.light-product .step-number { width: 32px; height: 32px; background: #e4ecef; color: var(--accent); font-size: 15px; }
.light-product .sift-carousel { width: 100%; min-width: 0; border: 0; background: transparent; border-radius: 18px; }
.light-product .sift-carousel-slide { padding: 0; flex: 0 0 100%; min-width: 0; }
.light-product .sift-carousel-slide img { max-width: 100%; max-height: 620px; width: auto; height: auto; border-radius: 16px; box-shadow: none; }
.light-product .sift-carousel-btn { width: 44px; height: 44px; background: #f5f5f7ed; color: var(--text); border: 0; }
.light-product .sift-carousel-btn:hover { background: #e8e8ed; }
.light-product .sift-carousel-dots { gap: 0; padding: 12px 0 0; flex-wrap: wrap; }
.light-product .sift-carousel-dot { width: 32px; height: 32px; border: 0; background: radial-gradient(circle, #86868b 3px, transparent 4px); }
.light-product .sift-carousel-dot.active { background: radial-gradient(circle, #1d1d1f 3px, transparent 4px); transform: none; }
.light-product .sift-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 80px 0 0; }
.light-product .sift-feature { padding: 32px; border: 0; border-radius: 24px; background: var(--surface); box-shadow: none; backdrop-filter: none; }
.light-product .sift-feature:hover { transform: none; }
.light-product .sift-feature h2 { font-size: 26px; margin: 0 0 16px; }
.light-product .sift-feature p, .light-product .feature-list li { font-size: 16px; line-height: 1.6; }
.light-product .feature-icon { background: transparent; color: var(--accent); margin-bottom: 20px; }
.light-product .feature-list { gap: 12px; }
.light-product .badge, .light-product .whats-new-tag { background: #e4ecef; color: var(--accent); border: 0; font-family: inherit; }
.light-product .whats-new-banner { max-width: 760px; text-align: left; background: var(--surface); border: 0; box-shadow: none; margin-top: 28px; }
.light-product .pricing-tier { background: #fff; border-color: var(--line); }
.light-product .sift-cta { padding: 90px 24px; margin: 0; background: none; border: 0; backdrop-filter: none; }
.light-product .sift-cta h2 { font-size: clamp(34px, 4.8vw, 56px); max-width: 850px; margin: 0 auto 24px; }
.light-product .sift-cta p { max-width: 680px; margin: 0 auto 28px; font-size: 18px; }
.light-product .section-divider { margin-top: 64px; }
/* Contact, privacy, and terms keep readable document proportions. */
.site-light main.legal { max-width: 800px; padding: 64px 0 80px; }
.site-light .legal h1 { font-size: clamp(34px, 4.5vw, 56px); margin: 0 0 32px; overflow-wrap: anywhere; }
.site-light .legal h2 { font-size: 26px; margin: 40px 0 16px; }
.site-light .legal h3 { margin-top: 28px; font-size: 20px; }
.site-light .legal p, .site-light .legal li { font-size: 17px; color: #515154; }
.site-light .legal li { margin-bottom: 8px; }
.site-light .legal a { overflow-wrap: anywhere; }
.site-light .legal table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.site-light .legal th, .site-light .legal td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.site-light .about-page { margin-top: 48px; padding: 48px; background: var(--surface); border: 0; border-radius: 28px; backdrop-filter: none; }
.site-light .about-page h1 { font-size: clamp(36px, 5vw, 60px); margin: 16px 0 24px; }
.site-light .about-page p { font-size: 18px; }
/* Developer tool documentation follows the same light surfaces. */
.light-product .tool-banner { border: 0; border-radius: 24px; margin: 0 0 48px; background: var(--surface); }
.light-product .tool-banner-fade { display: none; }
.light-product .tool-section { margin-top: 64px; }
.light-product .tool-section-title { font-family: inherit; font-size: 32px; letter-spacing: -0.035em; }
.light-product .tool-card { padding: 28px; border: 0; background: var(--surface); backdrop-filter: none; min-width: 0; }
.light-product .tool-code { background: #fff; color: #424245; font-size: 14px; border-color: var(--line); }
.light-product .tool-code .code-comment { opacity: 1; }
.light-product .tool-scoring-item { background: #fff; }
.light-product .tool-scoring-item h3, .light-product .tool-subsection-title { font-family: inherit; }
.light-product .tool-table th, .light-product .tool-table td { font-size: 15px; border-color: var(--line); }
.light-product .tool-workflow-msg { background: #edf3f5; border: 0; font-size: 16px; }
.light-product .tool-notes li { font-size: 16px; }
@media (max-width: 900px) {
  .light-product .sift-top { gap: 32px; padding: 36px; }
}
@media (max-width: 600px) {
  .site-light .site-header, .site-light main, .site-light .site-footer { width: calc(100% - 40px); }
  .site-light .brand { font-size: 18px; }
  .site-light nav { gap: 14px; }
  .site-light nav a { font-size: 14px; }
  .light-product .product-intro { padding: 48px 0; }
  .light-product .product-intro .lead { font-size: 18px; }
  .light-product .sift-top { grid-template-columns: 1fr; padding: 28px; gap: 36px; border-radius: 24px; }
  .light-product .sift-features { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .light-product .sift-feature { padding: 28px; }
  .light-product .sift-cta { padding: 64px 0; }
  .site-light main.legal { padding-top: 40px; }
  .site-light .about-page { padding: 28px; margin-top: 28px; }
  .light-product .tool-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-light *, .site-light *::before { transition: none !important; animation: none !important; }
}
