/* Public marketing design: measured against composio.dev, September 2026.
   See docs/design-docs/marketing-landing-redesign.md for asset provenance. */
@font-face { font-family: Geist; src: url('./fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('./fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root, html.dark {
  --bg: #0f0f0f; --bg2: #171717; --bg3: #222;
  --text: #f6f6f6; --muted: #a1a1a1; --border: #292929;
  --border-strong: #555; --surface: #171717;
  --surface-glass: #171717; --surface-soft: #1b1b1b;
  --section-glass: #0f0f0f; --nav-glass: #0f0f0ff2;
  --orange: #4255ff; --orange-text: #a0acff; --orange-lt: #1c2344;
  --green: #8fe2bb; --green-lt: #152d23; --red: #ff9090;
  --cta-bg: #fff; --cta-text: #0f0f0f; --cta-muted: #666;
  --font-h: Geist, Arial, sans-serif; --font-b: Geist, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 0; --shadow-sm: none; --shadow: none; --shadow-lg: none;
}
html { scroll-padding-top: 100px; }
body { background: var(--bg); line-height: 1.5; }
main { display: block; }
.container { max-width: 1288px; padding: 0 24px; }
button, a, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #a0acff; outline-offset: 5px; }
.skip-link { position: fixed; top: -70px; left: 24px; z-index: 200; padding: 12px 20px; background: #fff; color: #111; }
.skip-link:focus { top: 16px; }

/* Floating, rectangular navigation. */
body > nav { position: fixed; top: 16px; left: 50%; width: calc(100% - 48px); max-width: 1240px; transform: translateX(-50%); z-index: 100; border: 1px solid #ffffff19; background: #0f0f0fea; backdrop-filter: blur(12px); }
.nav-inner { height: 50px; padding: 8px; gap: 24px; }
.logo { gap: 8px; flex-shrink: 0; }
.logo img { width: 25px; height: 25px; object-fit: contain; }
.logo .name { font-size: 23px; font-weight: 600; letter-spacing: -1px; }
.logo .name em, .foot-logo em { color: inherit; }
.nav-links { margin-left: auto; gap: 26px; }
.nav-links a, .nav-actions .btn, .nav-mobile a, .foot-links a { font: 12px/1.4 var(--font-mono); text-transform: uppercase; font-weight: 400; }
.nav-links a { color: #e7e7e7; }
.nav-links a:hover, .foot-links a:hover { color: #a0acff; }
.nav-actions { gap: 14px; }
.lang-switch { border: 1px solid var(--border); border-radius: 0; padding: 2px; box-shadow: none; background: transparent; }
.lang-btn { border-radius: 0; font: 10px/1.5 var(--font-mono); padding: 4px; }
.lang-btn.active { color: #111; background: #fff; }
.nav-actions .btn { padding: 8px 10px; min-height: 32px; }
.nav-hamburger { color: #fff; }
.nav-mobile { background: #0f0f0f; border-top: 1px solid var(--border); padding: 24px; gap: 24px; max-height: calc(100dvh - 64px); overflow-y: auto; }
.btn { border-radius: 0; font: 13px/1.4 var(--font-mono); font-weight: 400; text-transform: uppercase; letter-spacing: 0; gap: 12px; min-height: 42px; padding: 12px 16px; box-shadow: none; transition: background .15s, color .15s, border-color .15s; }
.btn-primary, .btn-dark { background: #fff; border: 1px solid #fff; color: #111; }
.btn-primary:hover, .btn-dark:hover { background: #ddd; border-color: #ddd; color: #111; transform: none; }
.btn-outline { border: 1px solid #5a5a5a; color: #f6f6f6; background: transparent; }
.btn-outline:hover { background: #252525; border-color: #999; }
.btn-ghost { color: #ddd; }
.btn-lg { padding: 12px 16px; font-size: 13px; }

/* Source artwork is a local, static capture of the reference canvas. */
.hero { padding: 160px 0 0; background: #0f0f0f url('./img/composio/composio-art.png') no-repeat center top / 1440px 1000px; overflow: hidden; }
.hero h1 { font-family: var(--font-h); font-size: 64px; line-height: 1; font-weight: 400; letter-spacing: -2.6px; max-width: 1040px; margin: 0 auto; text-wrap: balance; }
.hero h1 em { font-style: normal; color: inherit; }
.hero-sub { max-width: 560px; font-size: 18px; line-height: 1.3; color: #a1a1a1; margin: 28px auto 40px; }
.hero-cta-row { gap: 12px; margin: 0; }
.hero-note { color: #a1a1a1; font-size: 12px; margin: 18px 0 0; }
.works-strip { background: transparent; backdrop-filter: none; border: 0; padding: 0; margin: 98px auto 76px; }
.works-strip > .container { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.works-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.works-row { gap: 80px; }
.work-pill { padding: 0; border: 0; background: none; font-family: var(--font-h); font-size: 25px; font-weight: 500; letter-spacing: -.8px; color: #aaa; }
.wdot { display: none; }
.preview-container { position: relative; padding-top: 42px; padding-bottom: 80px; display: flex; flex-direction: column; }
.preview-container::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid #292929; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; text-align: left; order: 2; }
.preview-heading .eyebrow { margin: 0; }
.hero-visual { max-width: none; border: 0; padding: 0; margin: 0; border-radius: 0; box-shadow: none; background: transparent; }
.hero-screen { border: 0; background: transparent; border-radius: 0; box-shadow: none; }
.hero-chrome { display: none; }
.chrome-url { font: 11px var(--font-mono); }
.app-panes { grid-template-columns: .85fr 1.1fr .85fr; gap: 32px; align-items: start; }
.app-panes > .tq, .app-panes > .workflow-preview { border: 1px solid #292929; }
.app-panes > .cw { border: 1px solid #333; border-radius: 26px; }
.app-panes > .workflow-preview { margin-top: 8px; }
.tq { background: #121212; padding-bottom: 20px; }
.tq-head { padding: 22px; }
.tq-title { font-size: 17px; font-weight: 400; }
.tq-count, .tq-group, .tq-when, .cw-label, .cw-timer, .cw-chip { font-family: var(--font-mono); }
.tq-count { color: #aaa; }
.tq-group { color: #999; padding: 18px 22px 8px; }
.tq-item { padding: 12px 22px; }
.tq-item.is-active { background: #1d2240; border-left-color: #6779ff; }
.tq-name { font-size: 13px; }
.tq-meta { color: #aaa; }
.tq-when { color: #b6b6b6; }
.cw { background: #181818; padding: 24px 30px; }
.cw-label { color: #aaa; font-size: 10px; margin-bottom: 10px; }
.cw-block { margin-top: 24px; }
.cw-line { font-size: 14px; line-height: 1.6; color: #c6c6c6; }
.cw-line.is-current { border-left-color: #6779ff; background: #20243a; color: #e6e9ff; }
.cw-quote { color: #d2d2d2; }
.cw-chip { border-radius: 0; font-size: 9px; }
.cw-chip.is-next { background: #242942; color: #b7c0ff; border-color: #475382; }

/* Border-led feature rows with the same sidebar / art / copy proportions. */
.loop, .control, .how, .pricing, .faq, .demo-section { padding: 96px 0; background: #0f0f0f; }
.eyebrow { display: inline-block; font: 11px/1.5 var(--font-mono); font-weight: 400; letter-spacing: .04em; color: #b8b8b8; margin-bottom: 24px; text-transform: uppercase; }
.loop-top, .control-top, .pricing-top { text-align: left; max-width: none; margin-bottom: 52px; }
.loop h2, .learn h2, .control h2, .comparison h2, .how h2, .pricing h2, .faq h2, .demo-text h2, .early-access-box h2, .cta-box h2 { font-size: 44px; line-height: 1.1; font-weight: 400; letter-spacing: -1.6px; max-width: 570px; margin: 0 0 24px; }
.loop-top p, .control-top p, .pricing-top p { max-width: 600px; color: var(--muted); margin: 0; font-size: 16px; }
.loop-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 56px; align-items: start; }
.loop-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.loop-nav a { display: flex; align-items: center; gap: 12px; border: 1px solid #292929; padding: 13px 12px; font: 11px/1.4 var(--font-mono); text-transform: uppercase; color: #a1a1a1; }
.loop-nav a > span:first-child { font-size: 10px; }
.loop-nav a.is-active { background: #222; color: #fff; }
.loop-nav a.is-active > span:first-child { color: #bdc7ff; }
.loop-nav a:hover { border-color: #777; color: #fff; }
.loop-grid { display: flex; flex-direction: column; gap: 16px; }
.loop-card { display: grid; grid-template-columns: 58% 42%; padding: 0; border: 1px solid #292929; border-radius: 0; background: #0f0f0f; overflow: hidden; scroll-margin-top: 100px; }
.loop-art { min-height: 390px; padding: 36px; display: flex; align-items: center; justify-content: center; background-position: center; background-size: cover; overflow: hidden; }
.loop-art-1 { background-image: url('./img/composio/tool-calls.png'); }
.loop-art-2 { background-image: url('./img/composio/evolution.png'); }
.loop-art-3 { background-image: url('./img/composio/auth.png'); }
.loop-art-4 { background-image: url('./img/composio/sandbox.png'); }
.loop-art > div { width: 100%; min-width: 0; box-shadow: 0 12px 28px #0007; border: 1px solid #333; }
.loop-art .tq { padding: 0 0 8px; }
.loop-art .tq-head { padding: 16px; }
.loop-art .tq-group { padding: 12px 16px 5px; }
.loop-art .tq-item { padding: 9px 16px; }
.loop-art .tq-item:last-child, .loop-art .tq-group:last-of-type { display: none; }
.loop-art .tq-meta { font-size: 9px; }
.loop-art .tq-when { font-size: 9px; }
.loop-art .cw { padding: 20px; }
.loop-art .cw-head { flex-wrap: wrap; gap: 8px; }
.loop-art .cw-line { font-size: 11px; }
.loop-art .cw-block { margin-top: 14px; }
.loop-art .cw-foot { display: none; }
.loop-copy { padding: 32px 24px; align-self: center; }
.loop-num { display: inline-block; color: #aaa; font: 11px var(--font-mono); background: #222; padding: 4px 6px; border: 0; border-radius: 0; margin-bottom: 18px; width: auto; height: auto; }
.loop-card h3 { font-size: 25px; font-weight: 400; letter-spacing: -.7px; margin-bottom: 14px; }
.loop-card p { font-size: 13px; color: #aaa; line-height: 1.6; }
.loop-card ul { margin-top: 24px; gap: 12px; }
.loop-card li { font-size: 11px; line-height: 1.5; border-left: 1px solid #555; padding-left: 10px; color: #ccc; }
.loop-card li::before { display: none; }
.loop-note { text-align: right; font: 11px/1.6 var(--font-mono); color: #999; margin-top: 24px; }
.workflow-preview { background: #141414; padding: 24px; text-align: left; }
.workflow-preview .preview-title { font-size: 16px; font-weight: 400; margin: 22px 0 4px; }
.workflow-preview .preview-label { font: 9px/1.6 var(--font-mono); text-transform: uppercase; color: #aaa; }
.workflow-preview .preview-sub { font-size: 11px; margin: 0 0 24px; }
.workflow-entry { border: 1px solid #333; padding: 14px; font-size: 11px; margin-top: 10px; }
.workflow-entry.is-complete { background: #14251d; color: #9bdfbc; border-color: #284635; margin-bottom: 18px; }
.workflow-preview .draft-message { margin: 24px 0; font-size: 13px; line-height: 1.7; }

/* White editorial section between the dark product and operations sections. */
.learn, .comparison, .early-access, .cta-section { --text: #111; --muted: #606060; --border: #d8d8d8; --surface-glass: #fff; --surface: #fff; --bg: #f6f6f6; --bg2: #eee; --orange-text: #3542b6; --cta-bg: #111; --cta-text: #fff; background: #f6f6f6; color: #111; }
.learn { padding: 96px 0; }
.learn .eyebrow, .comparison .eyebrow, .early-access .eyebrow { color: #626262; }
.learn-inner { gap: 80px; align-items: center; }
.learn-text > p { font-size: 16px; }
.playbook-card { background: #fff; border: 1px solid #ddd; border-radius: 0; padding: 32px; box-shadow: none; }
.pb-row { padding: 24px 0; }
.pb-row strong { font-size: 16px; font-weight: 500; }
.pb-row em { font-size: 13px; }
.pb-label, .pb-count { font-family: var(--font-mono); font-size: 10px; border-radius: 0; }
.step-num { width: 26px; height: 26px; border-radius: 0; font: 11px var(--font-mono); border: 1px solid var(--border); background: transparent; color: inherit; }
.step:not(:last-child)::after { left: 12px; top: 32px; width: 1px; }
.step-body h3 { font-weight: 500; }
.comparison { padding: 0 0 96px; }
.comparison-inner { border: 0; background: transparent; padding: 0; border-radius: 0; gap: 64px; }
.comparison .btn-primary, .early-access .btn-primary, .cta-section .btn-primary { background: #111; color: #fff; border-color: #111; }
.comparison .btn-primary:hover, .early-access .btn-primary:hover, .cta-section .btn-primary:hover { background: #333; }
.comp-table { border-radius: 0; }
.comp-row.header { font-family: var(--font-mono); font-weight: 400; }
.control { border-top: 1px solid var(--border); }
.control-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
.control-card { border: 1px solid #292929; border-radius: 0; padding: 32px; background: transparent; }
.control-card h3 { font-size: 23px; line-height: 1.25; font-weight: 400; }
.control-card p { max-width: 440px; font-size: 14px; }
.how { border-top: 1px solid #292929; }
.phone-wrap { background: url('./img/composio/auth.png') center / cover; padding: 64px 40px; }
.phone { width: 100%; max-width: 320px; min-width: 0; border-radius: 0; padding: 0; border: 1px solid #555; box-shadow: 0 12px 30px #0007; }
.how-inner > *, .demo-inner > *, .comparison-inner > * { min-width: 0; }
.phone-screen { border-radius: 0; }
.ph-header { background: #1e1e1e; color: #eee; padding: 24px; }
.ph-body { padding: 20px; }
.ph-rep { border-radius: 0; background: #1c2344; border-color: #39416e; }
.pricing { border-top: 1px solid #292929; }
.pricing-grid { gap: 0; align-items: stretch; }
.p-card { border-radius: 0; background: #121212; padding: 36px; display: flex; flex-direction: column; }
.p-card.hot { border-color: #8a96ff; box-shadow: none; background: #181a23; }
.p-badge { border-radius: 0; background: #8a96ff; color: #111; font: 10px var(--font-mono); }
.p-tier { font: 12px var(--font-mono); margin-bottom: 24px; }
.p-price { font-size: 54px; font-weight: 400; }
.p-desc { margin: 24px 0; }
.p-features { flex: 1; gap: 14px; }
.faq { border-top: 1px solid #292929; }
.faq-list { gap: 0; }
.faq-item { background: transparent; border-radius: 0; border: 0; border-bottom: 1px solid #333; padding: 0; }
.faq-item summary { font-size: 16px; font-weight: 400; padding: 24px 0; }
.faq-item summary::after { background: transparent; border-radius: 0; color: #aaa; font-size: 20px; }
.early-access { padding: 72px 0; }
.early-access-box { border: 0; background: transparent; padding: 0; border-radius: 0; max-width: 820px; }
.early-access-box h2 { max-width: 740px; margin-inline: auto; }
.early-access-badge { border-radius: 0; font: 11px var(--font-mono); margin: 0 16px 16px 0; }
.cta-section { padding: 64px 0; border-top: 1px solid #ddd; }
.cta-box { background: transparent; color: #111; padding: 0; border-radius: 0; }
.cta-box::before { display: none; }
.cta-box h2 { max-width: none; font-size: 48px; }
.cta-box h2 br { display: none; }
.cta-box p { color: #666; }
.demo-section { border-top: 1px solid #292929; }
.demo-form { border-radius: 0; padding: 32px; background: #151515; }
.demo-form input, .demo-form select, .demo-form textarea, .demo-more { border-radius: 0; }
.form-progress { align-items: start; }
.form-progress strong { font-weight: 500; }
.form-progress span { text-align: right; }
footer { padding: 64px 0 40px; background: #0f0f0f; }
.foot-inner { align-items: flex-start; gap: 40px; }
.foot-logo { font-size: 23px; font-weight: 500; }
.foot-links { gap: 24px; flex-wrap: wrap; }
.foot-copy { flex-basis: 100%; padding-top: 32px; border-top: 1px solid #292929; font: 11px var(--font-mono); }
.mobile-demo-cta { border-radius: 0; font-family: var(--font-mono); text-transform: uppercase; font-size: 12px; }

@media (min-width: 1600px) { .hero { background-size: 100% auto; } }
@media (max-width: 1150px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 10px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-ghost { display: none; }
  .loop-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 28px; }
  .loop-art { padding: 24px; }
  .loop-copy { padding: 24px 20px; }
}
@media (max-width: 960px) {
  .nav-inner { justify-content: space-between; }
  .nav-actions { display: flex; margin-left: auto; }
  .nav-actions .lang-switch { display: none; }
  .hero h1 { font-size: 54px; }
  .hero { background-size: 1240px auto; }
  .app-panes { grid-template-columns: 1fr 1.2fr; gap: 20px; }
  .app-panes > .workflow-preview { grid-column: 1 / -1; margin-top: 0; }
  .loop-layout { grid-template-columns: 1fr; gap: 24px; }
  .loop-nav { position: static; flex-direction: row; }
  .loop-nav a { flex: 1; }
  .loop-card { grid-template-columns: 55% 45%; }
  .learn-inner, .comparison-inner, .how-inner, .demo-inner, .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .phone-wrap { display: flex; }
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-card { padding: 28px 20px; }
  .p-price { font-size: 44px; }
  .p-features li { font-size: 12px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 76px; }
  body > nav { top: 0; left: 0; transform: none; width: 100%; border: 0; border-bottom: 1px solid #222; }
  .nav-inner { height: 56px; padding: 8px 12px; gap: 12px; }
  .logo .name { font-size: 21px; }
  .logo img { width: 22px; height: 22px; }
  .nav-actions .btn { font-size: 10px; padding: 8px; }
  .nav-hamburger { padding: 4px; }
  .container { padding: 0 20px; }
  .hero { padding-top: 230px; background-image: none; }
  .hero h1 { font-size: 36px; line-height: 1; letter-spacing: -1.2px; max-width: 360px; }
  .hero-sub { font-size: 16px; line-height: 1.5; margin: 24px auto 28px; max-width: 350px; }
  .hero-cta-row { flex-wrap: wrap; flex-direction: row; gap: 10px; }
  .hero-cta-row .btn { font-size: 10px; padding: 12px 10px; }
  .hero-cta-row .btn svg { width: 12px; }
  .hero-note { font-size: 10px; margin-top: 18px; }
  .works-strip { margin: 72px 20px 90px; padding-top: 24px; border-top: 1px solid #292929; }
  .works-strip > .container { padding: 0; gap: 16px; }
  .works-row { gap: 30px; flex-wrap: nowrap; }
  .work-pill { font-size: 21px; }
  .preview-container { padding-top: 32px; padding-bottom: 64px; }
  .preview-heading { gap: 14px; }
  .preview-heading .eyebrow { font-size: 9px; }
  .preview-heading .btn { font-size: 9px; min-height: 36px; padding: 8px; }
  .hero-visual { padding: 0; }
  .hero-screen { border-radius: 0; }
  .app-panes { grid-template-columns: 1fr; }
  .app-panes > .cw { border-radius: 20px; }
  .cw { padding: 24px 20px; }
  .cw-head { flex-wrap: wrap; gap: 12px; }
  .cw-foot { gap: 6px; }
  .loop, .learn, .control, .how, .pricing, .faq, .demo-section { padding: 64px 0; }
  .loop h2, .learn h2, .control h2, .comparison h2, .how h2, .pricing h2, .faq h2, .demo-text h2, .early-access-box h2, .cta-box h2 { font-size: 34px; line-height: 1.1; letter-spacing: -1px; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .loop-top, .control-top, .pricing-top { margin-bottom: 32px; }
  .loop-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .loop-nav a { font-size: 10px; padding: 10px; }
  .loop-card { grid-template-columns: 1fr; scroll-margin-top: 76px; }
  .loop-art { min-height: 320px; padding: 28px; }
  .loop-art .tq { max-width: 320px; }
  .loop-copy { padding: 28px 24px; }
  .loop-card h3 { font-size: 28px; }
  .loop-card p { font-size: 14px; }
  .loop-card li { font-size: 12px; }
  .loop-note { text-align: left; }
  .learn-inner { gap: 32px; }
  .playbook-card { padding: 22px; }
  .pb-count { white-space: nowrap; }
  .comparison { padding: 0 0 64px; }
  .comp-row { grid-template-columns: 1.4fr 1fr .8fr .8fr; padding: 12px 8px; gap: 5px; }
  .comp-row.header { padding: 10px 8px; font-size: 9px; }
  .comp-label { font-size: 11px; }
  .comp-brand { font-size: 10px; }
  .control-grid, .pricing-grid { grid-template-columns: 1fr; }
  .control-card { padding: 28px 24px; }
  .p-card { padding: 32px; }
  .p-card.hot { margin: 20px 0; }
  .phone-wrap { padding: 40px 24px; }
  .faq-item summary { font-size: 15px; }
  .early-access, .cta-section { padding: 56px 0; }
  .early-access-box, .cta-box { padding: 0; }
  .early-access-badge { margin: 0 0 20px; }
  .early-access .btn { font-size: 11px; }
  .demo-form { padding: 24px 20px; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .form-progress { flex-direction: column; gap: 4px; }
  .form-progress span { text-align: left; }
  .foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
  footer { padding-bottom: 110px; }
  .mobile-demo-cta { border-radius: 0; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.cw-who > span, .cw-timer { color: #aaa; }
