:root {
    --ink: #1e251f;
    --muted: #667168;
    --green: #1f5b43;
    --green-dark: #164333;
    --green-soft: #dce9de;
    --cream: #f6f1e8;
    --paper: #fffdf8;
    --yellow: #f2c667;
    --coral: #df765f;
    --line: #d7ded6;
    --white: #fff;
    --shadow: 0 18px 60px rgba(28, 53, 38, .10);
    --radius: 18px;
    --font-display: Georgia, "Times New Roman", serif;
    --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--font-body); text-rendering: optimizeLegibility; }
body::selection { background: var(--yellow); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0 0 .55em; color: var(--ink); font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.2em; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, 100%); }
.article-width { width: min(760px, calc(100% - 40px)); }
.section-pad { padding: 105px 0; }
.warm-section { background: var(--cream); }
.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; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 40; background: rgba(255, 253, 248, .94); border-bottom: 1px solid rgba(215, 222, 214, .8); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.04rem; font-weight: 850; letter-spacing: -.025em; text-decoration: none; }
.brand-mark { position: relative; width: 29px; height: 29px; flex: 0 0 auto; border-radius: 8px; background: var(--green); transform: rotate(-3deg); }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; display: block; background: var(--yellow); }
.brand-mark::before { width: 5px; height: 15px; left: 7px; top: 7px; transform: skew(10deg); }
.brand-mark::after { width: 5px; height: 15px; right: 7px; top: 7px; transform: skew(-10deg); }
.brand-mark span { width: 5px; height: 5px; border-radius: 50%; left: 12px; top: 5px; background: var(--cream); }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav > a { color: #364038; font-size: .92rem; font-weight: 700; text-decoration: none; }
.primary-nav > a:hover { color: var(--green); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 9px; background: var(--cream); }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--ink); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 12px 21px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(235, 155, 61, .65); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--green); box-shadow: 0 8px 22px rgba(31, 91, 67, .2); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: var(--green); background: #fff; border-color: #aebdb2; }
.button-dark { color: #fff !important; background: var(--ink); }
.button-cream { color: var(--green-dark); background: var(--cream); }
.button-ghost-light { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.button-small { min-height: 40px; padding: 9px 15px; font-size: .86rem; }
.button-block { width: 100%; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }

.eyebrow { display: inline-block; margin-bottom: 17px; color: var(--green); font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #d9e8d9; }
.hero { position: relative; overflow: hidden; padding: 92px 0 100px; background: var(--cream); }
.hero::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -170px; border: 70px solid rgba(242,198,103,.35); border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 80px; }
.hero h1 { max-width: 790px; }
.hero-lede { max-width: 670px; color: #4f5d52; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 31px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 11px 24px; margin-top: 34px; color: #657067; font-size: .85rem; }
.trust-line span { position: relative; }
.trust-line span:not(:last-child)::after { content: ""; position: absolute; width: 3px; height: 3px; right: -14px; top: 11px; border-radius: 50%; background: var(--coral); }
.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.paper-card { position: absolute; width: min(430px, 92%); border: 1px solid #ced5cc; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.paper-back { height: 390px; transform: translate(20px, 17px) rotate(5deg); background: var(--yellow); border-color: #ddb04d; }
.result-preview { z-index: 2; padding: 29px; transform: rotate(-2deg); }
.preview-top, .preview-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preview-top { padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: .88rem; font-weight: 800; }
.status-dot { color: var(--green); font-size: .75rem; }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #52a473; }
.preview-price { padding: 32px 0 25px; }
.preview-price small { display: block; color: var(--muted); }
.preview-price strong { display: block; color: var(--green-dark); font: 700 4.5rem/1 var(--font-display); letter-spacing: -.05em; }
.preview-row { padding: 11px 0; color: var(--muted); border-top: 1px dashed var(--line); font-size: .9rem; }
.preview-row b { color: var(--ink); }
.margin-track { height: 9px; margin-top: 20px; overflow: hidden; border-radius: 10px; background: #e8ece7; }
.margin-track span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.preview-note { margin-top: 8px; color: var(--muted); font-size: .75rem; }
.scribble { position: absolute; z-index: 5; padding: 7px 13px; color: #513c18; background: var(--yellow); font: italic 1rem var(--font-display); box-shadow: 0 5px 15px #0001; transform: rotate(-7deg); }
.scribble-one { left: -8px; top: 72px; }
.scribble-two { right: -5px; bottom: 45px; transform: rotate(5deg); background: #e9a18e; }
.proof-strip { padding: 22px 0; color: #dce9de; background: var(--green-dark); text-align: center; }
.proof-strip p { margin: 0; font-size: .93rem; font-weight: 700; letter-spacing: .01em; }

.section-heading { margin-bottom: 47px; }
.section-heading h2 { max-width: 760px; }
.section-heading p { max-width: 600px; color: var(--muted); font-size: 1.08rem; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; }
.split-heading p { padding-bottom: 7px; }
.centered { max-width: 780px; margin-inline: auto; text-align: center; }
.centered h2, .centered p { margin-inline: auto; }

.calculator-shell { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .72fr); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.calculator-form { min-width: 0; }
.calc-section { min-width: 0; margin: 0; padding: 31px 36px 35px; border: 0; border-bottom: 1px solid var(--line); }
.calc-section:last-child { border-bottom: 0; }
.calc-intro { display: grid; grid-template-columns: minmax(0, 1fr) 220px 170px; gap: 20px; background: #f9faf7; }
.calc-section legend { width: 100%; display: flex; align-items: center; gap: 11px; padding: 0; font: 700 1.45rem var(--font-display); }
.step-chip { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font: 800 .78rem var(--font-body); }
.field-help { margin: 7px 0 19px 41px; color: var(--muted); font-size: .87rem; }
label { display: grid; gap: 7px; color: #313a33; font-size: .86rem; font-weight: 800; }
label > span { color: var(--muted); font-size: .75rem; font-weight: 500; }
input, textarea, select { width: 100%; border: 1px solid #b9c4bb; border-radius: 9px; padding: 11px 12px; color: var(--ink); background: #fff; }
input:hover, textarea:hover, select:hover { border-color: #89998d; }
input::placeholder, textarea::placeholder { color: #9aa49c; }
label small, .calc-section small { color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.4; }
.field-grid { display: grid; gap: 19px; margin-top: 23px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.money-input, .suffix-input { position: relative; }
.money-input > span, .suffix-input > span { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); color: #6c786e; font-weight: 700; pointer-events: none; }
.money-input > span { left: 12px; }
.money-input input { padding-left: 28px; }
.suffix-input > span { right: 12px; }
.suffix-input input { padding-right: 48px; }
.materials-head, .material-row { display: grid; grid-template-columns: minmax(0, 1fr) 105px 140px 38px; gap: 10px; align-items: center; }
.materials-head { padding: 0 4px 5px; color: var(--muted); font-size: .71rem; font-weight: 800; text-transform: uppercase; }
.material-rows { display: grid; gap: 9px; }
.icon-button { width: 36px; height: 36px; border: 0; border-radius: 50%; color: #6b746d; background: transparent; font-size: 1.5rem; cursor: pointer; }
.icon-button:hover { color: #9e3e32; background: #fff0ed; }
.add-row { margin-top: 13px; padding: 5px 0; border: 0; color: var(--green); background: transparent; font-size: .84rem; font-weight: 850; cursor: pointer; }
.add-row span { display: inline-grid; width: 20px; height: 20px; margin-right: 5px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); }
.saved-picker { margin: 20px 0; padding: 18px; border: 1px solid #d7e2d8; border-radius: 12px; background: #f5f9f5; }
.saved-picker > label { margin-bottom: 9px; }
.saved-picker > div { display: flex; align-items: center; gap: 10px; }
.saved-picker select { min-width: 0; }
.saved-picker .button { flex: 0 0 auto; }
.advanced-toggle { margin-top: 23px; padding-top: 18px; border-top: 1px dashed var(--line); }
.advanced-toggle button { padding: 0; border: 0; color: var(--green); background: transparent; font-weight: 800; cursor: pointer; }
.advanced-toggle button span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.advanced-toggle button[aria-expanded="true"] span { transform: rotate(45deg); }
.advanced-fields[hidden] { display: none; }
.price-choice { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; margin-top: 24px; padding: 20px; border: 1px solid #d7e2d8; border-radius: 14px; background: #f7faf7; }
.price-choice h3 { margin: 0 0 5px; font-size: 1.08rem; }
.price-choice p { margin: 0; color: var(--muted); font-size: .78rem; }
.price-choice-options { display: grid; gap: 9px; }
.price-choice-option { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.price-choice-option > input { width: auto; margin: 3px 0 0; accent-color: var(--green); }
.price-choice-option > span { flex: 1; color: var(--ink); font-size: .8rem; font-weight: 700; }
.price-choice-option strong, .price-choice-option small { display: block; }
.price-choice-option small { margin-top: 3px; color: var(--muted); font-size: .7rem; font-weight: 500; }
.custom-price-input { display: block; margin-top: 10px; }
.custom-price-input input:disabled { color: #8c958e; background: #f1f3f1; }
.button:disabled, input:disabled, textarea:disabled { cursor: not-allowed; opacity: .62; }

.calculator-results { position: relative; color: #fff; background: var(--green); }
.result-sticky { position: sticky; top: 0; padding: 38px 34px; }
.main-result { padding: 5px 0 28px; border-bottom: 1px solid rgba(255,255,255,.22); }
.main-result > span { display: block; color: #dbe8de; font-size: .85rem; }
.main-result strong { display: block; margin: 5px 0 4px; font: 700 clamp(3.8rem, 7vw, 5.6rem)/.95 var(--font-display); letter-spacing: -.06em; }
.main-result small { color: #bbd2c3; font-size: .74rem; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.result-grid span { display: block; color: #c7dccd; font-size: .72rem; }
.result-grid strong { display: block; margin-top: 2px; font-size: 1.05rem; }
.result-breakdown { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 23px 0 17px; }
.result-breakdown > div:nth-child(odd) { display: flex; justify-content: space-between; gap: 20px; color: #d7e6da; font-size: .72rem; }
.mini-bar { height: 5px; margin-bottom: 5px; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.14); }
.mini-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--yellow); transition: width .25s ease; }
.mini-bar.profit i { background: #9cd2aa; }
.wholesale-result { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); color: #d7e6da; font-size: .76rem; }
.wholesale-result strong { color: #fff; }
.price-health { display: grid; gap: 2px; margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #e8f1eb; background: rgba(255,255,255,.08); }
.price-health strong { font-size: .78rem; }
.price-health span { color: #c8dccf; font-size: .7rem; }
.price-health.healthy { border-color: #a5d9b5; background: rgba(116,194,139,.18); }
.price-health.warning { border-color: #f1bf92; background: rgba(219,116,75,.18); }
.price-health.caution { border-color: #f2d584; background: rgba(240,194,73,.16); }
.result-message { min-height: 48px; margin: 18px 0; color: #e4eee7; font-size: .82rem; }
.result-actions { display: grid; gap: 9px; }
.privacy-note { margin: 12px 0 0; color: #bcd1c2; font-size: .68rem; text-align: center; }
.channel-comparison-panel, .price-history-panel { margin-top: 28px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 35px #2032280b; }
.channel-comparison-panel .eyebrow, .price-history-panel .eyebrow { display: block; margin-bottom: 6px; }
.channel-comparison-panel h2, .price-history-panel h2 { font-size: 1.75rem; }
.affiliate-panel { margin-top: 34px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 35px #2032280b; }
.affiliate-panel-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 35px; align-items: end; }
.affiliate-panel h2 { margin-top: 5px; font-size: 1.8rem; }
.affiliate-panel-head p { color: var(--muted); }
.affiliate-disclosure { padding: 14px; border-radius: 10px; background: #f6f2e7; font-size: .72rem; }
.affiliate-disclosure strong { color: var(--ink); }
.affiliate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 24px; }
.affiliate-card { display: flex; min-height: 220px; flex-direction: column; padding: 19px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fbfcfa; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.affiliate-card:hover { transform: translateY(-2px); border-color: #8daa96; }
.affiliate-card > span { color: var(--coral); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.affiliate-card h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.affiliate-card p { margin: 0 0 20px; color: var(--muted); font-size: .76rem; }
.affiliate-card b { margin-top: auto; color: var(--green); font-size: .75rem; }
.negative-value { color: #a03f34 !important; }
.positive-value { color: var(--green) !important; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { min-height: 270px; padding: 28px; border: 1px solid #d8ddd5; border-radius: var(--radius); background: rgba(255,255,255,.62); }
.feature-number { color: var(--coral); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.feature-card h3 { margin-top: 50px; }
.feature-card p { color: var(--muted); font-size: .91rem; }
.pro-callout { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.12fr .88fr; gap: 80px; padding: 66px; border-radius: 26px; color: #fff; background: var(--green-dark); }
.pro-callout::after { content: ""; position: absolute; width: 330px; height: 330px; right: -170px; bottom: -210px; border: 55px solid rgba(242,198,103,.16); border-radius: 50%; }
.pro-callout h2 { color: #fff; }
.pro-callout p { max-width: 580px; color: #c8dacf; font-size: 1.08rem; }
.check-list { display: grid; align-content: center; gap: 14px; }
.check-list span { position: relative; padding-left: 30px; font-weight: 700; }
.check-list span::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--yellow); }
.faq-section { border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 25px; padding: 23px 2px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--green); font-size: 1.4rem; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; padding: 0 35px 22px 2px; color: var(--muted); }
.final-cta { padding: 95px 0; color: #fff; background: var(--green); text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta p { color: #d1e1d5; }

.page-hero { padding: 100px 0 90px; background: var(--cream); text-align: center; }
.page-hero.compact { padding: 72px 0; }
.page-hero p { margin-inline: auto; color: var(--muted); font-size: 1.15rem; }
.calculator-page { background: #f8faf6; }
.feature-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.feature-detail-grid article { display: grid; grid-template-columns: 55px 1fr; gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature-detail-grid h2 { font-size: 1.55rem; }
.feature-detail-grid p { margin: 0; color: var(--muted); }
.icon-tile { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 14px; color: var(--green-dark); background: var(--yellow); font-size: 1.35rem; font-weight: 900; }
.split-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.split-content p { color: var(--muted); font-size: 1.05rem; }

.pricing-hero { padding-bottom: 150px; }
.pricing-section { margin-top: -115px; padding-top: 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 33px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 15px 45px rgba(28, 53, 38, .07); }
.price-card.featured { border: 2px solid var(--green); transform: translateY(-16px); }
.popular-chip { position: absolute; top: -15px; left: 50%; padding: 6px 15px; border-radius: 30px; color: var(--ink); background: var(--yellow); font-size: .73rem; font-weight: 900; transform: translateX(-50%); white-space: nowrap; }
.plan-name { color: var(--green); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.plan-price { display: flex; align-items: flex-end; gap: 9px; margin: 12px 0; }
.plan-price strong { font: 700 3.5rem/.9 var(--font-display); }
.plan-price span { color: var(--muted); font-size: .82rem; }
.price-card p { color: var(--muted); font-size: .9rem; }
.price-card ul { flex: 1; display: grid; align-content: start; gap: 12px; margin: 25px 0 32px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.price-card li { position: relative; padding-left: 25px; font-size: .88rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.pricing-note { max-width: 760px; margin: 26px auto 0; color: var(--muted); font-size: .77rem; text-align: center; }

.story-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: 90px; }
.story-card { position: sticky; top: 30px; padding: 38px; border-radius: 20px; background: var(--yellow); transform: rotate(-2deg); }
.story-card p { margin: 0; font: 700 1.55rem/1.45 var(--font-display); }
.big-quote { display: block; height: 50px; color: var(--green); font: 700 5rem/1 var(--font-display); }
.prose h2 { margin-top: 50px; font-size: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #4e5951; font-size: 1.05rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }
.values-grid article > span { color: var(--coral); font-weight: 900; }
.values-grid h2 { margin-top: 25px; font-size: 1.8rem; }
.values-grid p { color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 21px; }
.guide-card { display: flex; min-height: 300px; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .18s, box-shadow .18s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-category { color: var(--coral); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.guide-card h2 { margin-top: 34px; font-size: 1.8rem; }
.guide-card h2 a { color: var(--ink); text-decoration: none; }
.guide-card p { flex: 1; color: var(--muted); }
.guide-card > div { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.guide-card > div a { font-weight: 800; text-decoration: none; }
.article-header { padding: 85px 0 60px; background: var(--cream); }
.back-link { display: inline-block; margin-bottom: 45px; font-size: .85rem; font-weight: 800; text-decoration: none; }
.article-header .guide-category { display: block; margin-bottom: 18px; }
.article-header h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
.article-header > div > p { color: var(--muted); font-size: 1.18rem; }
.article-meta { display: flex; gap: 22px; margin-top: 28px; color: var(--muted); font-size: .79rem; }
.article-body { padding-top: 70px; padding-bottom: 100px; }
.article-body h2, .legal-body h2 { margin: 2.1em 0 .65em; font-size: 2rem; }
.article-body p, .legal-body p { color: #465148; font-size: 1.08rem; line-height: 1.8; }
.article-tool-cta { margin-top: 65px; padding: 35px; border-left: 6px solid var(--yellow); border-radius: 0 14px 14px 0; background: var(--cream); }
.article-tool-cta h2 { margin-top: 0; }
.legal-page header { padding: 75px 0 45px; background: var(--cream); }
.legal-page header h1 { font-size: clamp(2.7rem, 5vw, 4.4rem); }
.legal-page header p { color: var(--muted); }
.legal-body { padding-top: 60px; padding-bottom: 100px; }

.auth-page .site-header, .auth-page .site-footer { display: none; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: .86fr 1.14fr; }
.auth-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 55px max(45px, 7vw); color: #fff; background: var(--green-dark); }
.brand-light { color: #fff; }
.auth-copy h1 { max-width: 570px; color: #fff; font-size: clamp(2.8rem, 5vw, 4.6rem); }
.auth-copy p { max-width: 520px; color: #c9dbcf; font-size: 1.05rem; }
.auth-note { margin: 0 !important; color: #91af9a !important; font-size: .78rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.auth-form-wrap { display: grid; place-items: center; padding: 45px 22px; background: var(--cream); }
.auth-form-card { width: min(440px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.auth-form-card h2 { font-size: 2.3rem; }
.auth-form-card > p { color: var(--muted); font-size: .9rem; }
.stack-form { display: grid; gap: 17px; margin-top: 24px; }
.check-label { grid-template-columns: 20px 1fr; align-items: start; font-weight: 500; }
.check-label input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }
.check-label span { font-size: .78rem; }
.forgot-link { display: inline-block; margin-top: 18px; font-size: .82rem; font-weight: 800; }
.form-errors { margin: 18px 0; padding: 13px 16px; border: 1px solid #e6aaa0; border-radius: 10px; color: #7b3026; background: #fff1ee; font-size: .82rem; }
.form-errors ul { margin: 7px 0 0; padding-left: 19px; }

.dashboard-layout { min-height: 720px; display: grid; grid-template-columns: 245px minmax(0, 1fr); }
.dashboard-sidebar { display: flex; flex-direction: column; justify-content: space-between; padding: 40px 24px; border-right: 1px solid var(--line); background: #f3f5f0; }
.sidebar-label { display: block; padding: 0 13px 12px; color: #89938b; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.dashboard-sidebar nav { display: grid; gap: 4px; }
.dashboard-sidebar nav a, .sidebar-logout { padding: 10px 13px; border-radius: 8px; color: #505b52; font-size: .85rem; font-weight: 750; text-decoration: none; }
.dashboard-sidebar nav a.active { color: #fff; background: var(--green); }
.sidebar-logout:hover, .dashboard-sidebar nav a:not(.active):hover { color: var(--green); background: #e5ebe4; }
.dashboard-main { min-width: 0; padding: 55px clamp(25px, 5vw, 75px) 85px; background: #fbfcfa; }
.dashboard-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 40px; }
.dashboard-welcome h1 { font-size: clamp(2.4rem, 4vw, 4rem); }
.dashboard-welcome p { margin: 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 25px; }
.stat-grid.four { grid-template-columns: repeat(4, 1fr); }
.stat-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.stat-grid article.stat-alert { border-color: #e9b2a8; background: #fff8f6; }
.stat-grid span, .stat-grid small { display: block; color: var(--muted); font-size: .72rem; }
.stat-grid strong { display: block; margin: 7px 0; font: 700 2.1rem var(--font-display); }
.upgrade-banner { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin: 25px 0; padding: 31px 35px; border-radius: 17px; color: #fff; background: var(--green-dark); }
.upgrade-banner span { color: var(--yellow); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.upgrade-banner h2 { margin: 5px 0; color: #fff; font-size: 1.6rem; }
.upgrade-banner p { margin: 0; color: #c8d8cd; font-size: .85rem; }
.dashboard-section { margin-top: 26px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.dashboard-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.dashboard-section-head h2 { margin: 0; font-size: 1.55rem; }
.dashboard-section-head p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.dashboard-section-head > a { font-size: .8rem; font-weight: 800; }
.dashboard-insights { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 20px; }
.dashboard-insights .dashboard-section { min-width: 0; }
.health-clear { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 12px; background: #eef8f0; }
.health-clear > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--green); }
.health-clear strong, .health-clear p { display: block; margin: 0; }
.health-clear p { color: var(--muted); font-size: .78rem; }
.health-list { display: grid; }
.health-list > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.health-list > a:first-child { border-top: 0; }
.health-list div > * { display: block; }
.health-list span, .health-list small { color: var(--muted); font-size: .7rem; }
.health-list b { color: #9a4136; text-align: right; }
.profit-chart { display: grid; gap: 13px; }
.profit-row { display: grid; grid-template-columns: minmax(75px, 1fr) minmax(90px, 1.4fr) 70px; align-items: center; gap: 10px; font-size: .72rem; }
.profit-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profit-row > div { height: 8px; overflow: hidden; border-radius: 8px; background: #edf0ec; }
.profit-row i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.profit-row i.negative { background: var(--coral); }
.profit-row strong { text-align: right; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; }
th { padding: 10px 13px; color: var(--muted); font-size: .68rem; text-align: left; text-transform: uppercase; }
td { padding: 15px 13px; border-top: 1px solid #e5e9e4; }
td strong, td small { display: block; }
td small { color: var(--muted); }
.row-actions { text-align: right; white-space: nowrap; }
.row-actions a, .row-actions button { margin-left: 12px; border: 0; color: var(--green); background: transparent; font-size: .75rem; font-weight: 800; cursor: pointer; }
.row-actions button[data-delete-product] { color: #9a4136; }
.status-chip { display: inline-block; padding: 5px 8px; border-radius: 999px; font-size: .67rem; font-weight: 850; white-space: nowrap; }
.status-chip.healthy { color: #236642; background: #e5f3e8; }
.status-chip.warning { color: #8e382e; background: #ffe8e3; }
.empty-state { padding: 48px 25px; border: 1px dashed #bdc8be; border-radius: 13px; text-align: center; }
.empty-state.compact { padding: 25px; }
.empty-state h3 { margin: 12px 0 5px; }
.empty-state p { color: var(--muted); }
.empty-icon { display: grid; width: 42px; height: 42px; margin: auto; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 1.4rem; }
.dashboard-two-col { display: grid; grid-template-columns: minmax(330px, .75fr) minmax(380px, 1.25fr); align-items: start; gap: 25px; }
.panel-form, .library-list, .settings-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.panel-form { display: grid; gap: 18px; }
.panel-form h2, .library-list h2, .settings-card h2 { font-size: 1.55rem; }
.panel-form .field-grid { margin-top: 0; }
.sticky-panel { position: sticky; top: 20px; }
.form-footnote { color: var(--muted); font-size: .7rem; }
.library-list article { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.library-list article div strong, .library-list article div span { display: block; }
.library-list article div span { color: var(--muted); font-size: .75rem; }
.library-list article button { border: 0; color: #9a4136; background: transparent; font-size: .74rem; font-weight: 800; cursor: pointer; }
.editor-list > h2 { margin-bottom: 12px; }
.library-list article.library-editor { display: block; padding: 18px 0; }
.library-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.history-count { padding: 5px 8px; border-radius: 999px; background: #edf3ed; white-space: nowrap; }
.library-editor details { margin-top: 12px; }
.library-editor summary { color: var(--green); font-size: .76rem; font-weight: 800; cursor: pointer; }
.compact-form { margin-top: 14px; padding: 18px; background: #fafbf9; box-shadow: none; }
.compact-form label { font-size: .76rem; }
.delete-form { margin-top: 10px; text-align: right; }
.history-list { margin-top: 18px; }
.history-list h3 { font-size: 1.05rem; }
.history-list > div { display: grid; grid-template-columns: 80px 1fr; gap: 3px 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.history-list > div span { grid-row: 1 / span 2; }
.history-list > div small { color: var(--muted); font-size: .68rem; }
.locked-panel { max-width: 680px; padding: 45px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.locked-panel > span, .plan-pill { display: inline-block; padding: 5px 10px; border-radius: 20px; color: var(--green-dark); background: var(--yellow); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.locked-panel h2 { margin-top: 18px; }
.locked-panel p { color: var(--muted); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.billing-card { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.billing-card p { margin: 0; color: var(--muted); }
.calculator-defaults-card { grid-column: 1 / -1; }
.settings-card-heading { margin-bottom: 22px; }
.settings-card-heading h2 { margin-top: 4px; }
.settings-card-heading p { margin: 5px 0 0; color: var(--muted); }
.defaults-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.defaults-form-action { display: flex; align-items: end; }
.limit-reached { padding: 12px; border: 1px solid #e6b194; border-radius: 9px; color: #7a3c2e; background: #fff2ec; font-size: .75rem; }
.affiliate-admin-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 35px; }
.affiliate-admin-intro p { color: var(--muted); }
.affiliate-rule-note { padding: 17px; border-radius: 12px; background: #f6f2e7; }
.affiliate-rule-note p { margin: 5px 0 0; font-size: .76rem; }
.affiliate-admin-form { display: grid; gap: 22px; margin-top: 22px; }
.affiliate-tag-card small { color: var(--muted); }
.affiliate-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.affiliate-editor-card { display: grid; gap: 15px; }
.affiliate-admin-actions { display: flex; gap: 12px; }
.message-list article { display: grid; grid-template-columns: 220px 1fr; gap: 25px; padding: 20px 0; border-top: 1px solid var(--line); }
.message-list article div > * { display: block; }
.message-list time { margin-top: 7px; color: var(--muted); font-size: .7rem; }
.message-list p { margin: 0; color: #4e5951; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 75px; }
.contact-aside p { color: var(--muted); }
.contact-email { margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--line); }
.contact-email span, .contact-email a { display: block; }
.contact-email span { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.contact-email a { margin-top: 4px; font-weight: 800; }
.contact-form { display: grid; gap: 20px; padding: 35px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.honey { position: absolute !important; left: -10000px !important; }
.success-page, .error-page { min-height: 65vh; display: grid; place-items: center; padding: 90px 0; text-align: center; background: var(--cream); }
.success-page .success-check { display: grid; width: 64px; height: 64px; margin: 0 auto 23px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 1.8rem; }
.success-page h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
.success-page p, .error-page p { color: var(--muted); font-size: 1.05rem; }
.success-page .text-link { margin-left: 20px; }
.error-page span { display: block; color: var(--coral); font: 700 5rem var(--font-display); }

.flash-stack { position: fixed; z-index: 100; top: 92px; right: 20px; width: min(390px, calc(100% - 40px)); }
.flash { margin-bottom: 9px; padding: 13px 16px; border: 1px solid #b8c7bc; border-radius: 9px; background: #fff; box-shadow: 0 8px 25px #0002; font-size: .84rem; }
.flash-success { border-left: 5px solid #4c9869; }
.flash-error { border-left: 5px solid var(--coral); }
.flash-info { border-left: 5px solid #d2a83f; }
.toast { position: fixed; z-index: 200; right: 22px; bottom: 22px; padding: 13px 18px; border-radius: 10px; color: #fff; background: var(--ink); box-shadow: 0 8px 30px #0003; font-size: .85rem; }

.site-footer { padding: 70px 0 25px; color: #bbc9bf; background: #17241d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; }
.brand-footer { color: #fff; }
.footer-grid > div:first-child p { max-width: 300px; margin-top: 17px; color: #8fa095; }
.footer-grid h2 { margin: 0 0 15px; color: #e9f0eb; font: 800 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; margin: 9px 0; color: #aab9af; font-size: .82rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 45px; padding-top: 22px; border-top: 1px solid #334039; color: #829187; font-size: .72rem; }

@media (max-width: 1050px) {
    .primary-nav { gap: 17px; }
    .hero-grid { gap: 35px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-layout { grid-template-columns: 205px minmax(0, 1fr); }
    .dashboard-main { padding-inline: 30px; }
    .stat-grid.four { grid-template-columns: 1fr 1fr; }
    .calc-intro { grid-template-columns: minmax(0, 1fr) 190px; }
    .calc-intro > label:first-child { grid-column: 1 / -1; }
    .affiliate-grid { grid-template-columns: 1fr 1fr; }
    .defaults-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .primary-nav { position: absolute; top: 69px; left: 20px; right: 20px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
    .primary-nav.open { display: flex; }
    .primary-nav > a { padding: 11px 12px; }
    .primary-nav .button { margin-top: 5px; }
    .hero { padding-top: 70px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-lede { margin-inline: auto; }
    .hero-actions, .trust-line { justify-content: center; }
    .hero-visual { min-height: 430px; }
    .split-heading { grid-template-columns: 1fr; gap: 10px; }
    .calculator-shell { grid-template-columns: 1fr; }
    .calculator-results { min-height: auto; }
    .price-choice, .affiliate-panel-head, .affiliate-admin-intro { grid-template-columns: 1fr; }
    .result-sticky { position: static; }
    .pro-callout, .split-content { grid-template-columns: 1fr; gap: 35px; }
    .pro-callout { padding: 45px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 600px; }
    .price-card.featured { order: -1; transform: none; }
    .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .story-card { position: static; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-copy { min-height: 490px; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { display: block; padding: 12px 20px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
    .dashboard-sidebar > div { display: flex; align-items: center; }
    .sidebar-label { display: none; }
    .dashboard-sidebar nav { display: flex; gap: 4px; white-space: nowrap; }
    .sidebar-logout { display: none; }
    .dashboard-two-col { grid-template-columns: 1fr; }
    .sticky-panel { position: static; }
    .dashboard-insights { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2; }
    .affiliate-editor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
    .container { width: min(100% - 28px, 1180px); }
    .section-pad { padding: 75px 0; }
    h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
    h2 { font-size: clamp(2rem, 9vw, 3rem); }
    .hero { padding: 65px 0; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .trust-line { display: grid; grid-template-columns: 1fr 1fr; }
    .trust-line span::after { display: none !important; }
    .hero-visual { min-height: 365px; }
    .result-preview { padding: 22px; }
    .preview-price strong { font-size: 3.6rem; }
    .scribble { font-size: .85rem; }
    .feature-grid, .feature-detail-grid, .values-grid, .guide-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 220px; }
    .feature-card h3 { margin-top: 35px; }
    .calc-section { padding: 26px 20px; }
    .calc-intro, .field-grid.two, .field-grid.three { grid-template-columns: 1fr; }
    .materials-head { display: none; }
    .material-row { grid-template-columns: minmax(0, 1fr) 80px 105px 34px; }
    .saved-picker > div { align-items: stretch; flex-direction: column; }
    .price-choice { padding: 16px; }
    .result-sticky { padding: 32px 22px; }
    .pro-callout { padding: 37px 25px; }
    .page-hero { padding: 72px 0; }
    .price-card { padding: 27px; }
    .story-card { padding: 30px; }
    .auth-copy { min-height: 420px; padding: 35px 25px; }
    .auth-form-card { padding: 28px 22px; }
    .dashboard-main { padding: 40px 16px 70px; }
    .dashboard-welcome { align-items: stretch; flex-direction: column; }
    .stat-grid, .stat-grid.four, .settings-grid, .defaults-form, .affiliate-grid { grid-template-columns: 1fr; }
    .upgrade-banner, .billing-card { align-items: stretch; flex-direction: column; }
    .billing-card { grid-column: auto; }
    .dashboard-section { padding: 20px 14px; }
    .channel-comparison-panel, .price-history-panel { padding: 21px 14px; }
    .panel-form, .library-list, .settings-card { padding: 22px 18px; }
    .message-list article { grid-template-columns: 1fr; gap: 12px; }
    .contact-form { padding: 25px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .success-page .text-link { margin: 20px 0 0; }
}

@media print {
    .site-header, .site-footer, .calculator-form, .result-actions, .privacy-note, .page-hero, .flash-stack, .affiliate-panel { display: none !important; }
    body { background: #fff; }
    .calculator-page, .calculator-section, .section-pad { padding: 0; background: #fff; }
    .calculator-shell { display: block; border: 0; box-shadow: none; }
    .calculator-results { color: #111; background: #fff; }
    .result-sticky { padding: 20px; }
    .result-sticky .eyebrow, .main-result > span, .main-result small, .result-grid span, .result-breakdown > div:nth-child(odd), .wholesale-result, .result-message { color: #333; }
    .main-result, .result-grid, .wholesale-result { border-color: #bbb; }
    .mini-bar { background: #eee; }
    .mini-bar i { background: #555; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
