/* joblin.eu: the landing, the legal page and Page not found, on
   joblin.css's tokens and the components' styles (the sign, the flowers,
   the pill buttons). The look is the prototype's (spec 3.1): the sign
   hanging at the top, a big tight h1 beside a frosted sample card, then
   Joblin's own sections on glass cards. No scripts. */

.lp-body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.lp-skip { position: absolute; left: 16px; top: -64px; z-index: 10; padding: 8px 14px; border-radius: var(--r-pill); background: var(--cream-hi); color: var(--ink); font-weight: 600; }
.lp-skip:focus { top: 12px; }

/* The top: the sign hangs in the middle; the way around is a row of
   small pills on the right. */
.lp-top { position: relative; z-index: 2; display: flex; justify-content: center; padding: 0 24px; }
.lp-nav { position: absolute; top: 20px; right: 32px; display: flex; gap: 8px; }
.lp-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--r-pill); color: var(--ink); font: 500 15px/21px var(--sans); text-decoration: none; transition: background-color var(--t-fast); }
.lp-nav a:hover { background: var(--press); }
.lp-nav .lp-nav-sign { border-color: var(--edge); background: var(--glass); font-weight: 600; }
.lp-nav .lp-nav-sign:hover { background: var(--cream-hi); }

.lp { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 24px 64px; }
.lp section { margin-top: 0; }

/* The hero: the h1, the lead, the two ways in and the small print on the
   left; the sample card on the right. */
.lp-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; min-height: min(640px, calc(100vh - 150px)); padding: 32px 0 48px; }
.lp-h1 { margin: 0; font: var(--type-hero); letter-spacing: -0.04em; text-wrap: balance; }
.lp-lead { max-width: 34ch; margin: 20px 0 0; color: var(--ink-muted); font: var(--type-lead); }
.lp-providers { display: flex; flex-direction: column; gap: 12px; max-width: 380px; margin-top: 32px; }
.lp-provider { width: 100%; }
.lp-google { background: var(--cream-hi); }
.lp-google:hover { background: #ffffff; }
.lp-apple { border-color: #000000; background: #000000; color: #ffffff; }
.lp-apple:hover { border-color: #1f1f1f; background: #1f1f1f; }
.lp-logo, .lp-provider svg { flex: none; }
.lp-small { max-width: 52ch; margin: 16px 0 0; color: var(--ink-muted); font: var(--type-small); }
.lp-small + .lp-small { margin-top: 8px; }
.lp-live { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; font: 600 15px/21px var(--sans); }
.lp-live-dot { width: 8px; height: 8px; border-radius: var(--r-round); background: var(--brand); }

/* The sample: a glass card of three rows, as the dashboard shows them. */
.lp-sample { margin: 0; }
.lp-sample-card { padding: 10px; border: 1px solid var(--glass-edge); border-radius: var(--r-xl); background: var(--glass); box-shadow: var(--shadow); -webkit-backdrop-filter: var(--blur-card); backdrop-filter: var(--blur-card); }
.lp-cap { margin: 0; color: var(--ink-muted); font: var(--type-caps); letter-spacing: var(--caps-track); text-transform: uppercase; }
.lp-sample-card > .lp-cap { padding: 14px 14px 10px; }
.lp-rows { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp-row { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-bubble); background: var(--cream-hi); box-shadow: var(--shadow-row); }
.lp-row b { font: var(--type-row); letter-spacing: -0.01em; }
.lp-row-line { color: var(--ink-muted); font: var(--type-small); }
.lp-st { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-muted); font: var(--type-caps); letter-spacing: var(--caps-track); text-transform: uppercase; }
.lp-st::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-round); background: currentColor; }
.lp-st-success { color: var(--brand); }
.lp-st-progress { color: var(--info); }
.lp-caption { margin: 12px 6px 0; color: var(--ink-muted); font: var(--type-small); }

/* Joblin's sections, on glass. */
.lp-section { padding: 56px 0 0; scroll-margin-top: 24px; }
.lp-h2 { margin: 0 0 24px; font: 700 40px/44px var(--sans); letter-spacing: -0.035em; text-wrap: balance; }
.lp-h3 { margin: 0; font: var(--type-option); letter-spacing: -0.01em; }
.lp-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--glass-edge); border-radius: var(--r-card); background: var(--glass); box-shadow: var(--shadow); }
.lp-card p:not(.lp-cap) { color: var(--ink-muted); }
.lp-cards { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.lp-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 6px; border-radius: var(--r-round); background: var(--brand); color: var(--on-brand); font: 700 15px/1 var(--sans); }
.lp-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-note { max-width: 62ch; margin: 20px 0 0; color: var(--ink-muted); }

.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lp-split-copy p { max-width: 52ch; color: var(--ink-muted); font: var(--type-line); }
.lp-split-copy p + p { margin-top: 16px; }
.lp-sheet-fig { margin: 0; }
.lp-sheet { padding: 24px 28px; border: 1px solid var(--glass-edge); border-radius: var(--r-card); background: var(--cream-hi); box-shadow: var(--shadow); }
.lp-sheet .lp-cap { margin-bottom: 12px; }
.lp-sheet-name { font: 700 24px/30px var(--sans); letter-spacing: -0.02em; }
.lp-sheet-role { color: var(--ink-muted); }
.lp-sheet-h { margin-top: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--hair); color: var(--brand); font: var(--type-caps); letter-spacing: var(--caps-track); text-transform: uppercase; }
.lp-sheet-line { margin-top: 10px; font-size: 15px; }
.lp-sheet-line span { color: var(--ink-muted); }
.lp-sheet-ul { margin: 6px 0 0; padding-left: 18px; font: var(--type-sm); }
.lp-sheet-ul li + li { margin-top: 6px; }
.lp-flag { padding: 8px 10px; margin-left: -10px; border-radius: 12px; background: var(--ground-soft); list-style-position: inside; }
.lp-flag-line { font-weight: 600; }
.lp-flag-check { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 14px; }
.lp-pill { display: inline-block; margin-right: 4px; padding: 0 10px; border-radius: var(--r-pill); background: var(--ink); color: var(--ground); font: 600 12px/20px var(--sans); }

/* The price: the number on the ink card, as the prototype's stat. */
.lp-price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.lp-stat { display: flex; flex-direction: column; justify-content: center; gap: 8px; margin: 0; padding: 36px; border-radius: var(--r-xl); background: var(--ink); }
.lp-stat-n { color: var(--ground); font: 700 96px/92px var(--sans); letter-spacing: -0.05em; }
.lp-stat-l { color: #ffffff; font: 600 22px/30px var(--sans); letter-spacing: -0.01em; }
.lp-price-more { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; border: 1px solid var(--glass-edge); border-radius: var(--r-xl); background: var(--glass); box-shadow: var(--shadow); }
.lp-price-more .lp-small { margin: 0; }
.lp-ticks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.lp-ticks li { display: flex; align-items: center; gap: 10px; }
.lp-ticks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: var(--r-round); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Questions: one glass list, each a row that opens. */
.lp-faq { border: 1px solid var(--glass-edge); border-radius: var(--r-lg); background: var(--glass); box-shadow: var(--shadow); overflow: hidden; }
.lp-faq details + details { border-top: 1px solid var(--hair); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 24px; font: var(--type-row); cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; flex: none; color: var(--ink-muted); font: 400 24px/1 var(--sans); }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq summary:hover { background: rgba(255, 249, 221, 0.6); }
.lp-faq summary:focus-visible { outline-offset: -3px; }
.lp-faq details p { max-width: 70ch; padding: 0 24px 20px; color: var(--ink-muted); }

/* The legal page and Page not found: the setup frame, no progress. */
.lp-frame { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 720px; margin: 0 auto; padding: 48px 0 0; }
.lp-q { margin: 0; font: var(--type-question); letter-spacing: -0.04em; text-wrap: balance; }
.lp-frame .lp-lead { margin: 0; }
.lp-frame .lp-cards { width: 100%; margin: 16px 0; }

.lp-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; width: 100%; max-width: 1168px; margin: 0 auto; padding: 24px 24px calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); color: var(--ink-muted); font: var(--type-small); }
.lp-foot a { color: var(--ink); }

@media (max-width: 860px) {
  .lp-nav .lp-nav-in { display: none; }
  .lp-nav { top: 16px; right: 16px; }
  .lp { padding: 0 20px 48px; }
  .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; min-height: 0; padding: 28px 0 24px; }
  .lp-h1 { font-size: 44px; line-height: 48px; }
  .lp-providers { max-width: none; }
  .lp-steps, .lp-three, .lp-split, .lp-price { grid-template-columns: minmax(0, 1fr); }
  .lp-split { gap: 24px; }
  .lp-h2 { font-size: 32px; line-height: 36px; }
  .lp-section { padding-top: 48px; }
  .lp-foot { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
  .lp-q { font-size: 40px; line-height: 44px; }
  .lp-lead { font-size: 19px; line-height: 28px; }
  .lp-stat { padding: 28px; }
  .lp-stat-n { font-size: 80px; line-height: 80px; }
  .lp-faq summary { padding: 14px 20px; }
  .lp-faq details p { padding: 0 20px 18px; }
}
