/* ============================================================
   ROCKWIN INVESTMENT — design system
   Warm ivory · forest green · ink · restrained brass
   ============================================================ */

:root {
    --paper:          #F5F1E8;
    --paper-deep:     #EDE7DA;
    --ink:            #0F1A14;
    --ink-soft:       #4A534D;
    --ink-mute:       #8A9089;
    --rule:           rgba(15, 26, 20, 0.08);
    --rule-strong:    rgba(15, 26, 20, 0.16);
    --forest:         #1B4332;
    --forest-hover:   #0F2D20;
    --brass:          #B8873E;

    --dark:           #0F1A14;
    --dark-soft:      #1A2620;
    --dark-rule:      rgba(245, 241, 232, 0.10);
    --dark-text:      #F5F1E8;
    --dark-text-soft: rgba(245, 241, 232, 0.62);
    --dark-text-mute: rgba(245, 241, 232, 0.38);

    --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --shell: 1200px;
    --gutter: 1.5rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ---------- Shell ---------- */
.shell {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
}

/* ---------- Type ---------- */
.display {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144;
    color: var(--ink);
}
.display-final {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144;
}

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid transparent;
}
.masthead.scrolled {
    background: var(--paper);
    border-bottom-color: var(--rule);
}
.masthead-inner {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 1.15rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 72;
}
.wordmark-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: var(--forest);
    color: var(--paper);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    font-variation-settings: "opsz" 72;
}
.wordmark-sub { color: var(--ink-mute); font-weight: 500; }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.88rem;
    font-weight: 500;
}
.primary-nav a {
    color: var(--ink-soft);
    transition: color 0.2s ease;
}
.primary-nav a:hover { color: var(--ink); }
.nav-signin { margin-left: 0.5rem; }
.nav-cta {
    background: var(--forest);
    color: var(--paper) !important;
    padding: 0.55rem 1.15rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--forest-hover); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav-toggle span {
    width: 22px; height: 1.5px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}
.mobile-menu a {
    padding: 0.85rem 0;
    font-size: 1rem;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--rule);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.mobile-cta {
    color: var(--forest);
    font-weight: 600;
    margin-top: 0.5rem;
}
.mobile-menu.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 10rem 0 5rem;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: var(--ink-mute);
    margin-bottom: 2rem;
}
.eyebrow-rule {
    width: 32px; height: 1px;
    background: var(--ink-mute);
    display: inline-block;
}

.hero-copy .display {
    margin-bottom: 1.75rem;
    max-width: 12ch;
}
.lede {
    font-size: 1.08rem;
    color: var(--ink-soft);
    max-width: 52ch;
    line-height: 1.65;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1;
}
.btn-primary {
    background: var(--forest);
    color: var(--paper);
}
.btn-primary:hover { background: var(--forest-hover); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.hero-note {
    font-size: 0.8rem;
    color: var(--ink-mute);
    max-width: 46ch;
    line-height: 1.55;
}

/* Portfolio card */
.portfolio-card {
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 1.75rem 1.75rem 1.25rem;
    box-shadow: 0 1px 0 rgba(15, 26, 20, 0.02), 0 24px 48px -24px rgba(15, 26, 20, 0.14);
}
.portfolio-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rule);
}
.portfolio-card-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    font-weight: 500;
}
.meta-value {
    font-family: var(--display);
    font-size: 1.65rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 96;
}
.meta-sub {
    font-size: 0.75rem;
    color: var(--ink-mute);
}
.portfolio-card-rate { text-align: right; }
.rate-value {
    display: block;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--forest);
    letter-spacing: -0.01em;
}
.rate-label {
    display: block;
    font-size: 0.7rem;
    color: var(--ink-mute);
    margin-top: 0.1rem;
}

.portfolio-chart {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}
.chart-label {
    font-family: var(--body);
    font-size: 10px;
    fill: var(--ink-mute);
    font-weight: 500;
}

.portfolio-chart-axis {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--ink-mute);
    margin-top: 0.5rem;
    padding: 0 0.4rem;
}

.portfolio-card-foot {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    font-size: 0.7rem;
    color: var(--ink-mute);
    line-height: 1.55;
}

/* ============================================================
   TRUST LINE
   ============================================================ */
.trust {
    padding: 2.5rem 0 3.5rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.trust-item { display: flex; flex-direction: column; gap: 0.35rem; }
.trust-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
    font-weight: 500;
}
.trust-value {
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.005em;
    font-variation-settings: "opsz" 72;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 6rem 0; }
.section-tight { padding: 5rem 0; }

.section-head { margin-bottom: 3.5rem; max-width: 60ch; }
.section-eyebrow {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
    font-weight: 500;
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-variation-settings: "opsz" 120;
}
.section-sub {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--ink-soft);
    max-width: 55ch;
    line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-top: 1px solid var(--rule);
    padding-top: 3.5rem;
}
.step {
    position: relative;
    padding-right: 1rem;
}
.step-number {
    display: block;
    font-family: var(--display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--forest);
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.step-title {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
    font-variation-settings: "opsz" 96;
}
.step-body {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 32ch;
}

/* ============================================================
   CALCULATOR (dark)
   ============================================================ */
.section-dark {
    background: var(--dark);
    color: var(--dark-text);
}
.section-head-dark .section-eyebrow { color: var(--dark-text-mute); }
.section-head-dark .section-title { color: var(--dark-text); }
.section-head-dark .section-sub { color: var(--dark-text-soft); }

.calc {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    border-top: 1px solid var(--dark-rule);
    padding-top: 3rem;
    align-items: start;
}

.calc-field { margin-bottom: 2.5rem; }
.calc-field label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dark-text-mute);
    font-weight: 500;
    margin-bottom: 0.9rem;
}
.amount-wrap {
    position: relative;
    margin-bottom: 1.25rem;
}
.amount-prefix {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--dark-text-mute);
    font-weight: 500;
    pointer-events: none;
}
#calcAmount {
    width: 100%;
    padding: 1.1rem 1.15rem 1.1rem 3.5rem;
    background: var(--dark-soft);
    border: 1px solid var(--dark-rule);
    border-radius: 6px;
    color: var(--dark-text);
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    outline: none;
    transition: border-color 0.2s ease;
    font-variation-settings: "opsz" 96;
}
#calcAmount:focus { border-color: var(--dark-text-soft); }

#calcSlider {
    width: 100%;
    height: 2px;
    background: var(--dark-rule);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
#calcSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px; height: 18px;
    background: var(--dark-text);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}
#calcSlider::-moz-range-thumb {
    width: 18px; height: 18px;
    background: var(--dark-text);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}
.range-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--dark-text-mute);
    margin-top: 0.6rem;
}

.term-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.term-selector button {
    padding: 0.6rem 1rem;
    background: transparent;
    border: 1px solid var(--dark-rule);
    border-radius: 6px;
    color: var(--dark-text-soft);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.term-selector button:hover {
    border-color: var(--dark-text-soft);
    color: var(--dark-text);
}
.term-selector button.active {
    background: var(--dark-text);
    color: var(--dark);
    border-color: var(--dark-text);
}

.calc-output {
    background: var(--dark-soft);
    border: 1px solid var(--dark-rule);
    border-radius: 10px;
    padding: 2rem 2rem 1.75rem;
}
.output-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.85rem 0;
}
.output-row-sub {
    border-top: 1px solid var(--dark-rule);
}
.output-divider {
    height: 1px;
    background: var(--dark-rule);
    margin: 1rem 0;
}
.output-label {
    font-size: 0.85rem;
    color: var(--dark-text-soft);
}
.output-value {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--dark-text);
    font-variation-settings: "opsz" 96;
}
.output-value-sub {
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-text-soft);
    font-variation-settings: "opsz" 72;
}
.output-row-total .output-label {
    color: var(--dark-text);
    font-weight: 500;
}
.output-value-total {
    font-family: var(--display);
    font-size: 2.1rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--dark-text);
    font-variation-settings: "opsz" 144;
}
.output-note {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--dark-rule);
    font-size: 0.72rem;
    color: var(--dark-text-mute);
    line-height: 1.65;
}

/* ============================================================
   PRODUCT PREVIEW
   ============================================================ */
.product-preview {
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 1px 0 rgba(15, 26, 20, 0.02), 0 24px 48px -24px rgba(15, 26, 20, 0.10);
}
.preview-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--rule);
    gap: 2rem;
}
.preview-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
    font-weight: 500;
    margin-bottom: 0.35rem;
}
.preview-amount {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 120;
}
.preview-stats {
    display: flex;
    gap: 2.5rem;
    text-align: right;
}
.preview-stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    font-weight: 500;
    margin-bottom: 0.35rem;
}
.preview-stat-value {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    font-variation-settings: "opsz" 72;
}
.preview-positive { color: var(--forest); }

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.preview-table th {
    text-align: left;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
    font-weight: 500;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--rule);
}
.preview-table td {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
}
.preview-table tr:last-child td { border-bottom: none; }
.preview-table .align-right { text-align: right; }
.preview-table .mono { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-soft); }
.preview-table .positive { color: var(--forest); }
.preview-table .negative { color: #8A3A2E; }

.preview-foot {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    font-size: 0.72rem;
    color: var(--ink-mute);
}

/* ============================================================
   FEES
   ============================================================ */
.fees-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--rule);
}
.fees-table tr { border-bottom: 1px solid var(--rule); }
.fees-table th, .fees-table td {
    padding: 1.35rem 0;
    font-weight: 400;
    text-align: left;
}
.fees-table th {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.005em;
    font-variation-settings: "opsz" 72;
}
.fees-table td {
    color: var(--ink-soft);
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    font-variation-settings: "opsz" 72;
}
.fees-table .align-right { text-align: right; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    border-top: 1px solid var(--rule);
}
.faq-item {
    border-bottom: 1px solid var(--rule);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
    transition: color 0.2s ease;
    font-variation-settings: "opsz" 96;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-family: var(--body);
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--ink-mute);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item summary:hover { color: var(--forest); }
.faq-body {
    padding: 0 0 1.75rem;
    max-width: 72ch;
}
.faq-body p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
    padding: 7rem 0;
    border-top: 1px solid var(--rule);
}
.final-inner { text-align: left; }
.final-actions {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}
.final-signin {
    font-size: 0.92rem;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}
.final-signin:hover { color: var(--forest); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: var(--dark-text);
    padding: 5rem 0 2rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--dark-rule);
}
.footer-brand .wordmark-text {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    color: var(--dark-text);
    font-variation-settings: "opsz" 72;
}
.footer-brand .wordmark-sub { color: var(--dark-text-mute); font-weight: 500; }
.footer-blurb {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--dark-text-soft);
    line-height: 1.65;
    max-width: 34ch;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-col h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--dark-text-mute);
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
    font-size: 0.85rem;
    color: var(--dark-text-soft);
    transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--dark-text); }

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--dark-text-mute);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .hero { padding: 8rem 0 4rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .hero-copy .display { max-width: none; }
    .portfolio-card { max-width: 560px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
    .steps { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.5rem; }
    .step { padding-right: 0; }
    .step-body { max-width: 60ch; }
    .calc { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-top { grid-template-columns: 1fr; gap: 3rem; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
}

@media (max-width: 720px) {
    :root { --gutter: 1.25rem; }
    .primary-nav { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding: 7rem 0 3rem; }
    .section, .section-tight { padding: 4rem 0; }
    .final { padding: 5rem 0; }

    .portfolio-card { padding: 1.25rem 1.25rem 1rem; }
    .meta-value { font-size: 1.4rem; }
    .preview-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .preview-stats { text-align: left; gap: 2rem; }
    .preview-table { font-size: 0.82rem; }
    .preview-table .mono { font-size: 0.72rem; }

    .trust-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; }
    .trust-value { font-size: 0.92rem; }

    .term-selector button { font-size: 0.78rem; padding: 0.55rem 0.85rem; }

    .output-value-total { font-size: 1.7rem; }
    .output-value { font-size: 1.2rem; }

    .fees-table th, .fees-table td {
        font-size: 0.92rem;
        padding: 1rem 0;
    }

    .faq-item summary { font-size: 1rem; padding: 1.35rem 0; }
    .faq-body p { font-size: 0.9rem; }

    .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
    .footer-bottom { font-size: 0.7rem; line-height: 1.6; }
}

@media (max-width: 400px) {
    .trust-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
}

/* ============================================================
   MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   PRODUCT SHOT (dashboard screenshot)
   ============================================================ */
.product-shot {
    margin: 0;
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow:
        0 1px 0 rgba(15, 26, 20, 0.02),
        0 32px 64px -28px rgba(15, 26, 20, 0.22);
}
.product-shot picture {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--rule);
    background: var(--paper);
}
.product-shot img {
    display: block;
    width: 100%;
    height: auto;
}
.product-shot-caption {
    margin-top: 0.9rem;
    padding: 0 0.25rem;
    font-size: 0.72rem;
    color: var(--ink-mute);
    letter-spacing: 0.01em;
}

@media (max-width: 720px) {
    .product-shot {
        padding: 0.5rem;
        border-radius: 10px;
    }
    .product-shot picture {
        border-radius: 6px;
    }
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-contacts {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.footer-contacts a {
    color: var(--ink-mute);
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-contacts a:hover {
    color: var(--forest);
    border-bottom-color: var(--forest);
}
.footer-contacts .sep {
    color: var(--ink-mute);
    opacity: 0.5;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 300;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px -8px rgba(27, 67, 50, 0.4);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
    background: var(--forest-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(27, 67, 50, 0.5);
}
.wa-float svg {
    width: 24px;
    height: 24px;
}

/* Tooltip on hover — desktop only */
.wa-float-label {
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    background: var(--ink);
    color: var(--paper);
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.wa-float:hover .wa-float-label {
    opacity: 1;
}
.wa-float-label::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--ink);
}

@media (max-width: 640px) {
    .wa-float {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }
    .wa-float svg {
        width: 22px;
        height: 22px;
    }
    .wa-float-label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float,
    .wa-float-label {
        transition: none;
    }
}