/* Landing "Receptura". Loaded after style.css, which owns the tokens, .btn, .label-card and the type scale. */

.lp-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .lp-wrap { padding: 0 64px; } }

.lp-skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--accent-foreground); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.lp-skip:focus { top: 16px; }

/* Nav */
.lp-nav { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--background) 88%, transparent); backdrop-filter: blur(10px); }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.lp-nav-links { display: none; gap: 32px; }
.lp-nav-links a { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--body-muted); padding: 12px 0; }
.lp-nav-links a:hover { color: var(--foreground); }
.lp-nav-cta { min-height: 44px; padding: 10px 18px; }
@media (min-width: 900px) { .lp-nav-links { display: flex; } }

/* Hero */
.lp-hero { padding: 40px 0 72px; }
.lp-hero-grid { display: flex; flex-direction: column; gap: 32px; }
.lp-hero-copy { order: 1; }
.lp-steps { order: 2; }
.lp-hero-card { order: 3; }
.lp-eyebrow { margin: 0 0 20px; color: var(--accent); }
.lp-h1 { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 11vw, 4.75rem); line-height: 1.02; letter-spacing: -.025em; }
.lp-h1 em { font-style: italic; color: var(--accent); }
.lp-lede { margin: 28px 0 0; max-width: 34em; font-size: 1.125rem; line-height: 1.65; color: var(--body-muted); }
.lp-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.lp-note { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }

.lp-entries { display: grid; gap: 0; margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.lp-entry { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.lp-entry .text-overline { color: var(--accent); }
.lp-entry-body { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--foreground); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); justify-self: start; }
.lp-entry:hover .lp-entry-body, .lp-entry:focus-visible .lp-entry-body { background-size: 100% 1px; }
.lp-entry:hover { color: var(--foreground); }

.lp-steps { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp-step { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; width: 100%; min-height: 44px; padding: 12px 0 0; background: none; border: 0; border-top: 1px solid var(--rule); cursor: pointer; text-align: left; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); position: relative; transition: color .25s; }
.lp-step::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.lp-step[aria-current="step"] { color: var(--foreground); }
.lp-step[aria-current="step"]::before { transform: scaleX(1); }
.lp-step:hover { color: var(--foreground); }
.lp-step-no { color: var(--accent); }
html:not(.js) .lp-step { pointer-events: none; }

.lp-hero-card { padding: 8px 12px 24px; }
.lp-card { position: relative; max-width: 420px; margin: 0 auto; min-height: 340px; padding: 24px 24px 32px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.lp-card-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--rule); }
.lp-card-head .text-overline { color: var(--accent); }
.lp-card-date { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
.lp-card-kicker { margin: 0 0 12px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
.lp-card-title { margin: 0 0 16px; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; letter-spacing: -.01em; }
.lp-card-sub { margin: 0 0 10px; color: var(--muted-foreground); }
.lp-rows { margin: 0; }
.lp-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.lp-rows dt { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; color: var(--muted-foreground); align-self: center; }
.lp-rows dd { margin: 0; text-align: right; font-size: .9375rem; }
.lp-panel { display: none; }
.lp-card[data-step="1"] [data-panel="1"],
.lp-card[data-step="2"] [data-panel="2"],
.lp-card[data-step="3"] [data-panel="3"] { display: block; }
html.js .lp-panel { animation: rx-fade .5s var(--ease-out) both; }
.lp-dots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--body-muted); }
.lp-dots li { display: flex; align-items: center; gap: 10px; }
.lp-dots li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.lp-dots--avoid li::before { content: "✕"; display: grid; place-items: center; font-size: .625rem; color: rgba(255,255,255,.85); text-shadow: 0 0 2px rgba(0,0,0,.6); }
.lp-card-progress { position: absolute; left: 24px; right: 24px; bottom: 12px; height: 1px; background: var(--border); overflow: hidden; }
.lp-card-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.lp-card.is-playing .lp-card-progress span { animation: rx-progress 4.2s linear both; }
.lp-card.is-playing .lp-card-progress span { animation: rx-progress 4.2s linear both; }

@media (min-width: 1024px) {
  .lp-hero { padding: 72px 0 112px; }
  .lp-hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .lp-steps { order: 0; grid-column: 1 / 3; grid-row: 1; flex-direction: column; gap: 0; margin-top: 12px; }
  .lp-step { flex-direction: row; gap: 12px; padding: 18px 0; border-top: 0; border-bottom: 1px solid var(--rule); }
  .lp-step::before { top: auto; bottom: -1px; }
  .lp-hero-copy { order: 0; grid-column: 3 / 9; grid-row: 1; }
  .lp-hero-card { order: 0; grid-column: 9 / 13; grid-row: 1; padding-top: 72px; }
  .lp-h1 { font-size: clamp(3.4rem, 5.4vw, 5.75rem); }
}

/* Photography */
.lp-photo { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.lp-photo img { display: block; width: 100%; height: auto; }
.lp-photo--hero { max-width: 420px; margin: 0 auto; }
.lp-photo--hero img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; }
.lp-photo--hero + .lp-card { margin: -64px auto 0; }
.lp-photo--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.lp-how-photo { margin-bottom: 8px; }
.lp-how-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) {
  .lp-photo--hero img { aspect-ratio: 3 / 4; }
  .lp-photo--hero + .lp-card { margin-top: -120px; }
}

/* Sections */
.lp-section { padding: 72px 0; border-top: 1px solid var(--border); }
@media (min-width: 1024px) { .lp-section { padding: 112px 0; } }
.lp-section-title { max-width: 18em; }
.lp-section-lede { margin: 20px 0 0; max-width: 34em; color: var(--body-muted); }
html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
html.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* How */
.lp-how { display: grid; gap: 0; margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.lp-how li { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.lp-how p { margin: 0; max-width: 34em; color: var(--body-muted); }
.lp-how-no { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; color: var(--accent); }
@media (min-width: 900px) {
  .lp-how { grid-template-columns: repeat(3, 1fr); border-top: 0; column-gap: 40px; }
  .lp-how li { border-top: 1px solid var(--rule); border-bottom: 0; align-content: start; }
}

/* Report excerpt: mirrors the structure of the real report (_report_body.html). */
/* minmax(0, 1fr): the excerpt's table must not widen the column past a 320 px screen. */
.lp-report { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 48px; max-width: 860px; }
.lp-report-head { padding: 8px 0 20px; border-bottom: 1px solid var(--rule); }
.lp-report-head .text-overline { color: var(--accent); }
.lp-report-title { margin: 8px 0 0; font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.1; letter-spacing: -.01em; }
.lp-rpanel, .lp-rcard { padding: 20px 16px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); }
.lp-rpanel--alt { background: transparent; }
.lp-rpanel > .text-overline, .lp-rcard > .text-overline { margin: 0 0 8px; color: var(--accent); }
.lp-rpanel h3 { margin-bottom: 12px; }
.lp-rlede { margin: 0 0 20px; color: var(--body-muted); font-size: .9375rem; max-width: 62ch; }
.lp-rpanel--alt .lp-rlede { margin-bottom: 0; }
.lp-rgroup { margin-top: 20px; }
.lp-rgroup > .text-overline { margin: 0 0 10px; color: var(--muted-foreground); }
.lp-rcard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.lp-rcard-row { display: flex; align-items: baseline; gap: 14px; }
.lp-rcard-no { font-family: var(--font-mono); font-size: .8125rem; color: var(--accent); }
.lp-rcard-head h3 { margin: 0; }
.lp-badge { flex: none; padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--body-muted); }
.lp-tbl-wrap { overflow-x: auto; }
.lp-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.lp-table th { text-align: left; padding: 8px 12px 8px 0; font-family: var(--font-mono); font-size: .6875rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); border-bottom: 1px solid var(--rule); }
.lp-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.lp-table td:first-child { color: var(--body-muted); }
.lp-table .lp-right { text-align: right; padding-right: 0; white-space: nowrap; }
.lp-chip { display: inline-block; padding: 2px 10px; border: 1px solid var(--rule); border-radius: 999px; font-size: .75rem; color: var(--foreground); }
@media (min-width: 900px) { .lp-report { gap: 20px; } .lp-rpanel, .lp-rcard { padding: 32px; } .lp-dots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Price */
.lp-price { display: grid; gap: 40px; margin-top: 48px; }
.lp-price-amount { margin: 0; font-family: var(--font-display); font-size: 1.75rem; color: var(--body-muted); }
.lp-price-amount span { font-size: clamp(5rem, 16vw, 8rem); line-height: 1; letter-spacing: -.03em; color: var(--foreground); font-weight: 300; }
.lp-price-note { margin: 4px 0 0; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
.lp-price .btn { margin-top: 28px; }
.lp-included { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); align-self: end; }
.lp-included li { padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--body-muted); }
@media (min-width: 900px) { .lp-price { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; } }

/* FAQ */
.lp-faq-grid { display: grid; gap: 40px; }
.lp-faq details { border-top: 1px solid var(--rule); }
.lp-faq details:last-child { border-bottom: 1px solid var(--rule); }
.lp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); transition: transform .3s var(--ease-out); }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq p { margin: 0 0 22px; max-width: 34em; color: var(--body-muted); }
@media (min-width: 900px) { .lp-faq-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* Footer */
.lp-footer { border-top: 1px solid var(--border); padding: 32px 0 48px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
.lp-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.lp-footer a { text-decoration: none; }
.lp-footer a:hover { color: var(--foreground); }

@media (prefers-reduced-motion: reduce) {
  html.js .lp-panel { animation: none; }
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .lp-card.is-playing .lp-card-progress span { animation: none; }
  .lp-step::before, .lp-entry-body, .lp-faq summary::after { transition: none; }
}
