/* Shared presentation for the chat site and its standalone pages. */
:root {
  --navy-900: #13171d;
  --navy-800: #171c23;
  --navy-700: #20262f;
  --navy-600: #2b333e;
  --navy-500: #394451;
  --ink: #f0f1f3;
  --slate-100: #e9edf1;
  --slate-200: #d9dfe7;
  --slate-300: #c5cdd7;
  --slate-400: #a4adba;
  --slate-500: #929eac;
  --slate-600: #8c97a5;
  --cyan-400: #a8c7de;
  --cyan-500: #bfdaee;
  --cyan-600: #7199b7;
  --display: 'Switzer', system-ui, sans-serif;
  --mono: 'Switzer', system-ui, sans-serif;
  --line: rgba(218, 228, 240, .13);
}

html { scroll-padding-top: 80px; scroll-padding-bottom: 120px; }
body { background: var(--navy-900); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 4px;
}
.container { max-width: 1120px; padding-inline: 40px; }
.mono, .eyebrow, .role, .tag, .case-card-kicker, .case-card-meta,
.meta-label, .kpi-label, .rs-label, .chart-title, .booking-facts__label {
  letter-spacing: 0;
  text-transform: none;
}
pre, code, .case-code code { font-family: 'Fragment Mono', monospace; }
h1, h2, h3 { text-wrap: balance; }
.btn { border-radius: 8px; padding: 12px 18px; box-shadow: none; }
.btn-primary { background: var(--ink); color: #171c23; border-color: var(--ink); }
.btn-primary:hover { background: #d9e4ed; color: #171c23; box-shadow: none; transform: none; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--navy-700); box-shadow: none; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 500; }
.text-link:hover { color: var(--cyan-400); }
.text-link span { font-size: 18px; }

/* Keep the navigation and input familiar, with a quiet surrounding surface. */
.chat--top, .chat--center { background: var(--navy-900); }
.sidebar-visible .chat--center { margin-left: 0; }
.chat__header { height: 64px; background: var(--navy-900); }
.chat__header .ff-mark { opacity: .85; }
.chat-sidebar { background: #101419; border-color: var(--line); }
.chat-sidebar { overflow-y: auto; overscroll-behavior: contain; }
.chat-sidebar__head { border-color: var(--line); height: 64px; }
.chat-sidebar__section { padding-top: 24px; }
.chat-sidebar__label { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; margin-bottom: 7px; }
.chat-sidebar__chat-item { font-size: 14px; padding-block: 10px; border-radius: 7px; }
.chat-sidebar__chat-item svg { width: 16px; height: 16px; opacity: .8; }
.chat-sidebar__chat-item:hover, .chat-sidebar__new:hover { background: #1d232c; color: var(--ink); }
.chat-sidebar__chat-item.is-active { background: #252d37; box-shadow: none; color: var(--ink); }
.chat-sidebar__new { border-color: var(--line); font-size: 14px; min-height: 42px; }
.chat-sidebar__new:hover { border-color: #657383; }
.chat-sidebar__footer { border-color: var(--line); }
.chat-sidebar__footer a { font-size: 12px; letter-spacing: 0; }
.chat__share-btn { border-color: var(--line); min-height: 36px; color: var(--slate-300); }
.chat__share-btn:hover { border-color: #657383; color: var(--ink); background: var(--navy-700); }
.chat__user-msg { font-size: 13px; background: var(--navy-700); margin: 12px 40px 12px; padding: 9px 16px; }
.chat__response { width: calc(100% - 64px); margin: 6px 32px; }
.chat__ai-bubble { background: #171c23; border: 1px solid var(--line); border-radius: 16px 16px 16px 3px; }
.chat__turn.is-leaving { opacity: 0; transform: translateY(-20px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.chat__send.demo-press { transform: translateY(-50%) scale(.88); background: var(--cyan-400); }
.chat__thinking { min-height: 60px; }
.sections { border-radius: 0; overflow: visible; }
.section-panel { padding-bottom: 0; overflow: visible; }
.chat--top .chat__messages { padding-bottom: 132px; }
.chat--top .chat__input-row { background: var(--navy-900); padding: 12px 32px 20px; }
.chat--top .chat__input-row::before { height: 18px; top: -18px; }
.chat__input-wrap::before { display: none; }
.chat__input { background: #222832; border: 1px solid #3d4652; border-radius: 16px; color: var(--ink); padding: 17px 68px 17px 20px; font-size: 15px; box-shadow: none; }
.chat__input::placeholder { color: #a4adba; }
.chat__input:hover { border-color: #606c7a; box-shadow: none; }
.chat__input:focus { border-color: #a8c7de; box-shadow: none; }
.chat__input-wrap:hover .chat__input { border-color: #606c7a; box-shadow: none; }
.chat__send { width: 36px; height: 36px; right: 10px; color: #13171d; background: var(--ink); box-shadow: none; }
.chat__send:hover { background: #d9e4ed; box-shadow: none; }
.chat__send:disabled { opacity: .5; cursor: wait; }
.chat__send svg { width: 19px; height: 19px; }
.chat__suggestions { border-color: var(--line); background: #20262f; box-shadow: 0 12px 40px #0004; }
.chat__suggestions button { color: var(--slate-300); }
.chat__suggestions button:hover { color: var(--ink); background: #303844; }
.chat__greeting-kicker { font-size: 14px; letter-spacing: 0; }
.chat__greeting-head { font-size: clamp(30px, 4vw, 44px); font-weight: 500; }
.chat__chip { font-size: 13px; border-color: var(--line); background: var(--navy-800); }
.chat__chip:hover { border-color: #657383; color: var(--ink); }
.chat__thinking-text { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.chat__bot-text { max-width: 850px; padding: 32px 40px; margin-inline: auto; }
.share-popup { background: var(--navy-800); border-color: var(--line); }
.share-popup__id-sub, .share-popup__url, .share-popup__eyebrow { letter-spacing: 0; text-transform: none; }

/* Startseite */
.home { padding-top: 28px; padding-bottom: 24px; }
.home-intro { margin-bottom: 34px; }
.home h1 { margin: 0 0 18px; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; text-wrap: initial; }
.home-intro > p { margin: 0; max-width: 640px; color: var(--slate-400); font-size: 17px; line-height: 1.6; }
.home-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-offer { min-width: 0; }
.home-offer__media { height: 240px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--navy-800); }
.home-offer__copy { padding: 20px 0 0; }
.home-offer h2 { font-size: clamp(18px, 1.65vw, 23px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 10px; }
.home-offer h2 a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.home-offer h2 a:hover { color: var(--cyan-400); }
.home-offer h2 a span { font-size: 23px; color: var(--slate-400); }
.home-offer__copy > p { font-size: 15px; line-height: 1.6; color: var(--slate-400); margin: 0 0 20px; max-width: 430px; min-height: 48px; }
.home-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.home-bottom > span { color: var(--slate-400); font-size: 13px; }
.home-bottom > .text-link { margin-left: auto; }
.tool-row { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }
.tool { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--slate-300); font-size: 12px; line-height: 1.3; }
.tool img { width: 23px; height: 23px; object-fit: contain; flex-shrink: 0; }
.tool img[src$="openai.svg"], .tool img[src$="claude.svg"] { filter: invert(1); opacity: .9; }
.tool img[src$="n8n.svg"] { filter: invert(72%) sepia(24%) saturate(1109%) hue-rotate(304deg); }
.event-preview { position: relative; }
.event-preview > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: brightness(.8) saturate(.65); }
.event-caption { position: absolute; bottom: 12px; left: 14px; padding: 4px 7px; background: #111921dd; font-size: 10px; color: #e0e4e9; border-radius: 4px; }

/* An illustrative automation with readable sample data. */
.workflow-demo { background: #1c242b; padding: 20px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.workflow-demo__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.workflow-demo__head .tool { font-size: 12px; color: #e1e6e9; }
.example-label { font-size: 10px; color: #9caebc; }
.sheet-preview { border: 1px solid #3d4b50; border-radius: 5px; overflow: hidden; }
.sheet-preview table { width: 100%; border-collapse: collapse; font-size: 10px; font-variant-numeric: tabular-nums; }
.sheet-preview th { text-align: left; background: #273932; color: #c8d8ce; font-weight: 500; }
.sheet-preview th, .sheet-preview td { padding: 8px 9px; border-bottom: 1px solid #344046; white-space: nowrap; }
.sheet-preview td { color: #d1d9dd; }
.sheet-preview tr:last-child td { border-bottom: 0; }
.sheet-preview td + td, .sheet-preview th + th { border-left: 1px solid #344046; }
.sheet-selected { background: #284038; box-shadow: inset 2px 0 #86b89a; }
.sheet-status { color: #a0c7b0; }
.workflow-path { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 16px; }
.workflow-path > span:not(.workflow-arrow) { display: flex; flex-direction: column; gap: 3px; }
.workflow-path .tool { font-size: 10px; gap: 5px; }
.workflow-path .tool img { width: 19px; height: 19px; }
.workflow-path small { font-size: 8px; color: #a0aeb9; padding-left: 24px; }
.workflow-arrow { font-size: 15px; color: #71868c; }

/* Leistungen */
.services-page { padding-top: 28px; }
.page-heading { margin-bottom: 40px; }
.page-heading h1, .section-head h1, .booking h1, .case-hero h1 { font-size: clamp(34px, 3.8vw, 50px); line-height: 1.15; font-weight: 500; letter-spacing: -.03em; margin: 0 0 16px; }
.service-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 36px; padding-bottom: 48px; scroll-margin-top: 92px; }
.service-feature + .service-feature { border-top: 1px solid var(--line); padding-top: 48px; }
.service-feature h2 { font-size: clamp(27px, 2.8vw, 36px); line-height: 1.18; font-weight: 500; letter-spacing: -.025em; margin: 0 0 18px; }
.service-feature__copy > p { color: var(--slate-400); font-size: 16px; line-height: 1.65; margin: 0 0 22px; max-width: 410px; }
.service-list { list-style: none; padding: 0; margin: 0 0 24px; }
.service-list li { position: relative; padding-left: 18px; margin-bottom: 12px; font-size: 14px; line-height: 1.5; color: var(--slate-300); }
.service-list li::before { content: '·'; position: absolute; left: 0; color: var(--slate-400); }
.service-feature__media { margin: 0; min-width: 0; align-self: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.service-feature__media .workflow-demo { padding: 26px; min-height: 320px; }
.service-feature__media .sheet-preview table { font-size: 12px; }
.service-feature__media .sheet-preview th, .service-feature__media .sheet-preview td { padding: 12px 10px; }
.service-feature__media .workflow-path { padding-top: 26px; }
.service-tools { grid-column: 1 / -1; display: grid; grid-template-columns: 210px 1fr; gap: 20px 24px; align-items: center; padding-top: 26px; border-top: 1px solid var(--line); }
.service-tools__label { color: var(--slate-400); font-size: 12px; }
.service-tools .tool { font-size: 13px; }
.training-photo { position: relative; }
.training-photo img { display: block; width: 100%; height: 320px; object-fit: cover; filter: brightness(.8) saturate(.65); }
.training-photo figcaption { position: absolute; bottom: 12px; left: 14px; font-size: 11px; background: #111921dd; color: #e0e4e9; padding: 4px 7px; border-radius: 4px; }
.training-topics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.training-topics h3 { font-size: 17px; font-weight: 500; margin: 0 0 10px; text-wrap: initial; }
.training-topics p { color: var(--slate-400); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }

/* Projects, people and contact use the same spacing and type. */
.case-hero { padding: 28px 0 24px; border: 0; }
.case-hero::before, .legal-hero::before { display: none; }
.case-hero-grid { display: block; }
.case-hero p.lede { font-size: 16px; }
.case-index { padding-top: 12px; }
.case-card { background: var(--navy-800); border-color: var(--line); border-radius: 10px; }
.case-card::before, .case-card::after { display: none; }
.case-card:hover, .case-card.is-active { transform: none; box-shadow: none; background: #1e252e; border-color: #657383; animation: none; }
.case-card-inner { padding: 22px; }
.case-card h3 { font-size: 23px; font-weight: 500; }
.case-card-kicker { font-size: 11px; color: var(--slate-400); }
.case-card-meta { font-size: 11px; gap: 12px; }
.case-card p { font-size: 14px; line-height: 1.65; }
.card-visual svg text { font-family: var(--sans); letter-spacing: 0; }
.case-panel { scroll-margin-top: 84px; }
.case-panel-inner { padding: 28px; }
.case-panel .pill { letter-spacing: 0; font-size: 12px; }
.case-section h3 { font-size: 20px; }
.case-section p, .case-section li { line-height: 1.7; }
.case-code { max-width: 100%; overflow: auto; }
.section-panel[data-section="team"] > .section { padding-top: 28px; padding-bottom: 32px; }
.founders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.founder { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.founder-photos .portrait-card { height: 310px; min-height: 0; background: #252c35; border: 0; border-radius: 10px; }
.founder-photos .portrait-card::before, .founder-photos .portrait-card::after { display: none; }
.founder-photos .portrait-card img { width: auto; max-width: none; height: 170%; bottom: -70%; object-fit: contain; transform: translateX(-50%); }
.founder-photos .portrait-card:hover img { transform: translateX(-50%); }
.founder-info { gap: 14px; padding: 0; }
.founder-meta { display: flex; flex-direction: column; gap: 10px; }
.founder-meta .role { font-size: 12px; color: var(--slate-400); line-height: 1.5; text-transform: none; letter-spacing: 0; }
.founder-meta h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 500; margin: 0; text-wrap: initial; }
.founder-bio { font-size: 15px; color: var(--slate-400); line-height: 1.7; margin: 0; }
.founder-links { margin-top: 4px; }
.founder-links a { min-width: 40px; min-height: 40px; }
.section-panel[data-section="contact"] .booking { padding-top: 28px; padding-bottom: 24px; }
.booking-inner { gap: 36px; align-items: start; }
.booking h1 { margin-bottom: 24px; }
.booking-copy > p { font-size: 16px; line-height: 1.65; }
.booking-facts li { border-color: var(--line); }
.booking-facts__label { font-size: 13px; }
.booking-facts__value { font-size: 14px; }
.booking-panel { background: var(--navy-800); border-color: var(--line); box-shadow: none; border-radius: 12px; }
.booking-panel iframe { display: block; height: 550px; min-width: 0; max-width: 100%; background: white; color-scheme: light; }
.booking-ext-link { margin-top: 24px; }
.contact-overview { border-color: var(--line); margin-top: 44px; padding-top: 32px; scroll-margin-top: 90px; }
.contact-overview__head h3 { font-size: 28px; font-weight: 500; }
.contact-overview__head p { margin: 10px 0 0; }
.contact-overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-tile, .contact-tile--calendar { background: var(--navy-800); border-color: var(--line); border-radius: 8px; grid-column: auto; }
.contact-tile:hover { background: var(--navy-700); transform: none; box-shadow: none; }
.contact-tile__label { font-size: 12px; letter-spacing: 0; text-transform: none; }
.contact-tile__value { font-size: 15px; overflow-wrap: anywhere; }
.contact-tile--legal { min-height: 64px; }
.nav { background: #13171df5; }
.legal-hero { padding: 48px 0 36px; }
.legal-kicker, .legal-content h2::before { display: none; }
.legal-content { max-width: 820px; }
.legal-content a { text-underline-offset: 3px; }
.legal-card { background: var(--navy-800); box-shadow: none; }
.foot { font-family: var(--sans); letter-spacing: 0; }
.service-feature__copy > .service-note { font-size: 12px; margin-top: 16px; }
.home .sheet-preview tbody tr:last-child { display: none; }
.case-card-inner { min-height: 245px; }
.case-detail-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.case-detail-heading h2 { font-size: 32px; line-height: 1.2; font-weight: 500; margin: 0; letter-spacing: -.02em; }
.case-detail-label { font-size: 12px; color: var(--slate-400); margin: 0 0 10px; }
.case-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 32px 0; border: 1px solid var(--line); border-radius: 8px; }
.case-flow li { padding: 18px 20px; font-size: 14px; }
.case-flow li + li { border-left: 1px solid var(--line); }
.case-flow li + li::before { content: '→'; margin-right: 12px; color: var(--slate-400); }
.case-spec { margin: 0; }
.case-spec > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.case-spec dt { color: var(--slate-400); }
.case-spec dd { margin: 0; color: var(--slate-300); }
.case-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 26px; }
.case-tools > span { font-size: 13px; color: var(--slate-400); }
.case-technical { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.case-technical summary { font-size: 14px; cursor: pointer; color: var(--slate-300); }
.case-technical p { font-size: 14px; line-height: 1.7; color: var(--slate-400); max-width: 750px; }
.booking-hosts { background: none; padding: 16px 0; border: 0; }

@media (max-width: 1100px) {
  .container { padding-inline: 28px; }
  .home-offers { gap: 20px; }
  .home-offer__media { height: 220px; }
  .home .workflow-demo { padding: 14px; }
  .home .sheet-preview th, .home .sheet-preview td { padding: 8px 5px; }
  .home-offer__copy > p { min-height: 72px; }
  .home-offer h2 { min-height: 50px; }
  .service-feature { gap: 28px; }
  .service-feature__media .workflow-demo { padding: 16px; }
  .service-feature__media .sheet-preview table { font-size: 10px; }
  .service-tools { grid-template-columns: 1fr; gap: 14px; }
  .service-tools__label:not(:first-child) { margin-top: 10px; }
  .booking-inner { grid-template-columns: 1fr; }
  .booking-copy { max-width: none; }
  .booking-copy > p { max-width: 600px; }
  .booking-panel iframe { height: 550px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card-inner { min-height: 0; }
  .card-visual { max-width: 270px; }
}

@media (max-width: 860px) {
  .home-offers, .service-feature { grid-template-columns: 1fr; }
  .home-offer__media { height: 270px; }
  .home-offer { padding-bottom: 24px; }
  .home-offer + .home-offer { border-top: 1px solid var(--line); padding-top: 24px; }
  .home-offer h2 { min-height: 0; font-size: 24px; }
  .home-offer__copy > p { min-height: 0; max-width: none; }
  .home .workflow-demo { padding: 24px; }
  .home .sheet-preview table { font-size: 12px; }
  .home .sheet-preview th, .home .sheet-preview td { padding: 11px 9px; }
  .home .workflow-path .tool { font-size: 12px; }
  .home .workflow-path small { font-size: 10px; }
  .training-topics { grid-template-columns: 1fr; gap: 24px; }
  .training-topics > div + div { border-top: 1px solid var(--line); padding-top: 22px; }
  .service-feature__media { width: 100%; }
  .service-feature__media .sheet-preview table { font-size: 12px; }
  .founders { grid-template-columns: 1fr; gap: 40px; }
  .founder-photos .portrait-card { height: 340px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }
  .chat__header { padding-inline: 16px; height: 58px; }
  .chat__user-msg { margin: 8px 20px 12px; max-width: calc(100% - 40px); }
  .chat__response { width: calc(100% - 24px); margin: 6px 12px; }
  .chat__ai-bubble h1 { overflow-wrap: anywhere; }
  .chat--top .chat__input-row { padding: 10px 16px max(14px, env(safe-area-inset-bottom)); }
  .chat__input { font-size: 16px; padding-block: 16px; }
  .chat--top .chat__messages { padding-bottom: 116px; }
  .home { padding-top: 20px; }
  .home h1 { font-size: clamp(30px, 6.4vw, 42px); }
  .desktop-break { display: none; }
  .home-intro { margin-bottom: 28px; }
  .home-intro > p { font-size: 16px; }
  .home-offer__media { height: 242px; }
  .home-offer h2 { font-size: 21px; }
  .home .workflow-demo { padding: 18px; }
  .home .sheet-preview table { font-size: 10px; }
  .home .workflow-path .tool { font-size: 10px; }
  .home .workflow-path small { font-size: 9px; }
  .home-bottom { margin-top: 0; }
  .home-bottom > .text-link { width: 100%; margin-left: 0; margin-top: 8px; }
  .home .tool-row { gap: 14px; }
  .tool { font-size: 12px; }
  .tool img { width: 21px; height: 21px; }
  .service-feature__media .sheet-preview table { font-size: 10px; }
  .service-feature__media .workflow-demo { min-height: 280px; padding: 18px; }
  .services-page, .section-panel[data-section="team"] > .section, .section-panel[data-section="contact"] .booking { padding-top: 20px; }
  .page-heading { margin-bottom: 28px; }
  .service-feature { gap: 28px; padding-bottom: 36px; }
  .service-feature + .service-feature { padding-top: 36px; }
  .training-photo img { height: 270px; }
  .section-head { margin-bottom: 24px; }
  .case-hero { padding-top: 20px; }
  .case-panel-inner { padding: 20px; }
  .case-card-inner { min-height: 225px; }
  .case-flow { grid-template-columns: 1fr; }
  .case-flow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .case-flow li + li::before { content: '↓'; }
  .case-spec > div { grid-template-columns: 1fr; gap: 8px; }
  .founder-meta h3 { font-size: 27px; }
  .contact-overview__grid { grid-template-columns: 1fr; }
  .booking-panel { margin: 0; }
  .chat__bot-text { padding: 20px; }
  .nav-links { background: #13171dfa; }
}


/* Portraits retain their vertical framing; text sits alongside each person. */
.founders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: none; }
.founder { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.founder + .founder { padding-top: 0; border-top: 0; }
.founder-photos { grid-column: 1; grid-row: 1; }
.founder-info { grid-column: 2; grid-row: 1; max-width: 620px; }
.founder-photos .portrait-card { height: 320px; border-radius: 8px; background: #20262e; }
.founder-photos .portrait-card img { height: 100%; width: auto; max-width: none; bottom: 0; left: 50%; object-position: center; }
.founder-meta h3 { font-size: clamp(23px, 2vw, 30px); overflow-wrap: anywhere; }
.founder-links a { justify-content: flex-start; min-width: 32px; }
.founder-link__arrow { display: none; }

/* Short service introduction beside the working example. */
#systems { grid-template-columns: 1fr; }
#systems > .service-feature__copy { display: block; }
#systems .workflow-wide { grid-column: 1 / -1; width: 100%; align-self: start; }
.service-action { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 20px; border: 1px solid #b7def0; border-radius: 12px; background: #b7def0; color: #14212a; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .18s, border-color .18s; }
.service-action:hover { background: #d3ecf7; border-color: #d3ecf7; color: #14212a; }
.service-action:focus-visible { outline: 3px solid #b7def0; outline-offset: 4px; }
#systems .agent-graph { gap: 24px 12px; }
#systems .graph-node { flex-direction: column; justify-content: center; text-align: center; gap: 6px; }
.workflow-sheet, .workflow-graph-window { min-width: 0; }
.workflow-wide.workflow-scroll-enabled { height: calc(100dvh + 2400px); overflow: visible; border: 0; border-radius: 0; }
.service-feature__media.workflow-scroll-enabled [data-workflow] { position: sticky; top: 80px; height: auto; min-height: calc(100dvh - 200px); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); grid-template-rows: minmax(min-content, 1fr) auto; gap: 20px 28px; }
.workflow-scroll-enabled .workflow-sheet { align-self: start; min-width: 0; }
.workflow-scroll-enabled .workflow-graph-window { contain: size; min-height: 0; overflow: hidden; position: relative; border-left: 1px solid #3c4a53; padding-left: 20px; }
.workflow-scroll-enabled .agent-graph { transition: transform .35s ease; will-change: transform; }
.workflow-scroll-enabled .workflow-foot { grid-column: 1 / -1; margin: 0; }
.workflow-scroll-enabled .workflow-caption { flex-wrap: wrap; gap: 12px; }
.workflow-scroll-enabled .workflow-progress { align-items: flex-start; line-height: 1.5; }
.workflow-scroll-enabled .graph-node { padding: 10px 6px; }
.service-feature__media [data-workflow] { padding: 28px; height: auto; min-height: 0; justify-content: flex-start; border-radius: 12px; border: 1px solid #46545e; }
[data-workflow] .workflow-demo__head { margin-bottom: 14px; }
[data-workflow] .workflow-demo__head .tool { font-size: 15px; }
[data-workflow] .example-label { font-size: 11px; }
[data-workflow] .sheet-preview { flex-shrink: 0; }
[data-workflow] .sheet-preview table { font-size: 12px; }
[data-workflow] .sheet-preview th, [data-workflow] .sheet-preview td { padding: 9px 12px; }
[data-workflow] .sheet-selected { box-shadow: inset 2px 0 #8caea2; }
.sheet-formula { display: flex; gap: 12px; padding: 8px 12px; border-bottom: 1px solid #344046; color: #b0bdc6; font-size: 11px; overflow: hidden; white-space: nowrap; }
.sheet-formula span:first-child { padding-right: 12px; border-right: 1px solid #445058; }
.sheet-formula span:last-child { overflow: hidden; text-overflow: ellipsis; }
.sheet-live-status, .sheet-live-match { --cell-signal: #83bdeb; transition: color .25s, background .25s; }
.sheet-cell-changed { animation: cell-change 1.1s ease-out; }
@keyframes cell-change { 0%, 25% { box-shadow: inset 0 0 0 1px var(--cell-signal); background: color-mix(in srgb, var(--cell-signal) 12%, transparent); } 100% { box-shadow: inset 0 0 0 1px transparent; } }
[data-workflow][data-tone="error"] .sheet-live-match, [data-workflow][data-tone="error"] .sheet-live-status { --cell-signal: #ee8e89; color: #ffc1bc; }
[data-workflow][data-tone="manual"] .sheet-live-status { --cell-signal: #e6bc77; color: #f4ce93; }
[data-workflow][data-tone="success"] .sheet-live-status, [data-workflow][data-tone="success"] .sheet-live-match { --cell-signal: #8cc6a6; color: #b1ddc3; }
.workflow-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.workflow-caption h3 { font-size: 19px; font-weight: 500; margin: 0 0 6px; text-align: left; }
.workflow-caption p { font-size: 12px; line-height: 1.5; color: #b0bdc6; margin: 0; }
.workflow-replay { flex-shrink: 0; border: 1px solid #586a77; border-radius: 7px; background: #26343e; padding: 9px 12px; font-size: 12px; color: #e0e7ed; cursor: pointer; min-height: 40px; }
.workflow-replay:hover { background: #32434f; color: white; }
.workflow-progress { display: flex; gap: 12px; align-items: baseline; padding: 15px 0; min-height: 56px; font-size: 12px; color: #bac9d4; border-bottom: 1px solid #3c4a53; }
.workflow-counter { color: #e0e7ed; font-variant-numeric: tabular-nums; min-width: 48px; }
.agent-graph { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 34px repeat(5, minmax(68px, auto)) 34px; gap: 30px 24px; padding: 24px 30px 24px 0; margin-top: 8px; width: 100%; isolation: isolate; }
.graph-edges { position: absolute; inset: 0; height: 100%; width: 100%; color: #728796; overflow: visible; z-index: -1; }
.graph-edge { vector-effect: non-scaling-stroke; transition: stroke .3s, opacity .3s; }
.edge-tool, .edge-return { stroke-dasharray: 4 5; }
.edge-error { stroke: #956565; }
.edge-success { stroke: #5f8574; }
.graph-edge.is-active { stroke: #91bfea; stroke-width: 2.5; }
.graph-edge.is-error { stroke: #f09690; stroke-width: 2.5; }
.graph-edge.is-manual { stroke: #ebc180; stroke-width: 2.5; }
.graph-edge.is-success { stroke: #90d0ad; stroke-width: 2.5; }
.graph-node { position: relative; width: auto; height: auto; min-width: 0; display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding: 12px; border: 1px solid #4a5c69; border-radius: 8px; background: #24313a; color: #e5ebef; font-size: 13px; line-height: 1.35; transition: background .25s, border-color .25s, box-shadow .25s; }
.graph-node img { width: 24px; height: 24px; flex-shrink: 0; object-fit: contain; }
.graph-node > span { min-width: 0; }
.graph-node small { display: block; font-size: 11px; color: #b2c0ca; margin-top: 4px; }
.graph-terminal { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 8px; justify-self: center; border: 1px solid #5a6c79; border-radius: 999px; padding: 5px 14px; background: #24313a; color: #dce5ec; font-size: 12px; white-space: nowrap; }
.graph-terminal > span { width: 7px; height: 7px; border-radius: 50%; background: #9aaebb; }
.graph-start { grid-row: 1; }
.graph-trigger { grid-column: 2; grid-row: 2; }
.graph-orders { grid-column: 1; grid-row: 3; }
.graph-agent { grid-column: 2; grid-row: 3; }
.graph-data { grid-column: 3; grid-row: 3; }
.graph-rules { grid-column: 2; grid-row: 4; }
.graph-approved { grid-column: 1; grid-row: 5; }
.graph-review { grid-column: 3; grid-row: 5; }
.graph-book { grid-column: 2; grid-row: 6; }
.graph-end { grid-row: 7; }
.graph-symbol { width: 24px; font-size: 24px; text-align: center; color: #b8cdc9; flex-shrink: 0; }
.graph-return-label { position: absolute; right: 0; top: 26%; font-size: 10px; color: #a9b9c3; padding: 3px 5px; background: #1c242b; writing-mode: vertical-rl; }
.graph-node.is-done, .graph-terminal.is-done { border-color: #709183; }
.graph-node.is-running, .graph-terminal.is-running { background: #293f51; border-color: #91bfea; box-shadow: 0 0 0 2px #91bfea15; }
.graph-node.is-error { background: #452d32; border-color: #ef938d; box-shadow: 0 0 0 2px #ef938d18; }
.graph-node.is-manual { background: #413a2c; border-color: #dfb577; box-shadow: 0 0 0 2px #dfb57715; }
.graph-node.is-success, .graph-terminal.is-success { background: #294238; border-color: #94cdae; }
.graph-terminal.is-success > span { background: #94cdae; }
.workflow-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #3c4a53; padding-top: 14px; margin-top: 8px; color: #b0bec9; font-size: 11px; }
.workflow-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.workflow-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.workflow-legend i { width: 6px; height: 6px; border-radius: 50%; }
.legend-blue { background: #91bfea; }
.legend-red { background: #ef938d; }
.legend-amber { background: #dfb577; }
.legend-green { background: #94cdae; }
.system-facts { margin: 24px 0; border-top: 1px solid var(--line); }
.system-facts > div { padding-top: 14px; }
.system-facts dt { font-weight: 500; font-size: 13px; color: var(--slate-200); margin-bottom: 4px; }
.system-facts dd { margin: 0; font-size: 13px; line-height: 1.6; color: var(--slate-400); }
.tool-framework { border: 1px solid var(--line); padding: 5px 9px; border-radius: 5px; }

@media (max-width: 720px) {
  .founder { grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: start; }
  .founder-photos .portrait-card { height: 280px; }
  .founder-meta h3 { font-size: 24px; overflow-wrap: anywhere; }
  .founder-meta .role { font-size: 11px; }
  .founder-bio { font-size: 14px; line-height: 1.65; }
  .service-feature__media [data-workflow] { padding: 12px; }
  [data-workflow] .sheet-preview th, [data-workflow] .sheet-preview td { padding: 5px; }
}
@media (max-width: 360px) {
  .founder { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
  .founder-photos .portrait-card { height: 230px; }
  .founder-meta h3 { font-size: 21px; }
  [data-workflow] .sheet-preview table { font-size: 9px; }
}

@media (max-width: 1000px) {
  #systems { grid-template-columns: 1fr; }
  #systems > .service-feature__copy { position: static; }
  #systems .workflow-wide { grid-column: 1; }
  .founders { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 180px minmax(0, 1fr); }
  .founder + .founder { padding-top: 28px; border-top: 1px solid var(--line); }
  .graph-node { flex-direction: column; justify-content: center; text-align: center; gap: 6px; }
  .graph-node small { font-size: 10px; }
}
@media (max-width: 720px) {
  .founder { grid-template-columns: minmax(90px, .6fr) minmax(0, 1fr); gap: 16px; }
  .founder-photos .portrait-card { height: 270px; }
  .founder-meta h3 { font-size: 23px; }
  .service-feature__media [data-workflow] { padding: 16px 12px; }
  [data-workflow] .workflow-demo__head .tool { font-size: 13px; }
  [data-workflow] .sheet-preview table { font-size: 10px; }
  [data-workflow] .sheet-preview th, [data-workflow] .sheet-preview td { padding: 7px 5px; }
  .sheet-formula { font-size: 9px; padding: 6px; gap: 8px; }
  .workflow-caption { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 22px; }
  .workflow-caption h3 { font-size: 17px; }
  .workflow-caption p { font-size: 11px; }
  .workflow-replay { font-size: 11px; padding: 8px 10px; }
  .workflow-progress { font-size: 11px; line-height: 1.5; min-height: 66px; }
  .agent-graph { grid-template-columns: 1fr 1.2fr 1fr; grid-template-rows: 30px repeat(5, minmax(92px, auto)) 30px; gap: 28px 10px; padding-right: 20px; }
  .graph-node { padding: 8px 4px; font-size: 11px; overflow-wrap: anywhere; }
  .graph-node img { width: 20px; height: 20px; }
  .graph-node small { font-size: 9px; }
  .graph-symbol { font-size: 20px; width: 20px; }
  .graph-terminal { font-size: 10px; padding: 4px 9px; }
  .graph-end { grid-column: 1 / -1; }
  .graph-return-label { font-size: 9px; }
  .workflow-foot { font-size: 10px; align-items: flex-end; }
  .workflow-legend { gap: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Mobile MVP: keep the conversation and offers compact and touch friendly. */
@media (max-width: 720px) {
  html { scroll-padding-bottom: 150px; }
  .chat__header { min-height: 60px; }
  .sidebar-reopen-btn, .chat__share-btn, .chat__send,
  .chat-sidebar__new, .chat-sidebar__chat-item { min-width: 44px; min-height: 44px; }
  .chat__share-btn { padding-inline: 12px; }
  .chat__share-btn svg { width: 17px; height: 17px; }
  .chat__messages { min-height: calc(100dvh - 60px); }
  .chat--top .chat__messages { padding-bottom: 156px; }
  .chat__user-msg { border-radius: 16px; }
  .chat__response { border-radius: 14px; box-shadow: none; }

  /* On small screens the two services are the content; desktop demos are hidden. */
  .home-offer__media,
  .service-feature__media,
  .section-panel[data-section="services"] .workflow-demo,
  .booking-panel { display: none !important; }
  .home-offers, .service-feature { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .home-offer, .service-feature { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(32, 38, 47, .62); }
  .service-feature--selected { border-color: rgba(168, 199, 222, .55); }
  .home-offer + .home-offer, .service-feature + .service-feature { border-top: 1px solid var(--line); padding-top: 18px; }
  .home-offer h2, .service-feature h2 { font-size: 20px; margin-bottom: 8px; }
  .home-offer__copy > p, .service-feature__copy > p { font-size: 14px; line-height: 1.55; margin-bottom: 0; }
  .home-offer .tool-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 16px; }
  .service-feature__copy { display: block; }
  .service-list { margin: 16px 0 0; padding-left: 20px; color: var(--slate-300); font-size: 14px; line-height: 1.55; }
  .service-list li + li { margin-top: 7px; }
  .system-facts { margin: 18px 0; }
  .system-facts > div { padding-top: 10px; }
  .system-facts dt, .system-facts dd { font-size: 13px; }
  .service-note { color: var(--slate-500); font-size: 12px; margin: 12px 0 0; }
  .service-tools { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
  .service-tools__label { display: block; margin-top: 14px; font-size: 11px; color: var(--slate-500); }
  .service-tools__label:first-child { margin-top: 0; }
  .service-tools .tool-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 8px; }
  .training-topics { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
  .training-topics > div + div { border-top: 1px solid var(--line); padding-top: 18px; }
  .training-topics h3 { font-size: 16px; margin-bottom: 6px; }
  .training-topics p { font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
  .service-action { min-height: 44px; width: 100%; margin-top: 16px; }
  .home-bottom { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .home-bottom .btn { min-height: 48px; }
  .founders, .founder { grid-template-columns: 1fr; }
  .founder-photos .portrait-card { height: 250px; }
  .founder-meta h3 { font-size: 24px; }
  .contact-overview__grid { gap: 10px; }
  .contact-tile { min-height: 64px; }
}

/* Services is the detailed destination; the homepage is the short overview. */
.service-feature[hidden] { display: none !important; }
.services-page .service-details-link,
.services-page--detail > .page-heading { display: none; }
.service-jumps { display: flex; flex-wrap: wrap; gap: 12px; margin: -12px 0 32px; }
.service-jumps a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; background: var(--navy-700); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.services-page--detail .service-jumps { display: none; }
#systems { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
#systems > .service-feature__copy { display: block; grid-column: 1; grid-row: 1; }
#systems > .service-feature__copy > p { max-width: 440px; margin-bottom: 20px; }
#systems > .service-tools { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; padding: 4px 0 4px 28px; border-top: 0; border-left: 1px solid var(--line); }
#systems .service-tools__label { display: block; margin: 12px 0 0; font-size: 11px; }
#systems .service-tools__label:first-child { margin-top: 0; }
#systems .service-tools .tool-row { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 0; }
#systems .service-tools .tool { font-size: 12px; }
#systems > .workflow-wide { grid-row: 2; }
.service-details-link { min-height: 44px; }
.service-feature--selected + .service-feature--selected { margin-top: 0; }
.services-page--detail .service-feature--selected { padding-top: 0; border-top: 0; }

/* Fixed spreadsheet geometry, including long live status values. */
[data-workflow] .sheet-preview > .workflow-demo__head { margin: 0; padding: 14px 16px; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid #3d4b50; background: rgba(255, 255, 255, .025); }
[data-workflow] .sheet-preview table { table-layout: fixed; width: 100%; }
[data-workflow] .sheet-preview th:nth-child(1) { width: 19%; }
[data-workflow] .sheet-preview th:nth-child(2) { width: 20%; }
[data-workflow] .sheet-preview th:nth-child(3) { width: 25%; }
[data-workflow] .sheet-preview th:nth-child(4) { width: 36%; }
[data-workflow] .sheet-preview td { height: 64px; white-space: normal; overflow-wrap: anywhere; vertical-align: middle; }
.sheet-live-match, .sheet-live-status { position: relative; }
.sheet-cell-changed { animation: cell-change 1.6s ease-out; }
.sheet-cell-changed::after { content: attr(data-previous) ' →'; position: absolute; left: 12px; bottom: 2px; font-size: 9px; color: var(--cell-signal); animation: previous-value 1.6s both; }
@keyframes previous-value { 0%, 65% { opacity: 1; } 100% { opacity: 0; } }
.graph-edge { stroke-dasharray: 5 6; }
.graph-edge.is-active, .graph-edge.is-error, .graph-edge.is-manual, .graph-edge.is-success { animation: flow-dashes 1s linear infinite; }
@keyframes flow-dashes { to { stroke-dashoffset: -22; } }
.workflow-scroll-enabled .workflow-graph-window { padding: 0 12px; border-left: 0; mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.workflow-scroll-enabled .agent-graph { margin-top: 0; padding: 0; transition: none; will-change: transform; }
#systems .workflow-scroll-enabled .agent-graph { grid-template-rows: 72px repeat(5, 112px) 72px; gap: 64px 12px; }
.workflow-scroll-enabled .graph-node { font-size: 15px; }
.workflow-scroll-enabled .graph-node small { font-size: 12px; }
.workflow-scroll-enabled .graph-node img { width: 30px; height: 30px; }
.workflow-scroll-enabled .graph-node.is-current-row { box-shadow: 0 0 0 2px #a8c7de55, 0 8px 24px #0003; }
.workflow-progress { min-height: 88px; }
@media (max-width: 1000px) {
  #systems { grid-template-columns: 1fr; }
  #systems > .service-tools { grid-column: 1; grid-row: 2; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  #systems > .workflow-wide { grid-row: 3; }
}
@media (max-width: 720px) {
  .services-page:not(.services-page--detail) #systems > .service-feature__copy { display: block; }
  .service-details-link { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .graph-edge, .sheet-cell-changed, .sheet-cell-changed::after { animation: none; }
}

/* Release pass: readable responses and consistent small-screen composition. */
.chat__suggestions button[hidden], .chat__chip[hidden] { display: none !important; }
.chat__bot-text { overflow-wrap: anywhere; }
.chat--top .chat__messages { padding-bottom: var(--composer-space, 140px); }
.founder-links a { min-width: 44px; min-height: 44px; }
.workflow-scroll-enabled .workflow-caption { margin-top: 18px; }
.workflow-scroll-enabled .workflow-progress { min-height: 64px; }
.workflow-scroll-enabled .sheet-preview td { height: 48px; }
@media (min-width: 721px) and (max-width: 1000px) {
  .nav-inner > .btn-primary { display: none; }
  .nav-links { gap: 20px; }
  .foot { flex-wrap: wrap; justify-content: flex-start; gap: 20px; }
  .foot .links { flex-wrap: wrap; }
}
@media (min-width: 1100px) and (max-width: 1350px) {
  [data-workflow] .sheet-preview th, [data-workflow] .sheet-preview td { padding-inline: 6px; font-size: 11px; }
}
@media (max-width: 720px) {
  .chat__response { width: 100%; margin: 0; }
  .chat__ai-bubble { border: 0; border-radius: 0; background: transparent; }
  .chat--center .chat__input-row, .chat--top .chat__input-row {
    position: fixed; left: 0; right: 0; bottom: var(--keyboard-inset, 0px);
    width: 100%; max-width: none; z-index: 50;
    padding: 10px 16px max(14px, env(safe-area-inset-bottom)); background: var(--navy-900);
  }
  .chat--center.greeting-armed .chat__center-chips { display: none; }
  .chat--center.greeting-armed .chat__greeting { position: absolute; top: 22%; margin: 0; }
  .keyboard-open .chat--center .chat__greeting { display: none; }
  .chat__suggestions.is-open { max-height: min(240px, calc(var(--visible-height, 100dvh) - 170px)); overflow-y: auto; }
  .chat__suggestions button { min-height: 44px; }
  .chat--top .chat__messages { padding-bottom: calc(var(--composer-space, 140px) + var(--keyboard-inset, 0px)); }
  .founder { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .founder-photos { grid-column: 1; grid-row: 1; width: 100%; }
  .founder-info { grid-column: 1; grid-row: 2; min-width: 0; }
  .founder-photos .portrait-card { height: 280px; width: 100%; }
  .founder-photos .portrait-card img { max-width: 100%; object-fit: contain; }
  #systems { gap: 24px; }
}
