/* Herbalix — editorial / midnight–saffron layout (2026 refresh) */
:root {
    --hx-page: #f4f1ec;
    --hx-canvas: #ffffff;
    --hx-ink: #0c0a09;
    --hx-muted: #57534e;
    --hx-faint: #a8a29e;
    --hx-line: rgba(12, 10, 9, 0.08);
    --hx-deep: #0f172a;
    --hx-night: #1e293b;
    --hx-accent: #c2410c;
    --hx-accent-soft: rgba(194, 65, 12, 0.12);
    --hx-teal: #0f766e;
    --hx-teal-soft: rgba(15, 118, 110, 0.14);
    --hx-radius: 20px;
    --hx-radius-sm: 12px;
    --hx-font-display: "Syne", system-ui, sans-serif;
    --hx-font-body: "DM Sans", system-ui, sans-serif;
    --hx-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    --hx-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--hx-font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--hx-muted);
    background: var(--hx-page);
    background-image:
        radial-gradient(ellipse 100% 70% at 100% 0%, rgba(194, 65, 12, 0.06), transparent 55%),
        radial-gradient(ellipse 80% 50% at 0% 100%, rgba(15, 118, 110, 0.07), transparent 50%);
}

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

a {
    color: var(--hx-teal);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

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

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -120px;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--hx-deep);
    color: #fff;
    font-weight: 700;
    border-radius: var(--hx-radius-sm);
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

/* Ribbon */
.hx-ribbon,
.top-banner {
    background: var(--hx-deep);
    color: #e7e5e4;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hx-ribbon p,
.top-banner p {
    margin: 0;
}

/* Header */
.hx-header,
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hx-line);
}

.hx-header-inner,
.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .hx-header-inner,
    .header-content {
        grid-template-columns: auto 1fr auto;
    }
}

.hx-logo,
.logo,
.brand-wordmark {
    font-family: var(--hx-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hx-ink);
    letter-spacing: -0.02em;
    line-height: 1;
}

.hx-logo a,
.logo a,
.brand-wordmark a {
    color: inherit;
    text-decoration: none;
}

.hx-logo a:hover,
.logo a:hover,
.brand-wordmark a:hover {
    color: var(--hx-accent);
}

.hx-logo span,
.logo span {
    display: block;
    font-size: 0.65rem;
    font-family: var(--hx-font-body);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hx-faint);
    margin-top: 0.35rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 8px;
    justify-self: start;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--hx-teal);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--hx-ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hx-nav,
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.5rem;
    align-items: center;
}

.hx-nav a,
.main-nav a {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hx-muted);
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hx-nav a:hover,
.main-nav a:hover {
    color: var(--hx-ink);
    background: var(--hx-teal-soft);
    border-color: rgba(15, 118, 110, 0.25);
}

.header-actions {
    justify-self: end;
}

.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.15rem;
    background: var(--hx-accent);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(194, 65, 12, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-order:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(194, 65, 12, 0.42);
    color: #fff !important;
}

/* Product / showcase */
.hx-showcase {
    padding: 3.5rem 0 2rem;
}

#home {
    scroll-margin-top: 5rem;
}

.hx-showcase-grid,
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem 3rem;
    align-items: start;
}

@media (max-width: 960px) {
    .hx-showcase-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.hx-visual,
.product-image {
    position: sticky;
    top: 5.5rem;
}

@media (max-width: 960px) {
    .hx-visual,
    .product-image {
        position: static;
    }
}

.hx-frame,
.product-image-main {
    border-radius: var(--hx-radius);
    overflow: hidden;
    background: var(--hx-canvas);
    box-shadow: var(--hx-shadow);
    border: 1px solid var(--hx-line);
}

.hx-thumbs,
.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.hx-thumbs .thumbnail,
.product-thumbnails .thumbnail {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--hx-radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    background: #e7e5e4;
}

.hx-thumbs .thumbnail:hover,
.hx-thumbs .thumbnail.active,
.product-thumbnails .thumbnail:hover,
.product-thumbnails .thumbnail.active {
    border-color: var(--hx-teal);
    box-shadow: var(--hx-shadow-sm);
    transform: translateY(-2px);
}

.hx-panel,
.product-info {
    background: var(--hx-canvas);
    padding: 2.25rem 2.5rem;
    border-radius: var(--hx-radius);
    border: 1px solid var(--hx-line);
    box-shadow: var(--hx-shadow-sm);
    position: relative;
}

.hx-panel::before,
.product-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2.5rem;
    right: 2.5rem;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--hx-teal), var(--hx-accent));
    opacity: 0.9;
}

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

.product-title {
    font-family: var(--hx-font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 800;
    color: var(--hx-ink);
    line-height: 1.15;
    margin-bottom: 1.1rem;
    letter-spacing: -0.03em;
}

.product-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--hx-page);
    border-radius: var(--hx-radius-sm);
    border: 1px solid var(--hx-line);
}

.stars {
    color: #b45309;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.rating-text {
    font-size: 0.88rem;
    color: var(--hx-muted);
    font-weight: 600;
}

.product-price {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
}

.price-sale {
    font-family: var(--hx-font-display);
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--hx-ink);
    letter-spacing: -0.02em;
}

.price-regular {
    font-size: 1rem;
    color: var(--hx-faint);
    text-decoration: line-through;
}

.product-description {
    margin-bottom: 1.5rem;
}

.product-description p {
    color: var(--hx-muted);
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-features h3 {
    font-family: var(--hx-font-display);
    font-size: 1.15rem;
    color: var(--hx-ink);
    margin-bottom: 0.9rem;
    font-weight: 800;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.feature {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    background: var(--hx-page);
    border-radius: var(--hx-radius-sm);
    border: 1px solid var(--hx-line);
}

.feature-icon {
    flex-shrink: 0;
    width: 1.45rem;
    height: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hx-teal-soft);
    color: var(--hx-teal);
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.7rem;
}

.feature-content {
    font-size: 0.95rem;
}

.feature-content strong {
    color: var(--hx-ink);
}

.product-specs {
    background: var(--hx-page);
    padding: 1.25rem 1.4rem;
    border-radius: var(--hx-radius-sm);
    border: 1px solid var(--hx-line);
    margin-bottom: 1.5rem;
}

.product-specs h3 {
    font-family: var(--hx-font-display);
    font-size: 1.1rem;
    color: var(--hx-ink);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--hx-line);
    font-size: 0.95rem;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs strong {
    color: var(--hx-ink);
}

.product-cta {
    margin-bottom: 1.35rem;
}

.btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--hx-deep);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--hx-night);
    color: #fff !important;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

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

.trust-badge {
    text-align: left;
    padding: 0.85rem 0.9rem;
    background: var(--hx-page);
    border-radius: var(--hx-radius-sm);
    border: 1px solid var(--hx-line);
}

.trust-badge strong {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--hx-ink);
    margin-bottom: 0.25rem;
    font-weight: 800;
}

.trust-badge span {
    font-size: 0.75rem;
    color: var(--hx-muted);
}

.important-notice {
    background: #fff7ed;
    border: 1px solid rgba(194, 65, 12, 0.35);
    border-radius: var(--hx-radius-sm);
    padding: 1.15rem 1.25rem;
}

.important-notice p {
    color: #7c2d12;
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
}

.important-notice p:last-child {
    margin-bottom: 0;
}

.important-notice strong {
    color: #431407;
}

/* Story band */
.hx-story,
.description-section {
    padding: 4rem 0;
    background: var(--hx-canvas);
    border-block: 1px solid var(--hx-line);
}

.hx-story-inner,
.description-content {
    max-width: 720px;
    margin-inline: auto;
    padding: 2rem 2.25rem;
    border-left: 4px solid var(--hx-teal);
    background: linear-gradient(90deg, var(--hx-teal-soft), transparent 70%);
    border-radius: 0 var(--hx-radius-sm) var(--hx-radius-sm) 0;
}

.hx-story-inner p,
.description-content p {
    color: var(--hx-muted);
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
}

.hx-story-inner p:last-child,
.description-content p:last-child {
    margin-bottom: 0;
}

/* Benefits — staggered */
.hx-benefits,
.benefits-section {
    padding: 4.5rem 0;
}

.section-title {
    font-family: var(--hx-font-display);
    text-align: left;
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    color: var(--hx-ink);
    margin-bottom: 0.5rem;
    max-width: 20ch;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hx-section-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hx-faint);
    margin-bottom: 2rem;
}

.hx-benefit-mosaic,
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 700px) {
    .hx-benefit-mosaic,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    padding: 1.75rem 1.85rem;
    border-radius: var(--hx-radius);
    background: var(--hx-canvas);
    border: 1px solid var(--hx-line);
    box-shadow: var(--hx-shadow-sm);
    transition: transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--hx-accent-soft), transparent 45%);
    pointer-events: none;
    opacity: 0.5;
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

.benefit-card:hover {
    transform: translateY(-3px);
}

.benefit-card:nth-child(1) {
    border-top: 3px solid var(--hx-teal);
}
.benefit-card:nth-child(2) {
    border-top: 3px solid var(--hx-accent);
}
.benefit-card:nth-child(3) {
    border-top: 3px solid #0369a1;
}
.benefit-card:nth-child(4) {
    border-top: 3px solid #9333ea;
}

.benefit-icon {
    font-size: 1.75rem;
    margin-bottom: 0.85rem;
    line-height: 1;
}

.benefit-card h3 {
    font-family: var(--hx-font-display);
    font-size: 1.2rem;
    color: var(--hx-ink);
    margin-bottom: 0.55rem;
    font-weight: 800;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--hx-muted);
}

/* How it works — horizontal steps */
.hx-steps-wrap,
.how-it-works {
    padding: 4.5rem 0;
    background: var(--hx-deep);
    color: #cbd5e1;
}

.hx-steps-wrap .section-title,
.how-it-works .section-title {
    color: #fff;
    text-align: center;
    margin-inline: auto;
    max-width: none;
}

.hx-steps-wrap .hx-section-kicker,
.how-it-works .hx-section-kicker {
    text-align: center;
    color: #94a3b8;
}

.how-it-works-content {
    max-width: 880px;
    margin-inline: auto;
}

.how-it-works-content > p {
    text-align: center;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.how-it-works-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0 0 2rem;
}

@media (max-width: 640px) {
    .how-it-works-list {
        grid-template-columns: 1fr;
    }
}

.how-it-works-list li {
    padding: 1.1rem 1.15rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--hx-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding-left: 1.15rem;
}

.how-it-works-list li::before {
    display: none;
}

.how-it-works-content > p:last-child {
    text-align: center;
    margin-bottom: 0;
    color: #94a3b8;
}

/* Guarantee */
.hx-promise,
.guarantee {
    padding: 3.5rem 0;
    background: var(--hx-page);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 900px) {
    .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
}

.guarantee-item {
    text-align: left;
    padding: 1.35rem 1.15rem;
    background: var(--hx-canvas);
    border-radius: var(--hx-radius-sm);
    border: 1px solid var(--hx-line);
    box-shadow: var(--hx-shadow-sm);
}

.guarantee-icon {
    font-size: 1.5rem;
    margin-bottom: 0.65rem;
    opacity: 0.9;
}

.guarantee-item h3 {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hx-ink);
    margin-bottom: 0.4rem;
    font-weight: 800;
    line-height: 1.35;
}

.guarantee-item p {
    font-size: 0.85rem;
    color: var(--hx-muted);
}

/* FAQ */
.hx-faq,
.faq {
    padding: 4rem 0;
}

.faq-list {
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    background: var(--hx-canvas);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-radius-sm);
    overflow: hidden;
    box-shadow: var(--hx-shadow-sm);
}

.faq-item summary {
    font-family: var(--hx-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hx-ink);
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2.75rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    position: absolute;
    right: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--hx-accent-soft);
    border: 1px solid rgba(194, 65, 12, 0.35);
}

.faq-item summary::before {
    content: "+";
    position: absolute;
    right: 1.34rem;
    top: 50%;
    transform: translateY(-52%);
    font-weight: 600;
    font-size: 1rem;
    color: var(--hx-accent);
}

.faq-item[open] summary::before {
    content: "−";
}

.faq-item .faq-answer {
    padding: 0 1.25rem 1.15rem;
    border-top: 1px solid var(--hx-line);
}

.faq-item .faq-answer p {
    padding-top: 0.85rem;
    color: var(--hx-muted);
    font-size: 0.95rem;
}

/* CTA */
.hx-cta,
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #0f766e 0%, #115e59 45%, #134e4a 100%);
    color: #ecfdf5;
}

.cta-section h2 {
    font-family: var(--hx-font-display);
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    margin-bottom: 0.85rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-section p {
    max-width: 46ch;
    margin-inline: auto;
    margin-bottom: 1.75rem;
    opacity: 0.95;
    font-size: 1.05rem;
}

.btn-primary-large {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: #fff;
    color: var(--hx-ink) !important;
    text-decoration: none !important;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: var(--hx-shadow);
    transition: transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    color: var(--hx-ink) !important;
}

/* Footer */
.hx-footer,
.footer {
    background: #020617;
    color: #a8a29e;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-section h3 {
    font-family: var(--hx-font-display);
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    font-weight: 800;
}

.footer-section h4 {
    color: #e7e5e4;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    font-weight: 800;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0.35rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.4rem;
}

.footer-section a {
    color: #99f6e4;
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-bottom: 1.75rem;
}

.footer-legal h3 {
    font-family: var(--hx-font-display);
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
    font-weight: 800;
}

.legal-info p {
    color: #a8a29e;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.legal-info strong {
    color: #e7e5e4;
}

.health-notice {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--hx-radius-sm);
    padding: 1.2rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.health-notice h4 {
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 0.55rem;
    font-weight: 700;
}

.health-notice p {
    color: #d6d3d1;
    font-size: 0.85rem;
    line-height: 1.7;
}

.contact-info-footer p {
    color: #a8a29e;
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.contact-info-footer strong {
    color: #fff;
}

.contact-info-footer a {
    color: #5eead4;
    text-decoration: none;
}

.contact-info-footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #78716c;
}

/* Legal pages */
.legal-page {
    padding: 2.5rem 0 4rem;
    min-height: 55vh;
}

.legal-page h1 {
    font-family: var(--hx-font-display);
    font-size: clamp(1.85rem, 3.5vw, 2.55rem);
    color: var(--hx-ink);
    margin-bottom: 0.35rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.legal-page .legal-lead {
    color: var(--hx-faint);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 58ch;
}

.legal-page section {
    margin-bottom: 1.5rem;
    padding: 1.4rem 1.6rem;
    background: var(--hx-canvas);
    border-radius: var(--hx-radius-sm);
    border: 1px solid var(--hx-line);
    box-shadow: var(--hx-shadow-sm);
    border-left: 3px solid var(--hx-teal);
}

.legal-page h2 {
    font-family: var(--hx-font-display);
    font-size: 1.22rem;
    color: var(--hx-ink);
    margin-bottom: 0.85rem;
    font-weight: 800;
}

.legal-page h3 {
    font-size: 1rem;
    color: var(--hx-ink);
    margin: 1rem 0 0.55rem;
    font-weight: 700;
}

.legal-page p {
    margin-bottom: 0.75rem;
    color: var(--hx-muted);
    font-size: 0.96rem;
}

.legal-page ul {
    margin: 0 0 0.85rem 1.25rem;
}

.legal-page ul li {
    margin-bottom: 0.35rem;
    color: var(--hx-muted);
    font-size: 0.96rem;
}

.legal-page a {
    color: var(--hx-teal);
    font-weight: 600;
}

.withdrawal-form {
    background: var(--hx-page);
    border: 1px dashed var(--hx-teal);
    border-radius: var(--hx-radius-sm);
    padding: 1.5rem;
    margin-top: 0.75rem;
}

.withdrawal-form p {
    margin-bottom: 0.75rem;
}

.withdrawal-form strong {
    color: var(--hx-ink);
}

/* Mobile nav */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hx-nav,
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 1rem 1rem;
        background: var(--hx-canvas);
        border-bottom: 1px solid var(--hx-line);
        box-shadow: var(--hx-shadow);
    }

    .hx-nav.active,
    .main-nav.active {
        display: flex;
    }

    .hx-header-inner,
    .header-content {
        position: relative;
    }

    .hx-nav a,
    .main-nav a {
        border-radius: 10px;
    }

    .product-info,
    .hx-panel {
        padding: 1.5rem;
    }

    .product-info::before,
    .hx-panel::before {
        left: 1.5rem;
        right: 1.5rem;
    }

    .section-title {
        max-width: none;
    }
}
