diff --git a/crates/site-builder/src/components/hero.rs b/crates/site-builder/src/components/hero.rs deleted file mode 100644 index c6961fb..0000000 --- a/crates/site-builder/src/components/hero.rs +++ /dev/null @@ -1,51 +0,0 @@ -use maud::{html, Markup}; - -pub fn render_hero() -> Markup { - html! { - section class="bg-grid" style="padding: 88px 0 72px 0; border-bottom: 1px solid var(--border-subtle); position: relative;" { - div class="container" { - div style="max-width: 880px; margin: 0 auto; text-align: center;" { - div style="display: flex; justify-content: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap;" { - span class="badge" style="border: 1px solid rgba(245, 158, 11, 0.4); color: #f5a623; background: rgba(245, 158, 11, 0.08);" { - span style="width: 6px; height: 6px; border-radius: 50%; background: #f5a623;" {} - "EXPERIMENTAL · PRE-ALPHA" - } - span class="badge badge-blue" { - "OPEN SOURCE · APACHE-2.0 WITH LLVM-EXCEPTION" - } - } - - h1 style="font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; color: var(--text-primary);" { - "Persistent machine intelligence, on a machine you own." - } - - p style="font-size: clamp(16px, 2vw, 20px); color: var(--text-secondary); line-height: 1.6; max-width: 760px; margin: 0 auto 14px auto;" { - "AIENOS boots the machine. Omega turns intent into verified programs. AIEN learns from what survives contact with reality." - } - - p style="font-size: 17px; color: var(--text-primary); font-weight: 600; margin-bottom: 40px;" { - "Intelligence should be owned, not rented." - } - - div style="display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 44px;" { - a href="#evidence" style="background: var(--accent-green); color: var(--bg-base); border-radius: 4px; padding: 12px 22px; font-family: var(--font-mono); font-size: 14px; font-weight: 700;" { - "See the evidence" - } - a href="#architecture" style="background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-subtle); border-radius: 4px; padding: 12px 22px; font-family: var(--font-mono); font-size: 14px; font-weight: 600;" { - "Explore the architecture" - } - a href="https://github.com/aien-dev" target="_blank" rel="noopener noreferrer" style="background: transparent; color: var(--text-secondary); border: 1px solid var(--border-subtle); border-radius: 4px; padding: 12px 22px; font-family: var(--font-mono); font-size: 14px; font-weight: 600;" { - "GitHub" - } - } - - div style="font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;" { - span { "C KERNEL BOOTS VIA UEFI ✓" } - span { "EVERY CLAIM CARRIES A RECEIPT ✓" } - span { "FAILURES PUBLISHED, NOT HIDDEN ✓" } - } - } - } - } - } -} diff --git a/crates/site-builder/src/components/home_loop.rs b/crates/site-builder/src/components/home_loop.rs new file mode 100644 index 0000000..d13a16f --- /dev/null +++ b/crates/site-builder/src/components/home_loop.rs @@ -0,0 +1,428 @@ +//! Homepage top (NARR-HOME): the central statement, the short public +//! thesis, the slogan, the canonical loop diagram and the three questions. +//! +//! Wording comes from the pre-approved research synthesis handoff +//! (2026-10-01), sections Mission, 2, 14 and 15. Do not add claims here. + +use maud::{html, Markup}; + +use super::research_status; + +/// Central statement, first sentence (the page h1). +pub const LEAD: &str = + "AIENOS is an owned experimental machine for turning search into verified understanding."; + +/// Central statement, the sentences after the lead. +pub const LEAD_REST: &str = "AIEN proposes structure. Omega makes that structure explicit and checkable. The machine tests it against reality under authority. The Turing measures what was actually learned. Cortex keeps the evidence. Then the next search begins from what survived."; + +/// The short public thesis, split into readable paragraphs. +pub const THESIS: [&str; 3] = [ + "AIENOS is an attempt to build persistent machine intelligence as a scientific process rather than a model invocation. Neural machinery may propose, but proposals have no authority.", + "Omega turns them into explicit programs and theories; verification determines whether they are internally valid; the owned machine tests them against physical reality; the Turing measures whether they explain unseen observations after paying for their own complexity; Cortex preserves the evidence; and that verified experience changes the next search.", + "Atlas carries the lineage across hardware. The goal is not a machine that sounds as though it understands, but a machine whose growth in explanatory power can be measured, falsified, reproduced, and owned.", +]; + +pub const SLOGAN: &str = + "Weights suggest. Programs explain. Verification decides. Evidence teaches. The Turing keeps score."; + +/// Which band of the diagram a stage belongs to. +#[derive(Clone, Copy)] +pub enum Band { + /// Generation path: lineage, substrate, proposal, formalization, realization. + Generation, + /// Contact with the physical world. + Reality, + /// Evidence feedback: scoring and preservation. + Feedback, +} + +impl Band { + fn class(self) -> &'static str { + match self { + Band::Generation => "loop-stage loop-stage-gen", + Band::Reality => "loop-stage loop-stage-reality", + Band::Feedback => "loop-stage loop-stage-feedback", + } + } + fn label(self) -> &'static str { + match self { + Band::Generation => "Generation path", + Band::Reality => "Contact with reality", + Band::Feedback => "Evidence feedback", + } + } +} + +/// The canonical loop (handoff section 14), in order. +pub const STAGES: [(&str, &str, Band); 8] = [ + ("ATLAS", "awakens / lineage", Band::Generation), + ("AIENOS", "persistent owned substrate", Band::Generation), + ("AIEN", "proposes / guides search", Band::Generation), + ("OMEGA", "formalizes / searches / verifies meaning", Band::Generation), + ("FORGE", "realizes", Band::Generation), + ("REALITY", "executes / responds", Band::Reality), + ("TURING", "scores explanatory gain", Band::Feedback), + ("CORTEX", "preserves evidence", Band::Feedback), +]; + +/// What the last stage hands back to. +pub const RETURN_TO: &str = "next AIEN / Omega search"; + +/// The verification and authority perimeter. These surround the loop and +/// are never stages. Split into the band drawn above and below the loop. +pub const PERIMETER_TOP: [(&str, &str); 2] = [ + ("AEGIS", "authority + proof boundaries"), + ("ARGUS", "observation / audit"), +]; +pub const PERIMETER_BOTTOM: [(&str, &str); 2] = [ + ("Capability system", "controls what may happen"), + ("Evidence receipts", "make outcomes reproducible"), +]; + +/// Where a question's status comes from. A status word is never written +/// by hand here: it is read from data/research_status.json through +/// research_status.rs, so the homepage cannot drift from the research +/// status page. +#[derive(Clone, Copy)] +pub enum QStatus { + /// A Turing row in research_status.json, by id. `show_id` puts the row + /// id in front of the status word (e.g. "TY-2 PASS"). + TuringRow { id: &'static str, show_id: bool }, + /// No row exists for this question: no badge, plain prose only. + NoRow, +} + +/// What the homepage shows for one question: badge class, badge label +/// and note, all taken from the research status data. +pub struct QShown { + pub class: &'static str, + pub label: String, + pub note: String, +} + +impl QStatus { + pub fn shown(self) -> Option { + match self { + QStatus::NoRow => None, + QStatus::TuringRow { id, show_id } => { + let row = research_status::data() + .turing_row(id) + .unwrap_or_else(|| panic!("{id} row missing from research status data")); + let class = match row.status.as_str() { + "NOT STARTED" | "NOT ESTABLISHED" | "BLOCKED" => "home-q-badge status-planned", + _ => "home-q-badge status-experimental", + }; + let label = if show_id { + format!("{} {}", row.id, row.status) + } else { + row.status.clone() + }; + let note = match &row.headline { + Some(h) => format!("{} recorded {}.", row.id, h), + None => row.plain.clone(), + }; + Some(QShown { class, label, note }) + } + } + } +} + +/// The three questions (handoff section 15): question, measure, meaning, +/// status source, plain note (used only when there is no row). +pub const QUESTIONS: [(&str, &str, &str, QStatus, Option<&str>); 3] = [ + ( + "Did it learn anything?", + "Turing gain", + "Net explanatory structure that survives held-out reality.", + QStatus::TuringRow { id: "TY-2", show_id: true }, + None, + ), + ( + "What did it cost to learn?", + "Turing yield", + "Verified explanatory gain per measured physical resource.", + QStatus::TuringRow { id: "TURING-YIELD-TJ", show_id: false }, + None, + ), + ( + "Did what it learned make future discovery easier?", + "Search / verification gap", + "Whether acquired abstraction would collapse future search complexity.", + QStatus::NoRow, + Some("An open question we want to study. Nothing here is measured yet."), + ), +]; + +fn perimeter_band(items: &[(&str, &str)], label: &str) -> Markup { + html! { + ul class="loop-perimeter-band" aria-label=(label) { + @for (name, role) in items { + li class="loop-guard" { + span class="loop-guard-name" { (name) } + span class="loop-guard-role" { (role) } + } + } + } + } +} + +pub fn render_home_loop() -> Markup { + html! { + section id="top" class="home-top bg-grid" aria-labelledby="home-lead" { + div class="container" { + div class="home-column" { + div class="home-badges" { + span class="badge badge-amber" { "Experimental · pre-alpha" } + span class="badge badge-blue" { "Open source · Apache-2.0 with LLVM-exception" } + } + + h1 id="home-lead" class="home-lead" { (LEAD) } + p class="home-lead-rest" { (LEAD_REST) } + + div class="home-thesis" { + @for para in THESIS.iter() { + p { (para) } + } + } + } + + p class="home-slogan" { (SLOGAN) } + + figure class="loop" aria-labelledby="loop-title" { + h2 id="loop-title" class="loop-title" { "The loop" } + p class="loop-intro" { + "Proposals travel the generation path, meet reality, and are scored. The evidence that survives starts the next search. A perimeter of authority, observation and receipts surrounds the whole loop." + } + + ul class="loop-legend" aria-label="How to read the diagram" { + li class="loop-key loop-key-gen" { "Generation path" } + li class="loop-key loop-key-feedback" { "Evidence feedback" } + li class="loop-key loop-key-perimeter" { "Verification and authority perimeter" } + } + + div class="loop-perimeter" { + p class="loop-perimeter-label" { + "Perimeter: around the loop, never a stage" + } + (perimeter_band(&PERIMETER_TOP, "Perimeter, authority and observation")) + + ol class="loop-stages" aria-label="Loop stages, in order" { + @for (name, role, band) in STAGES.iter() { + li class=(band.class()) { + span class="loop-stage-name" { (name) } + span class="loop-stage-role" { (role) } + span class="loop-stage-band" { (band.label()) } + } + } + } + + p class="loop-return" { + span class="loop-return-arrow" aria-hidden="true" { "\u{21BA}" } + span { "Back to the " strong { (RETURN_TO) } ": CORTEX evidence feeds the next round." } + } + + (perimeter_band(&PERIMETER_BOTTOM, "Perimeter, capabilities and receipts")) + } + figcaption class="loop-caption" { + "ATLAS, AIENOS, AIEN, OMEGA, FORGE, REALITY, TURING and CORTEX are the stages. AEGIS, ARGUS, the capability system and evidence receipts form the perimeter around them." + } + } + + div class="home-questions" { + h2 class="home-questions-title" { "Three questions under the loop" } + ol class="home-q-list" { + @for (question, measure, meaning, status, note) in QUESTIONS.iter() { + @let shown = status.shown(); + @let note_text: Option = shown + .as_ref() + .map(|s| s.note.clone()) + .or_else(|| note.map(|n| n.to_string())); + li class="home-q" { + p class="home-q-question" { (question) } + p class="home-q-measure" { + span class="home-q-measure-name" { (measure) } + @if let Some(s) = &shown { + " " + span class=(s.class) { (s.label) } + } + } + p class="home-q-meaning" { (meaning) } + @if let Some(n) = ¬e_text { + p class="home-q-note" { (n) } + } + } + } + } + } + + div class="home-actions" { + a class="home-cta home-cta-primary" href="#evidence" { "See the evidence" } + a class="home-cta" href="#architecture" { "Explore the architecture" } + a class="home-cta home-cta-ghost" href="https://github.com/aien-dev" target="_blank" rel="noopener noreferrer" { "GitHub" } + } + ul class="home-checks" { + li { "C kernel boots via UEFI \u{2713}" } + li { "Every claim carries a receipt \u{2713}" } + li { "Failures published, not hidden \u{2713}" } + } + } + } + } +} + +#[cfg(test)] +mod tests { + use super::*; + + // Expected strings are written out here on purpose, not read from the + // constants above, so editing a constant cannot silently pass the test. + + fn page() -> String { + render_home_loop().into_string() + } + + fn stage_list(s: &str) -> &str { + let start = s.find("
    "); + let end = s[start..].find("
").expect("stage list closes") + start; + &s[start..end] + } + + #[test] + fn central_statement_leads_and_thesis_follows() { + let s = page(); + let lead = s + .find("AIENOS is an owned experimental machine for turning search into verified understanding.") + .expect("central statement missing"); + assert!(s[..lead].contains(" lead, "must come after the lead: {needle}"); + } + } + + #[test] + fn slogan_present_after_thesis_and_before_loop() { + let s = page(); + let slogan = "Weights suggest. Programs explain. Verification decides. Evidence teaches. The Turing keeps score."; + let at = s + .find(&format!("

{slogan}

")) + .expect("slogan missing or not in its display element"); + assert!(at > s.find("Atlas carries the lineage").unwrap()); + assert!(at < s.find("
    {name}{role}" + ); + let at = ol[from..] + .find(&needle) + .unwrap_or_else(|| panic!("stage {name} missing or out of order")) + + from; + from = at + needle.len(); + } + } + + #[test] + fn return_arrow_follows_the_last_stage() { + let s = page(); + let ol_end = s.find("
      {name}"); + let at = s.find(&needle).unwrap_or_else(|| panic!("perimeter item {name} missing")); + assert!(at > perim_start, "{name} must sit inside the perimeter frame"); + assert!(!ol.contains(name), "{name} must not be a stage"); + } + assert!(!ol.contains("capability"), "capability system must not be a stage"); + assert!(!ol.contains("receipts"), "evidence receipts must not be a stage"); + } + + #[test] + fn three_questions_directly_under_the_diagram() { + let s = page(); + let fig_end = s.find("").expect("diagram figure missing"); + let mut from = fig_end; + for q in [ + "Did it learn anything?", + "What did it cost to learn?", + "Did what it learned make future discovery easier?", + ] { + let at = s[from..].find(q).unwrap_or_else(|| panic!("question missing or out of order: {q}")) + from; + from = at + q.len(); + } + let checks = s.find("class=\"home-actions\"").unwrap(); + assert!(from < checks, "questions must sit directly under the diagram"); + } + + #[test] + fn yield_and_gap_are_labelled_unmeasured() { + let s = page(); + let y = s.find("Turing yield").expect("Turing yield missing"); + let gap = s.find("Search / verification gap").expect("gap missing"); + assert!(y < gap); + // Status words come from research_status.json, never hand-written. + let d = research_status::data(); + let ty2 = d.turing_row("TY-2").expect("TY-2 row"); + let tj = d.turing_row("TURING-YIELD-TJ").expect("TURING-YIELD-TJ row"); + let yield_block = &s[y..gap]; + assert!( + yield_block.contains(&format!(">{}<", tj.status)), + "yield badge must be the TURING-YIELD-TJ status from the data" + ); + assert!(yield_block.contains(&tj.plain), "yield note must be the data row's plain text"); + if tj.status == "NOT STARTED" { + assert!(yield_block.contains("status-planned"), "unstarted yield must carry the planned style"); + } + let gap_block = &s[gap..s.find("class=\"home-actions\"").unwrap()]; + assert!(!gap_block.contains("home-q-badge"), "gap has no data row, so no status badge"); + assert!(gap_block.contains("Nothing here is measured yet.")); + // Gain is never called yield, and its badge is the TY-2 row. + let gain = s.find("Turing gain").expect("Turing gain missing"); + assert!( + s[gain..y].contains(&format!(">TY-2 {}<", ty2.status)), + "gain badge must be the TY-2 status from the data" + ); + assert!(!s[gain..y].contains("yield"), "gain block must not mention yield"); + } + + #[test] + fn no_em_or_en_dashes_in_output() { + let s = page(); + assert!(!s.contains('\u{2014}'), "em dash in homepage top"); + assert!(!s.contains('\u{2013}'), "en dash in homepage top"); + assert!(!s.contains("—") && !s.contains("–"), "dash entity in homepage top"); + } +} diff --git a/crates/site-builder/src/components/mod.rs b/crates/site-builder/src/components/mod.rs index 69b6c70..18d8b97 100644 --- a/crates/site-builder/src/components/mod.rs +++ b/crates/site-builder/src/components/mod.rs @@ -4,7 +4,7 @@ pub mod discovery; pub mod ecosystem; pub mod evidence; pub mod footer; -pub mod hero; +pub mod home_loop; pub mod hubs; pub mod install; pub mod machine; diff --git a/crates/site-builder/src/components/story.rs b/crates/site-builder/src/components/story.rs index 5431ab6..6080b34 100644 --- a/crates/site-builder/src/components/story.rs +++ b/crates/site-builder/src/components/story.rs @@ -1,14 +1,6 @@ -use maud::{html, Markup, PreEscaped}; +use maud::{html, Markup}; pub fn render_story() -> Markup { - let steps = [ - ("ATLAS", "awakens"), - ("AIENOS", "persists"), - ("OMEGA", "verifies"), - ("AIEN", "learns"), - ("EVIDENCE", "teaches"), - ]; - html! { section id="story" style="padding: 80px 0; border-bottom: 1px solid var(--border-subtle);" { div class="container" { @@ -25,30 +17,6 @@ pub fn render_story() -> Markup { p style="color: var(--text-secondary); margin-top: 14px; line-height: 1.7; font-size: 16px;" { "AIENOS is the opposite bet: a sovereign machine, built from the first instruction after firmware upward, where a persistent intelligence lives on hardware you own. It keeps its memory, its identity, and its receipts on your side of the line. The hardware underneath is capability, not identity: machines can be replaced, and the lineage persists." } - p style="color: var(--text-secondary); margin-top: 14px; line-height: 1.7; font-size: 16px;" { - "Four names carry the work, and one loop ties them together:" - } - } - - div style="display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap;" { - @for (i, (name, verb)) in steps.iter().enumerate() { - div style="flex: 1 1 150px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 18px 16px; text-align: center;" { - div style="font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.06em;" { - (name) - } - div style="font-size: 13px; color: var(--accent-green); margin-top: 2px;" { - (verb) - } - } - @if i + 1 < steps.len() { - div aria-hidden="true" style="display: flex; align-items: center; color: var(--text-muted); font-family: var(--font-mono);" { - (PreEscaped("→")) - } - } - } - } - p style="color: var(--text-muted); font-size: 13px; margin-top: 14px; font-family: var(--font-mono);" { - "and the loop closes: what the evidence teaches becomes the next thing AIEN knows." } } } diff --git a/crates/site-builder/src/main.rs b/crates/site-builder/src/main.rs index 442384a..67f97c9 100644 --- a/crates/site-builder/src/main.rs +++ b/crates/site-builder/src/main.rs @@ -80,7 +80,7 @@ fn build_pure_rust_site(dist: &Path) { // Render landing page in Maud let page_content = html! { - (components::hero::render_hero()) + (components::home_loop::render_home_loop()) (components::story::render_story()) (components::evidence::render_evidence()) (components::matrix::render_matrix()) @@ -200,6 +200,19 @@ fn verify_site(dist: &Path) { assert!(content.contains("id=\"terminal-output\""), "Missing interactive terminal output in index.html"); assert!(content.contains("id=\"waitlist\""), "Missing waitlist section in index.html"); + // Homepage top (NARR-HOME): literal phrases, so a wording change in the + // component cannot pass by accident. + for phrase in [ + "AIENOS is an owned experimental machine for turning search into verified understanding.", + "Weights suggest. Programs explain. Verification decides. Evidence teaches. The Turing keeps score.", + "Did it learn anything?", + "What did it cost to learn?", + "Did what it learned make future discovery easier?", + ] { + assert!(content.contains(phrase), "Missing homepage phrase in index.html: {phrase}"); + } + assert!(content.contains("
        ). */ +.loop-stage:not(:last-child)::after { + content: "\2192"; + content: "\2192" / ""; + position: absolute; + right: -22px; + top: 50%; + transform: translateY(-50%); + font-family: var(--font-mono); + font-size: 16px; + color: var(--text-muted); +} + +/* Row end: no sideways arrow off the edge; a turn cue below points to the + first box of the next row. Order is still carried by the
          . */ +.loop-stage:nth-child(4n):not(:last-child)::after { + content: "\2199"; + content: "\2199" / ""; + right: auto; + left: 50%; + top: auto; + bottom: -30px; + transform: translateX(-50%); +} + +.loop-stage-reality { + border-style: double; + border-width: 4px; + border-color: var(--text-secondary); +} + +.loop-stage-feedback { + border-color: var(--loop-feedback); + background: var(--accent-green-glow); +} + +.loop-stage-name { + display: block; + font-family: var(--font-mono); + font-weight: 700; + letter-spacing: 0.06em; + color: var(--text-primary); +} + +.loop-stage-role { + display: block; + margin-top: 4px; + font-size: 13px; + line-height: 1.45; + color: var(--text-secondary); +} + +.loop-stage-band { + display: block; + margin-top: 8px; + font-family: var(--font-mono); + font-size: 10px; + letter-spacing: 0.06em; + text-transform: uppercase; + color: var(--text-muted); +} + +.loop-stage-feedback .loop-stage-band { + color: var(--loop-feedback); +} + +.loop-return { + display: flex; + align-items: center; + justify-content: center; + gap: 12px; + margin: 16px 0 20px; + padding: 12px 16px; + border: 2px solid var(--loop-feedback); + border-radius: 999px; + background: var(--accent-green-glow); + font-size: 15px; + color: var(--text-primary); + text-align: left; +} + +.loop-return-arrow { + font-size: 30px; + line-height: 1; + color: var(--loop-feedback); +} + +.loop-caption { + max-width: 68ch; + margin: 16px auto 0; + text-align: center; + font-size: 13px; + line-height: 1.6; + color: var(--text-muted); +} + +/* The three questions */ +.home-questions { + max-width: 1080px; + margin: 56px auto 0; +} + +.home-questions-title { + font-size: clamp(22px, 2.6vw, 28px); + font-weight: 700; + letter-spacing: -0.02em; + text-align: center; + color: var(--text-primary); + margin-bottom: 24px; +} + +.home-q-list { + list-style: none; + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + gap: 16px; +} + +.home-q { + background: var(--bg-card); + border: 1px solid var(--border-subtle); + border-radius: 12px; + padding: 22px 20px; +} + +.home-q-question { + font-size: 20px; + font-weight: 700; + line-height: 1.3; + color: var(--text-primary); +} + +.home-q-measure { + margin-top: 12px; + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 8px; +} + +.home-q-measure-name { + font-family: var(--font-mono); + font-size: 13px; + font-weight: 700; + color: var(--text-primary); +} + +.home-q-badge { + display: inline-block; + padding: 2px 8px; + border-radius: 4px; + font-family: var(--font-mono); + font-size: 11px; + font-weight: 600; + letter-spacing: 0.05em; + text-transform: uppercase; +} + +.home-q-badge.status-experimental { + color: var(--accent-blue); + border: 1px solid var(--accent-blue); + background: var(--accent-blue-glow); +} + +.home-q-badge.status-planned { + color: var(--accent-amber); + border: 1px dashed var(--accent-amber); + background: transparent; +} + +.home-q-badge.status-hypothesis { + color: var(--text-secondary); + border: 1px dotted var(--text-secondary); + background: transparent; + font-style: italic; +} + +.home-q-meaning { + margin-top: 10px; + font-size: 15px; /* ========================================================================== NARR-NAV: six-section footer and section hub pages (/experiments/, /evidence/, /philosophy/). Self-contained block; the @@ -1449,6 +1831,110 @@ p { color: var(--text-secondary); } +.home-q-note { + margin-top: 8px; + font-size: 13px; + line-height: 1.55; + color: var(--text-muted); +} + +.home-actions { + display: flex; + justify-content: center; + flex-wrap: wrap; + gap: 12px; + margin-top: 56px; +} + +.home-cta { + background: var(--bg-card); + color: var(--text-primary); + border: 1px solid var(--border-subtle); + border-radius: 4px; + padding: 12px 22px; + font-family: var(--font-mono); + font-size: 14px; + font-weight: 600; +} + +.home-cta-primary { + background: var(--accent-green); + color: var(--bg-base); + border-color: var(--accent-green); + font-weight: 700; +} + +.home-cta-ghost { + background: transparent; + color: var(--text-secondary); +} + +.home-checks { + list-style: none; + display: flex; + justify-content: center; + flex-wrap: wrap; + gap: 10px 28px; + margin-top: 28px; + font-family: var(--font-mono); + font-size: 12px; + letter-spacing: 0.04em; + text-transform: uppercase; + color: var(--text-muted); +} + +@media (max-width: 900px) { + .loop-stages { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + .loop-stage:nth-child(2n):not(:last-child)::after { + content: "\2199"; + content: "\2199" / ""; + right: auto; + left: 50%; + top: auto; + bottom: -30px; + transform: translateX(-50%); + } + .home-q-list { + grid-template-columns: minmax(0, 1fr); + } +} + +/* Phone: one vertical stack, arrows point down, return arrow stays. */ +@media (max-width: 600px) { + .home-top .container { + padding: 0 16px; + } + .home-top { + padding: 64px 0 56px; + } + .home-slogan { + margin: 56px auto 64px; + } + .loop-perimeter { + padding: 14px 12px 16px; + } + .loop-perimeter-band, + .loop-stages { + grid-template-columns: minmax(0, 1fr); + } + .loop-stages { + gap: 26px; + } + .loop-stage:nth-child(n):not(:last-child)::after { + content: "\2193"; + content: "\2193" / ""; + right: auto; + left: 50%; + top: auto; + bottom: -24px; + transform: translateX(-50%); + } + .loop-return { + border-radius: 12px; + } +} .hub-callout { border-left: 3px solid var(--accent-green); padding: 4px 0 4px 20px;