/* Shared GlasBox foundation. Load after route styles. Components are opt-in. */
:root {
  --gb-page-width: 1200px;
  --gb-card-radius: 18px;
  --gb-control-radius: 14px;
  --gb-space-section: clamp(36px, 5vw, 56px);
  --gb-focus: #b74413;
  --gb-hash-gradient: linear-gradient(140deg, #ffad60, #f16b26 50%, #ba3b13);
}
[data-theme="dark"] { --gb-focus: #ffac87; }
/* One palette and type scale across the public site. Reader text sizing stays independent. */
body.gb-studio {
  --gb-ink: #0f172a;
  --gb-copy: #475569;
  --gb-line: #cbd2db;
  --gb-panel: #fff;
  --gb-soft: #f2f4f6;
  --gb-canvas: #fbfbfc;
  --gb-accent-ink: #b74413;
  --reading-ink: var(--gb-copy);
  --reading-rule: var(--gb-line);
  --reading-panel: var(--gb-soft);
  --content-max: var(--gb-page-width);
  --text: var(--gb-ink);
  --muted: var(--gb-copy);
}
html[data-theme="dark"] body.gb-studio {
  --gb-ink: #f1f5f9;
  --gb-copy: #c6cfda;
  --gb-line: #465567;
  --gb-panel: #182331;
  --gb-soft: #1c2938;
  --gb-canvas: #111a26;
  --gb-accent-ink: #ffac87;
}
body.gb-studio :is(.main, .content, .content > *) { min-width: 0; }
body.gb-studio .main > .content {
  display: block;
  box-sizing: border-box;
  padding: 24px clamp(18px, 3.2vw, 40px) max(88px, env(safe-area-inset-bottom));
  scroll-padding-top: 24px;
  container: gb-content / inline-size;
}
body.gb-studio .content > :is(.view-section, .seo26, .s01-page),
body.gb-studio #dashboard.gb-hub {
  width: 100%;
  max-width: var(--gb-page-width);
  margin-inline: auto;
}
body.gb-studio .content > .view-section.active { display: block; }
body.gb-studio .content > .solution-page { padding-bottom: 0; }
body.gb-studio .content :is(section, article, figure, h2, h3)[id] { scroll-margin-top: 28px; }
body.gb-studio .content :is(.service-hero-title, .page-hero-title, .s01-hero h1, .cs-hero h1),
body.gb-studio #dashboard .hero-title {
  font: 760 clamp(36px, 4.5vw, 60px)/1.08 var(--font-ui);
  letter-spacing: -.055em;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: break-word;
  max-width: 23ch;
  margin: 0 0 24px;
  color: var(--gb-ink);
}
body.gb-studio .content :is(.solution-page, .s01-page, .projects-page) h2:not(.sr-only):not(.package-name),
body.gb-studio #dashboard .gb-hub-section h2:not(.home-report-title):not(.package-name) {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 730;
  line-height: 1.15;
  letter-spacing: -.045em;
  max-width: 29ch;
  text-wrap: balance;
}
body.gb-studio .content :is(.service-hero-lead, .hero-subtitle, .page-hero-lead) {
  color: var(--gb-copy);
  font-size: 18px;
  line-height: 1.65;
  max-width: 62ch;
}
body.gb-studio .content :is(.service-hero-eyebrow, .s26-eyebrow, .data-label, .s01-eyebrow, .blog-eyebrow) {
  color: var(--gb-copy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .09em;
}
body.gb-studio .content :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--gb-focus);
  outline-offset: 4px;
}
body.gb-studio .content a.btn {
  min-height: 52px;
  max-width: 100%;
  padding: 13px 18px;
  border-radius: var(--gb-control-radius);
  font: 650 14px/1.45 var(--font-ui);
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
/* A label and a meaningful icon carry the action; no decorative arrow badges. */
body.gb-studio .content a.btn::after { content: none; }
body.gb-studio .content a.btn > .icon { flex: 0 0 20px; width: 20px; height: 20px; }
body.gb-studio .content :is(.gb-service-glyph, .gb-service-mark) {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gb-line);
  border-radius: 10px;
  background: var(--gb-panel);
  color: var(--gb-accent-ink);
  box-shadow: none;
  transform: none;
}
body.gb-studio .content :is(.gb-service-glyph, .gb-service-mark) :is(svg, .icon) { width: 22px; height: 22px; }
body.gb-studio .content .gb-service-glyph::before,
body.gb-studio .content .gb-service-glyph::after { content: none; }

/* Home and service introductions share the same geometry, based on usable content width. */
body.gb-studio .content .service-dash-hero,
body.gb-studio #dashboard .dash-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  max-width: none;
  margin: 0 0 28px;
  padding: 24px 0 8px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.gb-studio .content .service-dash-hero::before,
body.gb-studio #dashboard .dash-hero::before { content: none; }
body.gb-studio .content :is(.service-hero-copy, .service-hero-proof),
body.gb-studio #dashboard .hero-copy { width: auto; max-width: none; min-width: 0; }
body.gb-studio .content .service-hero-support { font-size: 15px; line-height: 1.7; max-width: 64ch; }
body.gb-studio .content .service-proof-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 8px 24px;
  border: 1px solid var(--gb-line);
  border-radius: var(--gb-card-radius);
  background: var(--gb-panel);
}
body.gb-studio .content .service-proof-card {
  min-height: 0;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--gb-line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.gb-studio .content .service-proof-card:last-child { border-bottom: 0; }
body.gb-studio .content .service-proof-label { font-size: 12px; color: var(--gb-copy); }
body.gb-studio .content .service-proof-value { font-size: 18px; line-height: 1.4; }
body.gb-studio .solution-page > :is(.ai-section-card, .seo-section-card):not(.gb-service-choice),
body.gb-studio .solution-page :is(.state-business, .state-engineering) > .card:not(.card--cta):not(.gb-proof-block) {
  padding: var(--gb-space-section) 0 0;
  margin: 0 0 var(--gb-space-section);
  border: 0;
  border-top: 1px solid var(--gb-line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.gb-studio .content :is(.gb-step, .gb-service-grid > div) {
  border-radius: var(--gb-card-radius);
  background: var(--gb-panel);
  box-shadow: none;
}
body.gb-studio .content :is(.gb-steps, .gb-service-grid, .ai-build-grid, .ai-proof-grid, .ai-view-grid) { gap: 24px; }
body.gb-studio .content :is(.gb-page-nav, .gb-chapter-nav, .cs-chapters, .s01-page-nav) {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  padding: 12px 0;
  margin: 0 0 32px;
  border: 0;
  border-block: 1px solid var(--gb-line);
  border-radius: 0;
  background: none;
}
body.gb-studio .content :is(.gb-page-nav, .gb-chapter-nav, .cs-chapters, .s01-page-nav) a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
  color: var(--gb-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
body.gb-studio .content .gb-page-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
body.gb-studio #dashboard .gb-home-service-art { height: 150px; margin-bottom: 4px; }
body.gb-studio #dashboard .gb-home-service { grid-template-rows: subgrid; background: var(--gb-panel); box-shadow: none; }
body.gb-studio #dashboard .gb-home-source-note { grid-template-columns: minmax(0, 1fr); gap: 18px; }

/* Explain the real relationship between services and the controls in a RAG flow. */
body.gb-studio .gb-diagram {
  margin: 0;
  padding: 24px;
  min-width: 0;
  border: 1px solid var(--gb-line);
  border-radius: var(--gb-card-radius);
  background: linear-gradient(135deg, #ff783d09, transparent 65%), var(--gb-panel);
}
.gb-diagram-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 11px; color: var(--gb-copy); }
.gb-diagram-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 750; letter-spacing: .08em; color: var(--gb-ink); }
.gb-diagram-brand > span { color: #e85c1a; font-size: 23px; line-height: 1; background: var(--gb-hash-gradient); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
body.gb-studio .content .gb-diagram-title { margin: 22px 0; max-width: 28ch; color: var(--gb-ink); font-size: 23px; font-weight: 680; letter-spacing: -.025em; line-height: 1.3; }
.gb-diagram-origin { padding: 13px; border: 1px solid var(--gb-line); border-radius: 10px; text-align: center; font-size: 14px; font-weight: 650; }
.gb-diagram-branches { display: grid; gap: 16px; padding-top: 22px; position: relative; }
.gb-diagram-branches::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 22px; background: var(--gb-line); }
.gb-diagram-node { min-width: 0; border: 1px solid var(--gb-line); border-top: 2px solid var(--accent-solid); border-radius: 10px; padding: 16px; background: var(--gb-panel); }
.gb-diagram-label { display: block; color: var(--gb-copy); font-size: 12px; line-height: 1.5; margin-bottom: 8px; }
.gb-diagram-node strong { font-size: 20px; font-weight: 700; line-height: 1.3; }
body.gb-studio .content .gb-diagram-node p { font-size: 14px; line-height: 1.6; margin: 8px 0 0; }
body.gb-studio .content .gb-diagram-foundation { font-size: 14px; line-height: 1.6; color: var(--gb-copy); margin: 20px 0 0; border-top: 1px solid var(--gb-line); padding-top: 18px; }
.gb-diagram-foundation strong { display: block; color: var(--gb-ink); margin-bottom: 5px; }
.gb-diagram-sequence { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
.gb-diagram-sequence li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 0 0 20px; position: relative; }
.gb-diagram-sequence li > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gb-line); border-radius: 50%; font-size: 11px; color: var(--gb-accent-ink); position: relative; background: var(--gb-panel); }
.gb-diagram-sequence li:not(:last-child)::before { content: ''; position: absolute; top: 33px; bottom: 0; left: 15px; width: 1px; background: var(--gb-line); }
.gb-diagram-sequence strong { display: block; color: var(--gb-ink); font-size: 16px; line-height: 1.5; padding-top: 2px; }
body.gb-studio .content .gb-diagram-sequence p { color: var(--gb-copy); font-size: 14px; line-height: 1.6; margin: 5px 0 0; }
.gb-diagram-boundary { padding: 16px; border-left: 2px solid var(--accent-solid); background: var(--gb-soft); }
.gb-diagram-boundary strong { font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--gb-ink); }
body.gb-studio .content .gb-diagram-note { margin: 18px 0 0; color: var(--gb-copy); font-size: 12px; line-height: 1.6; }

/* A readable comparison stays a real table; on small screens each row becomes a pair. */
.gb-table-wrap { max-width: 100%; margin-block: 24px; }
.gb-comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.gb-comparison-table caption { text-align: left; font-size: 14px; color: var(--gb-copy); margin-bottom: 16px; }
.gb-comparison-table :is(th, td) { padding: 20px; border-bottom: 1px solid var(--gb-line); vertical-align: top; overflow-wrap: anywhere; font-size: 15px; line-height: 1.7; }
.gb-comparison-table th { color: var(--gb-ink); font-weight: 650; }
.gb-comparison-table td { color: var(--gb-copy); }
.gb-comparison-table thead { background: var(--gb-soft); }
.gb-comparison-table th:first-child { width: 30%; }

/* Journal and SOURCE/01 keep their own content layout, sharing the studio's palette. */
body.gb-studio.blog-editorial {
  --blog-ink: var(--gb-ink); --blog-muted: var(--gb-copy); --blog-paper: var(--gb-panel);
  --blog-soft: var(--gb-soft); --blog-line: var(--gb-line); --blog-link: var(--gb-accent-ink);
  background: var(--gb-canvas);
}
body.gb-studio.blog-editorial .content { background: var(--gb-canvas); }
body.gb-studio.blog-editorial :is(.blog-card, .blog-faq-section, .blog-intro-card, .blog-cta-box, .blog-fold) { border-radius: var(--gb-card-radius); }
body.gb-studio.blog-editorial :is(.blog-search-field, .blog-search button, .blog-font-tools button, .blog-cat-btn) { border-radius: var(--gb-control-radius); }
body.gb-studio.blog-editorial :is(.blog-cat-btn, .blog-font-tools button, .blog-to-top, .blog-language-link) { min-height: 44px; }
body.gb-studio.blog-editorial .blog-font-tools button { min-width: 44px; }
body.gb-studio.source01-route {
  --s01-bg: var(--gb-canvas); --s01-surface: var(--gb-panel); --s01-ink: var(--gb-ink);
  --s01-copy: var(--gb-copy); --s01-muted: var(--gb-copy); --s01-line: var(--gb-line);
  --s01-soft: var(--gb-soft); --s01-accent: var(--gb-accent-ink);
}
body.gb-studio .s01-page :is(.s01-hero-board, .s01-entry-card, .s01-offer-card),
body.gb-studio .cs-page :is(.cs-card, .cs-example, .cs-conditions) { border-radius: var(--gb-card-radius); box-shadow: none; }
body.gb-studio .s01-page .s01-section { padding-block: var(--gb-space-section); }
body.gb-studio .s01-page :is(.s01-offer, .s01-example, .s01-final, .s01-mandate) { border-radius: var(--gb-card-radius); }
body.gb-studio .s01-page .s01-button { min-height: 52px; padding: 13px 18px; border-radius: var(--gb-control-radius); font-size: 14px; font-weight: 650; }
body.gb-studio .s01-page .s01-deliverables > div { padding-left: 112px; min-height: 148px; }
body.gb-studio .s01-page .s01-deliverables dt { font-size: 21px; line-height: 1.35; }
body.gb-studio .s01-page .s01-deliverables dd { font-size: 16px; line-height: 1.7; }
body.gb-studio .s01-page .s01-deliverable-art { top: 24px; width: 96px; height: 96px; }
body.gb-studio .cs-page .cs-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
body.gb-studio .cs-page .cs-hero-visual { margin: 0; background: var(--gb-panel); border-color: var(--gb-line); border-radius: var(--gb-card-radius); box-shadow: none; }
body.gb-studio .cs-page .cs-hero-visual::before { content: none; }
body.gb-studio .cs-page .cs-hero-visual figcaption { margin-top: 20px; }
.gb-method-steps { display: grid; gap: 24px; list-style: none; padding: 0; margin: 20px 0 var(--gb-space-section); }
.gb-method-steps > li { min-width: 0; border-top: 2px solid var(--gb-line); }
body.gb-studio .gb-method-steps .seo-section-card { margin: 0; padding: 24px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.gb-studio .content .gb-method-steps h2 { font-size: 26px; }
body.gb-studio .gb-method-steps p { margin: 0; font-size: 16px; }

@container gb-content (min-width: 540px) {
  .gb-diagram-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.gb-studio #dashboard .gb-home-source-note { grid-template-columns: 104px minmax(0, 1fr); }
  body.gb-studio #dashboard .gb-home-source-note > a { grid-column: 2; justify-self: start; }
  .gb-method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@container gb-content (min-width: 900px) {
  body.gb-studio .content .service-dash-hero:has(.service-hero-proof),
  body.gb-studio #dashboard .dash-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; }
  body.gb-studio .content .service-hero-actions .btn { width: auto; }
  body.gb-studio .cs-page .cs-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; }
}
@container gb-content (max-width: 620px) {
  body.gb-studio .content :is(.gb-steps, .gb-service-grid, .ai-build-grid, .ai-proof-grid, .ai-view-grid) { grid-template-columns: minmax(0, 1fr); }
  body.gb-studio .content .gb-diagram { padding: 20px; }
  .gb-comparison-table, .gb-comparison-table tbody, .gb-comparison-table tr,
  .gb-comparison-table :is(th, td) { display: block; width: 100%; }
  .gb-comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .gb-comparison-table tr { border-top: 1px solid var(--gb-line); padding: 16px 0; }
  .gb-comparison-table :is(th, td) { border: 0; padding: 6px 0; }
  .gb-comparison-table th:first-child { width: 100%; }
  .gb-comparison-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--gb-copy); font-size: 12px; font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  body.gb-studio .content { scroll-behavior: auto; }
  body.gb-studio .view-section { animation: none; }
}
/* The footer now scrolls with the page; floating controls need no footer offset. */
body.gb-home-glass { --home-footer-clearance: 0px; --home-footer-height: 0px; }
body.view-mode-chat .gb-footer { display: none; }
.gb-button, .seo-page-2026 .seo26 .gb-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--gb-control-radius);
  background: var(--bg-elev);
  color: var(--text);
  font: 650 14px/1.45 var(--font-ui);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color .18s, box-shadow .18s;
}
.gb-button--primary, .seo-page-2026 .seo26 .gb-button--primary {
  color: #fff;
  background: var(--button-coral-reflection), var(--button-coral-surface);
  border-color: var(--button-coral-border);
  box-shadow: var(--button-coral-shadow);
}
.gb-button:hover, .seo-page-2026 .seo26 .gb-button:hover { border-color: var(--accent-solid); box-shadow: 0 5px 20px #0f172a14; }
.gb-button:focus-visible, .gb-footer a:focus-visible { outline: 3px solid var(--gb-focus); outline-offset: 4px; }
.gb-button > .icon { flex: 0 0 20px; width: 20px; height: 20px; }

/* One page introduction, shared by SEO, services, journal and information pages.
   Route styles still own the illustrations and content below the introduction. */
body.gb-studio { background: var(--gb-canvas); }
body.gb-studio :is(.app-shell, .main, .main > .content) { background: var(--gb-canvas); }
body.gb-studio #content-display:has(> #dashboard.gb-hub) { padding-inline: clamp(18px, 3.2vw, 40px); }
body.gb-studio .content .gb-page-hero,
body.gb-studio #dashboard .gb-page-hero {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 0 36px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: left;
  min-width: 0;
}
body.gb-studio .content .gb-page-hero:has(> .gb-hero-copy),
body.gb-studio #dashboard .gb-page-hero:has(> .gb-hero-copy) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}
body.gb-studio .content .gb-page-hero::before,
body.gb-studio #dashboard .gb-page-hero::before { content: none; }
body.gb-studio .content .gb-page-hero :is(.gb-hero-copy, .page-hero-inner),
body.gb-studio #dashboard .gb-hero-copy { width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0; }
body.gb-studio .content .gb-page-hero .gb-hero-eyebrow,
body.gb-studio #dashboard .gb-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: none;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gb-copy);
  font: 700 12px/1.5 var(--font-ui);
  letter-spacing: .09em;
  text-transform: uppercase;
  text-align: left;
}
body.gb-studio .content .gb-page-hero .gb-hero-eyebrow::before,
body.gb-studio #dashboard .gb-hero-eyebrow::before { content: none; }
body.gb-studio .content .gb-page-hero .gb-hero-eyebrow > span[aria-hidden]:first-child,
body.gb-studio #dashboard .gb-hero-eyebrow > span[aria-hidden]:first-child {
  flex: 0 0 auto;
  margin: 0;
  color: #ed681f;
  background: var(--gb-hash-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font: 800 24px/1 var(--font-ui);
  letter-spacing: -.04em;
}
body.gb-studio .content .gb-page-hero .gb-hero-title,
body.gb-studio #dashboard .gb-hero-title {
  width: 100%;
  max-width: 20ch;
  margin: 0 0 24px;
  padding: 0;
  color: var(--gb-ink);
  font: 760 clamp(36px, 4.5vw, 60px)/1.08 var(--font-ui);
  letter-spacing: -.055em;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
body.gb-studio .content .gb-page-hero .gb-hero-lead,
body.gb-studio #dashboard .gb-hero-lead {
  max-width: 51ch;
  margin: 0 0 26px;
  padding: 0;
  color: var(--gb-copy);
  font: 400 18px/1.65 var(--font-ui);
  letter-spacing: 0;
  text-wrap: pretty;
}
body.gb-studio .content .gb-page-hero .gb-hero-actions,
body.gb-studio #dashboard .gb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
}
body.gb-studio .content .gb-page-hero .gb-hero-actions > .gb-button,
body.gb-studio #dashboard .gb-hero-actions > .gb-button {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: var(--gb-control-radius);
  font: 650 14px/1.45 var(--font-ui);
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}
body.gb-studio .content .gb-page-hero .gb-hero-secondary,
body.gb-studio #dashboard .gb-hero-secondary {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--gb-ink);
  font: 650 14px/1.45 var(--font-ui);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}
body.gb-studio .gb-hero-secondary > .icon { flex: 0 0 18px; width: 18px; height: 18px; }
body.gb-studio .content .gb-page-hero .gb-hero-secondary:hover,
body.gb-studio #dashboard .gb-hero-actions .gb-hero-secondary:hover {
  border: 0;
  background: none;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 5px;
}
body.gb-studio .content .gb-page-hero .gb-hero-note,
body.gb-studio #dashboard .gb-hero-note {
  display: block;
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--gb-copy);
  font: 400 13px/1.65 var(--font-ui);
  letter-spacing: 0;
}
body.gb-studio .content .gb-page-hero .gb-hero-note > .icon,
body.gb-studio .content .gb-page-hero .gb-hero-note > .s01-icon { vertical-align: -.25em; margin-right: 8px; }
body.gb-studio .content .gb-page-hero .s01-hero-offer { margin: 0 0 22px; font-size: 15px; }
body.gb-studio .content .gb-page-hero .blog-breadcrumb { margin: 18px 0 0; padding: 0; font-size: 12px; }
body.gb-studio .content .cs-hero { padding: 24px 0 36px; margin: 0; gap: 36px; }
body.gb-studio .content .cs-hero .gb-page-hero { padding: 0; margin: 0; }
@container gb-content (min-width: 900px) {
  body.gb-studio .content .gb-page-hero:is(.gb-page-hero--split, :has(> .service-hero-proof)),
  body.gb-studio #dashboard .gb-page-hero--split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 42px;
  }
}
@container gb-content (max-width: 620px) {
  body.gb-studio .content .gb-page-hero,
  body.gb-studio #dashboard .gb-page-hero { padding-block: 18px 30px; }
  body.gb-studio .content .gb-page-hero:has(> .gb-hero-copy),
  body.gb-studio #dashboard .gb-page-hero:has(> .gb-hero-copy) { gap: 30px; }
  body.gb-studio .content .gb-page-hero .gb-hero-title,
  body.gb-studio #dashboard .gb-hero-title { font-size: 36px; margin-bottom: 20px; }
  body.gb-studio .content .gb-page-hero .gb-hero-lead,
  body.gb-studio #dashboard .gb-hero-lead { font-size: 16px; margin-bottom: 22px; }
  body.gb-studio .content .cs-hero { padding-block: 18px 30px; gap: 30px; }
  body.gb-studio .content .cs-hero .gb-page-hero { padding: 0; }
  body.gb-studio .s01-page .s01-deliverables > div { padding-left: 92px; }
  body.gb-studio .s01-page .s01-deliverable-art { width: 76px; height: 76px; }
}
@container gb-content (max-width: 420px) {
  body.gb-studio .content .gb-page-hero .gb-hero-actions > .gb-button,
  body.gb-studio #dashboard .gb-hero-actions > .gb-button { width: 100%; }
}
@media (max-width: 980px) {
  /* Match SEO's readable mobile navigation surface on every route. */
  html[data-theme] body.gb-studio .topbar { background: var(--gb-canvas) !important; }
}

/* A real page ending, in the same scrolling container as the content. */
.gb-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--gb-page-width);
  margin: var(--gb-space-section) auto 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--border-strong);
  color: var(--text);
  font: 400 14px/1.6 var(--font-ui);
}
.gb-footer *, .gb-footer *::before, .gb-footer *::after { box-sizing: border-box; }
.gb-footer .gb-footer-main { display: grid; gap: 36px; }
.gb-footer .gb-footer-brand { min-width: 0; }
.gb-footer .gb-footer-logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--text); font-size: 20px; font-weight: 720; letter-spacing: .06em; text-decoration: none; }
.gb-footer .gb-footer-logo > span:first-child { color: #e85c1a; background: var(--gb-hash-gradient); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 31px; line-height: 1; }
.gb-footer .gb-footer-studio { margin-left: 2px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.gb-footer .gb-footer-motto { margin: 12px 0; color: var(--text); font-size: 18px; font-weight: 620; line-height: 1.5; letter-spacing: -.025em; max-width: 27ch; }
.gb-footer .gb-footer-description { margin: 0 0 22px; max-width: 40ch; color: var(--reading-ink, var(--muted)); font-size: 14px; line-height: 1.7; }
.gb-footer .gb-button { color: #fff; text-decoration: none; }
.gb-footer .gb-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; align-content: start; }
.gb-footer .gb-footer-column { min-width: 0; }
.gb-footer .gb-footer-label { margin: 0 0 10px; color: var(--text); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.gb-footer .gb-footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.gb-footer .gb-footer-nav li { margin: 0; padding: 0; font-size: 14px; line-height: 1.5; }
.gb-footer .gb-footer-nav a { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; width: fit-content; min-height: 44px; padding: 8px 0; color: var(--reading-ink, var(--muted)); text-decoration: none; overflow-wrap: anywhere; }
.gb-footer .gb-footer-nav a:hover, .gb-footer .gb-footer-legal a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.gb-footer .gb-footer-link-note { color: var(--reading-ink, var(--muted)); font-size: 10px; }
.gb-footer .gb-footer-bottom { display: grid; gap: 12px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); }
.gb-footer .gb-footer-identity p { margin: 0 0 4px; color: var(--reading-ink, var(--muted)); font-size: 11px; line-height: 1.8; }
.gb-footer .gb-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.gb-footer .gb-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--reading-ink, var(--muted)); font-size: 12px; text-decoration: none; }
@media (min-width: 720px) {
  .gb-footer .gb-footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .gb-footer .gb-footer-main { grid-template-columns: minmax(230px, 1fr) minmax(0, 1.8fr); gap: 44px; }
  .gb-footer .gb-footer-bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .gb-button { transition: none; } }
@media print { .gb-footer { display: none !important; } }
