/* The home page with AI or without (home/ai.js), on both versions of it (index.html, v/hole.html). With AI or without: what only one of them shows. No answer yet is the page with AI. */

.fork .eyebrow { margin-bottom: 0.9rem; color: var(--teal); font: 500 0.82rem "JetBrains Mono", monospace; }

/* The fork: the question, then its answer finishing the hero's line. */
.fork { max-width: 900px; margin: 130px auto 0; padding: 0 24px; text-align: center; }
.fork h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; }
.fork h2 em { color: var(--teal); }
.fork-ask > p:not(.eyebrow), .fork-answer p { max-width: 36rem; margin: 1.1rem auto 0; color: var(--muted); font-size: 1.08rem; line-height: 1.55; text-wrap: balance; }
:root[data-ai] .fork-ask, :root:not([data-ai]) .fork-answer { display: none; }
.fork-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 680px; margin: 2.2rem auto 0; }
.fork-picks button { display: grid; justify-items: center; gap: 0.35rem; padding: 26px 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--fg); font: inherit; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.fork-picks button:hover { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 18px 36px -22px rgba(var(--shade), 0.5); transform: translateY(-2px); }
.fork-picks button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.fork-picks .icon { width: 22px; height: 22px; margin-bottom: 0.5rem; color: var(--teal); }
.fork-picks b { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.fork-picks span { color: var(--muted); font-size: 0.88rem; }
.fork-ask .fork-fine { margin-top: 1.4rem; color: var(--faint); font-size: 0.86rem; }
.fork-answer > div { animation: fork-in 0.6s var(--vt-ease, ease) both; }
.fork-change { font-size: 0.92rem !important; }
.fork-change button { padding: 0; border: 0; background: none; color: var(--teal); font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.fork-change button:hover { text-decoration-color: currentColor; }
.fork-agents { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 640px; margin: 1.8rem auto 0; }
.fork-agents li { display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-size: 0.86rem; color: var(--muted); }
.fork-agents img { width: 18px; height: 18px; }
@keyframes fork-in { from { opacity: 0; transform: translateY(10px); } }

/* Without AI: the app's own switch, and what it takes with it. */
.noai { max-width: 1100px; margin: 150px auto 0; padding: 0 24px; }
.noai-copy { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 64px; }
.noai h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.noai h2 em { color: var(--teal); }
.noai-facts { list-style: none; display: grid; gap: 0.7rem; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.noai-facts li { padding-left: 1.1rem; position: relative; }
.noai-facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.noai-facts b { color: var(--fg); font-weight: 550; }

/* Coming from Obsidian, a line of its own. */
.obsidian { max-width: 900px; margin: 170px auto 0; padding: 0 24px; text-align: center; }
.obsidian .big { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.02em; }
.obsidian .big em { color: var(--teal); }
.obsidian p:not(.big) { margin-top: 1.1rem; color: var(--muted); font-size: 1.05rem; }
.obsidian code { font: 0.9em "JetBrains Mono", monospace; }
.obsidian a { color: var(--teal); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }


@media (max-width: 900px) {
  .noai-copy { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 760px) {
  .fork { margin-top: 100px; }
  .fork-picks { grid-template-columns: 1fr; }
  .fork-answer h2 br, .fork-ask h2 br { display: none; }
  .noai, .obsidian { margin-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .fork-answer > div { animation: none; }
}
