:root {
    --lp-navy: #1A2E44;
    --lp-orange: #C4501A;
    --lp-teal: #0F6E56;
    --lp-off-white: #F7F5F0;
    --lp-warm-gray: #F0EDE6;
    --lp-light-blue: #EDF3F9;
    --lp-gold: #E8C99A;
    --lp-charcoal: #2C2C2A;
    --lp-gray: #5F5E5A;
    --lp-line: #D3D1C7;
    --lp-white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body.lp-template {
    margin: 0;
    background: var(--lp-off-white);
    color: var(--lp-charcoal);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.78;
    text-rendering: optimizeLegibility;
}

body.lp-template img {
    display: block;
    max-width: 100%;
    height: auto;
}

body.lp-template a {
    color: inherit;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

body.lp-template a:hover {
    text-decoration-thickness: 2px;
}

body.lp-template :focus-visible {
    outline: 3px solid var(--lp-teal);
    outline-offset: 4px;
}

.full-guide-lp {
    min-height: 100vh;
    overflow: clip;
    background: var(--lp-off-white);
}

.lp-shell {
    width: min(100% - 48px, 1120px);
    margin-inline: auto;
}

.lp-reading {
    max-width: 720px;
}

.lp-wide {
    max-width: 920px;
}

.lp-section {
    padding: 72px 0;
    background: var(--lp-off-white);
}

.lp-section + .lp-section {
    border-top: 1px solid var(--lp-line);
}

.lp-panel-dark {
    position: relative;
    overflow: hidden;
    background: var(--lp-navy);
    color: var(--lp-white);
}

.lp-hero-mark {
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--lp-orange);
}

.lp-kicker,
.lp-section-label {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--lp-orange);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.lp-panel-dark .lp-kicker {
    color: rgba(255, 255, 255, 0.62);
}

.lp-hero {
    min-height: 100svh;
    padding: 92px 0 84px;
}

.lp-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 44px;
    align-items: end;
}

.lp-hero-copy {
    max-width: 900px;
}

.lp-hero h1 {
    max-width: 980px;
    margin: 0;
    color: var(--lp-off-white);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(3.35rem, 14.5vw, 5rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0;
}

.lp-subtitle {
    max-width: 760px;
    margin: 28px 0 0;
    color: var(--lp-gold);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 7vw, 2.1rem);
    font-style: italic;
    line-height: 1.18;
}

.lp-lead {
    max-width: 660px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1rem;
}

.lp-hero-visual {
    margin: 0;
    opacity: 0.84;
}

.lp-hero-visual img {
    width: min(100%, 680px);
    margin-inline: auto;
}

.lp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-top: 34px;
    border: 0;
    border-radius: 2px;
    background: var(--lp-orange);
    color: var(--lp-white);
    cursor: pointer;
    font: 600 1rem/1 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 17px 30px;
    text-decoration: none;
    transition: background-color 200ms ease, transform 200ms ease;
}

.lp-button:hover {
    background: #ad4315;
    text-decoration: none;
    transform: translateY(-1px);
}

.lp-section h2,
.lp-section h3 {
    margin: 0;
    color: var(--lp-navy);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 0;
}

.lp-section h2 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.16;
}

.lp-section h3 {
    font-size: clamp(1.45rem, 6vw, 2rem);
    line-height: 1.2;
}

.lp-section p {
    margin: 0;
    color: var(--lp-charcoal);
}

.lp-section p + p,
.lp-section p + .lp-meaning,
.lp-section .lp-meaning + p {
    margin-top: 1.45em;
}

.lp-section h2 + p,
.lp-section h2 + .lp-serif-note,
.lp-section .lp-serif-note + p {
    margin-top: 26px;
}

.lp-section blockquote {
    margin: 34px 0 0;
    color: var(--lp-navy);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    font-style: italic;
    line-height: 1.36;
}

.lp-story {
    border-top: 3px solid var(--lp-navy);
}

.lp-accent-navy .lp-reading,
.lp-accent-orange .lp-reading,
.lp-accent-teal .lp-reading {
    border-left: 4px solid var(--lp-navy);
    padding-left: 22px;
}

.lp-accent-orange .lp-reading {
    border-left-color: var(--lp-orange);
}

.lp-accent-teal .lp-reading {
    border-left-color: var(--lp-teal);
}

.lp-points {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.lp-points p {
    padding-top: 18px;
    border-top: 1px solid var(--lp-line);
}

.lp-stat-grid {
    display: grid;
    gap: 18px;
    margin-top: 52px;
}

.lp-stat {
    display: grid;
    gap: 14px;
    align-items: start;
    background: var(--lp-warm-gray);
    padding: 24px;
}

.lp-stat img {
    width: 100%;
    max-height: 210px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lp-stat strong {
    display: block;
    color: var(--lp-navy);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 16vw, 4.8rem);
    font-weight: 400;
    line-height: 0.95;
}

.lp-stat span {
    color: var(--lp-gray);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.55;
}

.lp-problem-list {
    display: grid;
    gap: 34px;
    margin-top: 44px;
}

.lp-problem {
    display: grid;
    gap: 24px;
    border-left: 4px solid var(--lp-orange);
    background: rgba(255, 255, 255, 0.32);
    padding: 26px 0 26px 22px;
}

.lp-problem-copy > span {
    display: block;
    margin-bottom: 10px;
    color: var(--lp-orange);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.lp-problem h3 + p {
    margin-top: 18px;
}

.lp-problem img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lp-quote,
.lp-meaning,
.lp-cost-note {
    margin-top: 24px;
    padding: 18px;
}

.lp-quote {
    background: var(--lp-warm-gray);
    color: var(--lp-navy);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.45;
}

.lp-quote small {
    display: block;
    margin-top: 10px;
    color: var(--lp-gray);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
}

.lp-meaning {
    background: var(--lp-light-blue);
    color: var(--lp-charcoal);
    font-size: 0.95rem;
    line-height: 1.62;
}

.lp-meaning strong {
    display: block;
    margin-bottom: 6px;
    color: var(--lp-navy);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-neutral {
    border-top: 3px solid var(--lp-line);
}

.lp-serif-note {
    color: var(--lp-navy);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.35;
}

.lp-compare-cards {
    display: grid;
    gap: 1px;
    margin-top: 44px;
    border: 1px solid var(--lp-line);
    background: var(--lp-line);
}

.lp-compare-cards article {
    background: var(--lp-off-white);
    padding: 26px;
}

.lp-compare-cards h3 + p {
    margin-top: 14px;
}

.lp-inline-illustration {
    margin: 40px auto 0;
}

.lp-inline-illustration img {
    max-height: 280px;
    margin-inline: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lp-key {
    padding: 104px 0;
    text-align: center;
}

.lp-key .lp-shell {
    max-width: 760px;
}

.lp-key .lp-crossed {
    margin: 0;
    color: var(--lp-off-white);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 10vw, 3.4rem);
    line-height: 1.1;
    text-decoration: line-through;
}

.lp-arrow {
    display: block;
    margin: 22px 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 1.6rem;
}

.lp-key h2 {
    color: var(--lp-gold);
    font-size: clamp(2.45rem, 10vw, 4.35rem);
}

.lp-key p:last-child {
    max-width: 640px;
    margin: 28px auto 0;
    color: rgba(255, 255, 255, 0.72);
}

.lp-phase-grid {
    display: grid;
    gap: 22px;
    margin-top: 48px;
}

.lp-phase-grid article {
    border-top: 3px solid var(--lp-teal);
    padding-top: 22px;
}

.lp-phase-grid img {
    width: 100%;
    height: 150px;
    margin-bottom: 18px;
    object-fit: contain;
}

.lp-phase-grid ul {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.lp-phase-grid li {
    position: relative;
    padding-left: 26px;
}

.lp-phase-grid li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lp-teal);
    font-weight: 700;
}

.lp-info-table,
.lp-resolution-scroll,
.lp-cost-note {
    margin-top: 48px;
}

.lp-info-table {
    border-top: 1px solid var(--lp-line);
}

.lp-info-table div {
    display: grid;
    gap: 6px;
    padding: 16px 0;
    border-bottom: 1px solid var(--lp-line);
}

.lp-info-table strong {
    color: var(--lp-gray);
    font-size: 0.88rem;
}

.lp-info-table span {
    color: var(--lp-charcoal);
}

.lp-resolution-scroll {
    border: 1px solid var(--lp-line);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lp-resolution-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.lp-resolution-table th,
.lp-resolution-table td {
    padding: 14px 16px;
    border-top: 1px solid var(--lp-line);
    border-left: 1px solid var(--lp-line);
    line-height: 1.55;
    text-align: left;
    vertical-align: top;
}

.lp-resolution-table th:first-child,
.lp-resolution-table td:first-child {
    border-left: 0;
}

.lp-resolution-table thead th {
    border-top: 0;
    background: var(--lp-navy);
    color: var(--lp-white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-resolution-table thead th:nth-child(1),
.lp-resolution-table tbody th {
    width: 30%;
}

.lp-resolution-table thead th:nth-child(2),
.lp-resolution-table tbody td:first-of-type {
    width: 33%;
}

.lp-resolution-table thead th:nth-child(3),
.lp-resolution-table tbody td:last-child {
    width: 37%;
}

.lp-resolution-table tbody th {
    color: var(--lp-navy);
    font-weight: 700;
}

.lp-resolution-table tbody td:last-child {
    background: var(--lp-light-blue);
}

.lp-team-illustration {
    margin: 48px 0 0;
}

.lp-team-illustration img {
    max-height: 360px;
    margin-inline: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lp-cost-note {
    background: var(--lp-warm-gray);
}

.lp-cost-note h3 + p {
    margin-top: 14px;
}

.lp-cta-grid {
    display: grid;
    gap: 40px;
    align-items: start;
}

.lp-small {
    color: var(--lp-gray);
    font-size: 0.94rem;
}

.lp-direct a {
    color: var(--lp-teal);
    font-weight: 700;
}

.lp-line-card {
    display: grid;
    grid-template-columns: 142px auto;
    align-items: center;
    justify-content: center;
    gap: 26px;
    max-width: 520px;
    margin-top: 18px;
    padding: 18px 22px;
    border-radius: 4px;
    background: #20bf00;
    color: var(--lp-white);
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(25, 136, 0, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-line-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(25, 136, 0, 0.22);
}

.lp-line-qr {
    display: block;
    width: 142px;
    padding: 6px;
    border-radius: 3px;
    background: var(--lp-white);
}

.lp-line-qr img {
    width: 100%;
    display: block;
}

.lp-line-info {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 14px;
    min-width: 0;
}

.lp-line-service {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 10px;
    align-items: center;
    width: fit-content;
    color: var(--lp-white);
    line-height: 1.05;
    text-transform: uppercase;
}

.lp-line-service img {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--lp-white);
    padding: 5px;
}

.lp-line-service span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.lp-line-service strong {
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.lp-line-id {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--lp-white);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 8px 12px;
}

.lp-cta-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;
    max-width: 520px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(23, 49, 72, 0.18);
}

.lp-cta-contact a {
    color: var(--lp-navy);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.lp-support-note {
    max-width: 520px;
    margin-top: 10px;
    color: var(--lp-gray);
    font-size: 0.84rem;
    line-height: 1.55;
}

.lp-form {
    display: grid;
    gap: 18px;
    border: 1px solid var(--lp-line);
    background: rgba(255, 255, 255, 0.58);
    padding: 24px;
}

.lp-form label {
    display: grid;
    gap: 8px;
}

.lp-form span {
    color: var(--lp-charcoal);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.lp-form em {
    color: var(--lp-orange);
    font-style: normal;
}

.lp-form input,
.lp-form textarea {
    width: 100%;
    border: 1px solid var(--lp-line);
    border-radius: 2px;
    background: var(--lp-white);
    color: var(--lp-charcoal);
    font: 400 1rem/1.5 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 14px 16px;
}

.lp-form input:focus,
.lp-form textarea:focus {
    border-color: var(--lp-teal);
    outline: 2px solid rgba(15, 110, 86, 0.16);
}

.lp-form small,
.lp-form-status {
    color: var(--lp-orange);
    font-size: 0.86rem;
    line-height: 1.45;
}

.lp-form-status.is-success {
    border-left: 3px solid var(--lp-teal);
    background: var(--lp-light-blue);
    color: var(--lp-navy);
    padding: 14px 16px;
}

.lp-form .lp-button {
    width: 100%;
    margin-top: 4px;
}

.lp-form-note {
    color: var(--lp-gray);
    font-size: 0.82rem;
    line-height: 1.55;
}

.lp-closing {
    padding: 96px 0;
}

.lp-closing blockquote {
    margin: 0;
    color: var(--lp-white);
    font-size: clamp(2rem, 10vw, 3.35rem);
}

.lp-closing p {
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
    font-weight: 600;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 520px) {
    .lp-line-card {
        grid-template-columns: 116px auto;
        gap: 16px;
        padding: 16px;
    }

    .lp-line-qr {
        width: 116px;
    }

    .lp-line-service {
        grid-template-columns: 30px 1fr;
        gap: 0 8px;
    }

    .lp-line-service img {
        width: 30px;
        height: 30px;
    }

    .lp-line-service strong {
        font-size: 1.12rem;
    }

    .lp-line-id {
        font-size: 0.82rem;
        padding: 7px 10px;
    }

    .lp-cta-contact {
        gap: 8px;
    }
}

@media (min-width: 768px) {
    body.lp-template {
        font-size: 17px;
    }

    .lp-shell {
        width: min(100% - 80px, 1120px);
    }

    .lp-section {
        padding: 112px 0;
    }

    .lp-hero {
        padding: 92px 0 86px;
    }

    .lp-hero h1 {
        font-size: clamp(5.3rem, 8.4vw, 8.8rem);
    }

    .lp-lead {
        font-size: 1.08rem;
    }

    .lp-stat-grid,
    .lp-compare-cards,
    .lp-phase-grid,
    .lp-cta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-phase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lp-problem {
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: center;
        gap: 34px;
        padding: 34px 34px 34px 30px;
    }

    .lp-info-table div {
        grid-template-columns: 0.42fr 0.58fr;
        gap: 26px;
    }

    .lp-form .lp-button {
        width: auto;
        justify-self: start;
    }
}

@media (min-width: 1024px) {
    .lp-hero-grid {
        display: block;
    }

    .lp-hero-visual {
        position: absolute;
        right: 0;
        bottom: -18px;
        z-index: -1;
        width: min(42vw, 560px);
        opacity: 0.52;
    }

    .lp-hero-visual img {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .lp-button,
    .reveal {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    @page {
        size: A4;
        margin: 20mm 18mm;
    }

    body.lp-template {
        background: #fff;
        color: #000;
        font-size: 11pt;
        line-height: 1.55;
    }

    .lp-panel-dark,
    .lp-section,
    .lp-form,
    .lp-cta,
    .lp-closing {
        background: #fff !important;
        color: #000 !important;
    }

    .lp-button,
    .lp-form,
    .lp-hero-visual,
    .lp-inline-illustration,
    .lp-team-illustration,
    .lp-hero-mark {
        display: none !important;
    }

    .lp-section {
        padding: 18mm 0;
        page-break-inside: avoid;
    }

    .lp-section h2,
    .lp-section h3,
    .lp-section blockquote,
    .lp-key h2,
    .lp-closing blockquote {
        color: #000 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
