/* The front door (DECISIONS E155, redrawn E157). Only the page's own
   furniture lives here; colours and type come from app.css, so the page
   follows the Light / Dark switch like every other page. */

.land-top .brand a { text-decoration: none; color: inherit; font-size: 26px; }
.land-pill {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px;
  color: var(--muted); background: var(--neutral-100);
}
#landing { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
#landing h1, #landing h2, #landing h3, #landing h4 { font-family: var(--font-heading); color: var(--text); margin: 0; }
#landing h2 { font-weight: 500; font-size: 40px; line-height: 1.05; margin-bottom: 0.4rem; }
#landing h4 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-bottom: 0.3rem; }

/* ---- hero ---- */
.land-hero { text-align: center; padding: 4.4rem 0 2.6rem; max-width: 50rem; margin: 0 auto; }
.land-eyebrow { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.3rem; }
#landing h1 { font-weight: 500; font-size: 68px; line-height: 1.02; margin-bottom: 1.3rem; }
.land-lede { font-size: 19.5px; line-height: 1.6; max-width: 40em; margin: 0 auto 2rem; }
.land-cta { display: flex; gap: 1.2rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.land-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 50px; padding: 0 26px; border-radius: 6px;
  font-family: var(--font-body); font-size: 16px; font-weight: 500; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.land-btn.solid { background: var(--accent); color: var(--on-accent); }
.land-btn.solid:hover { background: var(--accent-700); }
.land-btn.line { border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); background: transparent; }
.land-btn.line:hover { background: var(--accent-tint); }
.land-textlink { color: var(--accent); font-size: 16px; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding-bottom: 1px; }
.land-fine { font-size: 14px; color: var(--muted); margin: 1.3rem 0 0; }

/* ---- the split ---- */
.land-split {
  background: var(--neutral-100); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); margin: 1.6rem auto 0; overflow: hidden;
}
.land-split-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.6rem; border-bottom: 1px solid var(--border);
}
.land-split-head .t { font-family: var(--font-heading); font-size: 22px; font-weight: 600; }
.land-split-head .t .s { color: var(--muted); font-weight: 500; font-size: 17px; margin-left: 0.6rem; font-family: var(--font-body); }
.land-lang { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; font-size: 14px; background: var(--bg); }
.land-lang small { color: var(--muted); }
.land-lang select { border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 500; padding: 0; }
.land-cols { display: grid; grid-template-columns: 1fr 1fr; }
.land-col { padding: 1.7rem 1.9rem 1.4rem; }
.land-col + .land-col { border-left: 1px solid var(--border); background: linear-gradient(180deg, var(--accent-100), transparent 45%); }
.land-col .lt { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 0.6rem; align-items: center; }
.land-col.tr .lt { color: var(--accent); }
.land-col .lt::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.land-col .chap { font-size: 12.5px; color: var(--muted); margin: 0.5rem 0 1rem; min-height: 1em; }
.land-col p { margin: 0 0 1rem; font-size: 16.5px; line-height: 1.75; }
.land-col p[lang="am"], .land-col .body[lang="am"] p { line-height: 1.95; }
.land-col p.pending { color: var(--muted); font-style: italic; }
.land-split-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.6rem; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--muted); background: var(--surface);
}
.land-split-foot a { color: var(--accent); font-weight: 500; text-decoration: none; }

/* ---- the books ---- */
.land-sec { padding: 4.4rem 0 0; }
.land-sub { color: var(--muted); margin: 0 0 2rem; font-size: 17px; max-width: 40em; }
.land-book { display: grid; grid-template-columns: 170px 1fr; gap: 2.2rem; padding: 2rem 0; border-top: 1px solid var(--border); align-items: start; }
.land-book:last-child { border-bottom: 1px solid var(--border); }
.land-cover .cover {
  display: block; width: 170px; aspect-ratio: 2 / 3; border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--surface);
  font-family: var(--font-heading); text-align: center; font-size: 15px; line-height: 1.1;
}
.land-cover .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
#landing .land-book h3 { font-size: 34px; font-weight: 600; line-height: 1.1; }
.land-book h3 a { color: inherit; text-decoration: none; }
.land-book h3 .alt { font-weight: 500; color: var(--muted); font-size: 24px; margin-left: 0.6rem; }
.land-book .by { color: var(--muted); margin: 0.3rem 0 0.9rem; font-size: 15.5px; }
.land-book .blurb { margin: 0 0 1.2rem; font-size: 16px; line-height: 1.65; max-width: 44em; }
.land-book .blurb[lang="am"] { line-height: 1.9; }
.land-book .eds { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.land-book .ed { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; min-width: 200px; background: var(--neutral-100); }
.land-book .ed small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.land-book .ed b { font-weight: 500; font-size: 15.5px; }
.land-book .ed .price { color: var(--muted); font-size: 14px; }
.land-book .ed.edition { border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-100); }
.land-book .ed.edition small { color: var(--accent); }
.land-book .ed.soon { border-style: dashed; background: transparent; }
.land-book .ed.soon b { color: var(--muted); }
.land-book .langs { font-size: 14px; color: var(--muted); margin: -0.3rem 0 1rem; line-height: 1.6; }
.land-book .act { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }

/* ---- how ---- */
.land-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; margin-top: 1.2rem; }
.land-how > div { border-top: 2px solid var(--text); padding-top: 1rem; }
.land-how .n { font-family: var(--font-heading); font-size: 30px; line-height: 1; margin-bottom: 0.5rem; }
.land-how p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---- the apps ---- */
.land-apps {
  margin: 4rem 0 0; padding: 1.6rem 1.8rem; border: 1px solid var(--border); border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--neutral-100);
}
.land-apps b { font-family: var(--font-heading); font-size: 24px; font-weight: 600; }
.land-apps span { color: var(--muted); font-size: 15px; }
.land-badges { display: inline-flex; gap: 0.6rem; flex-wrap: wrap; }
.land-badge { border: 1px solid var(--border); border-radius: 6px; padding: 7px 12px; font-size: 13.5px; color: var(--muted); background: var(--bg); text-decoration: none; white-space: nowrap; }
.land-badge:not(.soon) { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }

@media (max-width: 760px) {
  #landing { padding: 0 1.1rem; }
  #landing h2 { font-size: 32px; }
  .land-top .brand a { font-size: 22px; }
  .land-hero { padding: 2.6rem 0 1.8rem; }
  #landing h1 { font-size: 42px; }
  .land-lede { font-size: 17px; }
  .land-btn { width: 100%; }
  .land-cols { grid-template-columns: 1fr; }
  .land-col + .land-col { border-left: 0; border-top: 1px solid var(--border); }
  .land-col { padding: 1.3rem 1.2rem 1rem; }
  .land-split-head { padding: 0.9rem 1.2rem; }
  .land-split-head .t { font-size: 19px; }
  .land-split-head .t .s { display: block; margin: 0; font-size: 14px; }
  .land-split-foot { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .land-sec { padding: 3rem 0 0; }
  .land-book { grid-template-columns: 110px 1fr; gap: 1.1rem; padding: 1.4rem 0; }
  .land-cover .cover { width: 110px; }
  #landing .land-book h3 { font-size: 24px; }
  .land-book h3 .alt { display: block; margin: 0; font-size: 17px; }
  .land-book .blurb { display: none; }
  .land-book .eds { flex-direction: column; }
  .land-book .ed { min-width: 0; }
  .land-book .act { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .land-book .act .land-textlink { align-self: center; }
  .land-how { grid-template-columns: 1fr; gap: 1.3rem; }
  .land-apps { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .land-pill { display: none; } }

/* E163 (2026-11-02): the beta tag lives in the hero as a status, not in the
   bar where it read as a menu; the definition section; the beta note. */
.land-hero .land-pill { display: inline-block; margin-bottom: 1.4rem; }
.land-fine a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.land-what-body { max-width: 44em; }
.land-what-body p { margin: 0 0 1rem; font-size: 17px; line-height: 1.65; }
.land-beta { text-align: center; color: var(--muted); font-size: 14px; margin: 2.6rem 0 0; }
.land-beta a { color: inherit; text-decoration: underline; }
