:root,
[data-theme="light"] {
    --lf-primary: #2563eb;
    --lf-primary-hover: #1d4ed8;
    --lf-success: #22c55e;
    --lf-success-soft: #dcfce7;
    --lf-text: #0f172a;
    --lf-muted: #64748b;
    --lf-border: #e2e8f0;
    --lf-surface: #ffffff;
    --lf-surface-alt: #f8fafc;
    --lf-background: #ffffff;
    --lf-soft-blue: #eff6ff;
    --lf-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    --lf-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.07);
    --lf-radius: 14px;
}

[data-theme="dark"] {
    --lf-primary: #3b82f6;
    --lf-primary-hover: #2563eb;
    --lf-success: #34d399;
    --lf-success-soft: rgba(52, 211, 153, 0.14);
    --lf-text: #f1f5f9;
    --lf-muted: #94a3b8;
    --lf-border: rgba(148, 163, 184, 0.22);
    --lf-surface: #1e293b;
    --lf-surface-alt: #111827;
    --lf-background: #0b1220;
    --lf-soft-blue: rgba(59, 130, 246, 0.12);
    --lf-shadow: 0 20px 50px rgba(2, 6, 23, 0.42);
    --lf-shadow-sm: 0 12px 28px rgba(2, 6, 23, 0.34);
    --lf-radius: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 44px;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

[id] {
    scroll-margin-top: 44px;
}

.lf-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 75% 8%, rgba(37, 99, 235, 0.10), transparent 26rem),
        linear-gradient(180deg, var(--lf-background) 0%, var(--lf-surface-alt) 70%, var(--lf-background) 100%);
    color: var(--lf-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lf-container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.lf-page-main {
    padding: 0 0 2rem;
}

.lf-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid color-mix(in srgb, var(--lf-border) 78%, transparent);
    background: color-mix(in srgb, var(--lf-background) 88%, transparent);
    backdrop-filter: blur(18px);
}

.lf-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.lf-brand,
.lf-nav a,
.lf-login-link,
.lf-footer a {
    text-decoration: none;
}

.lf-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--lf-text);
    font-weight: 850;
}

.lf-brand-text {
    display: inline-flex;
    gap: .25rem;
    font-size: 1.35rem;
    line-height: 1;
}

.lf-brand-text span:last-child {
    color: var(--lf-primary);
}

.lf-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.lf-logo-sm {
    width: 36px;
    height: 30px;
}

.lf-logo-md {
    width: 48px;
    height: 40px;
}

.lf-logo-lg {
    width: 84px;
    height: 70px;
}

.lf-logo svg {
    display: block;
    width: 100%;
    height: 100%;
}

.lf-nav-wrap,
.lf-nav,
.lf-header-actions {
    display: flex;
    align-items: center;
}

.lf-nav-wrap {
    flex: 1;
    justify-content: flex-end;
    gap: 1.25rem;
}

.lf-nav {
    gap: 1.45rem;
}

.lf-nav a,
.lf-login-link {
    color: color-mix(in srgb, var(--lf-text) 76%, var(--lf-muted));
    font-size: .9rem;
    font-weight: 700;
}

.lf-nav a:hover,
.lf-login-link:hover {
    color: var(--lf-primary);
}

.lf-header-actions {
    gap: .85rem;
}

.lf-mobile-menu-btn,
.lf-nav-toggle {
    display: none;
}

.lf-mobile-menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--lf-border);
    border-radius: 10px;
    background: var(--lf-surface);
    color: var(--lf-text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
}

.lf-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .75rem 1.15rem;
    border-radius: 10px;
    border: 1px solid transparent;
    color: #fff;
    background: transparent;
    font: inherit;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.lf-btn-primary {
    background: linear-gradient(135deg, var(--lf-primary), var(--lf-primary-hover));
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.lf-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.32);
}

.lf-btn-secondary {
    color: var(--lf-primary);
    background: var(--lf-surface);
    border-color: color-mix(in srgb, var(--lf-primary) 28%, var(--lf-border));
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.lf-btn-secondary:hover {
    background: color-mix(in srgb, var(--lf-primary) 7%, var(--lf-surface));
    border-color: color-mix(in srgb, var(--lf-primary) 45%, var(--lf-border));
}

[data-theme="dark"] .lf-btn-secondary {
    color: var(--lf-text);
    background: color-mix(in srgb, var(--lf-surface) 86%, transparent);
}

.lf-hero {
    padding: 2.5rem 0 1rem;
}

.lf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr);
    gap: 2.4rem;
    align-items: center;
}

.lf-hero-content {
    min-width: 0;
}

.lf-badge,
.lf-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--lf-primary);
    background: color-mix(in srgb, var(--lf-primary) 8%, var(--lf-surface));
    border-radius: 999px;
    padding: .43rem .72rem;
    font-size: .82rem;
    font-weight: 800;
}

.lf-badge::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background:
        linear-gradient(var(--lf-surface), var(--lf-surface)) padding-box,
        linear-gradient(135deg, var(--lf-primary), #93c5fd) border-box;
    border: 4px solid transparent;
}

.lf-hero-title {
    margin: .95rem 0 .8rem;
    font-size: clamp(2.7rem, 4.25vw, 3.9rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.lf-hero-title span,
.lf-section-title span {
    color: var(--lf-primary);
}

.lf-hero-subtitle {
    margin: 0;
    max-width: 55ch;
    color: color-mix(in srgb, var(--lf-muted) 86%, var(--lf-text));
    font-size: 1.06rem;
    line-height: 1.65;
}

.lf-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    gap: .9rem;
    margin-top: 1.55rem;
}

.lf-code-panel {
    margin-top: 1.55rem;
    width: 100%;
    max-width: 635px;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    background: color-mix(in srgb, var(--lf-surface) 96%, transparent);
    box-shadow: var(--lf-shadow-sm);
    overflow: hidden;
}

.lf-label {
    display: block;
    max-width: 100%;
    margin: 0 0 .52rem;
    color: color-mix(in srgb, var(--lf-text) 88%, var(--lf-muted));
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.lf-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: .7rem;
    align-items: stretch;
}

.lf-code-row .lf-btn {
    min-width: 0;
    font-size: .9rem;
    padding-inline: .75rem;
}

.lf-input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border: 1px solid var(--lf-border);
    border-radius: 10px;
    background: var(--lf-background);
    color: var(--lf-text);
    font: inherit;
    font-size: .95rem;
    padding: .76rem .9rem;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.lf-input::placeholder {
    color: color-mix(in srgb, var(--lf-muted) 70%, transparent);
}

.lf-input:focus-visible {
    outline: none;
    border-color: var(--lf-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lf-primary) 16%, transparent);
}

.lf-helper,
.lf-note,
.lf-feature-text,
.lf-step-text,
.lf-section-subtitle,
.lf-code-result-meta {
    color: var(--lf-muted);
}

.lf-helper {
    margin: .62rem 0 0;
    font-size: .9rem;
    line-height: 1.45;
}

.lf-hero-visual {
    min-width: 0;
    max-width: 520px;
    justify-self: end;
}

.lf-visual-stage {
    position: relative;
    min-height: 0;
    padding: .4rem 0 0;
}

.lf-visual-image,
.lf-visual-scene {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 34px rgba(37, 99, 235, 0.12));
}

.lf-visual-image {
    border-radius: 18px;
}

.lf-visual-label {
    position: absolute;
    bottom: 3.65rem;
    width: 150px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem .75rem;
    border: 1px solid color-mix(in srgb, var(--lf-primary) 14%, var(--lf-border));
    border-radius: 12px;
    background: color-mix(in srgb, var(--lf-surface) 96%, transparent);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
    color: var(--lf-text);
    font-size: .84rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.32;
}

.lf-visual-label-left {
    left: 4.8rem;
}

.lf-visual-label-right {
    right: 3.6rem;
}

.lf-code-hero-row {
    margin-top: .5rem;
    display: flex;
    justify-content: center;
    gap: .65rem;
    flex-wrap: wrap;
}

.lf-chip {
    min-height: 40px;
    color: color-mix(in srgb, var(--lf-text) 75%, var(--lf-primary));
    background: color-mix(in srgb, var(--lf-surface) 82%, var(--lf-soft-blue));
}

.lf-chip::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid var(--lf-primary);
    border-radius: 999px;
}

.lf-section {
    padding: 2.15rem 0;
}

.lf-create-intro {
    padding-top: 2.7rem;
    padding-bottom: 1rem;
}

.lf-create-intro .lf-section-title {
    max-width: 760px;
    margin-top: .9rem;
}

.lf-create-intro .lf-section-subtitle {
    max-width: 760px;
}

.lf-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--lf-muted);
    font-weight: 800;
    text-decoration: none;
}

.lf-back-link:hover {
    color: var(--lf-primary);
}

.lf-section-title {
    margin: 0 0 .55rem;
    font-size: clamp(1.85rem, 3.4vw, 3rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: 0;
}

.lf-section-subtitle {
    margin: 0;
    line-height: 1.55;
}

.lf-section-subtitle a,
.lf-api-card a,
.lf-helper a {
    color: var(--lf-primary);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .18em;
}

.lf-section-subtitle a:hover,
.lf-api-card a:hover,
.lf-helper a:hover {
    color: var(--lf-primary-hover);
    text-decoration-thickness: 3px;
}

.lf-link-subtitle a {
    margin-inline: .12rem;
    padding-bottom: .05rem;
    background: transparent;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: .2em;
}

.lf-link-subtitle a:hover {
    background: transparent;
    text-decoration-thickness: 2px;
}

.lf-card {
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    background: var(--lf-surface);
    box-shadow: var(--lf-shadow-sm);
}

#process .lf-section-title {
    text-align: center;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.lf-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
    padding: 1.25rem;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    background: color-mix(in srgb, var(--lf-surface) 97%, transparent);
    box-shadow: var(--lf-shadow-sm);
}

.lf-step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem .85rem;
    align-items: center;
    min-height: 96px;
    padding: .85rem;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.lf-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2rem;
    right: -1.3rem;
    width: 2.2rem;
    border-top: 2px dashed color-mix(in srgb, var(--lf-primary) 44%, transparent);
}

.lf-step-index {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lf-primary), var(--lf-primary-hover));
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.26);
}

.lf-step-title {
    margin: 0;
    font-size: 1rem;
}

.lf-step-text {
    grid-column: 2;
    margin: -.45rem 0 0;
    font-size: .88rem;
    line-height: 1.45;
}

.lf-feature-spotlight {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(430px, 1.04fr);
    gap: 1.6rem;
    align-items: stretch;
    margin-top: 1.35rem;
}

.lf-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.lf-feature-card {
    min-height: 132px;
    padding: 1rem;
    border-radius: 10px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.lf-feature-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--lf-primary) 36%, var(--lf-border));
    box-shadow: var(--lf-shadow);
}

.lf-feature-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--lf-primary) 24%, transparent);
    background: color-mix(in srgb, var(--lf-primary) 8%, var(--lf-surface));
    color: var(--lf-primary);
}

.lf-feature-title {
    margin: .65rem 0 .25rem;
    font-size: .98rem;
}

.lf-feature-text {
    margin: 0;
    font-size: .88rem;
    line-height: 1.45;
}

.lf-consigne-preview {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    border-radius: var(--lf-radius);
}

.lf-consigne-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--lf-primary) 4%, transparent), transparent 55%),
        radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--lf-primary) 10%, transparent), transparent 18rem);
    pointer-events: none;
}

.lf-consigne-preview-inner {
    position: relative;
}

.lf-consigne-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--lf-border);
}

.lf-consigne-title {
    margin: 0;
    font-size: 1.08rem;
}

.lf-status-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 28px;
    padding: .25rem .6rem;
    border-radius: 999px;
    color: var(--lf-success);
    background: var(--lf-success-soft);
    font-size: .78rem;
    font-weight: 900;
}

.lf-preview-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 1rem;
    margin-top: .95rem;
}

.lf-preview-col {
    min-width: 0;
}

.lf-preview-col p {
    margin: 0 0 .78rem;
    line-height: 1.45;
}

.lf-preview-col strong {
    color: var(--lf-text);
}

.lf-preview-col ul {
    margin: .45rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .45rem;
}

.lf-check-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .45rem;
    align-items: start;
    color: var(--lf-text);
    font-size: .9rem;
    line-height: 1.4;
}

.lf-check {
    color: var(--lf-success);
    font-weight: 900;
}

.lf-preview-warning {
    margin-top: .85rem;
    padding: .8rem;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--lf-success) 24%, var(--lf-border));
    background: color-mix(in srgb, var(--lf-success) 9%, var(--lf-surface));
}

.lf-preview-warning strong {
    color: #047857;
}

.lf-preview-warning p {
    margin: .3rem 0 0;
}

.lf-trust-card {
    width: min(100%, 760px);
    margin-inline: auto;
    padding: 1.7rem;
    border-radius: var(--lf-radius);
    color: #f8fafc;
    background:
        radial-gradient(circle at 15% 0%, rgba(59, 130, 246, 0.28), transparent 16rem),
        linear-gradient(145deg, #0b1220, #17233a);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.lf-trust-card p {
    max-width: 58ch;
    margin: .5rem 0 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.lf-trust-title {
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.lf-trust-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .6rem;
}

.lf-trust-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .55rem;
    align-items: center;
    color: #e5efff;
}

.lf-trust-list li::before {
    content: "✓";
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #0f172a;
    background: var(--lf-success);
    font-size: .8rem;
    font-weight: 900;
}

.lf-reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
    gap: 1.25rem;
    align-items: start;
}

.lf-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
    margin-top: 1.1rem;
}

.lf-review-card {
    min-width: 0;
    padding: 1rem;
}

.lf-review-card blockquote {
    margin: .65rem 0;
    color: color-mix(in srgb, var(--lf-text) 82%, var(--lf-muted));
    line-height: 1.55;
}

.lf-review-stars {
    margin: 0;
    color: #f59e0b;
    font-size: 1.02rem;
    letter-spacing: 0;
}

.lf-review-author {
    margin: .75rem 0 0;
    color: var(--lf-text);
    font-weight: 900;
}

.lf-review-empty p:last-child {
    margin: .5rem 0 0;
    color: var(--lf-muted);
}

.lf-review-form {
    display: grid;
    gap: .9rem;
    padding: 1.1rem;
}

.lf-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(320px, .42fr);
    gap: 1.25rem;
    align-items: start;
}

.lf-contact-form {
    display: grid;
    gap: .9rem;
    padding: 1.1rem;
}

.lf-api-key-form {
    margin-top: .9rem;
    padding: 0;
}

.lf-review-form h3 {
    margin: 0;
    font-size: 1.25rem;
}

.lf-review-form > p {
    margin: -.45rem 0 0;
    color: var(--lf-muted);
    line-height: 1.5;
}

.lf-rating-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.lf-rating-field legend {
    margin-bottom: .45rem;
    color: color-mix(in srgb, var(--lf-text) 88%, var(--lf-muted));
    font-size: .92rem;
    font-weight: 900;
}

.lf-rating-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .35rem;
}

.lf-rating-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lf-rating-options label {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem .35rem;
    border: 1px solid var(--lf-border);
    border-radius: 10px;
    color: #d97706;
    background: var(--lf-surface);
    font-size: .8rem;
    font-weight: 900;
    cursor: pointer;
    overflow: hidden;
}

.lf-rating-options input:checked + label {
    border-color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}

[data-theme="dark"] .lf-rating-options input:checked + label {
    background: rgba(245, 158, 11, 0.14);
}

.lf-hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lf-alert {
    margin: 1.1rem 0;
    padding: 1rem;
    border: 1px solid;
    border-radius: var(--lf-radius);
}

.lf-alert p {
    margin: .3rem 0;
}

.lf-alert-error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.lf-alert-success {
    color: #064e3b;
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.lf-code-result-title {
    margin: 0 0 .4rem;
}

.lf-code-result-value {
    margin: .4rem 0;
    color: var(--lf-primary);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: .06em;
}

.lf-partner-return-btn {
    margin-top: .4rem;
}

.lf-qr-wrap {
    margin-top: .85rem;
}

.lf-qr-image {
    width: min(230px, 100%);
    border: 1px solid var(--lf-border);
    border-radius: 10px;
    background: #fff;
}

.lf-copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    margin-top: .85rem;
}

.lf-copy-btn {
    width: 115px;
}

.lf-form-grid {
    display: grid;
    gap: .95rem;
}

.lf-form-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lf-form-grid.cols-2 label {
    margin: 0;
}

.lf-textarea {
    min-height: 118px;
    resize: vertical;
}

.lf-textarea-sm {
    min-height: 86px;
}

.lf-submit-row {
    margin-top: .75rem;
}

.lf-code-form-title {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

#code-form .lf-card {
    padding: 1.35rem;
}

#code-form form {
    margin-top: 1.15rem;
    display: grid;
    gap: .95rem;
}

.lf-note {
    margin: .9rem 0 0;
    font-size: .9rem;
}

.lf-legal-hero {
    padding-top: 2.7rem;
    padding-bottom: 1rem;
}

.lf-legal-hero .lf-section-title,
.lf-legal-hero .lf-section-subtitle {
    max-width: 820px;
}

.lf-legal-updated {
    margin: .85rem 0 0;
    color: var(--lf-muted);
    font-size: .92rem;
    font-weight: 800;
}

.lf-legal-content {
    padding-top: 1rem;
}

.lf-legal-layout {
    display: grid;
    grid-template-columns: minmax(210px, .28fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.lf-legal-nav {
    position: sticky;
    top: 92px;
    display: grid;
    gap: .35rem;
    padding: .9rem;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    background: color-mix(in srgb, var(--lf-surface) 95%, transparent);
    box-shadow: var(--lf-shadow-sm);
}

.lf-legal-nav a {
    padding: .55rem .65rem;
    border-radius: 9px;
    color: var(--lf-muted);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.lf-legal-nav a:hover {
    color: var(--lf-primary);
    background: color-mix(in srgb, var(--lf-primary) 8%, transparent);
}

.lf-legal-card {
    padding: 1.4rem;
}

.lf-legal-section-block {
    padding: 1.25rem 0;
    border-top: 1px solid var(--lf-border);
}

.lf-legal-section-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.lf-legal-section-block:last-child {
    padding-bottom: 0;
}

.lf-legal-section-block h2 {
    margin: 0 0 .6rem;
    color: var(--lf-text);
    font-size: 1.18rem;
    line-height: 1.25;
}

.lf-legal-section-block p,
.lf-legal-section-block li {
    color: color-mix(in srgb, var(--lf-muted) 88%, var(--lf-text));
    line-height: 1.65;
}

.lf-legal-section-block p {
    margin: .45rem 0;
}

.lf-legal-section-block ul {
    display: grid;
    gap: .45rem;
    margin: .75rem 0 0;
    padding-left: 1.1rem;
}

.lf-faq-hero {
    padding-top: 2.7rem;
    padding-bottom: 1rem;
}

.lf-faq-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .34fr);
    gap: 1.2rem;
    align-items: end;
}

.lf-faq-hero .lf-section-title,
.lf-faq-hero .lf-section-subtitle {
    max-width: 780px;
}

.lf-faq-quick-card {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.lf-faq-quick-card .lf-footer-title {
    margin-bottom: .1rem;
}

.lf-faq-content {
    padding-top: 1rem;
}

.lf-faq-layout {
    display: grid;
    grid-template-columns: minmax(210px, .28fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.lf-faq-list {
    display: grid;
    gap: 1rem;
}

.lf-faq-group {
    padding: 1.2rem;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    background: var(--lf-surface);
    box-shadow: var(--lf-shadow-sm);
}

.lf-faq-group h2 {
    margin: 0 0 .85rem;
    font-size: 1.28rem;
    line-height: 1.25;
}

.lf-faq-item {
    border-top: 1px solid var(--lf-border);
}

.lf-faq-item:first-of-type {
    border-top: 0;
}

.lf-faq-item summary {
    position: relative;
    display: block;
    padding: .95rem 2.2rem .95rem 0;
    color: var(--lf-text);
    font-weight: 900;
    line-height: 1.35;
    cursor: pointer;
}

.lf-faq-item summary::-webkit-details-marker {
    display: none;
}

.lf-faq-item summary::after {
    content: "+";
    position: absolute;
    top: .82rem;
    right: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--lf-primary);
    background: color-mix(in srgb, var(--lf-primary) 8%, var(--lf-surface));
    font-size: 1.1rem;
    font-weight: 900;
}

.lf-faq-item[open] summary::after {
    content: "−";
}

.lf-faq-item p {
    margin: -.25rem 0 1rem;
    max-width: 78ch;
    color: color-mix(in srgb, var(--lf-muted) 88%, var(--lf-text));
    line-height: 1.65;
}

.lf-guides-hero {
    padding-top: 2.7rem;
    padding-bottom: 1rem;
}

.lf-guides-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .34fr);
    gap: 1.2rem;
    align-items: end;
}

.lf-guides-hero .lf-section-title,
.lf-guides-hero .lf-section-subtitle {
    max-width: 820px;
}

.lf-guides-start-card {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.lf-guides-start-card .lf-footer-title {
    margin-bottom: .1rem;
}

.lf-guides-content {
    padding-top: 1rem;
}

.lf-guides-layout {
    display: grid;
    grid-template-columns: minmax(210px, .28fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.lf-guides-list {
    display: grid;
    gap: 1.4rem;
}

.lf-guide-group {
    display: grid;
    gap: 1rem;
}

.lf-guide-group-heading {
    padding: 1.2rem;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    background:
        radial-gradient(circle at 95% 0%, color-mix(in srgb, var(--lf-primary) 12%, transparent), transparent 18rem),
        var(--lf-surface);
    box-shadow: var(--lf-shadow-sm);
}

.lf-guide-group-heading h2 {
    margin: 0 0 .4rem;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.18;
}

.lf-guide-group-heading p {
    margin: 0;
    color: var(--lf-muted);
    line-height: 1.55;
}

.lf-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.lf-guide-card {
    padding: 1.15rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.lf-guide-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--lf-primary) 32%, var(--lf-border));
    box-shadow: var(--lf-shadow);
}

.lf-guide-kicker {
    margin: 0 0 .45rem;
    color: var(--lf-primary);
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lf-guide-card h3 {
    margin: 0;
    font-size: 1.16rem;
    line-height: 1.25;
}

.lf-guide-excerpt {
    margin: .55rem 0 .85rem;
    color: var(--lf-muted);
    line-height: 1.55;
}

.lf-guide-card ul {
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lf-guide-card li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .55rem;
    color: color-mix(in srgb, var(--lf-text) 78%, var(--lf-muted));
    line-height: 1.5;
}

.lf-guide-card li::before {
    content: "✓";
    color: var(--lf-success);
    font-weight: 900;
}

.lf-guide-tip {
    margin: .95rem 0 0;
    padding: .8rem;
    border: 1px solid color-mix(in srgb, var(--lf-success) 24%, var(--lf-border));
    border-radius: 10px;
    color: color-mix(in srgb, var(--lf-text) 82%, var(--lf-muted));
    background: color-mix(in srgb, var(--lf-success) 8%, var(--lf-surface));
    line-height: 1.5;
}

.lf-help-hero {
    padding-top: 2.7rem;
    padding-bottom: 1rem;
}

.lf-help-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .36fr);
    gap: 1.2rem;
    align-items: end;
}

.lf-help-hero .lf-section-title,
.lf-help-hero .lf-section-subtitle {
    max-width: 820px;
}

.lf-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.2rem;
}

.lf-help-contact-card {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.lf-help-contact-card p {
    margin: 0;
    color: var(--lf-muted);
    line-height: 1.55;
}

.lf-help-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.lf-help-card {
    display: grid;
    gap: .75rem;
    padding: 1.1rem;
}

.lf-help-card h2 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.25;
}

.lf-help-card p {
    margin: 0;
    color: var(--lf-muted);
    line-height: 1.5;
}

.lf-help-card ul {
    display: grid;
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lf-help-card li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .5rem;
    color: color-mix(in srgb, var(--lf-text) 78%, var(--lf-muted));
    font-size: .92rem;
    line-height: 1.45;
}

.lf-help-card li::before {
    content: "•";
    color: var(--lf-primary);
    font-weight: 900;
}

.lf-help-card .lf-btn {
    margin-top: auto;
}

.lf-help-troubleshooting {
    padding-top: 1rem;
}

.lf-help-trouble-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1rem;
}

.lf-help-trouble-card {
    padding: 1rem;
    border: 1px solid var(--lf-border);
    border-radius: 10px;
    background: var(--lf-surface);
}

.lf-help-trouble-card h3 {
    margin: 0 0 .45rem;
    font-size: 1rem;
    line-height: 1.25;
}

.lf-help-trouble-card p {
    margin: 0;
    color: var(--lf-muted);
    line-height: 1.5;
}

.lf-help-shortcuts {
    padding-top: 1rem;
}

.lf-help-shortcuts .lf-card {
    padding: 1.2rem;
}

.lf-help-shortcuts h2 {
    margin: 0 0 .9rem;
    font-size: 1.25rem;
}

.lf-help-shortcut-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.lf-help-shortcut-row a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: .55rem .8rem;
    border: 1px solid color-mix(in srgb, var(--lf-primary) 22%, var(--lf-border));
    border-radius: 999px;
    color: var(--lf-primary);
    background: color-mix(in srgb, var(--lf-primary) 6%, var(--lf-surface));
    font-size: .9rem;
    font-weight: 900;
    text-decoration: none;
}

.lf-help-shortcut-row a:hover {
    border-color: color-mix(in srgb, var(--lf-primary) 42%, var(--lf-border));
    background: color-mix(in srgb, var(--lf-primary) 10%, var(--lf-surface));
}

.lf-api-hero {
    padding-top: 2.7rem;
    padding-bottom: 1rem;
}

.lf-api-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .36fr);
    gap: 1.2rem;
    align-items: end;
    min-width: 0;
}

.lf-api-hero .lf-section-title,
.lf-api-hero .lf-section-subtitle {
    max-width: 840px;
}

.lf-api-side-card {
    display: grid;
    gap: .65rem;
    min-width: 0;
    padding: 1rem;
}

.lf-api-side-card code {
    display: block;
    padding: .55rem .65rem;
    border: 1px solid color-mix(in srgb, var(--lf-primary) 18%, var(--lf-border));
    border-radius: 9px;
    background: color-mix(in srgb, var(--lf-primary) 6%, var(--lf-surface));
    color: var(--lf-text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.lf-api-content {
    padding-top: 1rem;
}

.lf-api-layout {
    display: grid;
    grid-template-columns: minmax(210px, .28fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    min-width: 0;
}

.lf-api-docs {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.lf-api-card {
    min-width: 0;
    padding: 1.2rem;
}

.lf-api-card h2 {
    margin: 0 0 .55rem;
    font-size: 1.24rem;
    line-height: 1.25;
}

.lf-api-card p,
.lf-api-card li,
.lf-api-table td {
    color: color-mix(in srgb, var(--lf-muted) 88%, var(--lf-text));
    line-height: 1.62;
}

.lf-api-card p {
    margin: .45rem 0 .8rem;
}

.lf-api-card ul {
    display: grid;
    gap: .45rem;
    margin: .75rem 0 0;
    padding-left: 1.1rem;
}

.lf-api-code {
    margin: .8rem 0 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border: 1px solid color-mix(in srgb, var(--lf-primary) 18%, var(--lf-border));
    border-radius: 10px;
    background: #0b1220;
    color: #e5efff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lf-api-code code {
    display: block;
    width: max-content;
    min-width: 100%;
    padding: .95rem;
    color: inherit;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .84rem;
    line-height: 1.55;
}

.lf-api-table-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border: 1px solid var(--lf-border);
    border-radius: 10px;
}

.lf-api-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.lf-api-table td {
    padding: .72rem .85rem;
    border-top: 1px solid var(--lf-border);
    vertical-align: top;
}

.lf-api-table tr:first-child td {
    border-top: 0;
}

.lf-api-table code,
.lf-api-card p code {
    color: var(--lf-primary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .9em;
    font-weight: 800;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.lf-address-feedback,
.lf-lookup-feedback {
    min-height: 1.15rem;
}

.lf-address-feedback.is-loading,
.lf-lookup-feedback.is-loading {
    color: var(--lf-primary);
}

.lf-address-feedback.is-error,
.lf-lookup-feedback.is-error {
    color: #ef4444;
}

.lf-footer {
    margin-top: 1.5rem;
    padding: 1.8rem 0 2rem;
    border-top: 1px solid var(--lf-border);
    background: color-mix(in srgb, var(--lf-background) 95%, transparent);
}

.lf-footer-grid {
    display: grid;
    grid-template-columns: 1.45fr .75fr .75fr .75fr 1.25fr;
    gap: 1.25rem;
    align-items: start;
}

.lf-footer-brand {
    align-items: flex-start;
}

.lf-footer p,
.lf-footer a {
    color: var(--lf-muted);
}

.lf-footer a {
    display: inline-flex;
    margin-bottom: .35rem;
    font-size: .9rem;
}

.lf-footer a:hover {
    color: var(--lf-primary);
}

.lf-footer-title {
    margin: 0 0 .65rem;
    color: var(--lf-text);
    font-weight: 900;
}

.lf-helper-inline {
    max-width: 210px;
}

.lf-footer-note {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.lf-footer-contact-btn {
    min-height: 38px;
    padding-inline: 1rem;
}

.lf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lf-border);
}

.lf-footer-copyright {
    margin: 0;
}

.lf-footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--lf-surface) inset;
}

@media (max-width: 1100px) {
    .lf-hero-grid,
    .lf-feature-spotlight,
    .lf-faq-hero-grid,
    .lf-guides-hero-grid,
    .lf-help-hero-grid,
    .lf-api-hero-grid,
    .lf-reviews-layout,
    .lf-contact-layout {
        grid-template-columns: 1fr;
    }

    .lf-hero-visual {
        max-width: 680px;
        margin-inline: auto;
    }
}

@media (max-width: 992px) {
    html {
        scroll-padding-top: 68px;
    }

    [id] {
        scroll-margin-top: 68px;
    }

    .lf-container {
        width: min(100% - 32px, 1160px);
    }

    .lf-header-inner {
        min-height: 68px;
    }

    .lf-mobile-menu-btn {
        display: inline-flex;
    }

    .lf-nav-wrap {
        position: fixed;
        top: 78px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .75rem;
        padding: .95rem;
        border: 1px solid var(--lf-border);
        border-radius: var(--lf-radius);
        background: color-mix(in srgb, var(--lf-surface) 96%, transparent);
        box-shadow: var(--lf-shadow);
        backdrop-filter: blur(18px);
    }

    .lf-nav-toggle:checked ~ .lf-nav-wrap {
        display: flex;
    }

    .lf-nav,
    .lf-header-actions {
        align-items: stretch;
        flex-direction: column;
        gap: .45rem;
    }

    .lf-nav a,
    .lf-login-link {
        padding: .7rem .75rem;
        border-radius: 10px;
    }

    .lf-nav a:hover,
    .lf-login-link:hover {
        background: color-mix(in srgb, var(--lf-primary) 8%, transparent);
    }

    .lf-hero {
        padding-top: 2rem;
    }

    .lf-hero-title {
        font-size: clamp(2.55rem, 8vw, 4.3rem);
    }

    .lf-steps,
    .lf-feature-grid,
    .lf-preview-grid,
    .lf-footer-grid,
    .lf-legal-layout,
    .lf-faq-layout,
    .lf-guides-layout,
    .lf-api-layout,
    .lf-guide-grid,
    .lf-review-grid,
    .lf-help-grid,
    .lf-help-trouble-grid {
        grid-template-columns: 1fr;
    }

    .lf-legal-nav {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lf-step:not(:last-child)::after {
        display: none;
    }

    .lf-step-text {
        grid-column: 1 / -1;
        margin-top: -.2rem;
    }
}

@media (max-width: 768px) {
    .lf-container {
        width: min(100% - 24px, 1160px);
    }

    .lf-brand-text {
        font-size: 1.08rem;
        flex-direction: column;
        gap: 0;
        line-height: .95;
    }

    .lf-logo-md {
        width: 42px;
        height: 35px;
    }

    .lf-hero-grid {
        gap: 1.35rem;
    }

    .lf-hero-title {
        font-size: clamp(2.05rem, 9vw, 2.45rem);
        line-height: 1.08;
    }

    .lf-hero-actions,
    .lf-code-row,
    .lf-copy-row,
    .lf-form-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .lf-hero-actions .lf-btn,
    .lf-code-row .lf-btn,
    .lf-copy-btn,
    .lf-faq-quick-card .lf-btn,
    .lf-guides-start-card .lf-btn,
    .lf-help-actions .lf-btn,
    .lf-help-contact-card .lf-btn {
        width: 100%;
    }

    .lf-code-panel {
        padding: .85rem;
    }

    .lf-visual-stage {
        padding-top: .4rem;
    }

    .lf-code-hero-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .5rem;
    }

    .lf-chip {
        min-height: 62px;
        padding: .55rem .35rem;
        flex-direction: column;
        font-size: .72rem;
        text-align: center;
    }

    .lf-section {
        padding: 1.7rem 0;
    }

    .lf-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .lf-header-actions .lf-btn {
        width: 100%;
    }

    .lf-hero {
        padding-top: 1.5rem;
    }

    .lf-hero-subtitle {
        font-size: .98rem;
    }

    .lf-badge {
        font-size: .76rem;
    }

    .lf-feature-card {
        min-height: auto;
    }

    .lf-consigne-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .lf-trust-card,
    #code-form .lf-card,
    .lf-legal-card,
    .lf-faq-group,
    .lf-faq-quick-card,
    .lf-guides-start-card,
    .lf-guide-group-heading,
    .lf-guide-card,
    .lf-api-side-card,
    .lf-api-card,
    .lf-review-card,
    .lf-review-form,
    .lf-contact-form,
    .lf-help-contact-card,
    .lf-help-card,
    .lf-help-shortcuts .lf-card {
        padding: 1rem;
    }

    .lf-rating-options {
        gap: .25rem;
    }

    .lf-rating-options label {
        min-height: 38px;
        padding: .4rem .2rem;
        font-size: .68rem;
    }

    .lf-legal-nav {
        grid-template-columns: 1fr;
    }
}
