/* DeductBook — landing page (shares tokens with app.css) */
.land-header { background: var(--bg); border-bottom: 0; position: static; }
.land-header .appbar-inner { padding-block: 16px; }
.land-nav { display: flex; gap: 18px; align-items: center; font-size: 0.92rem; }
.land-nav a { color: var(--ink-2); text-decoration: none; }
.land-nav a:hover { color: var(--ink); }
.land { max-width: 1120px; margin: 0 auto; padding: 0 16px 60px; display: grid; gap: 72px; }
.serif { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding-top: 40px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.hero h1 span { display: block; color: var(--accent); }
.hero .lede { font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; margin-top: 16px; line-height: 1.55; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .cta .btn { padding: 12px 20px; font-size: 1rem; }
.hero .fine { margin-top: 14px; font-size: 0.82rem; color: var(--muted); }

/* A faithful rendering of the app's overview, with sample data */
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-2); }
.shot-bar .pill { margin-left: auto; }
.shot-body { padding: 16px; display: grid; gap: 14px; }
.shot .big { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.shot .caption { color: var(--ink-2); font-size: 0.82rem; }
.shot .attention-item { font-size: 0.82rem; }
.shot .recent-item { padding: 8px 0; font-size: 0.88rem; }
.shot .recent-item .thumb-sm { width: 38px; height: 38px; }
.shot .actions { margin-top: 4px; }
.shot .receipt-swatch { width: 100%; height: 100%; background: linear-gradient(135deg, #e8e2d2, #cfc6ad); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.step .n { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); line-height: 1; }
.step h3 { margin-top: 10px; font-size: 1.05rem; }
.step p { color: var(--ink-2); margin-top: 6px; font-size: 0.95rem; }

.section-head { max-width: 62ch; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--ink-2); margin-top: 10px; font-size: 1.02rem; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.feature h3 { font-size: 1rem; }
.feature p { color: var(--ink-2); font-size: 0.92rem; margin-top: 6px; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; padding: 30px 34px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); position: relative; }
.story::before { content: ""; position: absolute; left: 22px; top: 22px; bottom: 22px; width: 1px; background: var(--rule); }
.story h2 { font-size: 1.6rem; }
.story p { color: var(--ink-2); margin-top: 10px; line-height: 1.6; }
.story .col + .col { padding-top: 6px; }
.story ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); line-height: 1.6; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.plan { border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan .price { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; }
.plan .price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); line-height: 1.7; }
.plan .note { font-size: 0.82rem; color: var(--muted); }

.faq { display: grid; gap: 10px; max-width: 76ch; }
.faq details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 12px 16px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--ink-2); margin-top: 8px; font-size: 0.95rem; line-height: 1.55; }

.land-footer { border-top: 1px solid var(--line); padding: 24px 16px 40px; color: var(--muted); font-size: 0.82rem; }
.land-footer .inner { max-width: 1120px; margin: 0 auto; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.land-footer a { color: var(--ink-2); text-decoration: none; margin-right: 14px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .steps { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; padding: 22px 22px 22px 30px; }
  .land { gap: 52px; }
  .land-nav { display: none; }
}

/* Tax summary preview on the landing page */
.summary-preview .summary-doc { max-width: 900px; }
.summary-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.summary-doc .doc-foot { margin-top: 18px; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 700px) { .summary-cols { grid-template-columns: 1fr; } }

/* Legal / support pages */
.legal { gap: 0; padding-top: 30px; }
.legal article { max-width: 68ch; display: grid; gap: 12px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.05rem; margin-top: 14px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.6; }
.legal ul { padding-left: 18px; margin: 0; }

/* Keep the Open button beside the logo on phones; hide only the section links */
.land-header .btn { flex: none; }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }
