/* Public home page and sign-in page. Uses the tokens from base.css; --accent is set per app. */
body.landing { background: var(--bg); font-size: 16px; }
.l-wrap { max-width: 1080px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.landing .btn.big { padding: 10px 18px; font-size: 15px; }

.l-nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.l-nav-in { display: flex; align-items: center; gap: 32px; height: 60px; }
.l-brand { font-family: var(--font-head, inherit); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; white-space: nowrap; }
.l-nav nav { display: flex; gap: 22px; flex: 1; }
.l-nav nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.l-nav nav a:hover { color: var(--text); }
.l-nav-cta { display: flex; gap: 8px; margin-left: auto; }

.l-hero { padding-top: 76px; padding-bottom: 44px; }
.l-hero h1 { font-family: var(--font-head, inherit); font-weight: 600; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; letter-spacing: -0.02em; max-width: 21ch; margin: 0 0 18px; }
.l-sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 62ch; margin: 0 0 28px; }
.l-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.l-link { color: var(--text); font-weight: 500; text-underline-offset: 3px; }
.l-meta { margin: 30px 0 0; font-size: 13.5px; color: var(--muted); }
.l-meta a { color: var(--muted); }

.l-frame { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }
.l-frame iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: var(--bg); }
.l-caption { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }

.l-section { padding-top: 84px; }
.l-section h2 { font-family: var(--font-head, inherit); font-weight: 600; font-size: clamp(23px, 2.6vw, 30px); letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 12px; }
.l-lead { color: var(--muted); max-width: 64ch; line-height: 1.6; font-size: 16.5px; margin: 0 0 26px; }
.l-small { color: var(--muted); font-size: 14px; margin: 16px 0 0; max-width: 70ch; }

.l-cmds { border-top: 1px solid var(--line); font-size: 15.5px; }
.l-cmds td { padding: 14px 24px 14px 0; color: var(--muted); font-variant-numeric: normal; }
.l-cmds td.say { width: 46%; color: var(--text); font-weight: 500; }
.l-cmds td.say::before { content: '\201C'; }
.l-cmds td.say::after { content: '\201D'; }

.l-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 8px 0 0; border-top: 1px solid var(--line); }
.l-feats > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.l-feats dt { font-weight: 600; margin-bottom: 4px; }
.l-feats dd { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }

.l-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.l-split p { color: var(--muted); line-height: 1.65; margin: 0; }

.l-notes { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px 32px; margin: 8px 0 0; max-width: 840px; }
.l-notes dt { font-weight: 600; }
.l-notes dd { margin: 0; color: var(--muted); line-height: 1.6; }

.l-foot { margin-top: 100px; border-top: 1px solid var(--line); }
.l-foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
.l-foot a { color: var(--muted); }

@media (max-width: 760px) {
  .l-nav nav { display: none; }
  .l-hero { padding-top: 44px; }
  .l-feats, .l-split { grid-template-columns: minmax(0, 1fr); }
  .l-split { gap: 32px; }
  .l-notes { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .l-notes dd { margin-bottom: 14px; }
  .l-frame iframe { height: 70vh; }
  .l-cmds tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .l-cmds td { display: block; padding: 2px 0; border: 0; width: auto !important; }
}

/* sign-in */
.auth-page { min-height: 100vh; display: grid; place-items: center; }
.auth-wrap { width: min(400px, calc(100vw - 32px)); display: grid; gap: 20px; padding: 40px 0; }
.auth-wrap .l-brand { font-size: 22px; }
.auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.auth-card .tabs { margin-bottom: 16px; }
.auth-card .btn.big { width: 100%; justify-content: center; }
.auth-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 6px 0; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.logo-link { text-decoration: none; color: inherit; }
