/* The landing page (<main id="landing">in index.html,from landing/landing.md). It is laid out the same before the app starts,as the whole page,and inside the app's canvas area (.welcome). Colours come
   from style.css, so it follows light and dark. */

/* Until the app starts, #app is empty and the landing page is the page. */
#app:empty { display: none; }
body > .landing { min-height: 100%; }

.landing {
  --landing-width: 1040px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  padding: 0 24px 56px;
}
.landing[hidden] { display: none; }
.landing > * { max-width: var(--landing-width); margin-left: auto; margin-right: auto; }
.landing a { color: var(--accent); }

.landing-hero { text-align: center; padding: 56px 0 24px; }
.landing-hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 auto 16px;
  max-width: 820px;
}
.landing-hero h1::before {
  content: "";
  display: block;
  width: 200px; height: 100px;
  margin: 0 auto 18px;
  background: url(logo-icon.svg) center / contain no-repeat;
}
.landing-hero > p { font-size: 17px; color: var(--muted); max-width: 680px; margin: 0 auto 20px; }
#landing-status p { margin: 12px 0 0; font-size: 13px; }

.landing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 0; }
.landing .button {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.landing .button:hover { border-color: var(--accent); }
.landing .button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.landing .button.primary:hover { filter: brightness(1.08); }
.landing .button.disabled { opacity: 0.45; cursor: default; pointer-events: none; }
.landing .button[hidden] { display: none; }

.landing-section { padding: 40px 0 8px; border-bottom: none; }
/* Not the inspector's small section headings (style.css:section h3). */ .landing section h3{text-transform:none;letter-spacing:normal;color:var(--text)}.landing-section>h2{font-size:26px;letter-spacing:-0.01em;text-align:center;margin:0 0 10px}.landing-section>p{color:var(--muted);text-align:center;max-width:720px;margin:0 auto 20px}.landing-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin-top:20px}.landing-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px 18px}.landing-card h3{font-size:15px;margin:0 0 6px}.landing-card p{margin:0;color:var(--muted);font-size:14px}.landing-card ul{margin:0;padding:0;list-style:none}.landing-card li{margin-bottom:4px}#tools .landing-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}#free .landing-card{border-top:3px solid var(--accent)}.landing .table-wrap{overflow-x:auto;margin:20px auto}.landing table{width:100%;border-collapse:collapse;background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:14px}.landing th,.landing td{padding:10px 14px;border-bottom:1px solid var(--line);text-align:left}.landing th[align="center"],.landing td[align="center"]{text-align:center}.landing thead th{background:var(--panel-2);font-weight:600}.landing tbody tr:last-child td{border-bottom:none}#compare td:last-child,#compare th:last-child{background:var(--accent-soft);font-weight:600}#compare>p{font-size:12px}.landing-faq{max-width:760px;margin:20px auto 0}.landing-faq details{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin-bottom:10px}.landing-faq summary{cursor:pointer;list-style-position:outside}.landing-faq summary h3{display:inline;font-size:15px;margin:0}.landing-faq details p{margin:8px 0 0;color:var(--muted)}#start{text-align:center;padding-top:48px}#start>p{margin-bottom:0}@media (max-width:600px){.landing{padding:0 16px 40px;font-size:14px}.landing-hero{padding-top:32px}}