/* css/style.css */

/* ─── Variables ────────────────────────────────────────────────────────────── */
:root {
    --brand: #5b21b6; /* violet-800 */
    --brand-mid: #7c3aed; /* violet-600 */
    --brand-light: #ede9fe; /* violet-100 */
    --accent: #f97316; /* orange-500 — CTAs */
    --accent-hover: #ea580c; /* orange-600 */
    --dark: #1e1b4b; /* indigo-950 — header/hero */
    --dark-mid: #312e81; /* indigo-800 */
    --text: #1e1b4b;
    --text-muted: #6b7280;
    --white: #ffffff;
    --surface: #ffffff;
    --bg: #f5f3ff; /* violet-50 — page background */
    --border: #e5e7eb;
    --border-focus: #7c3aed;

    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg:
        0 12px 40px rgba(30, 27, 75, 0.14), 0 4px 12px rgba(30, 27, 75, 0.06);
    --shadow-accent: 0 4px 16px rgba(249, 115, 22, 0.35);
}

/* ─── Reset ────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

/* ─── Layout ─────────────────────────────────────────────────────────────────── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Site Header ────────────────────────────────────────────────────────────── */
.site-header {
    background: var(--dark);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(30, 27, 75, 0.35);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.site-logo span {
    color: var(--brand-mid);
}
.header-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.page-intro {
    background: linear-gradient(
        135deg,
        var(--dark) 0%,
        var(--dark-mid) 60%,
        var(--brand) 100%
    );
    color: var(--white);
    padding: 64px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* subtle mesh pattern */
.page-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(124, 58, 237, 0.25) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(249, 115, 22, 0.12) 0%,
            transparent 40%
        );
    pointer-events: none;
}
.page-intro .container {
    position: relative;
}
.page-intro h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
}
.page-intro p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.price-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 10px 24px;
    border-radius: 999px;
    box-shadow: var(--shadow-accent);
    letter-spacing: -0.01em;
}

/* ─── Main Content ───────────────────────────────────────────────────────────── */
.main-content {
    padding: 48px 0 80px;
}
.page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

/* ─── Form Sections ──────────────────────────────────────────────────────────── */
.form-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.form-section:last-of-type {
    margin-bottom: 0;
}

.section-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-num {
    background: var(--brand-mid);
    color: var(--white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Field groupings */
.field-group {
    margin-bottom: 20px;
}
.field-group:last-child {
    margin-bottom: 0;
}

.field-row {
    display: grid;
    gap: 10px;
}
.field-row.col-2 {
    grid-template-columns: 1fr 1fr;
}
.field-row.col-3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.field-row.name {
    grid-template-columns: 5fr 4fr 5fr;
}
.field-row.town-post {
    grid-template-columns: 1fr auto;
}
.field-row.town-post input:last-child {
    width: 110px;
}

.field-group-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--brand-mid);
    margin-bottom: 10px;
    display: block;
}

.field-label {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 5px;
}
.field-label .opt {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.76rem;
    margin-left: 3px;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="date"],
select {
    width: 100%;
    padding: 10px 13px;
    font-size: 0.9rem;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition:
        border-color 0.15s,
        box-shadow 0.15s,
        background 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
input[type="text"]:hover,
input[type="email"]:hover,
input[type="date"]:hover,
select:hover {
    border-color: #c4b5fd; /* violet-300 */
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
    background: #fdfcff;
}
input::placeholder {
    color: #c4bcd0;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    padding-right: 32px;
    cursor: pointer;
}

/* Witness blocks */
.witness-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: var(--brand-light);
    border-left: 3px solid var(--brand-mid);
    padding: 10px 14px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 20px;
    line-height: 1.55;
}
.witness-note strong {
    color: var(--brand);
}

.witness-block {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 12px;
    background: #fdfcff;
}
.witness-block:last-child {
    margin-bottom: 0;
}
.witness-block-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-mid);
    margin-bottom: 14px;
}

/* ─── Unlock Section ─────────────────────────────────────────────────────────── */
.unlock-section {
    display: none;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 16px;
    border: 2px solid var(--accent);
    box-shadow:
        0 0 0 4px rgba(249, 115, 22, 0.08),
        var(--shadow-md);
}
.unlock-section.visible {
    display: block;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 20px;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}
.trust-badge svg {
    color: var(--brand-mid);
    flex-shrink: 0;
}

.btn-unlock {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    letter-spacing: -0.01em;
    box-shadow: var(--shadow-accent);
    transition:
        background 0.15s,
        transform 0.1s,
        box-shadow 0.15s;
}
.btn-unlock:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}
.btn-unlock:active {
    transform: translateY(0);
}

.legal-note {
    margin-top: 10px;
    font-size: 0.76rem;
    color: #c4bcd0;
    text-align: center;
    line-height: 1.5;
}

/* ─── Preview Column ─────────────────────────────────────────────────────────── */
.preview-column {
    position: sticky;
    top: 78px;
}

.preview-panel {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.preview-header {
    background: linear-gradient(90deg, var(--dark) 0%, var(--dark-mid) 100%);
    color: var(--white);
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.preview-dot {
    width: 7px;
    height: 7px;
    background: #a78bfa; /* violet-400 */
    border-radius: 50%;
    animation: pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Sample toggle button */
.btn-sample {
    margin-left: auto;
    padding: 5px 13px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        background 0.15s,
        border-color 0.15s,
        color 0.15s;
}
.btn-sample:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.btn-sample.active {
    background: var(--brand-mid);
    border-color: var(--brand-mid);
    color: var(--white);
}

/* Download sample PDF button */
.btn-sample-pdf {
    margin-left: 8px;
    padding: 5px 13px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        background 0.15s,
        border-color 0.15s,
        color 0.15s;
}
.btn-sample-pdf:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

/* Sample mode indicator */
.sample-banner {
    display: none;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 12px;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #ddd6fe;
}
.sample-banner.visible {
    display: block;
}

/* Document wrapper */
.preview-doc-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 600px;
}

/* The rendered deed poll document — uses Lora for the authentic legal feel */
.preview-document {
    font-family: "Lora", Georgia, serif;
    font-size: 0.82rem;
    line-height: 1.75;
    color: #1a1a1a;
    padding: 28px 26px 40px;
    background: var(--white);
    min-height: 480px;
}
.preview-document .doc-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}
.preview-document p {
    margin-bottom: 12px;
    text-align: justify;
    hyphens: auto;
}
.preview-document .placeholder-text {
    color: #c4b5fd;
    font-style: italic;
}

/* Signatures */
.doc-sigs {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #d1d5db;
}
.sig-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.sig-col {
    font-size: 0.72rem;
    line-height: 1.4;
}
.sig-line {
    border-bottom: 1px solid #555;
    height: 26px;
    margin-bottom: 5px;
}
.sig-name {
    font-weight: 700;
}
.sig-address {
    color: var(--text-muted);
    font-size: 0.68rem;
}
.sig-caption {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.68rem;
    margin-top: 2px;
}

/* Blur overlay */
.preview-blur-mask {
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: rgba(255, 255, 255, 0.15);
    z-index: 2;
}
.preview-blur-mask::after {
    content: "PREVIEW ONLY";
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-28deg);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(91, 33, 182, 0.09);
    white-space: nowrap;
    letter-spacing: 0.15em;
    pointer-events: none;
    user-select: none;
}

/* Gradient banner at blur boundary */
.preview-unlock-banner {
    position: absolute;
    top: 28%;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    min-height: 120px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.92) 35%,
        var(--white) 100%
    );
}
.preview-unlock-banner p {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: auto;
    margin-bottom: 4px;
    text-align: center;
    letter-spacing: -0.01em;
}
.preview-unlock-banner .banner-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

/* ─── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq-section {
    background: var(--white);
    padding: 80px 0;
    border-top: 1px solid var(--border);
}
.faq-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dark);
    text-align: center;
    margin-bottom: 48px;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
    max-width: 860px;
    margin: 0 auto;
}
.faq-item h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.35;
}
.faq-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.4);
    padding: 36px 0;
    font-size: 0.82rem;
    line-height: 1.7;
    text-align: center;
}
.site-footer p + p {
    margin-top: 6px;
}

/* ─── Success Page ────────────────────────────────────────────────────────────── */
.success-page {
    background: var(--bg);
    min-height: 100vh;
}

.success-hero {
    background: linear-gradient(
        135deg,
        var(--dark) 0%,
        var(--dark-mid) 60%,
        var(--brand) 100%
    );
    color: var(--white);
    text-align: center;
    padding: 60px 24px 68px;
}
.success-hero .tick-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-accent);
}
.success-hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 12px;
}
.success-hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 460px;
    margin: 0 auto;
}

.success-main {
    padding: 48px 0 72px;
}
.success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.success-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.success-card h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.next-steps ol {
    padding-left: 0;
    list-style: none;
    counter-reset: steps;
}
.next-steps li {
    counter-increment: steps;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.55;
}
.next-steps li::before {
    content: counter(steps);
    background: var(--brand-mid);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition:
        background 0.15s,
        transform 0.1s;
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-block;
    padding: 11px 22px;
    background: transparent;
    color: var(--brand-mid);
    border: 2px solid var(--brand-mid);
    border-radius: var(--radius);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition:
        background 0.15s,
        color 0.15s;
}
.btn-secondary:hover {
    background: var(--brand-mid);
    color: var(--white);
}

.btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.session-expired {
    text-align: center;
    padding: 80px 24px;
}
.session-expired h2 {
    color: var(--dark);
    margin-bottom: 12px;
}
.session-expired p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .page-grid {
        grid-template-columns: 1fr;
    }
    .preview-column {
        position: static;
    }
    .success-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .field-row.col-3 {
        grid-template-columns: 1fr;
    }
    .field-row.name {
        grid-template-columns: 1fr 1fr;
    }
    .field-row.town-post {
        grid-template-columns: 1fr;
    }
    .field-row.town-post input:last-child {
        width: 100%;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .form-section {
        padding: 24px 18px;
    }
    .unlock-section {
        padding: 20px 18px;
    }
    .site-header .header-tagline {
        display: none;
    }
    .sig-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .field-row.name {
        grid-template-columns: 1fr;
    }
    .field-row.col-2 {
        grid-template-columns: 1fr;
    }
}

/* ─── Landing pages ──────────────────────────────────────────────────────────── */

/* Breadcrumb */
.lp-breadcrumb {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.lp-breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}
.lp-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* "Jump to FAQ" button in hero */
.lp-faq-link {
    display: inline-block;
    margin-top: 20px;
    padding: 13px 28px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    color: var(--white);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition:
        background 0.15s,
        border-color 0.15s,
        transform 0.1s;
}
.lp-faq-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-1px);
}
.lp-faq-link:active {
    transform: translateY(0);
}

/* Intro section — full-width, white bg, readable prose */
.lp-intro-section {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 52px 0;
}
.lp-intro-body {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
}
.lp-intro-body p {
    margin-bottom: 20px;
}
.lp-intro-body p:last-child {
    margin-bottom: 0;
}
.lp-intro-body h2,
.lp-intro-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 28px 0 12px;
}
.lp-intro-body ul,
.lp-intro-body ol {
    padding-left: 22px;
    margin-bottom: 16px;
}
.lp-intro-body li {
    margin-bottom: 8px;
}
.lp-intro-body a {
    color: var(--brand-mid);
    text-decoration: underline;
    text-decoration-color: rgba(124, 58, 237, 0.35);
    text-underline-offset: 2px;
}
.lp-intro-body a:hover {
    color: var(--brand);
}

/* Price table (inside intro section) */
.lp-price-wrap {
    max-width: 760px;
    margin: 40px auto 0;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}
.lp-price-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-bottom: 12px;
}
.price-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--bg);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid var(--border);
}
.price-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.price-table tr:last-child td {
    border-bottom: none;
}
.price-table-highlight td {
    background: var(--brand-light);
    color: var(--brand);
    font-weight: 600;
}
.price-table-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Related pages section */
.lp-related-section {
    padding: 64px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.lp-related-heading {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.lp-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.lp-related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition:
        border-color 0.15s,
        background 0.15s,
        transform 0.12s,
        box-shadow 0.15s;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    gap: 14px;
}
.lp-related-card:hover {
    border-color: var(--brand-mid);
    background: var(--brand-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.lp-related-card::after {
    content: "→";
    font-size: 1.1rem;
    color: var(--brand-mid);
    flex-shrink: 0;
    opacity: 0.45;
    transition:
        opacity 0.15s,
        transform 0.12s;
}
.lp-related-card:hover::after {
    opacity: 1;
    transform: translateX(4px);
}
.lp-related-text {
    min-width: 0;
}
.lp-related-title {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.35;
}
.lp-related-tagline {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Responsive */
@media (max-width: 640px) {
    .lp-intro-section {
        padding: 36px 0;
    }
    .lp-related-section {
        padding: 44px 0;
    }
    .lp-related-grid {
        grid-template-columns: 1fr;
    }
}
