/* StayCore official website — Quiet Editorial shared base for all inner pages (2026-11-24).
   Extracted from inline <style> so browsers cache it across all 13 public routes. */

body.website-page {
  --primary: #111110;
  --primary-hover: #2a2a28;
  --secondary: #f5f4f0;
  --surface: #ffffff;
  --accent: #ecebe6;
  --accent-hover: #e2e0d8;
  --text: #111110;
  --text-secondary: #6b6a64;
  --brand-cream: #f5f4f0;
  --emerald: #246b47;
  --rose: #a64440;
  --indigo-light: #f0efe9;
  --red-light: #f8eae8;
  --border-color: rgba(17, 17, 16, 0.11);
  --border-width: 1px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 16, 0.04);
  --shadow-md: 0 12px 36px rgba(17, 17, 16, 0.06);
  --shadow-lg: 0 24px 64px rgba(17, 17, 16, 0.08);
  --shadow-xl: 0 32px 84px rgba(17, 17, 16, 0.09);
  --shadow-pressed: 0 1px 2px rgba(17, 17, 16, 0.05);
  --shadow-accent: 0 16px 40px rgba(17, 17, 16, 0.08);
  color: var(--text);
  background: var(--secondary);
  letter-spacing: -0.005em;
}

body.website-page .custom-cursor,
body.website-page .bg-polka,
body.website-page .floating-shape,
body.website-page .marquee-container,
body.website-page .sc-theme-fab,
body.website-page .sc-theme-panel {
  display: none !important;
}

/* Page hero */
body.website-page .page-hero {
  min-height: 0;
  padding: 164px 0 72px;
  overflow: hidden;
  background: var(--secondary) !important;
  border-bottom: 1px solid var(--border-color);
  text-align: left !important;
}

body.website-page .page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  align-items: end;
  gap: 24px 64px;
  text-align: left !important;
}

body.website-page .page-hero h1,
body.website-page .page-hero .reveal-text {
  max-width: 920px;
  margin: 0;
  text-align: left !important;
  text-transform: none;
}

body.website-page .page-hero p,
body.website-page .page-hero .section-subtitle {
  max-width: 680px;
  margin: 0 !important;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  text-align: left !important;
}

body.website-page .page-hero .badge {
  justify-self: start;
  grid-column: 1 / -1;
  margin: 0 0 -8px !important;
}

body.website-page .page-hero .stats-bar,
body.website-page .page-hero .doc-stats,
body.website-page .page-hero .guide-toc,
body.website-page .page-hero .download-cta,
body.website-page .page-hero .download-unavailable,
body.website-page .page-hero .container > p[style*="margin-top"],
body.website-page .page-hero .container > .contra-box {
  grid-column: 1 / -1;
}

body.website-page .page-hero .download-cta {
  justify-content: flex-start;
  margin-top: 8px;
}

/* Shared sections */
body.website-page .section,
body.website-page .products-section,
body.website-page .community-section,
body.website-page .capabilities-section,
body.website-page .timeline-section,
body.website-page .values-section,
body.website-page .pricing-section,
body.website-page .comparison-section,
body.website-page .faq-section,
body.website-page .cases-section,
body.website-page .methodology-section,
body.website-page .download-section,
body.website-page .contact-section,
body.website-page .guide-section,
body.website-page .tv-section,
body.website-page .support-section,
body.website-page .support-topic-section,
body.website-page .support-prep-section,
body.website-page .docs-section,
body.website-page .ecosystem-section {
  padding: 104px 0;
  border-bottom: 1px solid var(--border-color);
  background: var(--secondary);
}

body.website-page .community-section,
body.website-page .timeline-section,
body.website-page .comparison-section,
body.website-page .methodology-section,
body.website-page .contact-section,
body.website-page .support-topic-section,
body.website-page .ecosystem-section {
  background: #faf9f6;
}

body.website-page .section-title {
  max-width: 850px;
  margin: 0 0 16px;
  text-align: left !important;
  text-transform: none;
}

body.website-page .section-subtitle {
  max-width: 680px;
  margin: 0 0 48px !important;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  text-align: left !important;
}

/* Shared card grammar — covers every inner page card including guide, support links, extensions */
body.website-page :is(
  .contra-box,
  .tool-card,
  .community-card,
  .cap-row,
  .timeline-content,
  .value-card,
  .pricing-card,
  .credit-pack,
  .faq-item,
  .case-card,
  .methodology-step,
  .step-card,
  .contact-highlight,
  .contact-email-card,
  .inquiry-form,
  .support-card,
  .topic-card,
  .links-card,
  .prep-card,
  .prep-item,
  .link-item,
  .guide-card,
  .step-card-row,
  .info-card,
  .tip-card,
  .tips-card,
  .compat-card,
  .doc-card,
  .eco-card,
  .login-card,
  .plan-card,
  .custom-service-option,
  .payment-unavailable,
  .qr-modal
) {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
  transform: none !important;
  transition: border-color .25s ease, background-color .25s ease;
}

body.website-page :is(
  .contra-box,
  .tool-card,
  .community-card,
  .cap-row,
  .value-card,
  .pricing-card,
  .credit-pack,
  .case-card,
  .methodology-step,
  .support-card,
  .topic-card,
  .link-item,
  .guide-card,
  .step-card-row,
  .doc-card,
  .eco-card,
  .plan-card,
  .custom-service-option
):hover {
  border-color: rgba(140, 114, 80, 0.34);
  box-shadow: none;
  transform: none !important;
}

/* Products & categories */
body.website-page .category-block { margin-bottom: 92px; }
body.website-page .category-block:last-child { margin-bottom: 0; }
body.website-page .category-header { align-items: baseline; gap: 14px; margin-bottom: 12px; }

body.website-page :is(
  .category-id,
  .tool-id,
  .community-card-id,
  .methodology-num,
  .step-num,
  .step-num-circle,
  .prep-marker,
  .doc-icon
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

body.website-page .category-name {
  font-family: var(--sc-serif, Georgia, serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -.012em;
}

body.website-page .category-tagline {
  max-width: 700px;
  margin-bottom: 36px;
  padding-left: 0;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 400;
}

body.website-page :is(
  .tools-grid,
  .community-grid,
  .values-grid,
  .pricing-grid,
  .credit-packs,
  .methodology-grid,
  .steps-grid,
  .support-grid,
  .topic-grid,
  .guide-items,
  .docs-grid,
  .eco-grid,
  .info-grid
) {
  gap: 16px;
}

body.website-page :is(
  .tool-card,
  .community-card,
  .value-card,
  .support-card,
  .topic-card,
  .guide-card,
  .doc-card,
  .eco-card
) {
  padding: 28px;
}

body.website-page :is(
  .tool-status,
  .cap-status,
  .timeline-tag,
  .community-free,
  .support-badge,
  .pricing-badge,
  .plan-badge,
  .guide-pilot-tag,
  .badge
) {
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .01em;
  transform: none !important;
}

body.website-page :is(.tool-status.live, .cap-status.live) {
  background: rgba(36, 107, 71, 0.10);
  color: #215f3f;
}

body.website-page :is(.tool-status.beta, .cap-status.beta, .guide-pilot-tag) {
  background: rgba(140, 114, 80, 0.12);
  color: #745c3c;
}

body.website-page :is(.tool-status.planned, .cap-status.planned) {
  background: #ecebe6;
  color: var(--text-secondary);
}

body.website-page :is(.tool-name, .community-card-name, .cap-name) {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.015em;
}

body.website-page :is(.tool-desc, .community-card-desc, .cap-desc) {
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
}

/* Stats bars (Products, Docs, etc.) */
body.website-page :is(.community-stats, .stats-bar, .doc-stats) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: flex-start;
  gap: 0;
  margin: 44px 0 0;
  padding: 0;
  border-block: 1px solid var(--border-color);
  border-inline: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.website-page :is(.community-stat, .stats-bar-item, .doc-stat) {
  min-width: 0;
  padding: 24px 28px 24px 0;
  text-align: left;
}

body.website-page :is(.community-stat + .community-stat, .stats-bar-item + .stats-bar-item, .doc-stat + .doc-stat) {
  padding-left: 28px;
  border-left: 1px solid var(--border-color);
}

body.website-page :is(.community-stat-value, .stats-bar-value, .doc-stat-value) {
  color: var(--text);
  font-family: var(--sc-serif, Georgia, serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

body.website-page .doc-stat-label {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
}

/* Multi-Agent timeline */
body.website-page .cap-table { max-width: none; gap: 12px; margin-top: 40px; }
body.website-page .cap-row { padding: 22px 26px; }
body.website-page .timeline { max-width: 920px; margin-top: 48px; }
body.website-page .timeline::before { width: 1px; left: 18px; background: var(--border-color); }
body.website-page .timeline-item { padding-left: 56px; margin-bottom: 24px; }
body.website-page .timeline-dot {
  left: 12px;
  top: 26px;
  width: 13px;
  height: 13px;
  border: 2px solid #faf9f6;
  background: #8c7250;
  box-shadow: none;
  font-size: 0;
}
body.website-page .timeline-content { padding: 26px 28px; }
body.website-page .timeline-phase {
  background: rgba(140, 114, 80, 0.11);
  border: 0;
  border-radius: 999px;
  padding: 4px 12px;
  color: #745c3c;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}
body.website-page .timeline-tag {
  background: var(--secondary);
  border: 1px solid var(--border-color);
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 400;
}
body.website-page :is(.disclaimer, .support-note) {
  max-width: none;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #ecebe6;
  box-shadow: none;
  color: var(--text-secondary);
  text-align: left;
  font-weight: 400;
}

/* Guide, TV deployment, Chrome extension guides */
body.website-page .guide-toc {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 16px;
}
body.website-page .guide-toc a {
  min-height: 38px;
  padding: 7px 16px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 450;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
body.website-page .guide-toc a:hover {
  background: #fff;
  border-color: rgba(140, 114, 80, 0.4);
  color: var(--text);
}
body.website-page .guide-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 10px;
}
body.website-page .guide-card p.guide-answer {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.78;
}
body.website-page .guide-links a {
  font-size: 13px;
  font-weight: 500;
  color: #745c3c;
}
body.website-page .guide-toolgroup-title {
  margin: 40px 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #8c7250;
}
body.website-page .steps-grid {
  max-width: 920px;
  margin: 40px 0 0;
}
body.website-page .step-card-row {
  align-items: flex-start;
  padding: 26px 28px;
  gap: 20px;
}
body.website-page .step-text h3 {
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}
body.website-page .step-text code {
  background: var(--secondary);
  border: 1px solid var(--border-color);
  color: var(--text);
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 6px;
}
body.website-page :is(.tip-card, .tips-card, .info-card, .compat-card) {
  max-width: 920px;
  margin-left: 0;
  margin-right: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border-color);
}
body.website-page .info-grid {
  max-width: none;
  margin: 32px 0 0;
}

/* Support page refinements */
body.website-page .support-badge {
  height: 30px;
  min-width: 0;
  padding: 0 12px;
  background: rgba(140, 114, 80, 0.11);
  color: #745c3c;
  margin-bottom: 18px;
}
body.website-page :is(.support-card h3, .topic-card h3, .prep-card h2, .links-card h2) {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}
body.website-page :is(.prep-item, .link-item) {
  padding: 16px 20px;
  border-radius: 14px;
}
body.website-page .prep-marker {
  width: 8px;
  min-width: 8px;
  height: 8px;
  padding: 0;
  margin-top: 9px;
  border: 0;
  background: #8c7250;
}
body.website-page .link-arrow {
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Inputs & forms */
body.website-page :is(input, select, textarea):not(.language-select, [type="range"]) {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  color: var(--text);
  font-family: inherit;
}

body.website-page :is(input, select, textarea):not(.language-select, [type="range"]):focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(17, 17, 16, 0.06);
}

/* Subscribe & Login clean alignment */
body.website-page .subscribe-page {
  min-height: 100vh;
  padding: 148px 0 96px;
  background: var(--secondary);
}
body.website-page .subscribe-page .page-title {
  font-family: var(--sc-serif, Georgia, serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.012em;
  text-align: left;
}
body.website-page .subscribe-page .page-subtitle {
  max-width: 640px;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  margin: 14px 0 32px;
}
body.website-page .promo-bar,
body.website-page .auth-bar {
  max-width: none;
  margin: 0 0 28px;
  text-align: left;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}
body.website-page .period-switcher {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 36px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: #ecebe6;
}
body.website-page .period-btn {
  min-height: 36px;
  padding: 0 18px;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
body.website-page .period-btn:is(.active, .selected) {
  background: var(--text);
  color: #fff;
}
body.website-page .plan-card.highlight {
  border: 1.5px solid var(--text);
  background: #fff;
  color: var(--text);
}
body.website-page .plan-card.selected {
  border-color: #8c7250 !important;
  box-shadow: 0 0 0 1px #8c7250 !important;
}
body.website-page .plan-card.highlight * { color: inherit; }
body.website-page .plan-badge {
  top: 24px;
  right: 24px;
  left: auto;
  padding: 3px 11px;
  background: var(--text);
  color: #fff !important;
}
body.website-page .plan-price {
  font-family: var(--sc-serif, Georgia, serif);
  font-size: 46px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

body.website-page .login-page {
  min-height: 100vh;
  padding: 148px 20px 80px;
  background: var(--secondary);
  background-image: none;
}
body.website-page .login-wrapper { max-width: 460px; }
body.website-page .login-logo { display: none; }
body.website-page .login-subtitle {
  font-family: var(--sc-serif, Georgia, serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-align: left;
  text-transform: none;
  color: var(--text);
  margin-bottom: 24px;
}
body.website-page .login-card { padding: 32px; }

/* Closing CTA blocks */
body.website-page :is(.cta-section, .guide-cta, .tv-cta) {
  padding: 112px 0 92px;
  border: 0;
  background: #ecebe6 !important;
  color: var(--text);
  text-align: left !important;
}
body.website-page :is(.cta-section, .guide-cta, .tv-cta) .container {
  text-align: left !important;
  padding-block: 0 !important;
}
body.website-page :is(.cta-section, .guide-cta, .tv-cta) :is(.cta-buttons, div[style*="justify-content:center"]) {
  justify-content: flex-start !important;
}

@media (max-width: 1024px) {
  body.website-page .page-hero .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  body.website-page .page-hero { padding: 124px 0 52px; }
  body.website-page :is(
    .section,
    .products-section,
    .community-section,
    .capabilities-section,
    .timeline-section,
    .values-section,
    .pricing-section,
    .comparison-section,
    .faq-section,
    .cases-section,
    .methodology-section,
    .download-section,
    .contact-section,
    .guide-section,
    .tv-section,
    .support-section,
    .support-topic-section,
    .support-prep-section,
    .docs-section,
    .ecosystem-section,
    .cta-section,
    .guide-cta,
    .tv-cta
  ) {
    padding: 72px 0;
  }
  body.website-page :is(
    .tools-grid,
    .community-grid,
    .values-grid,
    .pricing-grid,
    .credit-packs,
    .methodology-grid,
    .support-grid,
    .topic-grid,
    .guide-items,
    .docs-grid,
    .eco-grid,
    .info-grid
  ) {
    grid-template-columns: 1fr;
  }
  body.website-page :is(.community-stats, .stats-bar, .doc-stats) {
    grid-template-columns: 1fr;
  }
  body.website-page :is(.community-stat, .stats-bar-item, .doc-stat),
  body.website-page :is(.community-stat + .community-stat, .stats-bar-item + .stats-bar-item, .doc-stat + .doc-stat) {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--border-color);
  }
  body.website-page :is(.community-stat, .stats-bar-item, .doc-stat):first-child {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.website-page *,
  body.website-page *::before,
  body.website-page *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
