/* /claude page: the AI connector. Builds on /styles.css and /learn/guide-v.css. */

.new { display: inline-block; margin-right: 0.5rem; padding: 0.15rem 0.5rem; border-radius: 6px; background: linear-gradient(100deg, var(--gold-3), var(--gold-2)); color: #150e02; font-family: var(--pixel); font-size: 0.65rem; vertical-align: 0.35em; }
.top-link .dot { display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: var(--gold-3); box-shadow: 0 0 8px var(--gold-3); vertical-align: 0.35em; }
/* hero visual: chat -> app building shots */
.flow { display: grid; gap: 12px; }
.chat { padding: 1rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; background: #101014; }
.chat .who { color: var(--muted); font-family: var(--pixel); font-size: 0.62rem; margin-bottom: 0.5rem; }
.bubble { display: inline-block; max-width: 92%; padding: 0.7rem 0.9rem; border-radius: 14px 14px 14px 4px; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.35); color: var(--white); font-size: 0.98rem; }
.typing { display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--gold-1); vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.steps-live { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.8rem; }
.steps-live span { padding: 0.25rem 0.55rem; border-radius: 99px; background: rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 0.74rem; }
.steps-live span.done { color: #bbf7d0; background: rgba(34, 197, 94, 0.12); }
.steps-live span.done::before { content: "✓ "; }
.steps-live span.now { color: var(--gold-1); background: rgba(251, 191, 36, 0.14); }
.arrow-down { justify-self: center; color: var(--gold-2); font-size: 1.4rem; line-height: 1; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.win .timeline i { animation: appear 0.5s both; }
.win .timeline i:nth-child(1) { animation-delay: 0.2s; } .win .timeline i:nth-child(2) { animation-delay: 0.8s; } .win .timeline i:nth-child(3) { animation-delay: 1.4s; } .win .timeline i:nth-child(4) { animation-delay: 2s; }
@keyframes appear { from { opacity: 0; transform: scaleX(0.2); transform-origin: left; } }
.moon { position: absolute; right: 14%; top: 14%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff8d6, #d6c38a 60%, #8a7a4c); box-shadow: 0 0 30px rgba(255, 243, 176, 0.5); }
.stage.space { background: radial-gradient(circle at 20% 80%, rgba(80, 70, 140, 0.35), transparent 60%), #05050a; }
.stage.space::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 60% 20%, #fff, transparent), radial-gradient(1px 1px at 80% 60%, #fff, transparent), radial-gradient(1px 1px at 35% 70%, #fff, transparent), radial-gradient(1px 1px at 45% 15%, #fff, transparent); }
/* connect cards */
.connect { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .connect { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .connect { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cc { display: flex; flex-direction: column; padding: 1.1rem; border: 1px solid rgba(251, 191, 36, 0.25); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); }
.cc.easy { border-color: rgba(251, 191, 36, 0.65); background: linear-gradient(180deg, rgba(251, 191, 36, 0.13), rgba(251, 191, 36, 0.02)); }
.cc .app-name { display: inline-flex; align-self: flex-start; padding: 0.25rem 0.6rem; border-radius: 8px; background: #0f0f13; border: 1px solid var(--line); color: var(--white); font-weight: 800; font-size: 0.95rem; }
.cc .easiest { margin-top: 0.4rem; color: var(--gold-2); font-family: var(--pixel); font-size: 0.6rem; }
.cc ol { margin: 0.8rem 0 0; padding-left: 1.2rem; color: var(--text); font-size: 0.9rem; }
.cc ol li { margin-bottom: 0.3rem; }
.cc ol b { color: var(--white); }
.code { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; padding: 0.55rem 0.6rem; border: 1px solid var(--line); border-radius: 10px; background: #0b0b0e; font-family: ui-monospace, Menlo, monospace; font-size: 0.78rem; color: var(--gold-1); overflow: hidden; }
.code code { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copy { flex: none; padding: 0.2rem 0.5rem; border: 1px solid rgba(251, 191, 36, 0.5); border-radius: 6px; color: var(--gold-1); font-family: var(--sans); font-size: 0.72rem; font-weight: 700; }
.cc .note { margin-top: auto; padding-top: 0.8rem; color: var(--muted); font-size: 0.8rem; }
.btn-cursor { display: inline-block; margin-top: 0.9rem; padding: 0.6rem 1rem; border-radius: 10px; background: var(--white); color: #111; font-weight: 800; font-size: 0.9rem; text-decoration: none; text-align: center; }
/* prompts */
.prompts { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 800px) { .prompts { grid-template-columns: repeat(2, 1fr); } }
.pr { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); color: var(--white); font-size: 0.98rem; }
.pr::before { content: "“"; color: var(--gold-2); font-size: 2rem; font-weight: 800; line-height: 0.6; }
.pr .copy { margin-left: auto; }
/* safe */
.safe { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .safe { grid-template-columns: repeat(4, 1fr); } }
.sf { padding: 1rem; border: 1px solid rgba(251, 191, 36, 0.25); border-radius: 16px; background: rgba(251, 191, 36, 0.04); }
.sf .si { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 0.7rem; border-radius: 12px; background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); }
.sf .si svg { width: 1.6rem; height: 1.6rem; }
.sf b { display: block; color: var(--white); font-size: 1rem; }
.sf span { color: var(--muted); font-size: 0.86rem; }
.fine { margin-top: 2.5rem; color: var(--muted); font-size: 0.85rem; }
.fine a { color: var(--gold-1); }

.top-link .dot { display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: var(--gold-3); box-shadow: 0 0 8px var(--gold-3); vertical-align: 0.35em; }
.copy { cursor: pointer; background: none; }
.copy.done { background: rgba(34, 197, 94, 0.2); border-color: rgba(34, 197, 94, 0.6); color: #bbf7d0; }
.sf a { color: var(--gold-1); font-weight: 700; }
.stage.space .floor { background: rgba(200, 200, 220, 0.12); }
.timeline i.w1 { flex: 1; } .timeline i.w15 { flex: 1.5; } .timeline i.w2 { flex: 2; } .timeline i.w25 { flex: 2.5; }
.fine2 { margin-top: 0.4rem; }

/* Phones: cards never wider than the screen */
@media (max-width: 759px) { .connect { grid-template-columns: minmax(0, 1fr); } .pr { flex-wrap: wrap; } }
.cc, .pr, .sf { min-width: 0; }
@media (max-width: 560px) { .code code { white-space: normal; overflow-wrap: anywhere; } .flow .panel { display: none; } .flow .win-body { grid-template-columns: 1fr; } }
