:root {
    color-scheme: light;
    --ink: #23261b;
    --forest: #262f21;
    --muted: #565c4d;
    --cream: #f8f5eb;
    --sand: #ece6d6;
    --orange: #a6401d;
    --orange-dark: #813015;
    --gold: #eab080;
    --white: #fffdf7;
    font-family: system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; line-height: 1.01; letter-spacing: -.05em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 5vw, 5.4rem); }
h2 { font-size: clamp(2.35rem, 4vw, 4.1rem); }
h3 { line-height: 1.2; }
p, li { line-height: 1.6; }
button, input, select { font: inherit; }
a { color: inherit; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #cf5e30; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 3.5rem), 1170px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid #dcd4bf; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; gap: .35rem; align-items: center; font-weight: 850; font-size: 1.12rem; text-decoration: none; white-space: nowrap; letter-spacing: .03em; }
.brand img { object-fit: contain; margin-right: .25rem; }
.brand span { color: var(--orange); }
.site-header nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.site-header nav a, .site-footer > a:not(.brand) { text-decoration: none; font-weight: 650; font-size: .88rem; }
.site-header nav a:hover, .site-footer > a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .86rem 1.18rem; min-height: 48px; background: var(--orange); color: white; border-radius: 8px; text-decoration: none; font-weight: 750; font-size: .95rem; }
.button:hover { background: var(--orange-dark); }
.button-small { padding: .62rem .82rem; min-height: 42px; font-size: .84rem; }
.text-link { text-underline-offset: .27em; font-weight: 740; }
.label { color: var(--orange); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; margin-bottom: .85rem; }
.hero { padding-block: clamp(2.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.intro { max-width: 33ch; color: var(--muted); margin-top: 1.5rem; font-size: clamp(1rem, 1.7vw, 1.22rem); }
.actions { display: flex; gap: .9rem 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 1.65rem; }
.hero-image, .partner-content figure { overflow: hidden; border-radius: 18px; background: var(--sand); }
.hero-image img { aspect-ratio: 1.17; width: 100%; height: auto; object-fit: cover; object-position: 58% center; }
.steps { padding: 2rem 0 clamp(3.75rem, 8vw, 6.3rem); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.9rem; }
.step-grid article { border-top: 1px solid #cfc5ad; padding: 1.3rem clamp(.6rem, 2vw, 1.35rem) 0 0; }
.step-number { color: var(--orange); font-family: Georgia, serif; font-size: 1.9rem; }
.step-grid h3 { margin: .5rem 0 .55rem; font-size: 1.19rem; }
.step-grid p, .partner-content p { color: var(--muted); }
.simulation { padding-block: clamp(3rem, 7vw, 5rem); background: var(--forest); color: var(--white); }
.simulation .label, .sim-result .result-label { color: var(--gold); }
.simulation-intro { max-width: 61ch; color: #e7e5d7; margin-top: 1rem; }
.sim-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem; margin-top: 1.8rem; }
.sim-inputs, .sim-result { padding: clamp(1.1rem, 3vw, 2rem); border-radius: 14px; min-width: 0; }
.sim-inputs { background: var(--white); color: var(--ink); }
.sim-result { background: #303b29; border: 1px solid #53614a; }
.sim-inputs fieldset { border: 0; padding: 0; margin: 0 0 1.35rem; min-width: 0; }
.sim-inputs legend, .input-label { font-weight: 720; font-size: .92rem; }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .3rem; background: #eee9dc; border-radius: 10px; margin-top: .52rem; }
.switch label { position: relative; min-width: 0; }
.switch input { position: absolute; opacity: 0; }
.switch span { display: block; padding: .62rem .23rem; border-radius: 7px; text-align: center; font-weight: 680; font-size: .86rem; cursor: pointer; }
.switch input:checked + span { background: var(--forest); color: white; }
.switch input:focus-visible + span { outline: 3px solid #cf5e30; }
.sim-inputs select { width: 100%; margin: .52rem 0 1.35rem; border: 1px solid #c8c1ae; background: white; padding: .68rem; border-radius: 7px; }
.range-label, .range-bounds { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.range-label output { font-weight: 800; color: var(--orange); }
.range-bounds { font-size: .78rem; color: var(--muted); }
.sim-inputs input[type="range"] { display: block; width: 100%; margin: .53rem 0 .25rem; accent-color: var(--orange); min-height: 28px; }
.result-label { font-size: .78rem; font-weight: 780; text-transform: uppercase; letter-spacing: .09em; }
.result-number { font-family: Georgia, serif; font-size: clamp(2.15rem, 5vw, 4.25rem); letter-spacing: -.055em; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#result-detail { font-size: .87rem; color: #e7e5d7; }
#tier-chart, .rep-summary { margin-top: 1.1rem; border-top: 1px solid #617156; padding-top: .9rem; }
#tier-chart h3, .rep-summary h3 { font-size: .88rem; }
.bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; padding-top: .65rem; }
.chart-column { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: end; gap: .2rem; font-size: .72rem; }
.chart-column strong { color: #e8ebde; }
.chart-column.is-current strong { color: #ffd0a5; }
.bar { width: min(100%, 38px); background: #849479; border-radius: 4px 4px 0 0; }
.chart-column.is-current .bar { background: #ffc189; }
.bar-15 { height: 25px; }.bar-20 { height: 34px; }.bar-25 { height: 43px; }.bar-30 { height: 52px; }
.rep-summary strong { display: block; font-size: 1.5rem; margin-top: .5rem; color: var(--gold); }
.rep-chart { display: grid; gap: .4rem; margin: .7rem 0; }
.rep-chart > div { display: grid; grid-template-columns: 7.4em 1fr 3em; gap: .55rem; align-items: center; font-size: .78rem; }
.rep-chart b { text-align: right; }
.rep-track { display: block; background: #46533e; border-radius: 5px; height: .55rem; }
.rep-bar { display: block; height: 100%; border-radius: inherit; background: #ffc189; }
.rep-bar.full { width: 100%; }
.rep-bar.recurring { width: 15%; }
.rep-summary p, .sim-note { font-size: .85rem; color: #e3e5da; }
.sim-note { margin-top: 1.15rem; max-width: 86ch; }
.partner-content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.4rem, 8vw, 6rem); }
.partner-content .label { color: var(--orange); }
.partner-content figure img { width: 100%; aspect-ratio: 1.12; height: auto; object-fit: cover; }
.partner-content h2 + p { margin-top: 1rem; }
.feature-list { list-style: none; margin: 1.05rem 0 0; padding: 0; }
.feature-list li { padding: .63rem 0; border-top: 1px solid #d6cdb7; }
.feature-list span { display: block; color: var(--muted); font-size: .92rem; }
.join { background: var(--sand); padding-block: clamp(2.8rem, 6vw, 4.2rem); }
.join-content { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; align-items: end; }
.join-content p:not(.label) { margin-top: .85rem; color: var(--muted); }
.join-content .actions { justify-content: end; }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.15rem; min-height: 78px; }
.site-footer .brand { margin-right: auto; }
@media (max-width: 900px) {
    .header-inner { min-height: 66px; }
    .site-header nav { display: none; }
}
@media (max-width: 680px) {
    .wrap { width: calc(100% - 2.1rem); }
    .hero-grid, .sim-grid, .partner-content, .join-content { grid-template-columns: 1fr; }
    .hero-image img, .partner-content figure img { aspect-ratio: 1.4; }
    .steps { padding-top: .8rem; }
    .step-grid { grid-template-columns: 1fr; gap: 1.05rem; }
    .step-grid article { padding-top: .85rem; }
    .join-content .actions { justify-content: start; margin-top: .15rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.whatsapp-float {
    position: fixed;
    right: calc(1rem + env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 30;
    border-radius: 999px;
    background: #146843;
    box-shadow: 0 4px 16px #0003;
}
.whatsapp-float:hover { background: #0d5033; }
body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
