/* Front page (D97-D100). Fixed light palette: independent of the app theme. Everything is under #landing. */
#landing { --ld-teal: #123F3F; --ld-cream: #FBF8F0; --ld-sage: #7BAFA0; --ld-btn: #B8532F; --ld-btn-hover: #A24726; --ld-rule: #C95F3D;
  --ld-bg: #F6F3EE; --ld-text: #1F2A28; --ld-muted: #55615E; --ld-line: #E2DCD1; --ld-link: #176363;
  background: var(--ld-bg); color: var(--ld-text); min-height: 100vh; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
/* Landing mode: set on <html> as app-mode when the app (not the landing) should show. Without JS the landing shows. */
html.app-mode #landing { display: none; }
html:not(.app-mode) .topbar, html:not(.app-mode) #main, html:not(.app-mode) #notice, html:not(.app-mode) #update-banner,
html:not(.app-mode) #skip-link, html:not(.app-mode) #print-root { display: none; }
#landing *, #landing *::before, #landing *::after { box-sizing: border-box; }
#landing :focus-visible { outline: 3px solid #8ab4ff; outline-offset: 3px; }
#landing a { color: var(--ld-link); }
#landing h1, #landing h2, #landing h3, #landing p { margin: 0; }
#landing [tabindex="-1"]:focus { outline: none; }
.ld-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ld-skip { position: absolute; left: 8px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ld-cream); color: var(--ld-teal) !important; font-weight: 600; }
.ld-skip:focus { top: 8px; }

/* Buttons */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; }
#landing a.ld-btn.primary { background: var(--ld-btn); color: #fff; }
#landing a.ld-btn.primary:hover { background: var(--ld-btn-hover); }
#landing a.ld-btn.outline { background: transparent; color: var(--ld-cream); border-color: var(--ld-sage); }
#landing a.ld-btn.outline:hover { background: rgba(251, 248, 240, 0.1); }
#landing a.ld-btn.small { min-height: 44px; padding: 0 20px; }

/* Hero (dark teal) with nav */
.ld-hero { background: var(--ld-teal); color: var(--ld-cream); }
.ld-nav { border-bottom: 1px solid rgba(251, 248, 240, 0.14); }
.ld-nav .ld-wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
#landing a.ld-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ld-cream); text-decoration: none; font: 700 1.25rem/1 Georgia, "Times New Roman", serif; margin-right: auto; min-height: 44px; }
.ld-brand img { width: 34px; height: 34px; }
.ld-links { display: none; gap: 4px; }
#landing .ld-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--ld-cream); text-decoration: none; border-radius: 999px; }
#landing .ld-links a:hover { background: rgba(251, 248, 240, 0.1); }
.ld-hero-grid { display: grid; gap: 40px; padding-top: 44px; padding-bottom: 56px; align-items: center; }
.ld-eyebrow { display: flex; align-items: center; gap: 14px; font: 600 0.78rem/1.4 ui-monospace, Consolas, "Courier New", monospace; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ld-sage); margin-bottom: 20px; }
.ld-eyebrow::after { content: ""; flex: 0 0 44px; height: 2px; background: var(--ld-rule); }
#landing h1 { font: 700 clamp(2.5rem, 7.5vw, 4.5rem)/1.04 Georgia, "Times New Roman", serif; letter-spacing: -0.015em; margin-bottom: 22px; }
#landing h1 em { font-style: italic; color: var(--ld-sage); }
.ld-lede { font-size: 1.125rem; line-height: 1.65; color: #E4E9E4; max-width: 34em; margin-bottom: 28px; }
.ld-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.ld-foot { font: 0.74rem/1.7 ui-monospace, Consolas, "Courier New", monospace; letter-spacing: 0.14em; text-transform: uppercase; color: #B5C4BF; }
.ld-phone-col { display: flex; justify-content: center; }
.ld-phone { width: 230px; padding: 24px 9px 9px; background: #07201f; border-radius: 38px; box-shadow: 0 0 0 2px #2b5555, 0 30px 60px rgba(0, 0, 0, 0.45); position: relative; }
.ld-phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 64px; height: 12px; transform: translateX(-50%); background: #07201f; border-radius: 12px; z-index: 1; }
.ld-phone img { display: block; width: 100%; height: auto; border-radius: 30px; background: #fff; }

/* Sections */
.ld-section { padding: 56px 0; }
.ld-section.alt { background: #fff; border-top: 1px solid var(--ld-line); border-bottom: 1px solid var(--ld-line); }
.ld-kicker { font: 600 0.78rem/1.4 ui-monospace, Consolas, "Courier New", monospace; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ld-btn); margin-bottom: 10px; }
#landing h2 { font: 700 clamp(1.7rem, 4vw, 2.4rem)/1.15 Georgia, "Times New Roman", serif; letter-spacing: -0.01em; margin-bottom: 28px; }
#landing h3 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 6px; }
.ld-steps, .ld-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ld-step, .ld-card { background: #fff; border: 1px solid var(--ld-line); border-radius: 16px; padding: 22px; }
.ld-section.alt .ld-card { background: var(--ld-bg); }
.ld-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ld-teal); color: var(--ld-cream); font: 700 1.05rem/1 Georgia, serif; margin-bottom: 12px; }
.ld-step p, .ld-card p { color: var(--ld-muted); }
.ld-brands { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ld-brands li { padding: 6px 14px; border: 1px solid var(--ld-line); border-radius: 999px; background: var(--ld-bg); font-size: 0.92rem; }
.ld-paints p { max-width: 40em; color: var(--ld-muted); font-size: 1.05rem; }
.ld-notes { display: grid; gap: 16px; }
.ld-note { border-left: 4px solid var(--ld-sage); padding: 4px 0 4px 18px; }
.ld-note p { color: var(--ld-muted); }
.ld-final { text-align: center; }
.ld-final h2 { margin-bottom: 20px; }
.ld-footer { background: var(--ld-teal); color: #C9D6D1; padding: 28px 0; font-size: 0.9rem; }
.ld-footer .ld-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
#landing .ld-footer a { color: var(--ld-cream); }

@media (min-width: 640px) {
  .ld-steps, .ld-cards { grid-template-columns: repeat(2, 1fr); }
  .ld-links { display: flex; }
  .ld-notes { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .ld-hero-grid { grid-template-columns: 1.25fr 1fr; padding-top: 72px; padding-bottom: 84px; gap: 56px; }
  .ld-steps { grid-template-columns: repeat(3, 1fr); }
  .ld-cards { grid-template-columns: repeat(3, 1fr); }
  .ld-phone { width: 290px; border-radius: 44px; padding: 30px 11px 11px; }
  .ld-phone img { border-radius: 34px; }
  .ld-phone::before { width: 78px; height: 14px; top: 10px; }
  .ld-section { padding: 80px 0; }
}
@media (max-width: 380px) { .ld-links { display: none; } .ld-cta .ld-btn { width: 100%; } }
@media print { #landing { display: none; } }
