:root {
    /* Brand - Postapp */
    --primary: #E02F00;
    --primary-dark: #B82600;
    --primary-soft: #FFE8E1;

    --secondary: #FACC15;
    --secondary-soft: #FEF3C7;

    --data: #1D4ED8;
    --data-soft: #DBEAFE;

    /* Feedback */
    --success: #16A34A;
    --success-soft: #DCFCE7;

    --warning: #D97706;
    --warning-soft: #FFEDD5;

    --danger: #EF4444;
    --danger-soft: #FEE2E2;

    /* Neutral */
    --bg: #F7F7F7;
    --bg-soft: #FCFCFD;
    --card: #FFFFFF;
    --card-warm: #FFF7E8;

    --border: #E4E4E7;
    --border-soft: #F0F1F3;

    --text: #0F0F0F;
    --muted: #52525B;
    --muted-2: #71717A;

    --white: #FFFFFF;
    --black: #000000;

    /* Shape */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    /* Layout */
    --container: 1120px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 15, 15, 0.06);
    --shadow-lg: 0 18px 44px rgba(15, 15, 15, 0.08);
    --shadow-red: 0 18px 34px rgba(224, 47, 0, 0.22);
}

/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Roboto, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.03em;
    color: var(--white);
}

.logo-image {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

/* BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(224, 47, 0, 0.16);
    border-radius: var(--radius-pill);
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 14px;
    font-weight: 700;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(224, 47, 0, 0.12);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.18s ease;
    border: 0;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(224, 47, 0, 0.18);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(224, 47, 0, 0.22);
}

.btn-secondary {
    background: var(--card);
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--primary-soft);
    border-color: rgba(224, 47, 0, 0.16);
    transform: translateY(-1px);
}

/* SECTIONS */
.section {
    padding: 84px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-eyebrow {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
    font-size: 13px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: var(--text);
}

.section-description {
    color: var(--muted);
    font-size: 18px;
    max-width: 680px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--primary);
    border-bottom: 0;
}

.nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header .logo-image {
    width: 36px;
    height: 36px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.22);
}

.nav-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
}

.nav-actions .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: none;
}

.nav-actions .btn-primary:hover {
    background: #FFF4EF;
    color: var(--primary-dark);
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 0;
    background:
        linear-gradient(180deg, rgba(224, 47, 0, 0.08), rgba(247, 247, 247, 0) 45%),
        radial-gradient(circle at 88% 10%, rgba(224, 47, 0, 0.12), transparent 30%),
        radial-gradient(circle at 10% 20%, rgba(250, 204, 21, 0.18), transparent 28%),
        var(--bg);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: end;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    margin: 20px 0;
    color: var(--text);
}

.hero p {
    color: var(--muted);
    font-size: 20px;
    max-width: 620px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-note {
    color: var(--muted-2);
    font-size: 14px;
    font-weight: 500;
}

.hero-image-card {
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: end;
    height: 100%;
}

.hero-app-image {
    width: min(100%, 540px);
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 30px 64px rgba(15, 15, 15, 0.18));
    transform: rotate(-1.5deg);
    transform-origin: bottom center;
    margin-bottom: -8px;
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: 0.18s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: rgba(224, 47, 0, 0.1);
    color: var(--primary);
    margin-bottom: 16px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    color: var(--text);
}

.card p {
    color: var(--muted);
    font-size: 15px;
}

/* HOW IT WORKS */
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    counter-reset: steps;
}

.step {
    position: relative;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    counter-increment: steps;
    box-shadow: var(--shadow-sm);
}

.step::before {
    content: counter(steps);
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.step h3 {
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--text);
}

.step p {
    color: var(--muted);
    font-size: 15px;
}

/* COMPARISON */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.comparison-box {
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.comparison-box.highlight {
    background: linear-gradient(180deg, var(--primary-soft), var(--card));
    border-color: #FFD1C7;
    box-shadow: var(--shadow-md);
}

.comparison-box h3 {
    font-size: 24px;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    color: var(--text);
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list li {
    list-style: none;
    color: var(--muted);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: 900;
}

.comparison-box:not(.highlight) .check-list li::before {
    content: "•";
    color: var(--muted-2);
}

/* PLANS */
.plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.plan {
    position: relative;
    padding: 30px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.plan.featured {
    border-color: #FFD1C7;
    background: linear-gradient(180deg, var(--primary-soft), var(--card) 58%);
    box-shadow: var(--shadow-lg);
}

.plan-tag {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid #FFD1C7;
    border-radius: var(--radius-pill);
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.plan h3 {
    font-size: 28px;
    margin-bottom: 8px;
    letter-spacing: -0.04em;
    color: var(--text);
}

.plan p {
    color: var(--muted);
    margin-bottom: 20px;
}

.plan ul {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.plan li {
    list-style: none;
    color: var(--muted);
    display: flex;
    gap: 10px;
}

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

/* HELP & SUPPORT */
.help-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.help-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.help-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--text);
}

.help-card p {
    color: var(--muted);
    font-size: 14px;
}

/* FAQ */
.faq {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

details {
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}

summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--text);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    color: var(--primary);
    font-weight: 900;
    font-size: 20px;
}

details[open] summary::after {
    content: "−";
}

details p {
    color: var(--muted);
    margin-top: 12px;
    max-width: 740px;
}

/* LEAD CAPTURE */
.lead-section {
    padding: 86px 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(224, 47, 0, 0.10), transparent 34%),
        radial-gradient(circle at 90% 30%, rgba(250, 204, 21, 0.18), transparent 32%),
        var(--bg-soft);
    border-top: 1px solid var(--border-soft);
}

.lead-box {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: center;
    padding: 42px;
    border-radius: var(--radius-xl);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.lead-box h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
    color: var(--text);
}

.lead-box p {
    color: var(--muted);
    font-size: 18px;
}

/* FORM */
#leadForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field {
    width: 100%;
    height: 52px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    padding: 0 16px;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field::placeholder {
    color: var(--muted-2);
}

.field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(224, 47, 0, 0.10);
}

select.field {
    cursor: pointer;
}

.hidden-field {
    display: none;
}

#submitButton {
    align-self: stretch;
    height: 54px;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.form-message {
    min-height: 22px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.form-message.success {
    color: var(--success);
}

.form-message.error {
    color: var(--danger);
}

/* SUPPORT LAYOUT */
.support-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.support-sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
}

.support-content {
    min-width: 0;
    align-self: start;
}

.support-content > *:first-child {
    margin-top: 0;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border);
    padding: 34px 0;
    color: var(--muted);
    background: var(--card);
}

.footer .logo {
    color: var(--text);
}

.footer .logo-image {
    width: 34px;
    height: 34px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    font-weight: 600;
    flex-wrap: wrap;
}

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

.footer-copy {
    font-size: 14px;
    color: var(--muted-2);
}

/* MEDIA QUERIES */
@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 56px 0 40px;
    }

    .hero-grid,
    .lead-box {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        align-items: start;
    }

    .hero-image-card {
        max-width: 520px;
        height: auto;
        margin: 24px auto 0;
        align-items: center;
    }

    .hero-app-image {
        width: min(100%, 500px);
        margin-bottom: 0;
        transform: rotate(-1deg);
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps,
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison,
    .plans {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 960px) {
    .support-layout {
        grid-template-columns: 1fr;
    }

    .support-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .section,
    .lead-section {
        padding: 64px 0;
    }

    .hero {
        padding: 48px 0 36px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .hero p {
        font-size: 18px;
    }

    .nav {
        height: 68px;
        gap: 12px;
    }

    .logo {
        font-size: 19px;
    }

    .site-header .logo-image {
        width: 34px;
        height: 34px;
    }

    .nav-actions .btn-secondary {
        display: none;
    }

    .nav-actions .btn-primary {
        min-height: 42px;
        padding: 0 14px;
        font-size: 13px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-image-card {
        margin-top: 12px;
    }

    .hero-app-image {
        width: min(100%, 390px);
        transform: rotate(-0.5deg);
    }

    .cards-grid,
    .steps,
    .help-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .lead-box {
        padding: 24px;
    }
}