/* Mimir Lineage – the front page's sections (B315). Tokens and shared parts are in home.css. */

.promises { background: var(--card); border-bottom: 1.5px solid var(--border); }
.promises ul { list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: 15px; font-weight: 600; }

/* The tour: tabs over screenshots. Without scripts every panel shows, one under the other. */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tour-panel { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-bottom: 28px; }
.tour-panel .window { flex: 3 1 600px; min-width: 0; }
.tour-text { flex: 1 1 260px; min-width: 0; }
.tour-text h3 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.tour-text p:last-child { margin: 0; font-size: 17px; color: var(--muted); }
.tour.is-live .tour-panel[hidden] { display: none; }

/* Places through time */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split-text { flex: 1 1 420px; min-width: 0; }
.year-card { flex: 1 1 460px; min-width: 0; box-shadow: var(--shadow); border-radius: 18px; padding: 28px; }
.year-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.year-label output { font-size: 24px; font-weight: 800; color: var(--primary); }
.year-card input[type='range'] { width: 100%; height: 32px; accent-color: var(--primary); }
.year-rows { margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.year-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--paper); border-radius: 10px; }
.year-rows dt { color: var(--muted); }
.year-rows dd { margin: 0; font-weight: 700; text-align: right; }
.year-rows .year-stored { background: var(--tint-teal); }
.year-rows .year-stored dt { color: var(--teal-strong); font-weight: 600; }
.year-rows .year-stored dd { font-size: 24px; letter-spacing: -0.01em; }

/* Three layers */
.layers { display: flex; flex-wrap: wrap; gap: 16px; }
.layers .card { flex: 1 1 300px; min-width: 0; }
.layer-big { margin: 0; font-size: 22px; font-weight: 700; }
.status { display: inline-flex; gap: 6px; align-items: center; margin: 8px 0 0; font-weight: 600; font-size: 15px; }
.status .dot { width: 9px; height: 9px; border-radius: 5px; background: currentColor; }
.status-proven { color: var(--proven); }
.layer-img { display: block; width: 100%; border-radius: 8px; border: 1px solid var(--border); }
.card-dark { background: var(--navy); border-color: var(--navy); color: #dbe7f0; }
.card-dark .kicker { color: var(--leaf); }
.card-dark p { margin: 0; }
.layer-result { margin-top: 10px !important; font-weight: 700; color: var(--leaf); }

/* Twelve features */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.features li { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.features strong { font-size: 18px; }
.features span:last-child { color: var(--muted); font-size: 15px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--primary); }
.features li:nth-child(even) .feature-icon { background: var(--tint-teal); color: var(--teal); }

/* Public trees and prices */
.public { display: flex; flex-wrap: wrap; padding: 0; overflow: hidden; border-radius: 22px; }
.public-text { flex: 1 1 420px; min-width: 0; padding: 40px; }
.public-text .lead { margin-bottom: 0; }
.public-preview { flex: 1 1 420px; min-width: 0; background: var(--tint-teal); padding: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.url-pill { align-self: flex-start; font-size: 13px; font-weight: 600; background: var(--card); border-radius: 999px; padding: 6px 12px; color: var(--teal); }
.prices { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; padding: 40px 0 24px; }
.prices p { margin: 0; font-size: 22px; font-weight: 700; flex: 1 1 420px; }
.prices span { color: var(--muted); font-weight: 600; }

/* The waitlist and the footer, on navy */
.cta { background: var(--navy); color: var(--on-navy); margin-top: 48px; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; padding-top: 72px; padding-bottom: 56px; }
.cta-text { flex: 1 1 440px; min-width: 0; }
.cta-text h2 { color: #ffffff; }
.cta-text p { margin: 0; color: var(--on-navy-muted); font-size: 18px; }
.cta-go { flex: 0 1 auto; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-places { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--on-navy-muted); font-size: 15px; }
.cta-places::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }
.btn-arrow::after { content: ' \2192'; }
.cta a:focus-visible, .cta button:focus-visible { outline-color: var(--leaf); }
.site-footer { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid #23476a; font-size: 14px; }
.site-footer a { color: var(--on-navy-muted); }
.site-footer span { flex: 1 1 auto; text-align: right; color: #a9c0d2; }

/* The teaser film (B337): a wide player right under the promises; the poster carries its own 16:9 shape. */
.film-head { max-width: 46rem; }
.film-frame { margin: 8px auto 0; max-width: calc((100vh - 64px) * 16 / 9); }
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 28px; }
.film-grid .film-frame { margin: 0; }
.public-preview .film-frame { margin: 0; }
.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.btn-primary { background: var(--teal-strong); color: var(--card); margin-top: 22px; }
.btn-primary:hover { text-decoration: underline; }
.film-stage { position: relative; }
.film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; font: inherit; font-size: 20px; font-weight: 700; padding: 18px 30px 18px 22px; border: 0; border-radius: 999px; background: var(--navy); color: #ffffff; box-shadow: 0 12px 30px rgba(11, 45, 77, 0.35); cursor: pointer; }
.film-play svg { fill: var(--leaf); }
.film-play:hover { background: #123e63; }
.film-play:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.film-play[hidden] { display: none; }
.film-transcript { margin-top: 10px; font-size: 15px; color: var(--muted); }
.film-transcript summary { cursor: pointer; color: var(--primary); font-weight: 600; padding: 6px 0; }
.film-transcript p { margin: 8px 0 0; max-width: 44rem; }
/* Smaller beside other films and on phones, never wrapping – the button is sized by its video (container units). */
.film-stage { container-type: inline-size; }
.film-play { white-space: nowrap; }
@container (max-width: 640px) {
  .film-play { font-size: 16px; gap: 8px; padding: 11px 20px 11px 15px; }
  .film-play svg { width: 24px; height: 24px; }
}
.book-points { margin-top: 28px; }

/* Ticks – shared by the subpages and the assistant section. */
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

/* Ask your tree (B383): new, beta testers first – a badge, and an example conversation drawn in HTML. */
.new-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 14px; font-weight: 700; color: var(--teal-strong); background: var(--tint-teal); border-radius: 999px; padding: 6px 14px; }
.new-badge .dot { width: 8px; height: 8px; border-radius: 4px; background: currentColor; }
.features li .new-tag { display: inline-block; margin-left: 6px; vertical-align: 2px; font-size: 12px; font-weight: 700; color: var(--teal-strong); background: var(--tint-teal); border-radius: 999px; padding: 2px 8px; }
.features strong a { color: inherit; }
.features li.feature-new { border-color: var(--teal); }
.ask .ticks { margin-bottom: 14px; }
.ask .note { margin: 0 0 4px; max-width: 34rem; }
.chat { flex: 1 1 460px; min-width: 0; margin: 0; }
.chat-window { background: var(--navy); color: var(--on-navy); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.chat-window p { margin: 0; }
.chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--navy-line); font-size: 14px; font-weight: 600; color: var(--on-navy-muted); }
.chat-head svg { color: var(--leaf); flex: none; }
.chat-turn { display: flex; flex-direction: column; gap: 4px; max-width: 88%; }
.chat-you { align-self: flex-end; align-items: flex-end; }
.chat-who { font-size: 13px; font-weight: 600; color: var(--on-navy-muted); }
.chat-bubble { border-radius: 14px; padding: 12px 16px; }
.chat-you .chat-bubble { background: var(--leaf); color: #0b2d4d; font-weight: 600; border-bottom-right-radius: 4px; }
.chat-ai .chat-bubble { background: #13395c; color: #f3f8fc; border-bottom-left-radius: 4px; display: flex; flex-direction: column; gap: 10px; }
.chat-tool { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-navy-muted); }
.chat-tool .dot, .chat-facts .dot { width: 8px; height: 8px; border-radius: 4px; background: var(--leaf); flex: none; }
.chat-facts { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-left: 3px solid var(--leaf); background: #0f3253; border-radius: 0 8px 8px 0; }
.chat-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--leaf); }
.chat-facts dd { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.chat-next-label { font-size: 13px; font-weight: 600; color: var(--on-navy-muted); }
.chat-next { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chat-next li { font-size: 14px; border: 1.5px solid var(--navy-line); border-radius: 999px; padding: 5px 12px; color: var(--on-navy); }
.chat figcaption { max-width: 40rem; }
@media (max-width: 520px) {
  .chat-window { padding: 16px; }
  .chat-turn { max-width: 96%; }
}
