/* Genesis website: Why Genesis, the little things, and Where this is going (index.html). Loaded after site.css. */
/* ---------- Why Genesis: the problem, then what we promise ---------- */
.sec-head .kicker { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent-text); margin: 0 0 12px; }
.why .sec-head { max-width: 820px; }
.why .sec-head p:not(.kicker) { max-width: 60ch; }
.merge { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 18px); margin: 0 auto clamp(56px, 7vw, 88px); }
.merge-from { display: flex; flex-direction: column; gap: 12px; }
.merge-pill, .merge-to { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; border-radius: 999px; font-weight: 650; }
.merge-pill { padding: 9px 16px; font-size: 15px; color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--line); }
.merge-pill i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.mp-write { background: var(--write); }
.mp-rec { background: var(--record); box-shadow: 0 0 8px rgba(255, 69, 58, 0.6); }
.merge-join { width: 80px; height: 64px; flex: none; color: var(--text-2); opacity: 0.7; }
.merge-to { padding: 13px 20px; font-size: 17px; color: var(--text); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.merge-to svg { width: 30px; height: 15px; flex: none; }
.why-sub { font-size: clamp(22px, 2.4vw, 28px); font-weight: 750; text-align: center; margin-bottom: clamp(22px, 3vw, 32px); }
.intents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.intents li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; }
.intents svg { width: 28px; height: 28px; color: var(--accent-text); margin-bottom: 14px; }
.intents h4 { font-size: 18px; margin-bottom: 6px; }
.intents p { margin: 0; color: var(--text-2); font-size: 16px; }
.intents a { color: var(--text); text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 900px) { .intents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .intents { grid-template-columns: 1fr; gap: 12px; }
  .intents li { padding: 18px 18px 18px 60px; position: relative; }
  .intents svg { position: absolute; left: 18px; top: 19px; width: 26px; height: 26px; margin: 0; }
  .intents h4 { font-size: 17px; }
  .intents p { font-size: 15px; }
  .merge { flex-direction: column; gap: 6px; }
  .merge-from { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .merge-pill { font-size: 14px; padding: 8px 13px; }
  .merge-join { width: 64px; height: 44px; transform: rotate(90deg); }
}

/* ---------- And the little things (end of Features) ---------- */
.smalls-head { margin-top: clamp(72px, 9vw, 120px); margin-bottom: 22px; }
.smalls-head h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 750; }
ul.smalls { list-style: none; padding: 0; margin-top: 0; }
.small svg { color: var(--accent-text); }
@media (max-width: 520px) {
  ul.smalls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .small { padding: 16px 14px; border-radius: var(--radius-s); }
  .small svg { width: 24px; height: 24px; margin-bottom: 10px; }
  .small h4 { font-size: 15px; line-height: 1.2; }
  .small p { font-size: 13.5px; line-height: 1.35; }
}

/* ---------- Where this is going ---------- */
.vision .sec-head { max-width: 820px; }
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.road > li { position: relative; padding: 24px 22px; border-radius: var(--radius-m); border: 1.5px dashed var(--line); }
.road > li.now { border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.road > li.dream { background: linear-gradient(135deg, rgba(255, 179, 64, 0.10), rgba(255, 69, 58, 0.07)); border-color: rgba(255, 179, 64, 0.45); }
.road-when { display: inline-block; font-size: 12px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; }
.road .now .road-when { color: #0B6B27; }
.road .dream .road-when { color: var(--accent-text); }
.road h3 { font-size: 19px; margin-bottom: 8px; }
.road p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.road ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.road ul li { color: var(--text-2); font-size: 15.5px; padding-left: 16px; position: relative; }
.road ul li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 1.5px var(--text-2); opacity: 0.7; }
.road-note { text-align: center; margin-top: 22px; }
@media (prefers-color-scheme: dark) { .road .now .road-when { color: #5BE584; } }
@media (max-width: 980px) { .road { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .road { grid-template-columns: 1fr; gap: 0; padding-left: 22px; }
  .road > li { margin-bottom: 12px; padding: 18px; }
  .road > li::before { content: ""; position: absolute; left: -22px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text-2); }
  .road > li.now::before { background: var(--play); border-color: var(--play); }
  .road > li.dream::before { background: var(--write); border-color: var(--write); }
  .road > li:not(:last-child)::after { content: ""; position: absolute; left: -17px; top: 38px; bottom: -26px; width: 2px; background: var(--line); }
}
.js-motion :where(.merge, .why-sub, .intents li, .smalls-head, .small, .road > li, .road-note) {
  opacity: 0; transform: translate3d(0, var(--ry, 22px), 0) scale(var(--rs, 1));
  transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-out);
}
.js-motion :where(.merge, .why-sub, .intents li, .smalls-head, .small, .road > li, .road-note).in { opacity: 1; transform: none; }
.js-motion .small { --ry: 14px; --rs: 0.97; }
