/* BrokeFounders GEO — connector guide. Same language as the landing: flat fields, heaviest type, square corners.
   No gradients, rules, shadows or monospace outside real code. */
:root {
  --paper: #f6f5f1;
  --ink: #121212;
  --lime: #d4ff3a;
  --stone: #e4e1d8;
  --clay: #c9c5b9;
  --muted: #5d5b55;
  --margin: clamp(16px, 2vw, 28px);
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-body: clamp(17px, 1.2vw, 19px);
  --t-h2: clamp(40px, 5.6vw, 92px);
  --t-mid: clamp(24px, 2.2vw, 34px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #161614; --ink: #f2f0ea; --stone: #24231f; --clay: #34322c; --muted: #b5b1a6; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #161614; --ink: #f2f0ea; --stone: #24231f; --clay: #34322c; --muted: #b5b1a6; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
code, pre { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #121212; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
[id] { scroll-margin-top: 24px; }

/* ---------- top: the brand poster (stays dark in both themes) ---------- */
.top { background: #121212; color: #f6f5f1; padding: 28px var(--margin) 120px; }
.bar { display: flex; align-items: center; gap: 16px 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 17px; white-space: nowrap; }
.mark { width: 26px; height: 26px; border-radius: 50%; border: 5px solid #d4ff3a; display: inline-block; flex: none; }
.bar-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 600; font-size: 17px; }
.bar-nav a { text-decoration: none; padding: 6px 0; }
.bar-nav a:hover { color: #d4ff3a; }
.btn-solid { background: #d4ff3a; color: #121212; text-decoration: none; font-weight: 800; padding: 14px 18px; font-size: 17px; white-space: nowrap; transition: transform .15s var(--ease-out), background-color .15s; }
.btn-solid:hover { transform: translateY(-2px); background: #f6f5f1; }
.btn-solid:active { transform: none; }

.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: end; margin-top: clamp(72px, 10vw, 150px); }
.hero-copy { grid-column: 1 / span 7; }
.hero h1 { font-size: clamp(40px, 5.5vw, 104px); font-weight: 900; letter-spacing: -.045em; line-height: .92; max-width: 10.5em; color: #d4ff3a; }
.lede { margin-top: 36px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; font-weight: 500; max-width: 40ch; }
.url-box { margin-top: 40px; max-width: 640px; }
.url-label { font-size: 15px; font-weight: 600; color: #c9c5b9; margin-bottom: 8px; }
.url-row { display: flex; align-items: stretch; background: #f6f5f1; color: #121212; }
.url { flex: 1 1 auto; min-width: 0; padding: 16px 18px; font-size: clamp(14px, 1.2vw, 18px); font-weight: 500; overflow-wrap: anywhere; align-self: center; }
.copy { flex: none; border: 0; border-radius: 0; background: #d4ff3a; color: #121212; font-weight: 800; font-size: 17px; padding: 0 22px; min-height: 48px; cursor: pointer; transition: background-color .15s ease, transform .14s var(--ease-out); }
.copy:hover { background: #121212; color: #d4ff3a; }
.copy:active { transform: scale(.96); }
.copy.done { background: #121212; color: #d4ff3a; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; }
.go { font-weight: 800; font-size: 19px; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .25em; text-decoration-color: #d4ff3a; }
.go:hover { color: #d4ff3a; }
.go.ghost { text-decoration-color: #5d5b55; }

/* the example conversation, a real fragment of the chat */
.hero-chat { grid-column: 8 / -1; background: #f6f5f1; color: #121212; border-radius: 28px; padding: 22px; display: grid; gap: 12px; font-size: 17px; transform: rotate(-2deg); }
.hc-me { justify-self: end; max-width: 30ch; background: #121212; color: #f6f5f1; padding: 12px 16px; border-radius: 18px 18px 4px 18px; font-weight: 600; }
.hc-tool { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #5d5b55; }
.tool-dot { width: 12px; height: 12px; border-radius: 50%; background: #121212; position: relative; }
.tool-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #d4ff3a; }
.hc-ai { display: grid; gap: 8px; background: #e4e1d8; padding: 14px 16px; border-radius: 18px 18px 18px 4px; max-width: 46ch; }
.hc-ai b { font-weight: 900; font-size: 1.25em; letter-spacing: -.02em; }
.hc-note { font-size: 14px; color: #5d5b55; }

/* ---------- flow: link, sign in, approve on the lime field ---------- */
.flow { background: #d4ff3a; color: #121212; padding: 140px var(--margin); }
.flow-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 64px; }
.flow h2 { grid-column: 1 / span 7; font-size: var(--t-h2); font-weight: 900; letter-spacing: -.045em; line-height: .92; }
.flow-head p { grid-column: 8 / -1; font-size: 19px; font-weight: 500; max-width: 42ch; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.step { position: relative; background: #f6f5f1; padding: 20px 20px 28px; transition: background-color .35s ease, color .35s ease; }
.step h3 { font-size: var(--t-mid); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin-top: 24px; }
.step > p { margin-top: 10px; font-size: 17px; max-width: 34ch; }
.step:not(:last-child)::after { content: ''; position: absolute; z-index: 2; top: 92px; right: -18px; width: 28px; height: 28px; background: #121212; clip-path: polygon(0 20%, 55% 20%, 55% 0, 100% 50%, 55% 100%, 55% 80%, 0 80%); }
.mock { background: #121212; color: #f6f5f1; border-radius: 18px; padding: 18px; min-height: 196px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; transition: transform .45s var(--ease-out); }
.m-title { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.m-field { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 8px; align-items: center; background: #24231f; padding: 8px 10px; border-radius: 8px; }
.m-field span { color: #b5b1a6; }
.m-field b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-url { color: #d4ff3a; }
.m-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.m-brand .mark { width: 22px; height: 22px; border-width: 4px; }
.m-sub { color: #b5b1a6; }
.m-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.m-list li { padding-left: 18px; position: relative; }
.m-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: #d4ff3a; }
.m-actions { margin-top: auto; display: flex; justify-content: flex-end; gap: 8px; }
.m-btn { padding: 8px 14px; border-radius: 999px; background: #34322c; font-weight: 700; }
.m-btn.m-on { background: #d4ff3a; color: #121212; }
.m-wide { flex: 1; text-align: center; }
/* the step being performed (landing-style loop from mcp.js; without it every step rests the same) */
.steps.live .step { background: #e9f8a8; }
.steps.live .step.on { background: #f6f5f1; }
.steps.live .step.on .mock { transform: translateY(-8px) rotate(-1.5deg); }
.steps.live .step.on .m-on { animation: press 1.6s var(--ease-out) .9s both; }
@keyframes press { 0%, 100% { transform: none; } 40% { transform: scale(.9); } 60% { transform: scale(1.05); } }

/* ---------- setup ---------- */
.setup { padding: 160px var(--margin); }
.setup h2, .perms h2, .asks h2, .tools h2, .safe h2, .dev h2, .help h2 { font-size: var(--t-h2); font-weight: 900; letter-spacing: -.045em; line-height: .92; max-width: 16ch; }
.setup-sub { margin-top: 28px; font-size: 19px; max-width: 60ch; }
.setup-sub a { font-weight: 800; }
.apps { margin-top: 56px; }
.app-tabs { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.app-tabs[hidden] { display: none; }
.app-tabs button { border: 0; border-radius: 0; background: var(--stone); color: var(--ink); font-weight: 900; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.03em; padding: 14px 22px; cursor: pointer; transition: background-color .15s ease, transform .14s var(--ease-out); }
.app-tabs button:hover { transform: translateY(-2px); }
.app-tabs button[aria-selected="true"] { background: #d4ff3a; color: #121212; }
.app { background: var(--stone); padding: clamp(24px, 3vw, 48px); }
.app + .app { margin-top: 8px; }
.tabbed .app + .app { margin-top: 0; }
.app[hidden] { display: none; }
.app { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: start; }
.app h3, .app .how-list { grid-column: 1; }
.app .aside { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-top: 0; background: var(--paper); padding: 20px 22px; font-size: 17px; color: var(--ink); }
.app h3 { font-size: var(--t-mid); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.how-list { margin: 24px 0 0; padding-left: 1.4em; display: grid; gap: 14px; max-width: 70ch; font-size: 19px; }
.how-list li::marker { font-weight: 900; }
.how-list :not(pre) > code { font-size: .9em; background: var(--paper); padding: 1px 6px; }
.cmd-row { display: flex; align-items: stretch; margin-top: 12px; background: #121212; color: #f6f5f1; max-width: 100%; }
.cmd-row pre { flex: 1 1 auto; min-width: 0; margin: 0; padding: 16px 18px; overflow-x: auto; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.aside { margin-top: 24px; font-size: 16px; color: var(--muted); max-width: 64ch; }

/* ---------- permissions ---------- */
.perms { background: #121212; color: #f6f5f1; padding: 160px var(--margin); }
.perm-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 8px; margin-top: 64px; }
.perm { padding: clamp(24px, 3vw, 44px); min-height: 320px; display: flex; flex-direction: column; gap: 14px; }
.p-read { background: #f6f5f1; color: #121212; }
.p-write { background: #d4ff3a; color: #121212; }
.scope { font-weight: 900; font-size: clamp(36px, 4.4vw, 68px); letter-spacing: -.04em; line-height: 1; }
.perm h3 { margin-top: auto; font-size: var(--t-mid); font-weight: 900; letter-spacing: -.03em; }
.perm p:last-child { font-size: 18px; max-width: 46ch; }
.rules { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.rules li { font-size: 18px; max-width: 48ch; }
.rules b { color: #d4ff3a; font-weight: 800; }

/* ---------- example prompts ---------- */
.asks { padding: 160px var(--margin); }
.ask-list { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 8px; }
.ask-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--stone); padding: 14px 14px 14px clamp(18px, 2vw, 28px); transition: background-color .15s ease, transform .3s var(--ease-out); }
@media (hover: hover) { .ask-list li:hover { transform: translateX(8px); background: #d4ff3a; color: #121212; } }
.ask-q { font-size: clamp(22px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.ask-q::before { content: '“'; } .ask-q::after { content: '”'; }
.asks-note { margin-top: 24px; font-size: 16px; color: var(--muted); }

/* ---------- tools ---------- */
.tools { background: var(--stone); padding: 160px var(--margin); }
.tools-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.tools-head h2 { grid-column: 1 / span 7; }
.tools-head p { grid-column: 8 / -1; font-size: 19px; max-width: 42ch; }
.tool-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 64px; }
.tool-col { background: var(--paper); padding: clamp(22px, 2.6vw, 40px); }
.tool-col h3 { font-size: var(--t-mid); font-weight: 900; letter-spacing: -.03em; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tool-col h3 span { font-size: 16px; font-weight: 700; background: #121212; color: #d4ff3a; padding: 4px 10px; letter-spacing: 0; }
.tool-list { margin: 20px 0 0; display: grid; gap: 4px; }
.tool-list > div { padding: 14px 0; }
.tool-list > div + div { border-top: 0; }
.tool-list dt { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.tool-list dt em { font-style: normal; font-weight: 700; font-size: 14px; background: #d4ff3a; color: #121212; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.tool-list dd { margin: 4px 0 0; font-size: 17px; max-width: 56ch; }

/* ---------- privacy & security ---------- */
.safe { background: #d4ff3a; color: #121212; padding: 160px var(--margin); }
.safe-list { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.safe-list li { background: #f6f5f1; padding: 22px; min-height: 260px; display: flex; flex-direction: column; gap: 14px; }
.safe-list li:nth-child(2n) { background: #121212; color: #f6f5f1; }
.safe-list b { font-size: clamp(26px, 2.4vw, 38px); font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.safe-list span { margin-top: auto; font-size: 17px; }

/* ---------- developers ---------- */
.dev { padding: 140px var(--margin) 0; }
.dev h2 { font-size: var(--t-mid); max-width: none; letter-spacing: -.03em; }
.dev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 24px; }
.dev-grid p, .dev-list { font-size: 17px; }
.dev-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.dev code { font-size: .88em; background: var(--stone); padding: 1px 6px; overflow-wrap: anywhere; }

/* ---------- help ---------- */
.help { padding: 140px var(--margin) 160px; }
.faq { margin-top: 56px; display: grid; gap: 8px; }
.faq details { background: var(--stone); }
.faq details[open] { background: #d4ff3a; color: #121212; }
.faq details[open] code { background: #f6f5f1; }
.faq summary { list-style: none; cursor: pointer; padding: 22px clamp(18px, 2vw, 28px); font-size: clamp(20px, 2vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 900; font-size: 1.3em; line-height: 1; flex: none; transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 clamp(18px, 2vw, 28px) 24px; font-size: 18px; max-width: 68ch; }
.faq code { font-size: .9em; background: var(--paper); padding: 1px 6px; }

/* ---------- end ---------- */
.end { background: #121212; color: #f6f5f1; padding: 120px var(--margin) 0; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: end; }
.end-cta { grid-column: 1 / span 7; justify-self: start; background: #d4ff3a; color: #121212; text-decoration: none; font-weight: 900; font-size: clamp(28px, 3.4vw, 52px); letter-spacing: -.035em; padding: .45em .7em; transition: transform .15s var(--ease-out), background-color .15s; }
.end-cta:hover { transform: translateY(-3px); background: #f6f5f1; }
.end-note { grid-column: 8 / -1; font-size: 18px; max-width: 40ch; }
.end-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; font-weight: 700; font-size: 19px; }
.end-nav a { text-decoration: none; }
.end-nav a:hover { color: #d4ff3a; }
.end-word { grid-column: 1 / -1; font-weight: 900; font-size: 11.4vw; letter-spacing: -.055em; line-height: .8; color: #d4ff3a; white-space: nowrap; margin: 40px 0 -.06em; }

/* ---------- entrances (mcp.js adds .js and .in); content is visible without script ---------- */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .hero-chat.rise { transform: translateY(40px) rotate(-1deg); }
.js .hero-chat.rise.in { transform: rotate(-2deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .rise { opacity: 1; transform: none; }
  .js .hero-chat.rise { transform: rotate(-2deg); }
}

/* ---------- mid widths ---------- */
@media (max-width: 1100px) {
  .hero-copy, .hero-chat { grid-column: 1 / -1; }
  .hero-chat { max-width: 620px; justify-self: end; }
  .safe-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safe-list li { min-height: 200px; }
  .safe-list li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .app { display: block; }
  .app .aside { margin-top: 24px; }
  .bar-nav { display: none; }
  .bar { justify-content: space-between; }
  .flow-head, .tools-head { display: block; }
  .flow-head p, .tools-head p { margin-top: 24px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .step .mock { grid-row: 1 / span 2; }
  .step h3 { margin-top: 0; }
  .step:not(:last-child)::after { top: auto; bottom: -18px; right: auto; left: 150px; transform: rotate(90deg); }
  .perm-grid, .tool-cols, .dev-grid, .rules { grid-template-columns: 1fr; }
  .end-cta, .end-note { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .top { padding: 18px var(--margin) 88px; }
  .wordmark { font-size: 15px; }
  .btn-solid { padding: 10px 12px; font-size: 14px; }
  .bar { gap: 12px; }
  .wordmark { min-width: 0; }
  .hero { margin-top: 64px; row-gap: 48px; }
  .hero h1 { font-size: 9.4vw; }
  .lede { margin-top: 24px; font-size: 17px; }
  .url { font-size: 13px; padding: 14px 12px; }
  .copy { padding: 0 16px; font-size: 16px; }
  .hero-chat { font-size: 15px; padding: 16px; border-radius: 22px; transform: rotate(-1deg); }
  .js .hero-chat.rise.in { transform: rotate(-1deg); }
  .flow, .setup, .perms, .asks, .tools, .safe { padding-top: 104px; padding-bottom: 104px; }
  .setup h2, .perms h2, .asks h2, .tools h2, .safe h2, .help h2, .flow h2 { font-size: 10.6vw; }
  .dev h2 { font-size: 26px; }
  .step { display: block; padding: 16px 16px 24px; }
  .step h3 { margin-top: 20px; }
  .step:not(:last-child)::after { left: 50%; margin-left: -14px; }
  .mock { min-height: 0; }
  .app-tabs { gap: 6px; }
  .app-tabs button { font-size: 17px; padding: 12px 14px; flex: 1 1 auto; }
  .how-list { font-size: 17px; }
  .cmd-row { flex-direction: column; }
  .cmd-row pre { font-size: 13px; }
  .cmd-row .copy { min-height: 44px; }
  .perm { min-height: 240px; }
  .ask-list li { flex-direction: column; align-items: stretch; padding: 16px; }
  .ask-list .copy { align-self: flex-start; min-height: 44px; }
  .safe-list { grid-template-columns: 1fr; }
  .safe-list li { min-height: 0; }
  .faq summary { font-size: 19px; padding: 18px 16px; }
  .faq details p { font-size: 16px; padding: 0 16px 20px; }
  .end { padding-top: 88px; }
  .end-cta { font-size: 26px; }
  .end-note { font-size: 16px; }
  .end-nav { font-size: 17px; }
}

/* the top-bar CTA drops "with Google" on small phones so the bar never scrolls sideways */
@media (max-width: 480px) {
  .bar-long { display: none; }
}
