/* Public landing page (index.html #landingPage). Every rule is scoped with the lp- prefix.
   Fonts follow the product: Georgia for headings, the system stack for text.
   The sign-in and sign-up pages (#authPage, auth- prefix) share the palette and are at the end. */
#landingPage, #authPage {
  --lp-paper: #f4f1ea;
  --lp-cream: #ede6d8;
  --lp-ink: #1e1d1a;
  --lp-soft: #4a4740;
  --lp-muted: #6b675e;
  --lp-faint: #9a958a;
  --lp-line: #e3ddd0;
  --lp-accent: #b4532a;
  --lp-accent-dark: #8f3f1f;
  --lp-accent-soft: #f7e7de;
  --lp-green: #2f5d50;
  --lp-green-dark: #244a40;
  --lp-mint: #8fc1ae;
  --lp-warm: #e39a72;
  --lp-serif: Georgia, "Times New Roman", serif;
  background: var(--lp-paper);
  color: var(--lp-ink);
}

.lp-wrap { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.lp-main { color: var(--lp-ink); }
.lp-main h1, .lp-main h2, .lp-main h3 { font-family: var(--lp-serif); font-weight: 400; color: var(--lp-ink); }
:where(.lp-main) :is(p, ul, ol, figure, h1, h2, h3) { margin: 0; }
.lp-main a { color: inherit; }

/* Header */
.lp-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--lp-line); background: rgba(244, 241, 234, 0.94); backdrop-filter: blur(14px); }
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.lp-nav { display: flex; align-items: center; gap: 36px; }
.lp-nav a { color: var(--lp-soft); font-size: 15px; text-decoration: none; }
.lp-nav a:hover, .lp-nav a:focus-visible { color: var(--lp-accent); }
.lp-header-actions { display: flex; align-items: center; gap: 8px; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; box-sizing: border-box; }
.lp-btn-block { display: flex; width: 100%; min-height: 48px; }
.lp-btn-dark { background: var(--lp-ink); color: #fff !important; }
.lp-btn-dark:hover, .lp-btn-dark:focus-visible { background: var(--lp-accent); }
.lp-btn-accent { background: var(--lp-accent); color: #fff !important; }
.lp-btn-accent:hover, .lp-btn-accent:focus-visible { background: var(--lp-accent-dark); }
.lp-btn-outline { border-color: var(--lp-ink); color: var(--lp-ink); background: transparent; }
.lp-btn-outline:hover, .lp-btn-outline:focus-visible { background: #fff; }
.lp-btn-ghost { border-color: var(--lp-paper); color: var(--lp-paper) !important; }
.lp-btn-ghost:hover, .lp-btn-ghost:focus-visible { background: rgba(255, 255, 255, 0.12); }
.lp-link { padding: 8px 14px; color: var(--lp-ink); font-size: 15px; text-decoration: none; }
.lp-link:hover { color: var(--lp-accent); }
.lp-main :focus-visible, .lp-header :focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }

/* Hero (centred): copy and sign-up on top, the product recording full width below. */
.lp-hero { padding: 56px 0 56px; }
.lp-hero-grid { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.lp-hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 920px; text-align: center; }
.lp-pill { display: inline-flex; align-items: center; padding: 5px 12px; border: 1px solid var(--lp-line); border-radius: 999px; background: #fff; color: var(--lp-soft); font-size: 13px; }
.lp-hero h1 { margin: 20px 0 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.lp-hero h1 em { color: var(--lp-accent); font-style: normal; }
.lp-lead { margin-top: 20px !important; max-width: 640px; color: var(--lp-muted); font-size: 19px; line-height: 1.55; text-wrap: balance; }
.lp-signup { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 28px; padding: 0; border: 0; background: none; }
.lp-signup .lp-btn-block { order: 1; width: auto; min-width: 240px; }
.lp-signup .lp-or { order: 2; margin: 0; }
.lp-signup .lp-or::before, .lp-signup .lp-or::after { display: none; }
.lp-providers { order: 3; display: flex; gap: 12px; }
.lp-provider { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--lp-line); border-radius: 12px; background: #fff; color: var(--lp-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.lp-provider:hover, .lp-provider:focus-visible { background: var(--lp-paper); }
.lp-or { display: flex; align-items: center; gap: 12px; color: var(--lp-faint); font-size: 12px; }
.lp-note { order: 4; flex-basis: 100%; margin-top: 4px !important; color: var(--lp-faint); font-size: 13px; line-height: 1.6; text-align: center; }
.lp-note a { color: var(--lp-ink); text-decoration: underline; }
.lp-hero-visual { width: 100%; margin: 0; min-width: 0; }
.lp-window { position: relative; overflow: hidden; border: 1px solid #d9d4c6; border-radius: 16px; background: #fff; box-shadow: 0 28px 70px rgba(20, 43, 43, 0.18); }
.lp-window-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-bottom: 1px solid var(--lp-line); background: var(--lp-paper); }
.lp-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d4c6; }
.lp-window-bar span { margin: 0 auto; padding: 1px 40px; border: 1px solid var(--lp-line); border-radius: 6px; background: #fff; color: var(--lp-muted); font-size: 12px; }
/* The recording is baked to loop: its last frame dissolves, blurred, into its first. */
.lp-hero-stage { position: relative; overflow: hidden; aspect-ratio: 8 / 5; background: #f7f4ec; }
.lp-hero-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-video-toggle { position: absolute; right: 12px; bottom: 12px; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(30, 29, 26, 0.78); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; }
.lp-video-toggle:hover { background: var(--lp-ink); }
.lp-hero-visual figcaption { margin-top: 12px; color: var(--lp-muted); font-size: 13px; text-align: center; }

/* Proof tiles */
.lp-proof { padding: 48px 0; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); background: #efeae0; }
.lp-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lp-tile { padding: 28px; border: 1px solid var(--lp-line); border-radius: 16px; background: #fff; }
.lp-tile p:last-child { margin-top: 12px; color: var(--lp-muted); font-size: 14px; line-height: 1.6; }
.lp-tile-dark { border-color: var(--lp-ink); background: var(--lp-ink); color: var(--lp-paper); }
.lp-tile-dark p:last-child { color: #bdb8ad; }
.lp-tile-green { border-color: var(--lp-green); background: var(--lp-green); color: var(--lp-paper); }
.lp-tile-green p:last-child { color: #cfe0d8; }
.lp-big { margin-top: 18px !important; font-family: var(--lp-serif); font-size: 44px; line-height: 1; }
.lp-tile .lp-big { color: inherit; }
.lp-live { display: flex; align-items: center; gap: 8px; color: var(--lp-green); font-size: 13px; font-weight: 500; }
.lp-live i { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-green); box-shadow: 0 0 0 4px rgba(143, 193, 174, 0.5); }
.lp-tag { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.lp-tag-warm { color: var(--lp-warm); }
.lp-tag-mint { color: var(--lp-mint); }
.lp-tag-accent { color: var(--lp-accent); }

/* Sections */
.lp-section { padding: 72px 0 24px; scroll-margin-top: 28px; }
.lp-section-tight { padding-top: 40px; }
.lp-section-last { padding: 24px 0 64px; }
.lp-eyebrow { color: var(--lp-accent); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.lp-eyebrow-mint { color: var(--lp-mint); }
.lp-h2 { margin: 12px 0 0 !important; max-width: 820px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; }
.lp-nowrap { max-width: none; }
.lp-sub { margin-top: 12px; color: var(--lp-muted); font-size: 17px; line-height: 1.55; }

/* How it works */
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.lp-steps li { padding: 28px; border-radius: 16px; background: var(--lp-ink); color: var(--lp-paper); }
.lp-step-no { display: block; color: var(--lp-warm); font-family: var(--lp-serif); font-size: 44px; line-height: 1; }
.lp-steps h3 { margin: 16px 0 0; color: var(--lp-paper) !important; font-size: 24px; }
.lp-steps p { margin-top: 8px; color: #bdb8ad; font-size: 15px; line-height: 1.6; }

/* Product cards */
.lp-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.lp-card { padding: 28px; border: 1px solid var(--lp-line); border-radius: 16px; background: #fff; }
.lp-card h3 { margin: 0; font-size: 22px; line-height: 1.25; }
.lp-card p { margin-top: 8px; color: var(--lp-muted); font-size: 14px; line-height: 1.6; }
.lp-card-link { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 500; text-decoration: none; }
.lp-card-green { border-color: var(--lp-green); background: var(--lp-green); color: var(--lp-paper); }
.lp-card-green h3 { color: var(--lp-paper) !important; }
.lp-card-green p { color: #cfe0d8; }
.lp-card-dark { border-color: var(--lp-ink); background: var(--lp-ink); color: var(--lp-paper); }
.lp-card-dark h3 { color: var(--lp-paper) !important; font-size: 28px; }
.lp-card-dark p { color: #bdb8ad; font-size: 15px; }
.lp-card-doc { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.lp-card-wide { grid-column: span 2; }
.lp-card-doc h3 { font-size: 28px; }
.lp-card-doc > p { max-width: 460px; font-size: 15px; }
.lp-card-mcp { grid-column: span 4; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
.lp-badge { display: inline-block; margin-bottom: 12px; padding: 2px 10px; border-radius: 999px; background: var(--lp-accent-soft); color: var(--lp-accent); font-size: 11px; font-weight: 600; }
.lp-badge-on-dark { background: rgba(255, 255, 255, 0.16); color: #fff; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.lp-chips li { padding: 4px 12px; border-radius: 999px; background: var(--lp-paper); font-size: 13px; }
.lp-code-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.lp-code-chips li { padding: 4px 8px; border-radius: 4px; background: #2e2c28; font: 12px ui-monospace, "SFMono-Regular", Menlo, monospace; }
.lp-mini { color: #9a958a !important; font-size: 12px !important; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.lp-code { margin: 12px 0 0; padding: 20px; overflow: auto; border-radius: 12px; background: #2e2c28; color: #d9d4c8; font: 13px/1.6 ui-monospace, "SFMono-Regular", Menlo, monospace; }
.lp-mini-note { margin-top: 12px !important; color: #9a958a !important; font-size: 13px !important; }

/* Document illustration (not a screenshot) */
.lp-doc { margin-top: auto; padding: 20px; border-radius: 12px; background: #1f3f3a; }
.lp-card-doc .lp-chips + .lp-doc { margin-top: 32px; }
.lp-doc-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #cfe0d8; font-size: 11px; }
.lp-doc-bar span { margin-right: auto; }
.lp-doc-bar b { padding: 4px 8px; border-radius: 6px; background: var(--lp-accent); color: #fff; font-weight: 600; }
.lp-doc-bar em { padding: 3px 8px; border: 1px solid #527570; border-radius: 6px; font-style: normal; }
.lp-doc-body { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; align-items: start; }
.lp-doc-sheet { padding: 24px 28px; background: #fff; color: var(--lp-ink); font: 11px/1.55 "Times New Roman", Times, serif; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.lp-doc-sheet p { margin: 10px 0 0; color: var(--lp-ink); font-size: 11px; line-height: 1.55; text-align: justify; }
.lp-doc-sheet .lp-doc-date { margin-top: 0; text-align: right; }
.lp-doc-sheet .lp-doc-title { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-align: center; }
.lp-doc-sheet mark { background: #fff1b8; color: inherit; }
.lp-doc-comment { padding: 8px; border-left: 3px solid var(--lp-accent); border-radius: 6px; background: #fbf4ec; color: var(--lp-soft) !important; font-size: 10px !important; line-height: 1.4 !important; margin: 0 !important; }
.lp-doc-comment b { display: block; color: var(--lp-accent); }
.lp-doc-comment span { display: block; margin-top: 4px; color: var(--lp-accent); font-weight: 600; }
.lp-doc-version { margin-top: 8px !important; padding: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); color: #cfe0d8 !important; font-size: 10px !important; line-height: 1.4 !important; }

/* Security */
.lp-security { padding: 40px; border-radius: 16px; background: var(--lp-green); color: var(--lp-paper); }
.lp-security-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.lp-security h2 { color: var(--lp-paper) !important; }
.lp-security-head p:not(.lp-eyebrow):not(.lp-mini) { margin-top: 16px; color: #cfe0d8; font-size: 15px; line-height: 1.6; }
.lp-security .lp-btn { margin-top: 24px; }
.lp-preview { padding: 24px; border-radius: 16px; background: var(--lp-paper); color: var(--lp-ink); font-size: 15px; line-height: 1.6; }
.lp-security-head .lp-preview p:not(.lp-mini) { margin-top: 12px; color: var(--lp-ink); }
.lp-preview .lp-mini { color: var(--lp-muted) !important; }
.lp-preview s { color: var(--lp-faint); }
.lp-preview code { padding: 1px 4px; border-radius: 4px; background: #dceae3; color: var(--lp-green); font: 13px ui-monospace, "SFMono-Regular", Menlo, monospace; }
.lp-preview-actions { display: flex; gap: 8px; }
.lp-preview-actions span { padding: 6px 12px; border: 1px solid var(--lp-line); border-radius: 8px; font-size: 13px; }
.lp-preview-actions span:first-child { border-color: var(--lp-green); background: var(--lp-green); color: #fff; }
.lp-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.lp-flow li { padding: 20px; border-radius: 12px; background: var(--lp-green-dark); }
.lp-flow b { color: var(--lp-mint); font: 12px ui-monospace, "SFMono-Regular", Menlo, monospace; }
.lp-flow h3 { margin: 8px 0 0; color: var(--lp-paper) !important; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; font-weight: 500; }
.lp-flow p { margin-top: 4px; color: #cfe0d8; font-size: 14px; line-height: 1.6; }
.lp-flow-note { margin-top: 24px !important; color: #cfe0d8; font-size: 13px; line-height: 1.6; }
.lp-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.lp-pillars a { text-decoration: underline; }

/* Comparison */
.lp-table-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.lp-legend { display: flex; gap: 20px; margin: 0 0 8px; padding: 0; list-style: none; color: var(--lp-muted); font-size: 13px; }
.lp-legend li { display: flex; align-items: center; gap: 6px; }
.lp-table-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--lp-line); border-radius: 16px; background: #fff; }
.lp-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; }
.lp-table th, .lp-table td { padding: 14px 18px; border-bottom: 1px solid #eee9de; text-align: left; vertical-align: middle; }
.lp-table thead th { color: var(--lp-muted); font-size: 13px; font-weight: 500; }
.lp-table tbody th { font-weight: 400; }
.lp-table tbody tr:last-child th, .lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table .lp-us { background: #fbf9f4; }
.lp-table thead .lp-us { background: var(--lp-ink); color: #fff; font-weight: 600; }
.lp-table tbody td { color: var(--lp-muted); }
.lp-table tbody td.lp-us { color: var(--lp-muted); }
.lp-table tbody td.lp-us strong { color: var(--lp-ink); font-weight: 600; }
.lp-table th:first-child { width: 30%; }
.lp-mark { display: inline-flex; align-items: center; gap: 10px; }
.lp-mark-sym { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #7f9691; border-radius: 50%; color: #e7c5aa; font-family: var(--lp-serif); font-size: 15px; line-height: 1; }
.lp-mark-name { font-family: var(--lp-serif); font-size: 18px; font-weight: 400; }
.lp-yes, .lp-part, .lp-no { display: inline-block; width: 16px; height: 16px; margin-right: 4px; border-radius: 50%; vertical-align: -3px; }
.lp-yes { background: var(--lp-green); box-shadow: inset 0 0 0 4px var(--lp-green); position: relative; }
.lp-yes::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lp-part { border: 2px solid #c08a2b; background: linear-gradient(90deg, #c08a2b 50%, transparent 50%); box-sizing: border-box; }
.lp-no { position: relative; background: #b9b3a6; }
.lp-no::before, .lp-no::after { content: ""; position: absolute; left: 7px; top: 4px; width: 2px; height: 8px; background: #fff; transform: rotate(45deg); }
.lp-no::after { transform: rotate(-45deg); }
.lp-fineprint { margin-top: 16px !important; color: var(--lp-faint); font-size: 12px; }


/* Closing banner */
.lp-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: 16px; background: var(--lp-ink); color: var(--lp-paper); }
.lp-banner h2 { margin: 0; color: var(--lp-paper) !important; font-size: 30px; }
.lp-banner p { margin-top: 4px; color: #bdb8ad; font-size: 15px; }
.lp-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tablet */
@media (max-width: 1100px) {
  .lp-proof-grid, .lp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-card-doc, .lp-card-mcp, .lp-card-wide { grid-column: span 2; }
  .lp-card-doc { grid-row: auto; }
  .lp-security-head, .lp-card-mcp { grid-template-columns: minmax(0, 1fr); }
  .lp-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 760px) {
  .lp-wrap { padding: 0 20px; }
  .lp-header-inner { flex-wrap: wrap; gap: 8px 16px; padding: 12px 20px; }
  .lp-nav { order: 3; width: 100%; gap: 16px; overflow-x: auto; padding-bottom: 4px; }
  .lp-nav a { flex: none; font-size: 14px; }
  .lp-link { display: none; }
  .lp-header-actions .lp-btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .lp-hero { padding-top: 32px; }
  .lp-lead { font-size: 16px; }
  .lp-signup, .lp-providers { flex-direction: column; align-items: stretch; width: 100%; }
  .lp-signup .lp-or { justify-content: center; }
  .lp-proof-grid, .lp-steps, .lp-bento, .lp-flow, .lp-pillars { grid-template-columns: minmax(0, 1fr); }
  .lp-card-doc, .lp-card-mcp, .lp-card-wide { grid-column: auto; }
  .lp-doc-body { grid-template-columns: minmax(0, 1fr); }
  .lp-security { padding: 24px; }
  .lp-table-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lp-banner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .lp-section { padding-top: 48px; scroll-margin-top: 64px; }
  .lp-video-toggle { min-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-btn { transition: none; }
}

/* Sign-in and sign-up pages (/logowanie, /rejestracja; index.html #authPage). The head script sets
   html.auth-route on those addresses, so the page is right from the first paint. */
html.auth-route #landingPage { display: none !important; }
html.auth-route #authPage { display: grid !important; }
.auth-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; min-height: 100vh; padding: 16px; box-sizing: border-box; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.auth-side { display: flex; flex-direction: column; padding: 24px 80px 26px; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 528px; }
.auth-top .logo { color: var(--lp-ink); }
.auth-home { color: var(--lp-soft); font-size: 14px; text-decoration: none; }
.auth-home:hover, .auth-home:focus-visible { color: var(--lp-accent); }
.auth-main { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 440px; padding: 48px 0; }
.auth-main h1 { margin: 0; font-family: var(--lp-serif); font-size: clamp(34px, 3.4vw, 44px); font-weight: 400; line-height: 1.1; color: var(--lp-ink); }
.auth-main h1:focus { outline: none; }
.auth-lead { margin: 14px 0 28px; color: var(--lp-muted); font-size: 16px; line-height: 1.5; }
.auth-badge { width: fit-content; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: #dcebe4; color: var(--lp-green); font-size: 13px; }
.auth-page .auth-verified-notice { margin: 16px 0 0; }
.auth-return-note { margin: -14px 0 24px; padding: 10px 14px; border-radius: 10px; background: #dcebe4; color: var(--lp-green); font-size: 14px; line-height: 1.45; }
.auth-providers { display: flex; flex-direction: column; gap: 12px; }
.auth-provider { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 20px; border: 1px solid var(--lp-line); border-radius: 12px; background: #fff; color: var(--lp-ink); font: inherit; font-size: 15px; cursor: pointer; }
.auth-provider:hover, .auth-provider:focus-visible { background: var(--lp-paper); border-color: #cfc7b6; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--lp-faint); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--lp-line); }
.auth-page .auth-form { display: flex; flex-direction: column; }
.auth-page .auth-form label, .auth-label-row { color: var(--lp-ink); font-size: 14px; }
.auth-page .auth-form label { margin-bottom: 8px; }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-page .auth-form input { min-height: 48px; margin-bottom: 18px; padding: 0 16px; border: 1px solid var(--lp-line); border-radius: 12px; background: #fff; color: var(--lp-ink); font: inherit; font-size: 15px; }
.auth-page .auth-form input:focus { outline: 2px solid var(--lp-accent); outline-offset: 1px; border-color: transparent; }
.auth-text-button { padding: 0; border: 0; background: none; color: var(--lp-soft); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.auth-text-button:hover, .auth-text-button:focus-visible { color: var(--lp-accent); }
.auth-submit { min-height: 48px; margin-top: 2px; border: 0; border-radius: 12px; background: var(--lp-ink); color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.15s; }
.auth-submit:hover, .auth-submit:focus-visible { background: var(--lp-accent); }
.auth-submit:disabled { opacity: 0.6; cursor: default; }
.auth-hint { margin: 14px 0 0; color: var(--lp-faint); font-size: 13px; line-height: 1.6; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-switch { margin: 28px 0 0; color: var(--lp-soft); font-size: 15px; text-align: center; }
.auth-switch a, .auth-footer a { color: var(--lp-ink); }
.auth-page .auth-legal-consent { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--lp-line); border-radius: 12px; background: #fff; color: var(--lp-soft); font-size: 13px; }
.auth-page .auth-legal-consent p { margin: 0; color: var(--lp-ink); font-weight: 600; }
.auth-page .auth-legal-consent a { color: var(--lp-ink); }
.auth-footer { color: var(--lp-faint); font-size: 13px; }
.auth-footer a { color: inherit; text-decoration: none; }
.auth-footer a:hover, .auth-footer a:focus-visible { color: var(--lp-accent); }
.auth-page :focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }
.auth-aside { position: sticky; top: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; height: calc(100vh - 32px); padding: 56px; border-radius: 24px; background: var(--lp-green); color: #fff; box-sizing: border-box; }
.auth-aside-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--lp-green-dark); font-size: 13px; }
.auth-aside-pill span { color: var(--lp-mint); }
.auth-sample { margin: 0; padding: 24px; border-radius: 16px; background: var(--lp-paper); color: var(--lp-ink); }
.auth-sample figcaption { margin-bottom: 14px; color: var(--lp-soft); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.auth-sample p { margin: 0; font-size: 15px; line-height: 1.65; }
.auth-sample sup { padding: 1px 6px; border-radius: 6px; background: var(--lp-accent-soft); color: var(--lp-accent); font-size: 11px; font-weight: 600; }
.auth-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.auth-facts li { display: flex; flex-direction: column; gap: 4px; padding: 20px 16px; border-radius: 14px; background: var(--lp-green-dark); }
.auth-facts strong { font-family: var(--lp-serif); font-size: 22px; font-weight: 400; }
.auth-facts span { color: #d5e5de; font-size: 13px; }

@media (max-width: 1100px) {
  .auth-side { padding: 24px 40px; }
  .auth-aside { padding: 36px; }
  .auth-facts { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  html.auth-route #authPage, .auth-page:not(.hidden) { display: block !important; padding: 0; }
  .auth-side { min-height: 100vh; padding: 20px; box-sizing: border-box; }
  .auth-main { max-width: none; padding: 36px 0; }
  .auth-aside { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-submit { transition: none; }
}
