/* ===================================================================
   Marsho Theme — Landing Page Design
   Maps the landingpage-example visual design onto the actual
   frontend HTML structure (lp-row, layout-column, markdown-body, etc.)
   =================================================================== */

/* Font Faces — Gill Sans (10 weights/styles) + Gill Sans Condensed (2 weights) */
@font-face {
    font-family: 'Gill Sans';
    src: url('../fonts/Gill%20Sans.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Italic';
    src: url('../fonts/Gill%20Sans%20Italic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Bold';
    src: url('../fonts/Gill%20Sans%20Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Bold Italic';
    src: url('../fonts/Gill%20Sans%20Bold%20Italic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Light';
    src: url('../fonts/Gill%20Sans%20Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Light Italic';
    src: url('../fonts/Gill%20Sans%20Light%20Italic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Medium';
    src: url('../fonts/Gill%20Sans%20Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Medium Italic';
    src: url('../fonts/Gill%20Sans%20Medium%20Italic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Heavy';
    src: url('../fonts/Gill%20Sans%20Heavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Heavy Italic';
    src: url('../fonts/Gill%20Sans%20Heavy%20Italic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Condensed';
    src: url('../fonts/GillSans%20Condensed.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Condensed Bold';
    src: url('../fonts/GillSans%20Condensed%20Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Font Faces — Lato (8 weights/styles) */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato Italic';
    src: url('../fonts/Lato-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato Bold';
    src: url('../fonts/Lato-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato Bold Italic';
    src: url('../fonts/Lato-BoldItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato Medium';
    src: url('../fonts/Lato-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato Medium Italic';
    src: url('../fonts/Lato-BoldItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato SemiBold';
    src: url('../fonts/Lato-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato SemiBold Italic';
    src: url('../fonts/Lato-BoldItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --red: #e53935;
    --red-soft: rgba(229, 57, 53, 0.05);
    --black: #0f172a;
    --text: #334155;
    --white: #ffffff;
    --gray-border: #e2e8f0;
    --font: 'Inter', sans-serif;
}

/* Headings — Gill Sans Bold Italic */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Gill Sans Bold', 'Gill Sans', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    font-feature-settings: "kern" 1;
}

/* Default h1 (outside .hero-bg / landing-page hero) — matches .info-side h1 from early-access */
h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

/* Reset inside .hero-bg — background div contains no visible headings */
.hero-bg h1 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin-bottom: inherit;
}

/* Body text — Lato */
p, li, td, th, blockquote, figcaption, dd, dt,
b, strong, i, em, u, s, del, ins, sub, sup,
ul, ol, dl,
input, textarea, select, button {
    font-family: 'Lato', Georgia, 'Times New Roman', serif;
}

b, strong {
    font-family: 'Lato Bold', 'Lato', Georgia, serif;
}

i, em {
    font-family: 'Lato Italic', 'Lato', Georgia, serif;
}

b i, strong i, b em, strong em,
i b, i strong, em b, em strong {
    font-family: 'Lato Bold Italic', 'Lato', Georgia, serif;
}

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

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================================================
   ANIMATED BACKGROUND (for landing pages)
   =================================================================== */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 80% 20%, var(--red-soft) 0%, transparent 40%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image:
        linear-gradient(var(--gray-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-border) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black, transparent);
    animation: moveGrid 60s linear infinite;
}

@keyframes moveGrid {
    from { background-position: 0 0; }
    to { background-position: 0 1000px; }
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.site-navigation,
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    border-bottom: 1px solid var(--gray-border);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-navigation .container,
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 900;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
    text-decoration: none;
}

.logo img {
    height: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    margin-left: 24px;
    transition: color 0.2s;
}

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

/* ===================================================================
   LANDING PAGE — Row & Layout System
   =================================================================== */
.landing-page {
    /* Landing page wrapper */
}

/* --- Hero Row (first row, 1-column) --- */
.landing-page .lp-row:first-child {
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
}

/* Override hero h1 inside .info-side (early-access page) — prevents hero clamp from leaking */
.landing-page .lp-row:first-child .info-side h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.landing-page .lp-row:first-child .info-side h1 span {
    color: var(--red);
}

/* 2-column rows — match .split-layout alignment and override text-align: center */
.landing-page .lp-row:first-child .layout-2-column {
    text-align: left;
    align-items: center;
    padding: 80px 0;
}

.landing-page .lp-row:first-child .page-content {
    padding: 0;
}

.landing-page .lp-row:first-child h1 {
    font-size: clamp(40px, 7vw, 84px);
    font-weight: 900;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.landing-page .lp-row:first-child h1 span {
    color: var(--red);
}

/* Hero subtitle (h2 in first row) — looks like .hero p */
.landing-page .lp-row:first-child h2 {
    font-size: 20px;
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto 40px;
    color: var(--text);
    line-height: 1.6;
    border: none;
    padding: 0;
}

.landing-page .markdown-body .former-component .former-form {
    border: 0px;
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.landing-page .markdown-body .former-component .former-form .former-fields-wrap {
    width: 100%;
}

.landing-page .markdown-body .former-component .former-form .former-fields-wrap .cta-input-group {
    box-shadow: none;
    border: none;
}

.landing-page .markdown-body .former-component .former-form .former-fields-wrap .cta-input-group .former-submit-btn {
    width: 48%;
    background-color: var(--red);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--red-soft);
    color: var(--red);
    border-radius: 100px;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================================================
   WHY MARSHO SECTION (Row 2 — 2-column)
   =================================================================== */
.landing-page .lp-row:nth-child(2) .layout-container {
    padding: 80px 0;
    align-items: center;
}

.landing-page .lp-row:nth-child(2) h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 24px;
    border: none;
    padding: 0;
}

.landing-page .lp-row:nth-child(2) .markdown-body p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Check-list — style markdown <ul> in this row */
.landing-page .lp-row:nth-child(2) .markdown-body ul {
    list-style: none;
    padding-left: 0;
}

.landing-page .lp-row:nth-child(2) .markdown-body ul li {
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    font-weight: 600;
    color: var(--black);
    font-size: 18px;
}

.landing-page .lp-row:nth-child(2) .markdown-body ul li::before {
    content: '\2713';
    color: var(--red);
    font-weight: 900;
    flex-shrink: 0;
}

/* Code workflow box (right column) — already styled via inline HTML */

/* ===================================================================
   EVERYTHING YOU NEED (Row 3 — section header + bento grid)
   =================================================================== */
.landing-page .lp-row:nth-child(3) {
    padding: 40px 0 0;
}

.landing-page .lp-row:nth-child(3) h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 60px;
    border: none;
    padding: 0;
}

/* Bento Grid (inline HTML in markdown body) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 100px;
}

.bento-card {
    background: #f8fafc;
    border: 1px solid var(--gray-border);
    padding: 40px;
    border-radius: 24px;
    transition: 0.3s;
}

.bento-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--red);
}

.bento-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--black);
}

.bento-card p {
    color: var(--text);
    line-height: 1.7;
}

.bento-card.wide {
    grid-column: span 2;
}

.icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--red);
}

/* ===================================================================
   WE HANDLE THE BORING STUFF (Row 4 — hosted banner)
   =================================================================== */
.landing-page .lp-row:nth-child(4) {
    padding: 100px 0 0;
}

.landing-page .lp-row:nth-child(4) .layout-container {
    background: var(--black);
    color: white;
    border-radius: 32px;
    padding: 60px;
}

.landing-page .lp-row:nth-child(4) .layout-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.landing-page .lp-row:nth-child(4) h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    border: none;
    padding: 0;
}

.landing-page .lp-row:nth-child(4) .markdown-body p {
    color: #94a3b8;
    font-size: 18px;
    line-height: 1.7;
}

/* ===================================================================
   CTA Box & Buttons
   =================================================================== */
.cta-box {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-border);
}

.cta-box input {
    flex: 1;
    border: none;
    padding: 0 16px;
    outline: none;
    font-size: 16px;
    font-family: var(--font);
}

.btn-red,
a.btn-red {
    background: var(--red);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.btn-red:hover,
a.btn-red:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 57, 53, 0.2);
}

/* ===================================================================
   FOOTER
   =================================================================== */
footer {
    padding: 40px 0 40px;
    border-top: 1px solid var(--gray-border);
    margin-top: 100px;
    background: var(--white);
}

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

.copyright {
    font-size: 14px;
    color: #94a3b8;
}

footer .logo {
    font-weight: 900;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
}

footer .logo img {
    height: 28px;
}

/* ===================================================================
   SPLIT LAYOUT (early-access two-column)
   =================================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    padding: 80px 0;
    align-items: center;
}

/* Left Column: Value Prop */
.info-side {
    text-align: left;
}

.info-side .badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--red-soft);
    color: var(--red);
    border-radius: 100px;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-side h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.info-side h1 span {
    color: var(--red);
}

.info-side p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text);
}

.perks-list {
    list-style: none;
}

.perks-list li {
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.perks-list .icon-wrap {
    background: var(--red-soft);
    color: var(--red);
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.perks-list h4 {
    color: var(--black);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.perks-list p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 0;
}

/* Right Column: Intake Form Card */
.form-side,
#gea_form,
.form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-border);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.form-group label span {
    font-weight: 400;
    color: #94a3b8;
    font-size: 13px;
}

.input-style {
    width: 100%;
    border: 1px solid var(--gray-border);
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    color: var(--black);
    outline: none;
    transition: 0.2s;
    background: #f8fafc;
}

.input-style:focus {
    background: var(--white);
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1);
}

select.input-style {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

/* ===================================================================
   GEA FORM — bare element fallbacks (live form on marsho.it)
   Targets raw input/select/button inside #gea_form that lack
   .input-style / .btn-red / .form-group classes.
   =================================================================== */
#gea_form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    font-family: 'Lato Bold', 'Lato', Georgia, serif;
}

#gea_form input:not([type="submit"]),
#gea_form input[type="email"],
#gea_form input[type="text"],
#gea_form select {
    width: 100%;
    border: 1px solid var(--gray-border);
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    color: var(--black);
    outline: none;
    transition: 0.2s;
    background: #f8fafc;
    margin-bottom: 20px;
    font-family: 'Lato', Georgia, 'Times New Roman', serif;
}

#gea_form input:not([type="submit"]):focus,
#gea_form input[type="email"]:focus,
#gea_form input[type="text"]:focus,
#gea_form select:focus {
    background: var(--white);
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1);
}

#gea_form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

#gea_form button[type="submit"] {
    display: block;
    width: 100%;
    background: var(--red);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    font-family: 'Lato Bold', 'Lato', Georgia, serif;
}

#gea_form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 57, 53, 0.2);
}

.secure-note {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===================================================================
   FORMER RESULT — form submission feedback
   =================================================================== */
.former-result {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    font-family: 'Lato Bold', 'Lato', Georgia, serif;
    animation: formerFadeIn 0.3s ease;
}

.former-result.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.former-result.error {
    background: var(--red-soft);
    border: 1px solid var(--red);
    color: var(--red);
}

@keyframes formerFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   CONTENT PAGES — Vision, Story, and reusable callout components
   =================================================================== */

/* Vision Hero */
.vision-hero {
    padding: 100px 0 60px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.vision-hero p.lead {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 0;
    font-weight: 500;
}

/* Story Section — long-form content pages */
.story-section {
    padding: 40px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.story-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--black);
    margin-top: 50px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    border: none;
    padding: 0;
}

.story-section h2:first-of-type {
    margin-top: 0;
}

.story-section p {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 24px;
}

/* Feature Callout Box */
.feature-callout {
    background: #f8fafc;
    border: 1px solid var(--gray-border);
    border-radius: 24px;
    padding: 40px;
    margin: 40px 0;
}

.feature-callout h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-callout h3 i {
    color: var(--red);
}

/* Sovereignty Grid */
.sovereignty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

@media (min-width: 550px) {
    .sovereignty-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sovereignty-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    color: var(--black);
    font-size: 14px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

/* Perks List — .text-content wrapper variant (complements the direct h4/p variant) */
.perks-list .text-content h4 {
    color: var(--black);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.perks-list .text-content p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 0;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 600px) {
    .trust-badges {
        grid-template-columns: 1fr;
    }
}

.trust-item {
    border-left: 3px solid var(--red);
    padding-left: 16px;
}

.trust-item h4 {
    color: var(--black);
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 16px;
}

.trust-item p {
    font-size: 15px !important;
    margin-bottom: 0 !important;
    color: var(--text);
}

/* Memo / Highlight Box */
.memo-box {
    background: var(--red-soft);
    border-left: 4px solid var(--red);
    padding: 32px;
    border-radius: 0 16px 16px 0;
    margin: 45px 0;
}

.memo-box h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 12px;
}

/* Generic Hosted Banner */
.hosted-banner {
    background: var(--black);
    color: white;
    border-radius: 32px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
}

.hosted-banner h2,
h2.hosted-banner-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    border: none;
    padding: 0;
}

.hosted-banner p {
    color: #94a3b8;
    font-size: 18px;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card.wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .site-navigation {
        height: auto;
        min-height: 60px;
    }

    /* Hero row */
    .landing-page .lp-row:first-child {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .landing-page .lp-row:first-child h1 {
        font-size: clamp(32px, 10vw, 52px);
    }

    .landing-page .lp-row:first-child h2 {
        font-size: 17px;
    }

    /* Why Marsho */
    .landing-page .lp-row:nth-child(2) .layout-container {
        padding: 60px 0;
    }

    .landing-page .lp-row:nth-child(2) h2 {
        font-size: 32px;
    }

    /* Bento grid */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.wide {
        grid-column: span 1;
    }

    /* Hosted banner */
    .landing-page .lp-row:nth-child(4) .layout-container {
        padding: 40px 30px;
        border-radius: 0;
    }

    .landing-page .lp-row:nth-child(4) h2 {
        font-size: 26px;
    }

    /* Generic hosted banner collapses to column */
    .hosted-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 24px;
        border-radius: 0;
    }

    .hosted-banner .btn-red {
        width: 100%;
        text-align: center;
    }

    /* Footer */
    .footer-wrap {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Split layout collapses to single column */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .landing-page .lp-row:first-child {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .landing-page .lp-row:first-child h1 {
        font-size: 28px;
    }

    .bento-card {
        padding: 24px;
    }

    .landing-page .lp-row:nth-child(4) .layout-container {
        padding: 30px 20px;
        border-radius: 0;
    }
}

/* Comment form submit button — theme override */
#comment-form-container #submit-btn {
    background-color: #e53935;
    font-weight: 700;
}

#comment-form-container #submit-btn:hover {
    background-color: #c62828;
}
