/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent-color: #F2622E;
    --accent-hover: #d9531f;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background: #F5F2EB;
    --border: #e5e7eb;
    --success: #10b981;
    --error: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Visited links share the brand orange (same as the buttons).
   Exclude .btn so button labels keep their own text color. */
a:visited:not(.btn) { color: var(--accent-color); }

/* Main container */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: calc(100vh - 100px); /* Account for footer */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content {
    text-align: center;
}

/* Logo */
.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-top: 60px;
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
.headline {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 3.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.tm {
    font-weight: 400;
    font-size: 0.6em;
    vertical-align: super;
}

.subheadline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}


/* Form styles */
.email-form {
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    background-color: #ffffff;
    min-height: 44px; /* Touch-friendly minimum height */
    -webkit-appearance: none; /* Remove iOS default styling */
}

input[type="email"]:focus {
    border-color: var(--accent-color);
}

input[type="email"]::placeholder {
    color: var(--text-secondary);
}

button[type="submit"] {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: var(--accent-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.1s;
    white-space: nowrap;
    min-height: 44px; /* Touch-friendly minimum height */
    -webkit-appearance: none; /* Remove iOS default styling */
    outline: none;
}

button[type="submit"]:hover {
    background-color: var(--accent-hover);
}

button[type="submit"]:active {
    transform: scale(0.98);
}

button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Message styles */
.message {
    font-size: 0.875rem;
    padding: 0.75rem;
    border-radius: 6px;
    display: none;
}

.message.success {
    display: block;
    color: var(--success);
    background-color: rgba(16, 185, 129, 0.1);
}

.message.error {
    display: block;
    color: var(--error);
    background-color: rgba(239, 68, 68, 0.1);
}

/* Nostr link */
.nostr-link {
    margin-bottom: 1rem;
}

.nostr-link a {
    display: inline-block;
    color: white;
    background-color: #8b5cf6;
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 0.375rem 1.5rem;
    border-radius: 50px;
    transition: background-color 0.2s, transform 0.1s;
    font-weight: 500;
}

.nostr-link a:hover {
    background-color: #7c3aed;
    transform: scale(1.02);
}

/* Buy page */
.buy-card {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: left;
}

.buy-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
    max-width: 420px;
}

.buy-highlight {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.buy-highlight .icon {
    font-size: 28px;
    color: var(--accent-color);
    flex-shrink: 0;
    line-height: 1;
}

.buy-highlight span {
    font-size: 1rem;
    color: #03213F;
    line-height: 1.4;
}

.back-link {
    margin-bottom: 1rem;
}

.back-link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
}

.back-link a:hover {
    color: var(--accent-color);
}

@media (max-width: 480px) {
    .buy-card {
        padding: 1.5rem 1rem;
    }
}

/* Features section */
.features-container {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

/* Desktop tabs */
.features-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
}

.tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.625rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    width: 140px;
    outline: none;
}

.tab-button:hover {
    border-bottom-color: var(--accent-color);
    opacity: 0.7;
}

.tab-button.active {
    border-bottom-color: var(--accent-color);
}

.tab-button.active .tab-icon,
.tab-button.active span {
    color: var(--accent-color);
}

.tab-icon {
    font-size: 45px;
    color: #03213F;
}

.tab-button span {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #03213F;
}

.features-content {
    display: block;
    min-height: 150px;
}

.feature-panel {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    padding: 0.5rem 1rem;
    animation: fadeIn 0.3s ease-in;
    min-height: 150px;
}

.feature-panel.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile/Tablet grid view - hidden, using tabs everywhere */
.features {
    display: none !important;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.icon {
    font-size: 108px;
    color: #03213F;
    flex-shrink: 0;
}

.feature h3,
.feature-panel h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #03213F;
    margin: 0;
}

.feature p,
.feature-panel p {
    font-size: 1.25rem;
    color: #03213F;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

/* Footer */
.footer {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

/* Responsive design */
@media (max-width: 1024px) {
    .features-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    /* index feature tabs: all four on one row (buy's 3 detail tabs keep 3-up) */
    .features-bare .features-tabs {
        grid-template-columns: repeat(4, 1fr);
    }

    .tab-button {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    main {
        padding: 1rem 0.75rem;
    }

    .container {
        padding: 0 0.5rem;
        max-width: 500px;
    }

    .logo {
        max-width: 250px;
        margin-top: 40px;
        margin-bottom: 0.5rem;
    }

    .headline {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .subheadline {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .email-form {
        margin-bottom: 0.75rem;
    }

    .nostr-link {
        margin-bottom: 0.75rem;
    }

    .features-container {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .features-content {
        min-height: 100px;
    }

    .feature-panel {
        padding: 0.25rem 0.5rem;
        min-height: 100px;
    }

    .tab-icon {
        font-size: 28px;
    }

    .tab-button {
        gap: 0.5rem;
        padding: 0.375rem 0.5rem;
    }

    .tab-button span {
        font-size: 0.75rem;
    }

    .features-tabs {
        margin-top: 1rem;
    }

    .feature-panel p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .logo {
        max-width: 220px;
        margin-top: 30px;
    }

    .headline {
        font-size: 1.375rem;
        margin-bottom: 1.75rem;
    }

    .form-group {
        flex-direction: column;
    }

    button[type="submit"] {
        width: 100%;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0.75rem 0.5rem;
        min-height: calc(100vh - 60px);
    }

    .container {
        max-width: 100%;
    }

    .logo {
        max-width: 180px;
        margin-top: 20px;
        margin-bottom: 0.5rem;
    }

    .headline {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .subheadline {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }

    input[type="email"],
    button[type="submit"] {
        padding: 0.625rem 0.875rem;
        font-size: 1rem; /* ≥16px so iOS doesn't auto-zoom the field */
    }

    .features-container {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .features-content {
        min-height: 80px;
    }

    .feature-panel {
        padding: 0.125rem 0.25rem;
        min-height: 80px;
    }

    .tab-icon {
        font-size: 24px;
    }

    .tab-button {
        gap: 0.375rem;
        padding: 0.25rem 0.375rem;
    }

    .tab-button span {
        font-size: 0.75rem;
    }

    .features-tabs {
        margin-top: 0.75rem;
        gap: 0.5rem;
    }

    .feature-panel p {
        font-size: 1rem;
    }

    .footer {
        padding: 1rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   PRODUCT SITE — design-system extensions (appended)
   Everything below powers the full product-marketing pages. It reuses the
   existing tokens/components above and only adds new ones. Desktop-first,
   same 1024/768/640/480 breakpoints.
   ========================================================================== */

/* Additional design tokens (cascades over the top :root block) */
:root {
    --navy: #03213F;          /* was hardcoded everywhere; now tokenized */
    --ph-bg: #ece7dc;         /* branded gray-box placeholder fill */
    --card-bg: #ffffff;
    --muted: #f0ece3;         /* warm muted inset panel (matches calc.heatoshi.xyz) */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 3px rgba(3, 33, 63, 0.06);
    --shadow-md: 0 12px 34px rgba(3, 33, 63, 0.09);
    --maxw: 1200px;
    --nav-h: 68px;
}

/* --- Page shell override: long scrolling layout instead of centered hero --- */
main.page {
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    min-height: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    flex: 1 0 auto;
}

.container-wide {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section scaffolding --- */
.section { padding: 5rem 0; }
.section-alt { background-color: #ffffff; }
.section-navy { background-color: var(--navy); color: #fff; }

.section-head {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.section-navy .section-title { color: #fff; }
.section-navy .section-sub { color: rgba(255, 255, 255, 0.7); }

/* --- Reusable button system (generalizes the submit-button look) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    min-height: 44px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background-color: var(--accent-color); color: #fff; border-color: var(--accent-color); }
.btn-primary:hover { background-color: var(--accent-hover); border-color: var(--accent-hover); }

.btn-secondary { background-color: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background-color: var(--navy); color: #fff; }

.section-navy .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.section-navy .btn-secondary:hover { background-color: #fff; color: var(--navy); border-color: #fff; }

.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; min-height: 52px; }
.btn-block { display: flex; width: 100%; }

/* --- Branded gray-box image placeholders --- */
.ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background-color: var(--ph-bg);
    background-image: repeating-linear-gradient(
        45deg,
        rgba(3, 33, 63, 0.035) 0, rgba(3, 33, 63, 0.035) 10px,
        transparent 10px, transparent 20px
    );
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    overflow: hidden;
}
.ph--wide { aspect-ratio: 16 / 9; }
.ph--hero { aspect-ratio: 4 / 3; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--thumb { aspect-ratio: 1 / 1; border-radius: var(--radius); font-size: 0.6875rem; }

/* --- Sticky nav bar --- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(245, 242, 235, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: var(--nav-h);
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
}
.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:visited { color: var(--navy); }
.nav-links a:hover { color: var(--accent-color); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--navy);
    padding: 0.25rem;
}

/* --- Hero --- */
.hero { padding: 4.5rem 0 5rem; }
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.hero-text { text-align: left; }
.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 1.25rem;
}
.hero-sub {
    font-size: 1.1875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 42ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* --- Trust / logo bar --- */
.logo-bar-label {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.logo-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.logo-bar .ph {
    width: 130px;
    height: 46px;
    aspect-ratio: auto;
    border-radius: var(--radius);
}

/* --- Features tab widget reuse (strip the standalone top divider) --- */
.features-container.features-bare {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.features-bare .features-tabs { margin-top: 0; }
.features-bare .features-content { margin-top: 1.5rem; min-height: 110px; }

/* --- How it works (numbered steps) --- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.step { text-align: center; }
.step .ph { margin-bottom: 1.5rem; }
.step-img { display: block; width: 100%; height: auto; margin-bottom: 1.5rem; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.step h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.step p { color: var(--text-secondary); font-size: 0.9375rem; }

/* --- Product gallery mosaic --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 1rem;
}
.gallery-grid .ph { aspect-ratio: 1 / 1; }
.gallery-grid .gallery-img {
    display: block;
    width: 100%;
    height: auto; /* override the height attribute so aspect-ratio can apply */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.gallery-grid .ph--feature,
.gallery-grid .gallery-img--feature {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-grid .ph--feature { aspect-ratio: auto; }
/* White backing for transparent tiles (e.g. the app screenshot) */
.gallery-grid .gallery-img--white { background-color: #ffffff; }

/* --- Tech specs table --- */
.specs-wrap { max-width: 760px; margin: 0 auto; overflow-x: auto; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table th {
    text-align: left;
    padding: 1rem 1.5rem 1rem 0;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9375rem;
    vertical-align: middle;
    white-space: nowrap;
}
.specs-table tbody th { width: 25%; }
.specs-table thead th { font-weight: 700; border-bottom: 2px solid var(--border); }
.specs-table td {
    padding: 1rem 1.5rem 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    white-space: nowrap;
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.price-card > .btn { margin-top: auto; }
.price-card--featured {
    border: 2px solid var(--accent-color);
    box-shadow: var(--shadow-md);
}
.price-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    white-space: nowrap;
}
.price-name { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 1rem; }
.price-amount span { font-size: 0.9375rem; font-weight: 500; color: var(--text-secondary); }
.price-desc { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 1.5rem; }
.price-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.price-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; color: var(--navy); }
.price-features i { color: var(--accent-color); font-size: 1.125rem; flex-shrink: 0; }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.stars { color: var(--accent-color); font-size: 1rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.testimonial-quote { color: var(--navy); font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-author .ph {
    width: 46px;
    height: 46px;
    aspect-ratio: auto;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.5rem;
    padding: 0;
}
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 0.9375rem; }
.testimonial-role { color: var(--text-secondary); font-size: 0.8125rem; }

/* --- FAQ accordion --- */
.accordion { max-width: 760px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1.375rem 0;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
}
.accordion-icon { color: var(--accent-color); font-size: 1.5rem; line-height: 1; flex-shrink: 0; transition: transform 0.25s; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-item.open .accordion-body { max-height: 1000px; }
.accordion-body p { padding: 0 0 1.375rem; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }

/* --- CTA / newsletter band --- */
.cta-band { text-align: center; }
.cta-band .email-form { margin-top: 2rem; }

/* --- Product-detail (buy page) --- */
.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}
.product-gallery { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.product-main { margin-bottom: 1rem; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.product-thumbs .ph { cursor: pointer; transition: border-color 0.2s; }
.product-thumbs .ph.active { border-style: solid; border-color: var(--accent-color); }
[hidden] { display: none !important; } /* keep the hidden attribute authoritative over display rules */
.product-img {
    display: block;
    width: 100%;
    height: auto; /* override the height attribute so aspect-ratio can apply */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.product-thumbs .thumb-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}
.product-thumbs .thumb-img.active { border-color: var(--accent-color); }

.product-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.product-info .edition-toggle { align-self: flex-start; }
/* Anchor the Buy Now button to the bottom of the column, level with the photo selector */
.product-info .product-actions { margin-top: auto; }
.product-title { font-size: 2.25rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin-bottom: 0.75rem; }
.product-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.product-rating .stars { margin: 0; }
.product-rating span { color: var(--text-secondary); font-size: 0.875rem; }
.product-price { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 1.5rem; }
.product-price del { font-size: 1.25rem; color: var(--text-secondary); font-weight: 500; margin-left: 0.5rem; }
.product-desc { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.75rem; }

.qty {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    width: fit-content;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.qty-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background-color: var(--background); }
.qty-value { width: 52px; text-align: center; font-weight: 600; color: var(--navy); }

.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.product-actions .btn { flex: 1; min-width: 160px; }

.product-info .buy-highlights { margin: 0 0 1.5rem; max-width: none; }

/* Consistent vertical rhythm down the product-info column */
.product-info > * { margin-bottom: 1.5rem; }
.product-info > *:last-child { margin-bottom: 0; }
.product-info .product-title { margin-bottom: 0.5rem; }

/* Detail tabs: reuse the feature-tab widget but left-align content */
.detail-tabs .features-container { margin-top: 0; padding-top: 0; border-top: none; }
.detail-tabs .feature-panel { text-align: left; align-items: flex-start; gap: 1rem; }
.detail-tabs .feature-panel p { font-size: 1rem; color: var(--text-secondary); max-width: none; }
.detail-tabs .feature-panel h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 0.5rem;
}
.detail-tabs .feature-panel h4:first-child { margin-top: 0; }
.detail-tabs .feature-panel ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}
.detail-tabs .feature-panel ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.detail-tabs .feature-panel ul li i {
    color: var(--accent-color);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.detail-tabs .feature-panel ol {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    padding-left: 1.25rem;
}
.detail-tabs .feature-panel ol li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-left: 0.35rem;
}

/* --- Multi-column footer --- */
.site-footer {
    background-color: var(--navy);
    /* Starts at the base navy and eases into a slightly darker hue at the bottom */
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.footer-nostr {
    display: inline-block;
    margin-top: 1.25rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
a.footer-nostr:visited { color: #ffffff; }
a.footer-nostr:hover { color: var(--accent-color); }

/* Buy page: edition toggle (segmented control) */
.edition-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 1.25rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 50px;
}
.edition-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.edition-btn.active { background-color: var(--accent-color); color: #fff; }
.footer-brand img { height: 32px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.6); max-width: 34ch; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.125rem;
    text-decoration: none;
    transition: background-color 0.2s;
}
.footer-social a:hover { background-color: var(--accent-color); }
.footer-col h4 { color: #fff; font-size: 0.9375rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:visited { color: rgba(255, 255, 255, 0.7); }
.footer-col a:hover { color: var(--accent-color); }
.footer-bottom {
    max-width: var(--maxw);
    margin: 3rem auto 0;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-bottom a:visited { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--accent-color); }

/* ==========================================================================
   Responsive overrides for the product-site components
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-inner { gap: 2.5rem; }
    .hero-title { font-size: 2.75rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    /* Mobile nav */
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
    .nav-links {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: var(--background);
        border-bottom: 1px solid var(--border);
        padding: 0.5rem 1.5rem 1rem;
    }
    .site-nav.open .nav-links { display: flex; }
    .nav-links li { border-bottom: 1px solid var(--border); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a { display: block; padding: 0.85rem 0; }

    .section { padding: 3.5rem 0; }
    .section-title { font-size: 1.875rem; }
    .section-head { margin-bottom: 2.25rem; }

    .hero { padding: 3rem 0 3.5rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 0; text-align: center; }
    /* Interleave: eyebrow + title first, then the image, then sub + CTAs */
    .hero-text { display: contents; }
    .hero-text .eyebrow { order: -3; margin-bottom: 0.875rem; }
    .hero-title { order: -2; margin-bottom: 1.25rem; }
    .hero-media { order: -1; margin-bottom: 1.5rem; }
    .hero-title { font-size: 2.375rem; }
    .hero-sub { max-width: none; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }

    .steps { grid-template-columns: 1fr; gap: 2rem; max-width: 420px; margin: 0 auto; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 0.75rem; }
    /* feature shot becomes a wide banner; the four squares pair up under it */
    .gallery-grid .ph--feature,
    .gallery-grid .gallery-img--feature { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 2rem; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .product { grid-template-columns: 1fr; gap: 2rem; }
    .product-gallery { position: static; }
    .product-title { font-size: 1.875rem; }

    .price-badge { font-size: 0.75rem; }

    .site-footer { padding: 3.5rem 0 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2rem; }
    .hero-actions .btn { width: 100%; }
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; flex: none; }
}

@media (max-width: 480px) {
    .container-wide { padding: 0 1rem; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.625rem; }
    .hero-title { font-size: 1.75rem; }
    .hero-inner { padding: 0 1rem; }
    .product-title { font-size: 1.75rem; }
    .gallery-grid { gap: 0.75rem; }
    .gallery-grid .ph { font-size: 0.75rem; padding: 0.625rem; }
    .gallery-grid .ph--feature { font-size: 0.875rem; }
    .site-footer { padding: 3rem 0 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1rem; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { padding: 1.5rem 1rem 0; }
    .nav-inner { padding: 0 1rem; }
    .nav-actions .btn { padding: 0.6rem 1rem; font-size: 0.875rem; }
}

/* ===================== Subpage lead / info cards (contact, distributors) ===================== */
.page-lead {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.page-lead .section-sub { margin-left: auto; margin-right: auto; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.info-card {
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius, 12px);
    padding: 2rem 1.75rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.info-card .info-icon {
    font-size: 2rem;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 1rem;
}
.info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.info-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.info-card .info-link {
    margin-top: auto;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}
.info-card .info-link:hover { text-decoration: underline; }

/* Split callout: two side-by-side panels (e.g. find vs. become a distributor) */
.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.split-card {
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius, 12px);
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.split-card h3 { font-size: 1.375rem; font-weight: 800; color: var(--navy); margin-bottom: 0.75rem; }
.split-card p { color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.75rem; }
.split-card .btn { margin-top: auto; }

@media (max-width: 768px) {
    .split-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===================== ROI calculator widget (home page) ===================== */
.roi-card {
    max-width: 1080px;
    margin: 0 auto;
    background-color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    display: grid;
    grid-template-columns: 0.85fr 1.5fr;
    gap: 2rem;
    text-align: left;
}

/* Left input column reads as its own white panel, like calc.heatoshi.xyz */
.roi-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.roi-control { display: flex; flex-direction: column; gap: 0.5rem; }

.roi-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Squared, muted segmented control to match the calc's operating-mode switch */
.roi-card .edition-toggle {
    margin-bottom: 0;
    align-self: stretch;
    display: flex;
    background-color: var(--muted);
    border-color: var(--border);
    border-radius: var(--radius);
    padding: 3px;
}
.roi-card .edition-btn {
    flex: 1;
    border-radius: calc(var(--radius) - 3px);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}
.roi-card .edition-btn.active { box-shadow: 0 1px 2px rgba(3, 33, 63, 0.15); }

.roi-rate-value {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.roi-slider {
    width: 100%;
    accent-color: var(--accent-color);
    height: 2rem;
    cursor: pointer;
}

.roi-slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* Live network feed + status, anchored to the bottom of the input panel */
.roi-datafoot { margin-top: auto; }
.roi-readout {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.9rem 0;
    margin-bottom: 0.75rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.roi-feed { display: flex; flex-direction: column; gap: 0.4rem; }
.roi-feed > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.roi-feed dt { font-size: 0.75rem; color: var(--text-secondary); }
.roi-feed dd { font-size: 0.8125rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

/* Bitcoin price scenario control (Now / ATH / Custom) — standalone row above the feed */
.roi-pricemode { display: flex; gap: 2px; padding: 2px; margin-bottom: 0.75rem; background-color: var(--muted); border: 1px solid var(--border); border-radius: 6px; }
.roi-pricemode button { flex: 1; }
.roi-pricemode button {
    border: none;
    background: transparent;
    padding: 0.18rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}
.roi-pricemode button:hover { color: var(--navy); }
.roi-pricemode button.active { background-color: var(--card-bg); color: var(--navy); box-shadow: 0 1px 2px rgba(3, 33, 63, 0.12); }

.roi-price-input {
    font-family: inherit;
    font-size: 0.8125rem;
    width: 6.5rem;
    max-width: 100%;
    padding: 0.2rem 0.45rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--navy);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
    background-color: #fff;
    outline: none;
}
.roi-price-input:focus { border-color: var(--accent-color); }

.roi-live { font-size: 0.8125rem; color: var(--text-secondary); }
.roi-live::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    margin-right: 0.4rem;
    vertical-align: middle;
}
.roi-live.is-live::before { background-color: var(--success); }

.roi-results { display: flex; flex-direction: column; gap: 1.25rem; height: 100%; }

.roi-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.roi-stat {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 96px; /* prevents layout shift when live data swaps in */
}
.roi-stat-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-secondary); }
.roi-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.roi-stat-value.is-positive { color: var(--success); }
.roi-stat-sub { font-size: 0.75rem; color: var(--text-secondary); font-variant-numeric: tabular-nums; }

/* Understated tinted status pill (calc uses soft color-mix badges, not solid fills) */
.roi-verdict-badge {
    display: inline-block;
    color: var(--navy);
    background-color: rgba(3, 33, 63, 0.06);
    border: 1px solid rgba(3, 33, 63, 0.14);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
}
.roi-verdict-badge.roi-band-pays   { color: #0a7d5a; background-color: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.32); }
.roi-verdict-badge.roi-band-strong { color: var(--accent-color); background-color: rgba(242, 98, 46, 0.12); border-color: rgba(242, 98, 46, 0.32); }
.roi-verdict-badge.roi-band-heat   { color: var(--navy); background-color: rgba(3, 33, 63, 0.07); border-color: rgba(3, 33, 63, 0.16); }

.roi-verdict-top { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem 1rem; flex-wrap: wrap; }
.roi-verdict-top .roi-verdict-badge { margin-bottom: 0; }
.roi-calc-link { color: var(--navy); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; text-decoration: none; transition: color 0.2s; }
a.roi-calc-link:visited { color: var(--navy); }
.roi-calc-link span { display: inline-block; transition: transform 0.15s ease; }
.roi-calc-link:hover { color: var(--accent-color); }
.roi-calc-link:hover span { transform: translateX(3px); }

.roi-verdict-text { color: var(--navy); font-size: 1.0625rem; line-height: 1.6; font-weight: 400; min-height: 3.2em; margin-top: 1.75rem; }
.roi-verdict-text strong { font-weight: 700; }
.roi-verdict { margin: auto 0; }
.roi-disclaimer { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5; padding-top: 0.25rem; }

@media (max-width: 1024px) {
    .roi-card { grid-template-columns: 1fr; gap: 2rem; }
    .roi-datafoot { margin-top: 0; }
}
@media (max-width: 768px) {
    .roi-verdict-text { min-height: 0; }
    .roi-slider { height: 2.75rem; } /* ≥44px touch target */
    .roi-slider-scale { font-size: 0.75rem; }
    .roi-stat-label { font-size: 0.75rem; }
    .roi-verdict-badge { font-size: 0.75rem; }
    .roi-pricemode button { min-height: 44px; font-size: 0.75rem; }
    .roi-price-input { font-size: 1rem; } /* ≥16px so iOS doesn't auto-zoom the field */
    .roi-disclaimer { font-size: 0.8125rem; }
}
@media (max-width: 640px) {
    .roi-stats { grid-template-columns: 1fr; }
    .roi-stat { min-height: 0; }
}
@media (max-width: 480px) {
    .roi-card { padding: 1.5rem 1.25rem; border-radius: var(--radius-lg); }
    .roi-rate-value { font-size: 1.625rem; }
}

/* --- Content helpers (content overhaul) --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.form-note { margin-top: 0.875rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); text-align: center; }
.pricing-note { margin-top: 2rem; text-align: center; font-size: 0.875rem; color: var(--text-secondary); }
.buy-disclaimer { margin-top: 1rem; font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; }
.buy-disclaimer a { color: var(--accent-color); text-decoration: none; }
.buy-disclaimer a:hover { text-decoration: underline; }
.buy-now-teaser {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    background-color: var(--card-bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1rem;
}
.info-card p a { color: var(--accent-color); text-decoration: none; }
.info-card p a:hover { text-decoration: underline; }
.footer-brand .footer-tm { font-size: 0.7em; vertical-align: top; color: rgba(255, 255, 255, 0.6); }
.detail-tabs .features-content { margin-top: 20px; }
.detail-tabs .specs-wrap { width: 100%; align-self: stretch; }

/* --- Legal pages (privacy.html / terms.html) --- */
.legal-page h2 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
.legal-page p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1rem; }
.legal-page p a { color: var(--accent-color); text-decoration: none; }
.legal-page p a:hover { text-decoration: underline; }

/* --- Mobile type floor & touch targets for components defined above ---
   (own block so it cascades after the base rules for late-defined
   components like .info-card, .footer-tm, and the legal pages) --- */
@media (max-width: 768px) {
    .step p,
    .info-card p,
    .accordion-body p,
    .legal-page p { font-size: 1rem; } /* reading copy ≥16px on phones */
    .footer-brand .footer-tm { font-size: 0.75rem; }
    .edition-btn { min-height: 44px; } /* buy-page + ROI toggles: touch target */
}

/* Highlighted electric-heater comparison in the ROI verdict card */
/* Savings callout: tinted comparison line topping a solid-accent savings
   banner — the one line nobody should scroll past. */
.roi-compare {
    display: block;
    margin-top: 1.25rem;
    background: rgba(242, 98, 46, 0.07);
    border: 1px solid rgba(242, 98, 46, 0.35);
    border-radius: 10px;
    overflow: hidden;
    font-size: 1.0625rem;
    font-weight: 500;
}
.roi-compare-lead { display: block; padding: 0.875rem 1.125rem; text-align: center; }
.roi-compare-lead strong { color: var(--accent-color); }
/* On narrow phones the sentence wraps naturally — the forced break would
   produce ragged three-line output, so let it collapse there. */
@media (max-width: 480px) {
    .roi-compare-lead br { display: none; }
}
.roi-compare-save {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.125rem;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
}
.roi-compare-save i { font-size: 1.5rem; }
.roi-compare-save strong { font-size: 1.375rem; }

/* Heatoshi Now card: muted coming-soon badge + launch-pricing treatment */
.price-badge--soon { background-color: var(--text-secondary); }
.price-amount--tbd { color: var(--text-secondary); }

/* Images fade in quickly as they finish loading. script.js marks images that
   are still in flight with .img-loading (already-cached images are skipped so
   nothing blinks); no-JS visitors just see images appear normally. */
img { transition: opacity 0.2s ease-out; }
img.img-loading { opacity: 0; }
