/* ==========================================================================
   NotebookTools — site theme
   Loaded after styles.css (and features.css) on every page.
   1. Base & typography   2. Header   3. Mobile menu   4. Buttons
   5. Footer              6. Page polish (home, blog, features, support)
   Header/footer markup is shared via scripts/sync-site-chrome.py.
   ========================================================================== */

/* 1. Base & typography ---------------------------------------------------- */

body {
  font-feature-settings: "cv11", "ss01", "ss03";
  letter-spacing: -0.006em;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(47, 91, 220, 0.16);
}

:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

html.nav-open {
  overflow: hidden;
}

/* Display serif for page and section titles (never inside product demos). */
.hero h1,
.section-head h2,
.install-copy h2,
.page-main h1,
.blog-hub-head h1,
.blog-index-head h1,
.blog-article-header h1,
.blog-article-body h2,
.md-panel-intro h1,
.feature-hero h1,
.feature-cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
}

.hero h1 {
  font-size: clamp(44px, 5.8vw, 72px);
  line-height: 1;
  margin-bottom: 24px;
  max-width: none;
}

.hero h1 > span {
  display: block;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.section-head h2,
.install-copy h2 {
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.04;
  margin-bottom: 14px;
}

.page-main h1,
.blog-hub-head h1,
.blog-index-head h1,
.md-panel-intro h1,
.feature-hero h1 {
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.02;
}

.blog-article-header h1 {
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.04;
}

.blog-article-body h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.12;
}

.feature-cta-inner h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.06;
}

/* Small titles stay in the sans for legibility. */
.blog-card-item h2,
.blog-card h2,
.blog-prompt-hub-card h2,
.blog-cluster-main strong,
.blog-cta-card h2 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.blog-prompt-text {
  font-family: var(--font);
}

.lead,
.section-lead {
  color: var(--muted);
}

/* One eyebrow style everywhere. */
.eyebrow,
.blog-sidebar-label,
.blog-toc-label,
.blog-cluster-kicker,
.support-label {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-hero .eyebrow {
  color: var(--subtle);
  letter-spacing: 0.12em;
}

/* 2. Header ---------------------------------------------------------------- */

.site-header {
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(251, 250, 248, 0.82);
  border-bottom: 1px solid transparent;
  display: block;
  gap: 0;
  height: 64px;
  padding: 0;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 0 rgba(21, 20, 15, 0.02), 0 8px 24px -12px rgba(21, 20, 15, 0.08);
}

.site-header-inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  height: 100%;
  margin: 0 auto;
  max-width: calc(var(--max) + 64px);
  padding: 0 32px;
}

.site-header .logo,
.site-footer .logo {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-self: start;
}

.site-header .logo-mark-header,
.site-footer .logo-mark-header {
  height: 28px;
  width: 28px;
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.site-nav {
  align-items: center;
  display: flex;
  flex: none;
  gap: 2px;
  justify-content: center;
}

.site-nav > a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.site-nav > a:hover {
  background: rgba(21, 20, 15, 0.045);
  color: var(--ink);
}

.site-nav > a[aria-current="page"] {
  background: rgba(21, 20, 15, 0.06);
  color: var(--ink);
}

.site-nav-actions {
  display: none;
}

.site-nav .site-nav-actions .button-primary {
  color: #fff;
}

.site-nav .site-nav-actions .button-ghost {
  color: var(--ink);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-self: end;
}

.header-chrome {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}

.header-chrome:hover {
  background: var(--surface);
  border-color: #d3cec3;
}

.chrome-icon {
  display: block;
  flex: none;
}

.site-header .header-buy {
  display: inline-flex;
  padding: 8px 16px;
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.nav-toggle span {
  background: var(--ink);
  border-radius: 2px;
  display: block;
  height: 1.5px;
  transition: transform 0.2s;
  width: 16px;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* 3. Mobile menu ----------------------------------------------------------- */

@media (max-width: 860px) {
  .site-header-inner {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-chrome:not(.footer-chrome) {
    display: none;
  }

  .site-nav {
    align-items: stretch;
    background: var(--bg);
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: calc(100dvh - 64px);
    justify-content: flex-start;
    left: 0;
    opacity: 0;
    overflow-y: auto;
    padding: 16px 20px 32px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 64px;
    transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0s 0.18s;
    visibility: hidden;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.18s, transform 0.18s;
    visibility: visible;
  }

  .site-nav > a {
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.01em;
    padding: 14px 4px;
  }

  .site-nav > a:hover,
  .site-nav > a[aria-current="page"] {
    background: none;
  }

  .site-nav > a[aria-current="page"] {
    color: var(--accent);
  }

  .site-nav-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }

  .site-nav-actions .button {
    font-size: 15px;
    gap: 8px;
    padding: 14px 20px;
  }
}

@media (max-width: 359px) {
  .site-header .header-buy {
    display: none;
  }
}

/* 4. Buttons --------------------------------------------------------------- */

.button {
  font-weight: 600;
  gap: 8px;
  letter-spacing: -0.012em;
}

.button-primary {
  background: linear-gradient(180deg, #2a2924 0%, var(--ink) 100%);
  border-color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(21, 20, 15, 0.12),
    0 6px 16px -6px rgba(21, 20, 15, 0.35);
}

.button-primary:hover {
  background: linear-gradient(180deg, #34332d 0%, #1f1e19 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 2px 4px rgba(21, 20, 15, 0.12),
    0 10px 24px -8px rgba(21, 20, 15, 0.4);
}

.button-ghost {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

/* 5. Footer ---------------------------------------------------------------- */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  display: block;
  margin-top: 0;
  max-width: none;
  padding: 0;
}

.site-footer-inner {
  margin: 0 auto;
  max-width: calc(var(--max) + 64px);
  padding: 64px 32px 32px;
}

.footer-top {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 16px 0 20px;
  max-width: 34ch;
}

.footer-chrome {
  background: var(--surface);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h2 {
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 4px 0 6px;
}

.footer-col a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.15s;
  width: fit-content;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--subtle);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 24px;
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* The section right before the footer doesn't need its own divider. */
main > :last-child {
  border-bottom: 0;
}

@media (max-width: 600px) {
  .site-footer-inner {
    padding: 48px 20px 28px;
  }

  .footer-top {
    gap: 36px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 40px;
  }
}

/* 6. Page polish ------------------------------------------------------------ */

/* Cards: one border, radius and hover language. */
.feature-card,
.guide-card,
.hub-card,
.step-card,
.pricing-card,
.support-card,
.blog-card-item,
.blog-prompt-hub-card,
.blog-cta-card {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover,
.guide-card:hover,
.hub-card:hover,
.support-card:hover,
.blog-card-item:hover,
.blog-prompt-hub-card:hover {
  border-color: #d8d3c8;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-card {
  box-shadow: var(--shadow-lg);
}

/* Home */
.hero-inner {
  padding-bottom: 112px;
  padding-top: 96px;
}

/* Inner pages (support, privacy) */
.page-main {
  padding-top: 80px;
}

.page-main h1 {
  margin-bottom: 16px;
}

.page-main h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.support-card {
  background: var(--surface);
  padding: 24px;
}

/* Blog */
.blog-article-body {
  font-size: 18px;
  line-height: 1.75;
}

.blog-article-body a {
  text-decoration-color: rgba(47, 91, 220, 0.35);
  text-underline-offset: 3px;
}

.blog-card-tag {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Hide the old image badges in headers if any page still carries them. */
.site-header .chrome-store-badge {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* 7. Header alignment --------------------------------------------------------
   The header's content edge matches each page's content edge. */

.feature-page .site-header-inner {
  max-width: 1280px;
  padding: 0 20px;
}

@media (max-width: 1080px) and (min-width: 861px) {
  .header-chrome:not(.footer-chrome) {
    display: none;
  }

  .site-nav > a {
    padding: 7px 10px;
  }
}

/* 8. Homepage ---------------------------------------------------------------- */

.hero-inner {
  align-items: center;
  gap: 64px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  max-width: calc(var(--max) + 64px);
  padding-bottom: 104px;
  padding-top: 84px;
}

.hero-copy .lead {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 34em;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

.button-lg .chrome-icon {
  height: 18px;
  width: 18px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
}

.hero-works {
  align-items: center;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 30px;
  padding-top: 22px;
}

.hero-works-label {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-works ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-works li {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 7px;
  padding: 5px 12px 5px 9px;
}

.works-ico {
  display: inline-flex;
  height: 16px;
  width: 16px;
}

.works-ico svg {
  height: 100%;
  width: 100%;
}

.hero-shot {
  margin: 0;
  position: relative;
}

.hero-shot img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(21, 20, 15, 0.05), 0 40px 80px -28px rgba(21, 20, 15, 0.3);
  display: block;
  height: auto;
  width: 100%;
}

.hero-shot figcaption {
  font-size: 13px;
  margin-top: 14px;
  text-align: right;
}

.hero-shot figcaption a {
  color: var(--muted);
}

.hero-shot figcaption a:hover {
  color: var(--ink);
}

@media (max-width: 960px) {
  .hero-inner {
    gap: 44px;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 56px;
  }

  .hero-shot figcaption {
    text-align: left;
  }
}

/* Quieter cards: no coloured top strips. */
.flow-node-blue,
.flow-node-green,
.flow-node-yellow,
.flow-node-red {
  border-top: 1px solid var(--line);
}

.hub-card-panel::before,
.hub-card-app::before,
.pricing-card::before,
.install-panel::before {
  display: none;
}

/* Pricing: comparison on the left, the licence card on the right. */
.pricing-grid {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.pricing-intro .section-head {
  margin-bottom: 28px;
  max-width: none;
  text-align: left;
}

.price-compare {
  border-top: 1px solid var(--line);
  margin: 0;
}

.price-compare > div {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 170px minmax(0, 1fr);
  padding: 18px 0;
}

.price-compare dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.price-compare dd {
  margin: 0;
}

.price-compare b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}

.price-compare b small {
  color: var(--muted);
  font-family: var(--font);
  font-size: 13px;
  margin-left: 2px;
}

.price-compare span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  line-height: 1.55;
  margin-top: 4px;
}

.price-compare .is-us dt {
  color: var(--ink);
  font-weight: 600;
}

.price-compare .is-us b {
  color: var(--accent);
}

.pricing-grid .pricing-card {
  margin: 0;
  max-width: none;
  padding: 36px;
}

.pricing-grid .pricing-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.pricing-grid .pricing-actions .button {
  width: 100%;
}

.pricing-fine {
  color: var(--subtle);
  font-size: 12.5px;
  line-height: 1.6;
  margin-top: 16px;
}

@media (max-width: 960px) {
  .pricing-grid {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .price-compare > div {
    gap: 4px;
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-grid .pricing-card {
    padding: 26px 20px;
  }
}

/* Closing call to action: a dark band. */
.install {
  padding-bottom: 104px;
}

.cta-band {
  align-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(47, 91, 220, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(52, 168, 83, 0.18), transparent 60%),
    #15140f;
  border-radius: 28px;
  color: #f5f3ee;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  overflow: hidden;
  padding: 60px 56px;
}

.cta-band .eyebrow {
  color: rgba(245, 243, 238, 0.6);
}

.cta-band h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 400;
  line-height: 1.04;
  margin: 10px 0 16px;
}

.cta-copy p:not(.eyebrow) {
  color: rgba(245, 243, 238, 0.74);
  font-size: 16px;
  line-height: 1.7;
  max-width: 36em;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.cta-actions .button {
  width: 100%;
}

.button-light {
  background: #fff;
  border: 1px solid #fff;
  color: var(--ink);
}

.button-light:hover {
  background: #f1efe9;
}

.button-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cta-note {
  color: rgba(245, 243, 238, 0.6);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.cta-note a {
  color: rgba(245, 243, 238, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .cta-band {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 28px;
  }
}

/* 9. Blog hub and category pages: category pills + a card grid. ------------- */

.blog-hub-head {
  margin-bottom: 28px;
  max-width: 720px;
}

.blog-layout {
  gap: 26px;
  grid-template-columns: minmax(0, 1fr);
}

.blog-sidebar {
  position: static;
}

.blog-sidebar-label {
  display: none;
}

.blog-categories {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-category-link {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  padding: 7px 15px;
}

.blog-category-link:hover {
  border-color: #cfc9bd;
  color: var(--ink);
}

.blog-category-link.is-active,
.blog-category-link[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.blog-sidebar-note {
  margin-top: 12px;
}

.blog-cards {
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card-item-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 26px 22px;
}

.blog-card-item-meta {
  margin-top: auto;
  padding-top: 12px;
}

.blog-card-item:hover {
  border-color: #d8d3c8;
}

.blog-cluster {
  margin-bottom: 18px;
}

@media (max-width: 760px) {
  .blog-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.blog-card-item-link .blog-card-tag {
  align-self: flex-start;
}

/* Blog hub shares the header's content edge. */
.blog-hub {
  max-width: calc(var(--max) + 64px);
}

/* 10. Pricing plans (Free / Pro) ------------------------------------------ */

.plans {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 920px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px;
  position: relative;
}

.plan.is-pro {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(47, 91, 220, 0.08), transparent 60%),
    var(--surface);
  border-color: rgba(47, 91, 220, 0.35);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  position: absolute;
  right: 24px;
  text-transform: uppercase;
  top: 24px;
}

.plan-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  margin: 6px 0 0;
}

.plan-price span {
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  margin-left: 4px;
}

.plan-inr {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}

.plan-desc {
  color: var(--muted);
  font-size: 14.5px;
  margin: 6px 0 18px;
}

.plan > .button {
  width: 100%;
}

.plan-features {
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 20px 0 0;
}

.plan-features li {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  padding-left: 24px;
  position: relative;
}

.plan-features li::before {
  color: #1e8e3e;
  content: "✓";
  font-weight: 700;
  left: 2px;
  position: absolute;
}

.plans-note {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 22px auto 0;
  max-width: 620px;
  text-align: center;
}

@media (max-width: 760px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan {
    padding: 26px 22px;
  }
}

/* ==========================================================================
   11. Black & blue design system (Google Sans, compact, minimal)
   Overrides earlier sections; the tokens live in styles.css :root.
   ========================================================================== */

body {
  background: var(--bg);
  font-feature-settings: normal;
  letter-spacing: 0;
}

/* Titles: Google Sans, medium weight, tight tracking. */
.hero h1,
.section-head h2,
.install-copy h2,
.page-main h1,
.blog-hub-head h1,
.blog-index-head h1,
.blog-article-header h1,
.blog-article-body h2,
.md-panel-intro h1,
.feature-hero h1,
.feature-cta-inner h2,
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.section-head h2,
.install-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
}

.page-main h1,
.blog-hub-head h1,
.blog-index-head h1,
.md-panel-intro h1,
.feature-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.blog-article-header h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.blog-article-body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
}

.feature-cta-inner h2,
.cta-band h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
}

.grad {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow,
.blog-sidebar-label,
.blog-toc-label,
.blog-cluster-kicker,
.support-label,
.hero-works-label,
.feature-hero .eyebrow {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

a {
  text-underline-offset: 3px;
}

/* Buttons: solid black pills and quiet outlines. */
.button {
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
}

.button-primary {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
  color: #fff;
}

.button-primary:hover {
  background: #3c4043;
  border-color: #3c4043;
  box-shadow: none;
  transform: none;
}

.button-ghost {
  background: #fff;
  border: 1px solid #c4c7c5;
  box-shadow: none;
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--bg-soft);
  border-color: #a8abaa;
  transform: none;
}

.button.is-disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

/* Header: logo left, links and one call to action on the right. */
.site-header {
  background: rgba(255, 255, 255, 0.86);
  height: 64px;
}

.site-header-inner {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  max-width: calc(var(--max) + 64px);
}

.site-header .logo {
  margin-right: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.site-nav > a {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 14.5px;
  padding: 8px 14px;
}

.site-nav > a:hover {
  background: var(--bg-soft);
}

.site-nav > a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.header-actions {
  gap: 8px;
  margin-left: 8px;
}

.site-header .header-cta {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  padding: 8px 16px 8px 12px;
}

.site-header .header-cta .chrome-icon {
  height: 16px;
  width: 16px;
}

@media (max-width: 860px) {
  .site-nav > a {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  .site-nav > a[aria-current="page"] {
    background: none;
  }
}

@media (max-width: 420px) {
  .site-header .header-cta span {
    display: none;
  }

  .site-header .header-cta {
    padding: 8px 10px;
  }
}

/* Hero: centred copy on a soft blue gradient panel, product shot below. */
.hero {
  border: 0;
  overflow: visible;
  padding: 10px 16px 0;
}

.hero-glow {
  display: none;
}

.hero-panel {
  align-items: center;
  background:
    radial-gradient(55% 60% at 12% 0%, #d7e5ff 0%, transparent 62%),
    radial-gradient(45% 55% at 92% 8%, #d4ecfe 0%, transparent 60%),
    radial-gradient(60% 55% at 50% 100%, #e4e4ff 0%, transparent 66%),
    linear-gradient(180deg, #f2f6ff 0%, #fafbff 100%);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1240px;
  overflow: hidden;
  padding: 72px 28px 0;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 14.5px;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px 6px 8px;
}

.hero-kicker img {
  display: block;
  flex: none;
  height: 20px;
  width: 20px;
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.04;
  margin: 0 auto 18px;
  max-width: 14ch;
}

.hero h1 > span:not(.grad) {
  display: inline;
}

.hero .lead,
.hero-copy .lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 38em;
}

.hero-actions {
  justify-content: center;
  margin-bottom: 16px;
}

.hero-fine {
  color: var(--subtle);
  font-size: 13.5px;
  margin: 0;
}

.hero-fine a {
  color: var(--link);
}

.hero-works {
  border: 0;
  justify-content: center;
  margin: 26px 0 0;
  order: 2;
  padding: 0;
}

.hero-works li {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(31, 31, 31, 0.08);
}

.hero-shot {
  margin: 40px auto 0;
  max-width: 920px;
  order: 3;
  width: 100%;
}

.hero-shot img {
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 30px 70px -30px rgba(26, 62, 140, 0.35);
}

@media (max-width: 760px) {
  .hero-panel {
    border-radius: 24px;
    padding: 48px 18px 0;
  }
}

/* Sections: tighter rhythm, centred heads. */
.features,
.steps,
.guides,
.pricing,
.install,
.product-flow,
.hubs,
.faq {
  padding-bottom: 72px;
  padding-top: 72px;
}

.product-flow {
  background: none;
}

.section-head {
  margin-bottom: 32px;
}

.section-lead {
  font-size: 16px;
}

/* Cards: white, soft border, blue on hover. */
.feature-card,
.guide-card,
.hub-card,
.step-card,
.pricing-card,
.support-card,
.blog-card-item,
.blog-prompt-hub-card,
.blog-cta-card,
.flow-node,
.plan {
  border-color: var(--line);
  border-radius: 20px;
  box-shadow: none;
}

.feature-card:hover,
.guide-card:hover,
.hub-card:hover,
.support-card:hover,
.blog-card-item:hover,
.blog-prompt-hub-card:hover {
  border-color: #a8c7fa;
  box-shadow: var(--shadow-md);
}

.plan.is-pro {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(66, 133, 244, 0.12), transparent 60%),
    #fff;
  border-color: #a8c7fa;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.price-compare b {
  font-family: var(--font-display);
  font-weight: 500;
}

/* FAQ: questions as blue links with a chevron. */
.faq-item summary {
  color: var(--link);
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 400;
  padding: 18px 32px 18px 0;
  position: relative;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::after {
  border-bottom: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  content: "";
  float: none;
  height: 7px;
  position: absolute;
  right: 6px;
  top: 24px;
  transform: rotate(45deg);
  transition: transform 0.2s;
  width: 7px;
}

.faq-item[open] summary::after {
  content: "";
  top: 27px;
  transform: rotate(-135deg);
}

/* Closing band: black with a blue glow. */
.cta-band {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(66, 133, 244, 0.5), transparent 60%),
    radial-gradient(45% 70% at 0% 100%, rgba(138, 180, 248, 0.22), transparent 60%),
    #0e1013;
  border-radius: 28px;
}

/* Footer: quiet, with a soft blue wash. */
.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #eef3fd 100%);
  border-top: 1px solid var(--line-soft);
}

.footer-col h2,
.site-footer .logo-text {
  font-family: var(--font-display);
}

/* Blog and inner pages pick up the same accents. */
.blog-category-link.is-active,
.blog-category-link[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
}

.blog-card-tag {
  background: var(--accent-soft);
  color: var(--accent);
}

.blog-article-body a,
.page-main a,
.section-lead a {
  color: var(--link);
}

.hero h1 > span.grad {
  display: inline;
}

/* Manual install card (homepage) */
.install-manual {
  align-items: start;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 20px;
  padding: 32px 36px;
}

.install-manual h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.install-manual-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.install-manual .button {
  gap: 8px;
}

.install-steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.install-steps li {
  color: var(--ink);
  counter-increment: step;
  font-size: 15px;
  line-height: 1.55;
  padding-left: 40px;
  position: relative;
}

.install-steps li::before {
  align-items: center;
  background: #fff;
  border: 1px solid #c4c7c5;
  border-radius: 50%;
  color: var(--accent);
  content: counter(step);
  display: flex;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  height: 26px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: -1px;
  width: 26px;
}

.install-steps code {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  padding: 1px 6px;
}

@media (max-width: 760px) {
  .install-manual {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 22px;
  }
}

/* 12. Visual homepage: image showcase + icon strip -------------------------- */

.showcase {
  margin: 0 auto;
  max-width: calc(var(--max) + 64px);
  padding: 88px 32px 40px;
}

.show-rows {
  display: grid;
  gap: 88px;
}

.show-row {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.show-row.is-reverse .show-copy {
  order: 2;
}

.show-copy {
  max-width: 400px;
}

.show-ico {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.show-ico svg {
  height: 22px;
  width: 22px;
}

.show-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 12px;
}

.show-copy p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.show-link {
  color: var(--link);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
}

.show-link:hover {
  text-decoration: underline;
}

.show-shot {
  background:
    radial-gradient(70% 80% at 20% 0%, #dbe7ff 0%, transparent 65%),
    radial-gradient(60% 70% at 100% 100%, #e6e3ff 0%, transparent 65%),
    #f3f6fd;
  border-radius: 28px;
  margin: 0;
  padding: 28px 28px 0;
  overflow: hidden;
}

.show-row.is-reverse .show-shot {
  background:
    radial-gradient(70% 80% at 80% 0%, #d7f0fe 0%, transparent 65%),
    radial-gradient(60% 70% at 0% 100%, #dfe8ff 0%, transparent 65%),
    #f3f6fd;
}

.show-shot img {
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 24px 50px -24px rgba(26, 62, 140, 0.35);
  display: block;
  height: auto;
  width: 100%;
}

.more {
  margin: 0 auto;
  max-width: calc(var(--max) + 64px);
  padding: 40px 32px 72px;
  text-align: center;
}

.more-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.more-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  max-width: 860px;
  padding: 0;
}

.more-grid a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 14.5px;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  transition: border-color 0.15s, color 0.15s;
}

.more-grid a:hover {
  border-color: #a8c7fa;
  color: var(--accent);
}

.more-ico {
  color: var(--accent);
  display: inline-flex;
  height: 18px;
  width: 18px;
}

.more-ico svg {
  height: 100%;
  width: 100%;
}

.more-guides {
  color: var(--muted);
  font-size: 15px;
  margin: 28px 0 0;
}

.more-guides a {
  color: var(--link);
}

@media (max-width: 860px) {
  .showcase {
    padding: 64px 20px 24px;
  }

  .show-rows {
    gap: 56px;
  }

  .show-row,
  .show-row.is-reverse {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
  }

  .show-row.is-reverse .show-copy {
    order: 0;
  }

  .show-shot {
    border-radius: 20px;
    padding: 16px 16px 0;
  }

  .more {
    padding: 32px 20px 56px;
  }
}

.show-row.is-reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

@media (max-width: 860px) {
  .show-row.is-reverse {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 13. Compact landing -------------------------------------------------------- */

.hero-panel {
  padding-top: 56px;
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  margin-bottom: 14px;
  max-width: 16ch;
}

.hero .lead,
.hero-copy .lead {
  font-size: 17px;
  margin-bottom: 22px;
  max-width: 34em;
}

.hero-works {
  margin-top: 20px;
}

.hero-shot {
  margin-top: 30px;
  max-width: 860px;
}

.showcase {
  padding-bottom: 24px;
  padding-top: 64px;
}

.showcase .section-head {
  margin-bottom: 24px;
}

.show-rows {
  gap: 48px;
}

.show-row,
.show-row.is-reverse {
  gap: 40px;
}

.show-copy h3 {
  font-size: clamp(22px, 2.3vw, 28px);
}

.show-copy p {
  font-size: 15.5px;
  margin-bottom: 14px;
}

.show-shot {
  border-radius: 22px;
  padding: 20px 20px 0;
}

.more {
  padding-bottom: 48px;
  padding-top: 32px;
}

.pricing,
.faq,
.install {
  padding-bottom: 56px;
  padding-top: 56px;
}

.plan {
  padding: 26px 28px;
}

.plan-desc {
  margin-bottom: 14px;
}

.plan-features {
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
}

.plans-note {
  margin-top: 16px;
}

.faq-item summary {
  padding-bottom: 14px;
  padding-top: 14px;
}

.faq-item summary::after {
  top: 20px;
}

.faq-item[open] summary::after {
  top: 23px;
}

.cta-band {
  gap: 32px;
  padding: 44px 48px;
}

.install {
  padding-bottom: 72px;
}

@media (max-width: 860px) {
  .show-rows {
    gap: 40px;
  }

  .cta-band {
    padding: 32px 24px;
  }
}

/* Blog thumbnails (scripts/blog-thumbs): flush to the card's top edge */
.blog-card-thumb {
  aspect-ratio: 1200 / 630;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  display: block;
  height: auto;
  margin: -24px -26px 18px;
  max-width: none;
  object-fit: cover;
  width: calc(100% + 52px);
}

.blog-cluster-main .blog-card-thumb {
  border-radius: 12px;
  margin: 0 0 14px;
  width: 100%;
}

.blog-article-hero {
  margin: 8px 0 28px;
}

.blog-article-hero img {
  aspect-ratio: 1200 / 630;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 12px 32px -12px rgba(11, 30, 70, 0.25);
  display: block;
  height: auto;
  width: 100%;
}

/* 9b. Blog hub, compact: category list on the left, small cards 4 in a row */
.blog-hub {
  padding-top: 28px;
}

.blog-hub-head {
  margin-bottom: 22px;
  max-width: 760px;
}

.blog-hub-head h1 {
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 6px 0 8px;
}

.blog-hub-lead {
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0;
}

.blog-layout {
  align-items: start;
  gap: 28px;
  grid-template-columns: 196px minmax(0, 1fr);
}

.blog-sidebar {
  position: sticky;
  top: 84px;
}

.blog-sidebar-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  margin: 0 0 8px 10px;
  text-transform: uppercase;
}

.blog-categories {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 2px;
}

.blog-category-link {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
}

.blog-category-link:hover {
  background: var(--accent-soft, #e8f0fe);
  color: var(--ink);
}

.blog-category-link.is-active,
.blog-category-link[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.blog-sidebar .blog-cluster {
  background: none;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
}

.blog-sidebar .blog-cluster-kicker {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  margin: 0 0 6px 10px;
  text-transform: uppercase;
}

.blog-sidebar .blog-cluster-main {
  background: none;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  display: block;
  padding: 8px 10px;
}

.blog-sidebar .blog-cluster-main:hover,
.blog-sidebar .blog-cluster-list a:hover {
  background: var(--accent-soft, #e8f0fe);
}

.blog-sidebar .blog-cluster-main .blog-card-tag,
.blog-sidebar .blog-cluster-main span:last-child {
  display: none;
}

.blog-sidebar .blog-cluster-main strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.blog-sidebar .blog-cluster-list {
  margin: 0;
  padding: 0;
}

.blog-sidebar .blog-cluster-list a {
  border-radius: 10px;
  color: var(--muted);
  display: block;
  font-size: 14px;
  padding: 7px 10px;
}

.blog-cards {
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blog-card-item-link {
  padding: 14px 16px 14px;
}

.blog-card-thumb {
  margin: -14px -16px 12px;
  width: calc(100% + 32px);
}

.blog-card-item .blog-card-tag {
  font-size: 10.5px;
  margin-bottom: 8px;
  padding: 3px 9px;
}

.blog-card-item h2 {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  font-size: 15.5px;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
}

.blog-cards .blog-card-item p {
  display: none;
}

.blog-card-item-meta {
  font-size: 12.5px;
  overflow: hidden;
  padding-top: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1240px) {
  .blog-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-sidebar {
    position: static;
  }

  .blog-sidebar-label,
  .blog-sidebar .blog-cluster {
    display: none;
  }

  .blog-categories {
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0 -20px;
    overflow-x: auto;
    padding: 0 20px 4px;
    scrollbar-width: none;
  }

  .blog-category-link {
    border: 1px solid var(--line);
    border-radius: 999px;
    flex: none;
    padding: 7px 14px;
  }

  .blog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .blog-cards {
    gap: 12px;
  }

  .blog-card-item-link {
    padding: 12px 12px 12px;
  }

  .blog-card-thumb {
    margin: -12px -12px 10px;
    width: calc(100% + 24px);
  }

  .blog-cards .blog-card-item .blog-card-tag,
  .blog-card-item-meta span {
    display: none;
  }

  .blog-card-item h2 {
    font-size: 14.5px;
  }

  .blog-card-item-meta {
    font-size: 12px;
    padding-top: 8px;
  }
}

/* 9c. Blog cards, minimal: hairline border, small radius, no shadow or lift */
.blog-cards .blog-card-item {
  border: 1px solid #e6e8eb;
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.15s;
}

.blog-cards .blog-card-item:hover {
  border-color: #c4c7c5;
  box-shadow: none;
  transform: none;
}

.blog-cards .blog-card-thumb {
  border-radius: 0;
  transition: opacity 0.15s;
}

.blog-cards .blog-card-item:hover .blog-card-thumb {
  opacity: 0.92;
}

.blog-cards .blog-card-item .blog-card-tag {
  background: none;
  border-radius: 0;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
  padding: 0;
}

.blog-cards .blog-card-item:hover h2 {
  color: var(--accent);
}

.blog-cards .blog-prompt-hub-card {
  border-radius: 10px;
  box-shadow: none;
}

.blog-cards .blog-prompt-hub-card:hover {
  transform: none;
}

.blog-cards .blog-card-item-meta {
  font-size: 12px;
  gap: 5px;
}

/* 14. Works with your AI chats (homepage) ----------------------------------- */
.works-with { margin: 56px auto 8px; max-width: 980px; padding: 0 20px; text-align: center; }
.works-with h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.02em; line-height: 1.15; margin: 8px auto 10px; max-width: 22ch; }
.works-with .ww-lead { color: var(--muted); font-size: 16.5px; margin: 0 auto 26px; max-width: 560px; }
.ww-logos { display: grid; gap: 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.ww-logos li {
  align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column;
  font: 500 14px/1.2 var(--font-display); gap: 10px; padding: 18px 8px 16px; transition: border-color .15s, transform .15s;
}
.ww-logos li:hover { border-color: #c4c7c5; transform: translateY(-2px); }
.ww-logos img { display: block; height: 30px; width: 30px; }
.ww-more { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 13.5px; gap: 8px 14px; justify-content: center; margin: 18px 0 0; }
.ww-mini { align-items: center; display: inline-flex; gap: 6px; }
.ww-mini img { display: block; height: 16px; width: 16px; }
@media (max-width: 760px) { .ww-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 15. Use-case pages (/researchers, /creators) ------------------------------ */
.uc-page { margin: 0 auto; max-width: calc(var(--max) + 64px); padding: 0 32px 80px; }
.uc-hero { margin: 0 auto; max-width: 820px; padding: 56px 0 24px; text-align: center; }
.uc-hero h1 { font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -0.035em; line-height: 1.05; margin: 10px 0 16px; }
.uc-lead { color: var(--muted); font-size: 18px; line-height: 1.55; margin: 0 auto 26px; max-width: 640px; }
.uc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.uc-works { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; margin-top: 28px; }
.uc-works > span { color: var(--muted); font-size: 13px; }
.uc-works ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.uc-works li { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; font-size: 13px; font-weight: 500; gap: 7px; padding: 6px 12px 6px 8px; }
.uc-works img { display: block; height: 18px; width: 18px; }
.uc-section { margin-top: 64px; }
.uc-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uc-card { background: #fff; border: 1px solid #e6e8eb; border-radius: 14px; display: flex; flex-direction: column; padding: 22px 24px 20px; position: relative; }
.uc-num { color: var(--accent); font: 600 12px/1 var(--font-display); letter-spacing: .08em; }
.uc-card h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; margin: 8px 0 8px; }
.uc-job { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.uc-job b { color: var(--ink); font-weight: 600; }
.uc-steps { color: var(--ink); display: grid; font-size: 14.5px; gap: 6px; line-height: 1.5; margin: 0 0 16px; padding-left: 20px; }
.uc-steps li::marker { color: var(--accent); font-weight: 600; }
.uc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.uc-chip { background: var(--accent-soft, #e8f0fe); border-radius: 999px; color: var(--accent); font-size: 12.5px; font-weight: 500; padding: 5px 11px; text-decoration: none; }
.uc-chip:hover { background: var(--accent); color: #fff; }
.uc-flow { counter-reset: none; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.uc-flow li { background: #fff; border: 1px solid #e6e8eb; border-radius: 14px; display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.uc-flow-n { align-items: center; background: var(--ink); border-radius: 50%; color: #fff; display: inline-flex; font: 600 13px/1 var(--font-display); height: 28px; justify-content: center; margin-bottom: 4px; width: 28px; }
.uc-flow b { font-size: 16px; }
.uc-flow span:last-child { color: var(--muted); font-size: 14px; line-height: 1.45; }
.uc-faq { margin-left: auto; margin-right: auto; max-width: 760px; }
.uc-faq-item { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.uc-faq-item summary { cursor: pointer; font-size: 16.5px; font-weight: 500; list-style: none; }
.uc-faq-item summary::-webkit-details-marker { display: none; }
.uc-faq-item summary::after { color: var(--muted); content: "+"; float: right; }
.uc-faq-item[open] summary::after { content: "−"; }
.uc-faq-item p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 10px 0 0; }
.uc-cta { align-items: center; background: linear-gradient(140deg, #0b0d12 0%, #0c1426 55%, #0a1a3d 100%); border-radius: 20px; color: #fff; display: flex; gap: 20px; justify-content: space-between; padding: 32px 36px; }
.uc-cta h2 { color: #fff; font-size: 26px; letter-spacing: -0.02em; margin: 0 0 6px; }
.uc-cta p { color: #c4cbd8; margin: 0; }
.uc-cta .button-primary { background: #fff; color: #1f1f1f; flex: none; }
.uc-others { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 16px; }
.uc-other { border: 1px solid var(--line); border-radius: 14px; color: var(--ink); display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; text-decoration: none; }
.uc-other span { color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.uc-other:hover { border-color: var(--accent); }
@media (max-width: 860px) {
  .uc-page { padding: 0 18px 64px; }
  .uc-grid { grid-template-columns: minmax(0, 1fr); }
  .uc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-cta { align-items: flex-start; flex-direction: column; padding: 26px 22px; }
}

/* Use-case cards: what it makes, and a prompt to copy (teachers page) */
.uc-card-top { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.uc-makes { background: #e8f0fe; border-radius: 999px; color: #0b57d0; font-size: 12px; font-weight: 600; padding: 4px 10px; white-space: nowrap; }
.uc-prompt { background: #f6f8fc; border: 1px solid #e3e8f1; border-radius: 12px; margin: 4px 0 14px; overflow: hidden; }
.uc-prompt-head { align-items: center; border-bottom: 1px solid #e3e8f1; color: #5f6368; display: flex; font-size: 12px; font-weight: 600; justify-content: space-between; letter-spacing: .04em; padding: 7px 8px 7px 14px; text-transform: uppercase; }
.uc-copy { background: #fff; border: 1px solid #dadce0; border-radius: 999px; color: #1f1f1f; cursor: pointer; font: 500 12.5px/1 var(--font-body, inherit); letter-spacing: 0; padding: 6px 12px; text-transform: none; }
.uc-copy:hover { border-color: #0b57d0; color: #0b57d0; }
.uc-prompt pre { color: #3c4043; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin: 0; max-height: 210px; overflow: auto; padding: 12px 14px; white-space: pre-wrap; word-break: break-word; }

/* Blog: in-article answer box, plans table and install box */
.post-answer { background: #f3f7fe; border: 1px solid #d6e3fb; border-radius: 14px; margin: 0 0 22px; padding: 16px 20px; }
.post-answer p { margin: 0; }
.post-answer .post-answer-label { color: #0b57d0; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 6px; text-transform: uppercase; }
.post-table-wrap { margin: 8px 0 10px; overflow-x: auto; }
.post-table { border-collapse: collapse; font-size: 14.5px; min-width: 620px; width: 100%; }
.post-table th, .post-table td { border-bottom: 1px solid #e3e6ea; padding: 10px 12px; text-align: left; vertical-align: top; }
.post-table thead th { background: #f6f8fc; color: #1f1f1f; font-weight: 600; }
.post-table tbody th { color: #3c4043; font-weight: 600; width: 22%; }
.post-table td:nth-child(2) { background: #f8fbff; }
.post-note { color: #5f6368; font-size: 14px; }
.post-cta { align-items: center; background: #fff; border: 1px solid #dbe3f0; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -16px rgba(11,31,69,.25); display: grid; gap: 14px 16px; grid-template-columns: auto 1fr auto; margin: 26px 0 30px; padding: 18px 20px; }
.post-cta-mark { border-radius: 8px; }
.post-cta-text p { color: #3c4043; font-size: 14.5px; line-height: 1.5; margin: 0; }
.post-cta-text .post-cta-title { color: #1f1f1f; font: 600 16.5px/1.3 var(--font-display, inherit); margin-bottom: 4px; }
.post-cta-actions { align-items: center; display: flex; flex-direction: column; gap: 8px; }
.post-cta-actions .button { white-space: nowrap; }
.post-cta-link { color: #0b57d0; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.post-cta-link:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .post-cta { grid-template-columns: auto 1fr; }
  .post-cta-actions { align-items: flex-start; grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 12px; }
}

/* Slide styles page */
.ss-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px auto 6px; max-width: 1080px; padding: 0 20px; }
.ss-cats a { background: #f1f4f9; border-radius: 999px; color: #1f1f1f; font-size: 14px; font-weight: 500; padding: 8px 14px; text-decoration: none; }
.ss-cats a span { color: #5f6368; margin-left: 4px; }
.ss-cats a:hover { background: #e8f0fe; color: #0b57d0; }
.ss-group { margin: 0 auto; max-width: 1180px; padding: 34px 20px 8px; scroll-margin-top: 80px; }
.ss-group h2 { font: 600 24px/1.2 var(--font-display, inherit); margin: 0 0 16px; }
.ss-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ss-card { background: #fff; border: 1px solid #e6e8eb; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 80px; }
.ss-card .pl-preview { aspect-ratio: 16 / 9; border-radius: 0; height: auto; min-height: 0; width: 100%; }
.ss-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.ss-card-head { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.ss-card-head h3 { font: 600 17px/1.3 var(--font-display, inherit); margin: 0; }
.ss-badge { background: #f1f4f9; border-radius: 999px; color: #5f6368; flex: none; font-size: 12px; font-weight: 600; padding: 3px 9px; }
.ss-card-body > p { color: #5f6368; font-size: 14px; margin: 0; }
.ss-card .uc-prompt { margin: 6px 0 0; }
.ss-card .uc-prompt pre { max-height: 150px; }
.ss-how .uc-flow { margin-top: 0; }

/* Header with eight links: keep one line down to the 860px menu breakpoint */
.site-header .header-cta { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 861px) {
  .site-nav > a { font-size: 13.5px; padding: 7px 9px; }
}
@media (max-width: 1000px) and (min-width: 861px) {
  .site-nav > a { padding: 7px 7px; }
  .site-header .header-cta { padding: 8px 12px 8px 10px; }
}

/* Blog posts: the article column never grows past the screen (wide tables scroll inside) */
.blog-article { min-width: 0; }
@media (max-width: 960px) {
  .blog-article-layout,
  .blog-article-layout--with-toc { grid-template-columns: minmax(0, 1fr); }
}

/* In-article install box: buttons keep button colours inside article link styles */
.blog-article-body .post-cta a.button { color: #fff; text-decoration: none; }
.blog-article-body .post-cta a.post-cta-link { color: #0b57d0; text-decoration: none; }
.blog-article-body .post-cta a.post-cta-link:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .blog-article-body table:not(.post-table) { display: block; max-width: 100%; overflow-x: auto; }
}
.blog-article-body a { overflow-wrap: anywhere; }
.ss-cats { margin-top: 30px; }
.ss-card .pl-preview-inner { inset: 0; padding: 20px 22px; }
.ss-card .pl-preview-kicker { font-size: 11px; }
.ss-card .pl-preview-title { font-size: 34px; line-height: 1.05; }
.ss-card .pl-preview-sub { font-size: 13px; }
