/* Landing page. Deliberately small: a hero, three feature cards, pricing, FAQ
   and footer. Replace copy in index.html; restyle via the variables in
   base.css. */
body { background: var(--paper); color: var(--ink); line-height: 1.6; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 14px; }
nav a:hover { color: var(--ink); }
#theme-toggle {
  background: transparent; border: 1px solid var(--kraft); color: var(--muted);
  border-radius: 999px; width: 34px; height: 34px; cursor: pointer; margin-left: 20px;
}
#theme-toggle .moon { display: none; }
:root[data-theme='dark'] #theme-toggle .sun { display: none; }
:root[data-theme='dark'] #theme-toggle .moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) #theme-toggle .sun { display: none; }
  :root:not([data-theme='light']) #theme-toggle .moon { display: inline; }
}

.hero { text-align: center; padding: 72px 0 48px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; text-decoration: none; padding: 14px 24px; border-radius: 10px; font-weight: 600; }
.cta:hover { background: var(--accent-d); }
.cta.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); margin-left: 10px; }
.cta.secondary:hover { background: var(--kraft); }
.hero .note { font-size: 13px; color: var(--muted); margin-top: 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 24px 0 48px; }
.card {
  background: light-dark(#fff, #181B25); border: 1px solid var(--kraft); border-radius: 14px; padding: 22px;
}
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--muted); }

section h2 { font-size: 28px; text-align: center; margin-bottom: 8px; letter-spacing: -0.01em; }
section .sub { text-align: center; color: var(--muted); margin-bottom: 28px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-bottom: 56px; }
.plan { position: relative; text-align: center; }
.plan .badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
}
.plan .price { font-size: 36px; font-weight: 700; margin: 8px 0 0; }
.plan .period { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.plan ul { list-style: none; text-align: left; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.plan li { padding: 4px 0 4px 22px; position: relative; }
.plan li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.faq { max-width: 720px; margin: 0 auto; padding-bottom: 56px; }
.faq details { border-bottom: 1px solid var(--kraft); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); font-size: 15px; margin-top: 8px; }

footer { border-top: 1px solid var(--kraft); padding: 28px 0 40px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--ink); }

/* Install + "how this was built" (Marker demo sections) */
.install, .built { padding-bottom: 56px; }
.install .card { max-width: 640px; margin: 0 auto; }
.steps { color: var(--muted); font-size: 15px; line-height: 1.8; padding-left: 22px; }
.steps li + li { margin-top: 4px; }
.hint { color: var(--muted); font-size: 13px; margin-top: 14px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: var(--kraft); padding: 1px 5px; border-radius: 4px; }
.built .sub a { color: var(--accent); }
.built .features { padding-bottom: 8px; }
.built-cta { text-align: center; margin-top: 16px; }
@media (max-width: 520px) { .cta.secondary { margin-left: 0; margin-top: 10px; } }
