/* Home page only. Colors, fonts and the header come from site.css. */

:root { --ok: #2f7a4f; --ok-soft: #e3f1e8; --rubric-soft: #f8e6e2; --gold: #b7852f; --shadow-lg: 0 1px 2px rgba(20, 30, 50, 0.04), 0 10px 28px rgba(20, 30, 50, 0.07); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --ok: #7cc79a; --ok-soft: #1b3326; --rubric-soft: #3a211d; --gold: #e0b66a; --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 48px rgba(0, 0, 0, 0.35); } }
:root[data-theme='dark'] { --ok: #7cc79a; --ok-soft: #1b3326; --rubric-soft: #3a211d; --gold: #e0b66a; --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 48px rgba(0, 0, 0, 0.35); }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }

/* Header: sticky, with section links */
body > header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 12px; }
.top-nav a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; font-weight: 550; padding: 7px 12px; border-radius: 999px; }
.top-nav a:hover { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 760px) {
  body > header .wrap { flex-wrap: wrap; height: auto; padding-block: 10px; row-gap: 6px; }
  .top-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 2px; overflow-x: auto; }
  .top-nav a { padding: 6px 10px; font-size: 0.9rem; white-space: nowrap; }
}

/* Hero */
.home-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 72px 64px; }
@media (max-width: 900px) { .home-hero { grid-template-columns: 1fr; padding-block: 44px 36px; gap: 36px; } }
.home-hero h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 14ch; margin-top: 14px; }
.home-hero h1 em { font-style: italic; color: var(--accent); }
.home-hero .lede { font-size: 1.18rem; max-width: 46ch; margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1rem; padding: 14px 22px; border-radius: 999px; text-decoration: none; border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface); transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.cta:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent); }
.cta.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cta.primary:hover { color: var(--accent-ink); filter: brightness(1.06); }
.cta small { font-weight: 500; opacity: 0.8; font-size: 0.82rem; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 6px; }

/* Hero picture: a few cards from the tools, stacked */
.showcase { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1.4fr 1fr; gap: 12px; } .m-group .avatars { display: none; } .mock { padding: 14px 16px; } }
.glow { display: none; position: absolute; inset: 6% 2% 4% 8%; border-radius: 40px; background: radial-gradient(60% 60% at 30% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(50% 50% at 80% 75%, color-mix(in srgb, var(--rubric) 18%, transparent), transparent 70%); filter: blur(10px); }
@media (max-width: 900px) { .glow { display: none; } }
.mock { position: static; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 18px 20px; }

.mock .k { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rubric); }
.mock .t { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-top: 4px; }
.mock .s { color: var(--muted); font-size: 0.85rem; }
.m-study { grid-column: 1 / -1; }
.m-study .steps { display: flex; gap: 6px; margin: 14px 0 12px; }
.m-study .steps span { flex: 1; text-align: center; font-size: 0.75rem; font-weight: 650; padding: 6px 4px; border-radius: 8px; background: var(--surface-2); color: var(--muted); }
.m-study .steps span.on { background: var(--accent-soft); color: var(--accent); }
.m-study .steps span.done { background: var(--ok-soft); color: var(--ok); }
.m-study .q { font-weight: 600; font-size: 0.92rem; }
.m-study .a { margin-top: 8px; font-family: var(--serif); font-size: 0.98rem; color: var(--ink-2); line-height: 1.5; border-left: 3px solid var(--accent); padding-left: 12px; }
.m-greek { text-align: center; display: flex; flex-direction: column; justify-content: center; }
.m-greek .g { font-family: 'Gentium Plus', 'SBL Greek', 'Times New Roman', var(--serif); font-size: 2.4rem; line-height: 1.1; margin: 6px 0 2px; }
.m-group { grid-row: 2; grid-column: 1; }
.m-group .bar { display: flex; height: 9px; border-radius: 999px; overflow: hidden; background: var(--surface-2); margin: 12px 0 8px; }
.m-group .bar i { display: block; height: 100%; }
.avatars { display: flex; margin-top: 10px; }
.avatars span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: #fff; border: 2px solid var(--surface); margin-left: -6px; }
.avatars span:first-child { margin-left: 0; }

/* Section rhythm */
.band { padding-block: 76px; }
.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 34px; }
.sec-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.12; letter-spacing: -0.01em; margin: 10px 0 0; }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; margin: 14px 0 0; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* Start here */
.start { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 30px 32px; border-radius: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); border: 1px solid var(--line); }
@media (max-width: 720px) { .start { grid-template-columns: 1fr; padding: 24px; } }
.start h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; margin: 6px 0 0; }
.start p { margin: 8px 0 0; color: var(--ink-2); max-width: 60ch; }
.start .parts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.start .parts span { font-size: 0.8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }

/* Tools */
.home-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .home-tools { grid-template-columns: 1fr; } }
.home-tools .tool { padding: 28px; gap: 14px; box-shadow: none; }
.home-tools .tool:hover { transform: none; border-color: var(--accent); }
.home-tools .tool .for { font-size: 0.82rem; font-weight: 650; color: var(--muted); }
.home-tools .tool ul { list-style: none; padding: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; display: flex; flex-direction: column; gap: 6px; }
.home-tools .tool li { padding-left: 24px; position: relative; }
.home-tools .tool li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); }
.mark.greek { font-family: 'Gentium Plus', 'Times New Roman', var(--serif); }
.mark.lead { background: color-mix(in srgb, var(--rubric) 14%, transparent); color: var(--rubric); }

/* How a group works */
.flow { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; gap: 18px; } }
.flow li { list-style: none; position: relative; padding: 0 26px 0 0; }
@media (max-width: 860px) { .flow li { padding: 0 0 0 64px; } }
.flow .num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; background: var(--accent); color: var(--accent-ink); position: relative; z-index: 1; }
@media (max-width: 860px) { .flow .num { position: absolute; left: 0; top: 0; } }
.flow li:not(:last-child) .num::after { content: ''; position: absolute; left: 52px; top: 21px; height: 2px; width: calc(100% + 200px); max-width: 26vw; background: linear-gradient(to right, var(--accent), transparent); z-index: -1; }
@media (max-width: 860px) { .flow li:not(:last-child) .num::after { display: none; } }
.flow h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin: 18px 0 6px; }
@media (max-width: 860px) { .flow h3 { margin-top: 6px; } }
.flow p { margin: 0; color: var(--ink-2); }
.flow .where { display: inline-block; margin-top: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }

/* Mission and principles */
.mission { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; gap: 28px; } }
.mission blockquote { margin: 22px 0 0; font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.25; font-weight: 500; }
.mission blockquote::before { content: '“'; display: block; font-size: 4rem; line-height: 0.5; height: 0.45em; color: var(--rubric); }
.mission .ref { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.principle { padding: 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.principle h3 { margin: 0 0 6px; font-size: 1rem; }
.principle p { margin: 0; color: var(--ink-2); font-size: 0.93rem; }

/* Roadmap */
.road { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .road { grid-template-columns: 1fr; } }
.road-col h3 { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.road-col h3 i { width: 10px; height: 10px; border-radius: 50%; }
.road-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 12px; }
.road-item.next { border-style: dashed; background: transparent; }
.road-item .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.road-item.next .ic { background: var(--accent-soft); color: var(--accent); }
.road-item h4 { margin: 0; font-size: 1rem; }
.road-item p { margin: 4px 0 0; color: var(--ink-2); font-size: 0.93rem; }
.badge { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
.badge.live { background: var(--ok-soft); color: var(--ok); }
.badge.soon { background: var(--accent-soft); color: var(--accent); }

/* Closing band */
.closing { text-align: center; padding: 64px 28px; border-radius: 28px; background: radial-gradient(80% 120% at 50% 0%, color-mix(in srgb, var(--accent) 20%, var(--surface)), var(--surface)); border: 1px solid var(--line); }
.closing h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; letter-spacing: -0.01em; }
.closing p { color: var(--ink-2); font-size: 1.08rem; margin: 12px auto 0; max-width: 52ch; }
.closing .cta-row { justify-content: center; }

/* Footer */
.home-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; padding: 40px 20px; }
@media (max-width: 720px) { .home-footer .wrap { grid-template-columns: 1fr 1fr; } .home-footer .about { grid-column: 1 / -1; } }
.home-footer h4 { margin: 0 0 10px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.home-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.home-footer a { color: var(--ink-2); text-decoration: none; }
.home-footer a:hover { color: var(--accent); }
.home-footer .about p { margin: 10px 0 0; max-width: 40ch; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cta, .tool { transition: none; } }

/* A call to action under each audience section */
.sec-cta { margin-top: 34px; }
.road-item .greek-ic { font-family: 'Gentium Plus', 'SBL Greek', var(--serif); font-size: 1rem; font-weight: 600; }

/* Doors: one tap into each tool, right under the hero */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-bottom: 36px; }
@media (max-width: 900px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .doors { grid-template-columns: 1fr; gap: 10px; } }
.door { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.door:hover { border-color: var(--accent); transform: translateY(-1px); }
.door-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rubric); }
.door strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.door strong::after { content: ' →'; color: var(--accent); font-family: var(--sans); font-size: 1rem; }
.door span:last-child { color: var(--muted); font-size: 0.9rem; }
.flow li { min-width: 0; } .flow .where { overflow-wrap: anywhere; }
.doors-help { margin-top: -18px; padding-bottom: 34px; color: var(--muted); font-size: 0.95rem; }
