/* Shared product-page styling for the homepage and platform pages. */
body:has(.home-page) { --page: #ffffff; --ink: #1d1d1f; --muted: #6e6e73; --accent: #0066cc; --line: #e5e5e7; background: var(--page); font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif; }
body:has(.home-page) #container { max-width: 1200px; padding: 24px 32px 28px; }
.home-page { text-align: left; }
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page #graph-container, .home-page #graph-container * { box-sizing: content-box; }
.home-page a { text-underline-offset: 4px; }
.home-page a:focus-visible, .home-page summary:focus-visible { outline: 3px solid #245dc1; outline-offset: 6px; border-radius: 5px; }
.home-nav { align-items: center; display: flex; gap: 30px; justify-content: space-between; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.home-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -.6px; text-decoration: none; }
.home-brand img { border-radius: 24%; flex-shrink: 0; }
.home-brand-copy { display: grid; gap: 4px; }
.home-brand-description { max-width: 440px; color: var(--muted); font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.45; }
.home-nav-links { display: flex; gap: 27px; margin-left: auto; }
.home-nav-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.home-nav-links a:hover { color: var(--accent); }
.home-nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.home-nav-download { background: #0071e3; border: 1px solid transparent; border-radius: 999px; color: var(--page); padding: 10px 18px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s; }
.home-nav-download:hover { background: #0066cc; }
.home-hero { padding-top: 44px; text-align: center; }
.home-hero h1 { font-size: clamp(44px, 5.5vw, 64px); font-weight: 600; letter-spacing: -2px; line-height: 1.08; }
.home-highlight { color: var(--accent); }
.home-intro { color: var(--muted); font-size: 21px; line-height: 1.5; max-width: 570px; margin: 24px auto; text-wrap: pretty; }
.home-actions { display: flex; gap: 25px; justify-content: center; align-items: center; margin-top: 28px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 13px 26px; color: var(--page); background: #0071e3; font-size: 17px; font-weight: 500; text-decoration: none; transition: background .2s; }
.home-button:hover { background: #0066cc; }
.home-text-link { color: var(--accent); font-size: 17px; font-weight: 400; text-decoration: none; line-height: 1.6; }
.home-text-link span { margin-left: 8px; }
.home-text-link:hover { text-decoration: underline; }
.home-showcase { margin: 36px 0 0; }
.home-features { padding-top: 80px; scroll-margin-top: 40px; }
.home-section-heading { max-width: 650px; margin: 0 auto 56px; text-align: center; }
.home-page h2 { font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -1.4px; line-height: 1.12; margin: 0 0 22px; }
.home-section-heading > p:last-child, .home-dock-copy > p { color: var(--muted); font-size: 21px; line-height: 1.5; }
.home-story { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 50px; padding: 38px 0; }
.home-story-copy { max-width: 335px; }
.home-story h3 { font-size: 36px; line-height: 1.12; font-weight: 600; letter-spacing: -1px; margin: 0 0 22px; }
.home-story p { color: var(--muted); font-size: 19px; line-height: 1.5; margin-bottom: 24px; }
.home-story-image { background: #f5f5f7; padding: 30px 18px; border-radius: 24px; }
.home-story-reverse { grid-template-columns: 1.2fr .8fr; }
.home-story-reverse .home-story-image { grid-column: 1; grid-row: 1; }
.home-story-reverse .home-story-copy { grid-column: 2; }
.home-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 64px 0 100px; }
.home-details h3 { font-size: 24px; font-weight: 600; letter-spacing: -.5px; margin: 0 0 16px; }
.home-details p { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0; }
.home-details p a { white-space: nowrap; }
.home-dock-section { align-items: center; background: #f5f5f7; border-radius: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 64px 44px; overflow: hidden; }
.home-dock-section h2 { font-size: 40px; letter-spacing: -1.4px; }
.home-dock-copy .home-button { margin-top: 12px; }
.home-dock-scene { position: relative; padding: 112px 0 40px; }
.home-dock { display: flex; align-items: flex-end; justify-content: center; gap: 12px; width: fit-content; margin: 0 auto; padding: 12px; border: 1px solid #ffffff1f; border-radius: 22px; background: linear-gradient(#4b5770e6, #363f53f0); box-shadow: 0 24px 30px -18px #1a2a4485, inset 0 1px 0 #ffffff26; }
.dock-neighbour { flex: 0 0 56px; aspect-ratio: 1; border-radius: 23%; background: linear-gradient(#ffffff38, #ffffff1c); box-shadow: inset 0 1px 0 #ffffff26, 0 3px 6px #0002; }
.dock-searchpanel { position: relative; display: block; flex: 0 0 88px; margin-top: -32px; transform: translateY(-4px); transition: transform .25s ease; }
.dock-searchpanel img { display: block; width: 88px; height: 88px; filter: drop-shadow(0 7px 6px #0f182833); }
.dock-searchpanel:hover, .dock-searchpanel:focus-visible { transform: translateY(-12px) scale(1.08); }
.dock-tooltip { background: #fffffff2; border: 1px solid #d8dfe9; border-radius: 999px; bottom: calc(100% + 15px); color: #43536a; font-size: 14px; font-weight: 500; left: 50%; padding: 7px 15px; position: absolute; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 3px 5px #26375010; }
.dock-tooltip::after { background: #fff; border-right: 1px solid #d8dfe9; border-bottom: 1px solid #d8dfe9; bottom: -4px; content: ''; height: 7px; left: calc(50% - 4px); position: absolute; transform: rotate(45deg); width: 7px; }
.dock-running { position: absolute; bottom: -11px; left: calc(50% - 3px); border-radius: 50%; background: #e3e8f0; width: 6px; height: 6px; }
.home-faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; padding: 100px 0 70px; }
.home-faq-list details { border-bottom: 1px solid var(--line); }
.home-faq-list summary { cursor: pointer; font-size: 19px; font-weight: 600; padding: 24px 25px 24px 0; list-style: none; position: relative; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary::after { content: '+'; position: absolute; right: 0; color: #63728b; }
.home-faq-list details[open] summary::after { content: '−'; }
.home-faq-list p { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0 0 24px; }
.home-final { text-align: center; padding: 45px 0 10px; }
.home-final #graph-container { margin: 0 auto 48px; }
.home-final h2 { font-size: 44px; }
.home-final > p { color: var(--muted); font-size: 21px; line-height: 1.5; }
.home-store { display: inline-block; margin-top: 10px; }
.home-store img { display: block; }
body:has(.home-page) .footer-link a { background: transparent; border: 0; font-size: 13px; }
body:has(.home-page) .footer-small { font-size: 12px; }
.platform-page .home-hero h1 { font-size: clamp(38px, 5vw, 60px); }
.platform-page .home-intro { max-width: 660px; }
.platform-page .platform-product { margin-top: 40px; }
.platform-page .home-features { padding-top: 64px; }
.platform-setup { padding: 48px; border-radius: 28px; background: #f5f5f7; }
.platform-setup > h2 { max-width: 720px; }
.platform-setup ol { counter-reset: setup; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 36px 0 0; padding: 0; }
.platform-setup li { counter-increment: setup; }
.platform-setup li::before { content: counter(setup); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e8e8ed; color: var(--ink); font-size: 19px; margin-bottom: 18px; }
.platform-setup h3 { font-size: 23px; line-height: 1.2; margin: 0 0 12px; font-weight: 600; }
.platform-setup p, .platform-faq-intro { font-size: 18px; line-height: 1.5; color: var(--muted); margin: 0; }
.platform-page .platform-cross-link { font-size: 18px; max-width: 560px; margin: 28px auto 0; }
.mcp-requirements { font-size: 17px; line-height: 1.5; color: var(--muted); margin: 18px 0 0; }
.mcp-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 24px; padding: 42px 32px; margin: 42px auto 0; max-width: 1000px; border-radius: 28px; background: #f5f5f7; }
.mcp-flow-item { min-width: 0; }
.mcp-flow-item > img, .mcp-flow-symbol { display: block; width: 64px; height: 64px; margin: 0 auto 22px; }
.mcp-flow-symbol { box-sizing: border-box; padding: 8px; color: var(--accent); }
.mcp-flow-symbol svg { display: block; width: 100%; height: 100%; }
.mcp-flow-item h2 { font-size: 24px; letter-spacing: -.5px; margin: 0 0 10px; }
.mcp-flow-item p { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 0; }
.mcp-flow-arrow { color: #86868b; font-size: 28px; }
.mcp-prompts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mcp-prompts article { padding: 30px; border-radius: 24px; background: #f5f5f7; }
.mcp-prompts h3 { font-size: 24px; line-height: 1.2; font-weight: 600; margin: 0 0 24px; letter-spacing: -.5px; }
.mcp-prompts blockquote { font-size: 21px; line-height: 1.5; margin: 0 0 24px; }
.mcp-prompts p { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 0; }
.mcp-config { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.mcp-config h3 { font-size: 17px; margin: 0 0 10px; }
.mcp-config pre { margin: 0; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font: 14px/1.55 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; text-align: left; }
.platform-setup .mcp-setup-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 17px; }
.legal-document { max-width: 760px; margin: 64px auto 56px; }
.document-heading { margin-bottom: 44px; }
.document-heading h1, .not-found h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; line-height: 1.1; letter-spacing: -1.5px; }
.document-heading > p { font-size: 17px; color: var(--muted); margin: 18px 0 0; }
.legal-document p { font-size: 18px; line-height: 1.65; }
.legal-document h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.6px; margin: 0 0 18px; }
.legal-document h3 { font-size: 21px; font-weight: 600; margin: 28px 0 12px; }
.legal-section { margin-top: 40px; }
.legal-section p { margin: 0 0 18px; }
.privacy-summary { padding: 32px; background: #f5f5f7; border-radius: 24px; }
.privacy-summary p { margin: 0; }
.legal-section[id] { scroll-margin-top: 32px; }
.not-found { max-width: 760px; margin: 68px auto 96px; text-align: center; }
.not-found-code { color: var(--accent); font-size: 24px; font-weight: 600; margin: 0 0 20px; }
.not-found .home-button { margin-top: 8px; }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; margin-top: 36px; font-size: 17px; line-height: 1.5; }
@media (max-width: 760px) {
	.mcp-prompts, .mcp-config { grid-template-columns: 1fr; }
	.mcp-flow { gap: 12px; padding: 32px 20px; }
	.mcp-flow-item h2 { font-size: 21px; }
	.mcp-flow-item p { font-size: 16px; }
}
@media (max-width: 900px) {
	.home-nav { flex-wrap: wrap; }
	.home-brand { flex: 1; }
	.home-nav-links { order: 3; width: 100%; justify-content: center; }
	.home-dock-section { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.home-dock-scene { width: 420px; max-width: 100%; margin: 0 auto; }
	.home-story { gap: 25px; }
}
@media (max-width: 600px) {
	.legal-document { margin-top: 44px; }
	.privacy-summary { padding: 24px; }
	.legal-document p { font-size: 17px; }
	.legal-document h2 { font-size: 26px; }
	.not-found { margin: 48px auto 64px; }
	.mcp-flow { grid-template-columns: 1fr; gap: 16px; padding: 30px 24px; }
	.mcp-flow-arrow { transform: rotate(90deg); line-height: 1; }
	.mcp-flow-item > img, .mcp-flow-symbol { margin-bottom: 12px; }
	.platform-page .home-hero h1 { font-size: clamp(32px, 9vw, 49px); }
	.platform-setup { padding: 30px 24px; }
	.platform-setup ol { grid-template-columns: 1fr; gap: 28px; }
	body:has(.home-page) #container { padding: 18px 20px 24px; }
	.home-nav { gap: 12px; padding-bottom: 18px; flex-wrap: wrap; }
	.home-brand { font-size: 22px; }
	.home-brand img { width: 52px; height: 52px; }
	.home-brand-description { font-size: 13px; }
	.home-nav-download { margin-left: auto; padding: 9px 12px; }
	.home-nav-links { order: 3; width: 100%; justify-content: center; padding-top: 8px; gap: clamp(16px, 4vw, 30px); }
	.home-nav-links a { white-space: nowrap; }
	.home-hero { padding-top: 46px; }
	.home-hero h1 { font-size: clamp(34px, 9.5vw, 49px); letter-spacing: -1.3px; }
	.home-intro { font-size: 19px; line-height: 1.45; }
	.home-actions { gap: 18px; }
	.home-button { padding: 13px 24px; font-size: 17px; }
	.home-text-link { font-size: 17px; }
	.home-showcase { margin: 36px -8px 0; }
	.home-features { padding-top: 60px; }
	.home-section-heading { margin-bottom: 24px; }
	.home-section-heading > p:last-child { font-size: 19px; }
	.home-story, .home-story-reverse { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; }
	.home-story-copy { max-width: none; }
	.home-story h3 { font-size: 32px; }
	.home-story p { font-size: 18px; }
	.home-story-reverse .home-story-copy, .home-story-reverse .home-story-image { grid-column: auto; grid-row: auto; }
	.home-details { grid-template-columns: 1fr; gap: 36px; margin: 36px 0 64px; }
	.home-dock-section { padding: 36px 18px 10px; margin: 0 -8px; }
	.home-dock-section h2 { font-size: 34px; }
	.home-dock-scene { padding-top: 98px; }
	.home-dock { gap: 10px; padding: 10px; border-radius: 17px; }
	.dock-searchpanel { flex-basis: 72px; margin-top: -28px; }
	.dock-running { bottom: -10px; }
	.dock-searchpanel img { height: 72px; width: 72px; }
	.dock-neighbour { flex-basis: 44px; }
	.home-faq { grid-template-columns: 1fr; gap: 15px; padding: 60px 0 30px; }
	.home-faq-list summary { font-size: 18px; }
	.home-final h2 { font-size: 34px; }
}
@media (max-width: 380px) {
	.home-nav-download { display: none; }
	.home-nav-links { gap: 20px; }
	.home-nav-links a { font-size: 13px; }
	.platform-page .home-button { padding: 13px 18px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .home-page *, .home-page *::before, .home-page *::after { transition: none !important; } }
