/* The dobdob.app homepage and download page. Builds on site.css tokens. */
body.l { font-weight: 700; }
/* site.css styles <main> as a narrow centred column for the small pages: undo that here. */
body.l main { max-width: none; min-height: 0; margin: 0; padding: 0; display: block; text-align: left; gap: 0; }
body.l main.l-get { max-width: 560px; margin: 0 auto; padding: 36px 20px 56px; display: flex; flex-direction: column; gap: 22px; }
.l-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.l h1, .l h2, .l h3 { font-family: 'Lilita One', system-ui, sans-serif; font-weight: 400; margin: 0; letter-spacing: .005em; }
.l p { margin: 0; }
.l a { color: inherit; }

/* Nav */
.l-nav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 3px solid var(--line); }
.l-nav .l-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.l-brand { display: flex; align-items: center; gap: 10px; font-family: 'Lilita One', system-ui, sans-serif; font-size: 26px; text-decoration: none; }
.l-brand img { width: 36px; height: 36px; border: 3px solid var(--line); border-radius: 10px; }
.l-nav nav { display: flex; align-items: center; gap: 18px; }
.l-nav nav a.l-link { font-weight: 900; text-decoration: none; }
@media (max-width: 720px) { .l-nav nav a.l-link { display: none; } }

/* Buttons */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 8px 22px;
  border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); background: var(--green); color: var(--ink) !important;
  font-family: 'Lilita One', system-ui, sans-serif; font-size: 20px; text-decoration: none; white-space: nowrap; }
.l-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.l-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.l-btn.alt { background: var(--white); }
.l-btn.small { min-height: 44px; font-size: 17px; padding: 6px 16px; box-shadow: 3px 3px 0 var(--ink); }
.l-btn svg { width: 22px; height: 22px; flex: none; }
.l-btn .l-sub { display: block; font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 12px; opacity: .8; line-height: 1; }
.l-btn .l-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.l-downloads { display: flex; flex-wrap: wrap; gap: 14px; }
.l-note { font-size: 14px; color: var(--text-muted); font-weight: 800; }

/* Hero */
.l-hero { padding: 48px 0 56px; }
.l-hero .l-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.l-hero h1 { font-size: clamp(44px, 7vw, 76px); line-height: .98; }
.l-hero .l-lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--strong); margin: 18px 0 26px; max-width: 34ch; }
.l-kicker { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .06em; padding: 6px 12px; border: 3px solid var(--line);
  border-radius: 999px; background: var(--yellow); color: var(--ink); margin-bottom: 18px; }
.l-hero-art { position: relative; display: flex; justify-content: center; }
.l-phone-wrap { position: relative; }
.l-hero-art .gary { position: absolute; right: -58px; top: -46px; width: 110px; height: 128px; z-index: 2; transform: rotate(8deg); }
@media (max-width: 860px) {
  .l-hero { padding: 28px 0 40px; }
  .l-hero .l-wrap { grid-template-columns: 1fr; gap: 34px; }
  .l-hero-art .gary { right: -8px; top: -52px; width: 78px; height: 92px; }
}

/* Phone mock-up */
.l-phone { width: min(320px, 86vw); background: var(--bg); border: 4px solid var(--line); border-radius: 38px; padding: 18px 14px 20px;
  box-shadow: 8px 8px 0 var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.l-phone-top { display: flex; justify-content: space-between; align-items: center; font-family: 'Lilita One', system-ui, sans-serif; font-size: 22px; padding: 0 4px; }
.l-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--line); display: grid; place-items: center;
  font-family: 'Lilita One', system-ui, sans-serif; font-size: 15px; color: var(--ink); }
.l-card { background: var(--surface); border: 3px solid var(--line); border-radius: 20px; box-shadow: 4px 4px 0 var(--shadow); padding: 14px; }
.l-card .l-label { font-weight: 900; font-size: 11px; letter-spacing: .06em; color: var(--text-muted); }
.l-card .l-title { font-family: 'Lilita One', system-ui, sans-serif; font-size: 24px; margin: 4px 0 2px; }
.l-count { font-family: 'Lilita One', system-ui, sans-serif; font-size: 30px; }
.l-mini-btn { margin-top: 10px; text-align: center; background: var(--green); color: var(--ink); border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink); font-family: 'Lilita One', system-ui, sans-serif; font-size: 18px; padding: 8px; }
.l-msg { display: flex; flex-direction: column; gap: 8px; }
.l-msg-head { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 14px; }
.l-av { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line); display: grid; place-items: center; font-family: 'Lilita One', system-ui, sans-serif;
  font-size: 14px; color: var(--ink); flex: none; }
.l-pill { margin-left: auto; font-weight: 900; font-size: 10px; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--tomato); color: var(--ink); }
.l-bubble { background: var(--bubble); border-radius: 16px 16px 16px 4px; padding: 10px 12px; font-size: 14px; line-height: 1.35; }
.l-reacts { display: flex; gap: 6px; flex-wrap: wrap; }
.l-reacts span { font-weight: 900; font-size: 12px; border: 2px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.l-reacts span.on { background: var(--text); color: var(--bg); }

/* Sections */
.l-section { padding: 64px 0; border-top: 3px solid var(--line); }
.l-section.tint { background: var(--surface); }
.l-section h2 { font-size: clamp(34px, 5vw, 52px); line-height: 1; margin-bottom: 12px; }
.l-section .l-intro { font-size: 19px; color: var(--strong); max-width: 60ch; margin-bottom: 34px; }
.l-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.l-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .l-grid3, .l-grid2 { grid-template-columns: 1fr; } .l-section { padding: 48px 0; } }
.l-step { background: var(--surface); border: 3px solid var(--line); border-radius: 22px; box-shadow: 5px 5px 0 var(--shadow); padding: 22px; }
.l-section.tint .l-step { background: var(--bg); }
.l-step .l-num { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; color: var(--ink);
  font-family: 'Lilita One', system-ui, sans-serif; font-size: 22px; margin-bottom: 14px; }
.l-step h3 { font-size: 26px; margin-bottom: 8px; }
.l-step p { color: var(--strong); }

/* Board table */
.l-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 3px solid var(--line); border-radius: 16px; background: var(--surface); }
.l-row + .l-row { margin-top: 8px; }
.l-row.flop { background: var(--tomato); color: var(--ink); }
.l-row .l-name { font-weight: 900; flex: 1; }
.l-row .l-sub2 { display: block; font-size: 12px; font-weight: 800; opacity: .8; }
.l-squares { display: flex; gap: 3px; }
.l-squares i { width: 11px; height: 11px; border-radius: 3px; background: var(--ink); }
.l-banner { background: var(--line); color: var(--bg); border-radius: 12px; padding: 8px 12px; font-weight: 900; font-size: 12px; letter-spacing: .05em; margin-bottom: 10px; }

/* Tones */
.l-tone { display: flex; flex-direction: column; gap: 10px; }
.l-tone h3 { font-size: 24px; }
.l-tag { font-weight: 900; font-size: 11px; letter-spacing: .06em; color: var(--text-muted); }

/* Levels */
.l-levels { display: flex; flex-wrap: wrap; gap: 10px; }
.l-levels span { border: 3px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 900; background: var(--surface); }
.l-levels span b { font-family: 'Lilita One', system-ui, sans-serif; font-weight: 400; margin-right: 6px; }
.l-levels span.worst { background: var(--tomato); color: var(--ink); }

/* FAQ */
.l-faq { display: grid; gap: 12px; max-width: 780px; }
.l-faq details { background: var(--surface); border: 3px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.l-section.tint .l-faq details { background: var(--bg); }
.l-faq summary { cursor: pointer; font-weight: 900; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: '+'; font-family: 'Lilita One', system-ui, sans-serif; font-size: 24px; line-height: 1; }
.l-faq details[open] summary::after { content: '–'; }
.l-faq details p { margin-top: 10px; color: var(--strong); }

/* Final call */
.l-cta { text-align: center; }
.l-cta .l-downloads { justify-content: center; margin-top: 26px; }
.l-cta .gary { width: 120px; height: 140px; }

/* Footer */
.l-foot { border-top: 3px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--text-muted); }
.l-foot .l-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.l-foot nav { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 900; }

/* Download page */
.l-get { max-width: 560px; margin: 0 auto; padding: 36px 20px 56px; display: flex; flex-direction: column; gap: 22px; }
.l-get h1 { font-size: clamp(38px, 9vw, 54px); line-height: 1; }
.l-get .l-downloads { flex-direction: column; }
.l-get .l-btn { width: 100%; }
.l-get ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--strong); }
.l-hl { outline: 4px solid var(--yellow); outline-offset: 4px; }
