:root{--navy:#07152f;--blue:#1677ff;--blue-dark:#0b5fe8;--soft:#f4f8fd;--soft-blue:#eef6ff;--line:#dce6f2;--muted:#667085;--white:#fff;--shadow:0 18px 50px rgba(35,84,135,.12);--radius:16px;--radius-lg:22px;--container:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--navy);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}.container{width:min(calc(100% - 40px),var(--container));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto!important;width:auto;height:auto;margin:8px;padding:12px 16px;z-index:99999;background:#fff;color:#000}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(16px);border-bottom:1px solid rgba(220,230,242,.85)}.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:32px}.site-branding,.custom-logo-link,.brand{display:flex;align-items:center}.brand img,.custom-logo{display:block;width:auto;max-height:48px}.primary-nav .menu{display:flex;align-items:center;gap:30px;list-style:none;padding:0;margin:0}.primary-nav a{color:var(--navy);font-size:14px;font-weight:650}.nav-toggle{display:none;background:transparent;border:0;padding:8px}.nav-toggle span{display:block;width:24px;height:2px;background:var(--navy);margin:5px 0;border-radius:999px}.hero-section{position:relative;overflow:hidden;padding:54px 0 50px;background:linear-gradient(180deg,#f7fbff 0%,#fff 82%)}.hero-glow{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.hero-glow--one{width:460px;height:460px;background:radial-gradient(circle,rgba(79,159,255,.14),rgba(79,159,255,0) 70%);top:-180px;left:-110px}.hero-glow--two{width:520px;height:520px;background:radial-gradient(circle,rgba(108,188,255,.12),rgba(108,188,255,0) 70%);right:-180px;top:-100px}.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:54px;align-items:center}.hero-copy{text-align:center;min-width:0}.eyebrow{display:inline-block;margin-bottom:6px;color:#6c9be7;font-size:12px;font-weight:800;letter-spacing:.1em}.hero-copy h1{font-size:clamp(38px,5vw,54px);line-height:1.05;letter-spacing:-.04em;margin:0 0 12px}.hero-copy>p{font-size:17px;margin:0 auto 26px;max-width:760px;color:#2c4365}.calculator{max-width:760px;margin-inline:auto;background:#fff;border:1px solid #e1eaf4;border-radius:14px;box-shadow:var(--shadow);text-align:left;overflow:hidden}.calculator-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:8px;background:#f8fafc;border-bottom:1px solid #e6edf5}.calc-tab{border:1px solid #e1e8f1;background:#fff;border-radius:9px;padding:12px 9px;color:#31425c;cursor:pointer;font-weight:650;font-size:14px}.calc-tab.is-active{background:linear-gradient(135deg,#1a83ff,#1468ef);border-color:transparent;color:#fff;box-shadow:0 6px 16px rgba(22,119,255,.24)}.calculator-body{padding:24px}.calc-question{font-size:18px;font-weight:800;margin-bottom:14px}.calc-fields{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1.2fr);align-items:center;gap:12px}.field-group{position:relative;display:flex;align-items:center;border:1px solid #cbd9e9;border-radius:9px;overflow:hidden;background:#fff;transition:.2s}.field-group:focus-within{border-color:#71adff;box-shadow:0 0 0 3px rgba(22,119,255,.11)}.field-group input{min-width:0;width:100%;border:0;outline:0;padding:14px 18px;font-size:22px;font-weight:700;color:var(--navy);background:transparent}.field-suffix{padding:0 17px;font-size:18px;font-weight:800;color:#24426a;background:#eef3f9;align-self:stretch;display:flex;align-items:center}.field-connector{text-align:center;font-weight:800}.result-card,.calculation-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:14px 18px;border-radius:10px;background:linear-gradient(90deg,#edf6ff,#f3f8fd)}.result-label,.calculation-label{display:block;font-size:13px;color:#2864b9;font-weight:700}.result-value{display:block;color:#146ff5;font-size:50px;line-height:1.05;letter-spacing:-.04em}.calculation-card{margin-top:6px;background:#f2f5f8}.calculation-card strong{font-size:16px}.copy-button{flex:0 0 auto;width:38px;height:38px;border-radius:9px;border:1px solid #cce0f8;background:#fff;color:#1471ef;cursor:pointer;font-size:20px}.copy-button:hover{background:#f8fbff}.hero-benefits{display:flex;flex-direction:column;gap:28px}.benefit{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start}.benefit>span{font-size:26px;color:var(--blue);line-height:1}.benefit strong,.benefit small{display:block}.benefit strong{font-size:14px;line-height:1.3}.benefit small{font-size:12px;color:#4d5e78;margin-top:2px}.section{padding:28px 0}.section h2{font-size:28px;line-height:1.15;letter-spacing:-.025em;margin:0 0 4px}.section-intro{margin:0 0 18px;color:#62728b}.formula-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.formula-card{border:1px solid #dbe8f6;border-radius:12px;padding:18px;min-height:195px}.formula-card--blue{background:#eef6ff}.formula-card--green{background:#effaf5}.formula-card--orange{background:#fff8e9}.formula-card--red{background:#fff1f4}.formula-icon{display:inline-flex;width:31px;height:31px;align-items:center;justify-content:center;border-radius:9px;background:rgba(255,255,255,.72);font-weight:900;color:var(--blue)}.formula-card h3{font-size:15px;line-height:1.25;margin:12px 0}.formula-card strong{display:block;font-size:14px;color:#0b57b7;margin:12px 0}.formula-card small{font-size:12px;line-height:1.55;color:#304862}.example-list{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.example-list button{border:0;background:#eef6ff;color:#184b91;border-radius:8px;padding:11px 8px;font-weight:750;cursor:pointer}.example-list button:hover{background:#dfeeff}.tools-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.tool-card{display:grid;grid-template-columns:44px 1fr 20px;gap:12px;align-items:center;border:1px solid #dde7f2;border-radius:11px;padding:17px;background:#fff;color:var(--navy);min-height:125px;transition:.2s}.tool-card:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 12px 30px rgba(32,72,114,.09);border-color:#c9daf0}.tool-card__icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#eaf4ff;color:#1471ef;font-size:22px;font-weight:900}.tool-card__body strong,.tool-card__body small{display:block}.tool-card__body strong{font-size:14px;line-height:1.25}.tool-card__body small{margin-top:10px;color:#4c607c;font-size:12px;line-height:1.45}.tool-card__arrow{color:var(--blue);font-size:20px}.faq-section{padding-bottom:48px}.faq-panel{padding:24px;background:linear-gradient(135deg,#f5f9fd,#f8fafc);border:1px solid #e8eef5;border-radius:13px}.faq-heading h2{margin:0}.faq-heading p{margin:3px 0 16px;color:#667085;font-size:14px}.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 24px}.faq-grid details{background:#fff;border:1px solid #e7edf4;border-radius:8px;padding:0 14px}.faq-grid summary{cursor:pointer;font-weight:650;padding:13px 4px;list-style:none}.faq-grid summary::-webkit-details-marker{display:none}.faq-grid summary:after{content:'⌄';float:right;color:#31517d}.faq-grid details[open] summary:after{content:'⌃'}.faq-grid p{margin:0 4px 14px;color:#53647d;font-size:14px}.site-footer{border-top:1px solid #e6edf5;padding:38px 0 20px;background:#fff}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr;gap:44px}.footer-brand .brand img,.footer-brand .custom-logo{max-height:42px}.footer-brand p{color:#52637b;font-size:13px}.site-footer h2{font-size:13px;margin:0 0 10px}.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin:5px 0}.site-footer a{color:#4b5f7c;font-size:13px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:28px;margin-top:24px;border-top:1px solid #edf1f5;color:#718096;font-size:12px}.breadcrumbs{font-size:13px;color:#6d7d93;margin-bottom:18px}.content-main{padding:42px 0 64px;background:#f8fbff;min-height:65vh}.content-container{max-width:860px}.content-card,.error-card,.post-card{background:#fff;border:1px solid #e4ebf4;border-radius:14px;padding:30px;box-shadow:0 8px 30px rgba(40,75,110,.06)}.entry-header h1,.archive-header h1{font-size:clamp(32px,5vw,46px);line-height:1.1;letter-spacing:-.035em}.entry-content h2{margin-top:1.7em}.entry-content p,.entry-content li{color:#34455f}.entry-content a{text-decoration:underline}.post-list{display:grid;gap:18px}.post-card h2{margin-top:0}.entry-meta{color:#718096;font-size:13px}.error-card{text-align:center}.error-code{font-size:72px;font-weight:900;color:#d8e8fb}.button{display:inline-block;background:var(--blue);color:#fff;padding:11px 18px;border-radius:9px;font-weight:750}.button:hover{background:var(--blue-dark);text-decoration:none}
@media (max-width:980px){.hero-layout{grid-template-columns:1fr}.hero-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.benefit{grid-template-columns:30px 1fr}.formula-grid,.tools-grid{grid-template-columns:repeat(2,1fr)}.example-list{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:2fr 1fr 1fr}.footer-widgets{grid-column:1/-1}}
@media (max-width:760px){.container{width:min(calc(100% - 28px),var(--container))}.header-inner{height:66px}.brand img,.custom-logo{max-height:40px}.nav-toggle{display:block}.primary-nav{display:none;position:absolute;top:66px;left:0;right:0;background:#fff;border-bottom:1px solid #e4ecf4;padding:16px 20px;box-shadow:0 16px 28px rgba(29,57,88,.08)}.primary-nav.is-open{display:block}.primary-nav .menu{display:flex;flex-direction:column;align-items:flex-start;gap:14px}.hero-section{padding-top:34px}.hero-copy h1{font-size:38px}.hero-copy>p{font-size:15px}.calculator-tabs{grid-template-columns:repeat(2,1fr)}.calculator-body{padding:18px}.calc-fields{grid-template-columns:1fr}.field-connector{text-align:left;padding-left:2px}.result-value{font-size:44px}.hero-benefits{grid-template-columns:repeat(2,1fr)}.formula-grid,.tools-grid,.faq-grid{grid-template-columns:1fr}.formula-card{min-height:0}.example-list{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:4px}.section{padding:22px 0}.section h2{font-size:25px}}
@media (max-width:460px){.hero-benefits{grid-template-columns:1fr 1fr}.benefit small{display:none}.footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.calc-tab{font-size:12px;padding:10px 6px}.field-group input{font-size:20px}.content-card,.error-card,.post-card{padding:22px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* v1.0.3 — visual polish to match the approved homepage concept */
@media (min-width:761px){
  .header-inner{height:84px}
  .site-branding .brand img,.site-branding .custom-logo{max-height:58px;max-width:220px}
  .primary-nav .menu{gap:26px}
  .primary-nav a{font-size:13.5px;font-weight:700}
}
.primary-nav .menu-item{position:relative}
.primary-nav .menu-caret{font-size:12px;margin-left:3px;color:#70839e}
.primary-nav .sub-menu{position:absolute;top:calc(100% + 14px);left:-16px;min-width:220px;margin:0;padding:9px;list-style:none;background:#fff;border:1px solid #e2ebf5;border-radius:12px;box-shadow:0 18px 40px rgba(25,60,100,.13);opacity:0;visibility:hidden;transform:translateY(-5px);transition:.18s;z-index:20}
.primary-nav .sub-menu:before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
.primary-nav .sub-menu a{display:block;padding:10px 11px;border-radius:8px;font-size:13px;white-space:nowrap}
.primary-nav .sub-menu a:hover{background:#f1f7ff;text-decoration:none}
.primary-nav .menu-item--dropdown:hover>.sub-menu,.primary-nav .menu-item--dropdown:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.hero-section{padding-top:50px;min-height:610px}
.hero-layout{grid-template-columns:minmax(0,1fr) 265px;gap:62px}
.hero-benefits{position:relative}
.benefits-card{padding:18px 18px;background:rgba(255,255,255,.72);border:1px solid rgba(219,232,247,.9);border-radius:18px;box-shadow:0 16px 42px rgba(39,83,128,.09);backdrop-filter:blur(10px)}
.benefit{padding:14px 4px;grid-template-columns:42px 1fr;gap:12px;align-items:center}
.benefit+.benefit{border-top:1px solid #edf2f7}
.benefit-icon{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#eef6ff;color:#1374ff;font-size:22px;font-weight:900;line-height:1}
.benefit-icon--bolt{color:#ff7a31;background:#fff4ed}
.benefit-icon--check{color:#1475ff;background:#eef6ff}
.benefit-icon--heart{color:#1878ff;background:#f1f7ff}
.benefit strong{font-size:14px}.benefit small{font-size:12px;margin-top:3px}
.hero-note{position:absolute;z-index:2;color:#31537d;font-weight:700;line-height:1.35;letter-spacing:.01em;pointer-events:none;user-select:none}
.hero-note--left{left:max(28px,calc(50% - 650px));top:135px;display:flex;flex-direction:column;gap:1px;padding:17px 20px;background:rgba(255,255,255,.68);border:1px solid rgba(225,235,246,.95);border-radius:18px;box-shadow:0 18px 40px rgba(38,77,118,.08);transform:rotate(-6deg);font-size:14px}
.hero-note--left:after{content:"↘";position:absolute;right:-36px;bottom:-34px;font-size:35px;color:#31537d;transform:rotate(9deg)}
.hero-note--right{right:max(28px,calc(50% - 650px));top:55px;text-align:center;transform:rotate(-5deg);font-size:15px;color:#35587f}
.hero-note--right:after{content:"";display:block;width:96px;height:8px;margin:7px auto 0;border-bottom:3px solid #1475ff;border-radius:50%;transform:rotate(-5deg)}
@media (max-width:1220px){.hero-note{display:none}.hero-layout{grid-template-columns:minmax(0,1fr) 245px;gap:36px}}
@media (max-width:980px){.hero-section{min-height:0}.hero-layout{grid-template-columns:1fr}.benefits-card{display:grid;grid-template-columns:repeat(4,1fr);padding:8px}.hero-benefits{display:block}.benefit{border-top:0!important;padding:12px}.benefit+.benefit{border-left:1px solid #edf2f7}}
@media (max-width:760px){.site-branding .brand img,.site-branding .custom-logo{max-height:47px;max-width:180px}.primary-nav .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:8px 0 0 14px;display:none}.primary-nav .menu-item--dropdown.is-open>.sub-menu{display:block}.benefits-card{grid-template-columns:repeat(2,1fr)}.benefit+.benefit{border-left:0}.benefit:nth-child(even){border-left:1px solid #edf2f7}.benefit:nth-child(n+3){border-top:1px solid #edf2f7!important}}
@media (max-width:460px){.benefits-card{grid-template-columns:1fr}.benefit:nth-child(even){border-left:0}.benefit:nth-child(n+2){border-top:1px solid #edf2f7!important}}


/* v1.0.4 — FAQ accordion behavior and independent card sizing */
.faq-grid{align-items:start}
.faq-grid details{align-self:start;height:auto}
.faq-grid details[open]{box-shadow:0 8px 22px rgba(31,68,108,.06);border-color:#d9e5f2}
.faq-grid summary{display:flex;align-items:center;justify-content:space-between;gap:18px}
.faq-grid summary:after{float:none;flex:0 0 auto}

/* v1.0.5 — discount calculator page */
.tool-hero-section{position:relative;overflow:hidden;padding:42px 0 48px;background:linear-gradient(180deg,#f7fbff 0%,#fff 88%)}
.tool-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:62px;align-items:center}
.tool-hero-main{text-align:center;min-width:0}
.tool-hero-main .breadcrumbs{text-align:left;margin-bottom:18px}
.tool-hero-main h1{font-size:clamp(38px,5vw,54px);line-height:1.05;letter-spacing:-.04em;margin:0 0 12px}
.tool-lead{font-size:17px;margin:0 auto 26px;max-width:760px;color:#2c4365}
.discount-calculator{max-width:760px}
.discount-fields{display:grid;grid-template-columns:1.25fr .75fr;gap:14px;margin-bottom:18px}
.discount-field{display:grid;gap:7px;text-align:left}
.discount-field>span:first-child{font-size:13px;font-weight:750;color:#31425c}
.discount-field input{width:100%;min-width:0;border:1px solid #cbd9e9;border-radius:9px;outline:0;padding:14px 18px;font-size:22px;font-weight:700;color:var(--navy);background:#fff;transition:.2s}
.discount-field input:focus{border-color:#71adff;box-shadow:0 0 0 3px rgba(22,119,255,.11)}
.discount-input-wrap{position:relative;display:flex;align-items:center}
.discount-input-wrap input{padding-right:54px}
.discount-input-suffix{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;padding:0 17px;border-left:1px solid #d7e2ee;border-radius:0 9px 9px 0;background:#eef3f9;font-size:18px;font-weight:800;color:#24426a}
.discount-results{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;margin-top:4px}
.result-card--primary{margin:0}
.saving-card{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:16px 18px;border-radius:11px;background:#eefbf6;border:1px solid #d9f1e6}
.saving-card__label{font-size:12px;font-weight:750;color:#487565}
.saving-card strong{font-size:32px;line-height:1.15;color:#117d57;letter-spacing:-.03em}
.calculator-note{margin:12px 2px 0;color:#718096;font-size:12px}
.tool-benefits{align-self:center}
.discount-formula-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:780px}
.discount-formula-grid .formula-card{min-height:170px}
.discount-example-list{grid-template-columns:repeat(6,1fr)}
.discount-page .tools-grid{grid-template-columns:repeat(4,1fr)}
@media (max-width:1220px){.tool-hero-layout{grid-template-columns:minmax(0,1fr) 245px;gap:36px}}
@media (max-width:980px){.tool-hero-layout{grid-template-columns:1fr}.tool-benefits .benefits-card{display:grid;grid-template-columns:repeat(3,1fr)}.tool-benefits .benefit{border-top:0!important}.tool-benefits .benefit+.benefit{border-left:1px solid #edf2f7}.discount-page .tools-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.tool-hero-section{padding-top:28px}.tool-hero-main h1{font-size:38px}.tool-lead{font-size:15px}.discount-fields{grid-template-columns:1fr}.discount-results{grid-template-columns:1fr}.saving-card{align-items:center;text-align:center}.discount-formula-grid{grid-template-columns:1fr}.discount-example-list{grid-template-columns:repeat(2,1fr)}.discount-page .tools-grid{grid-template-columns:1fr}.tool-benefits .benefits-card{grid-template-columns:1fr}.tool-benefits .benefit+.benefit{border-left:0;border-top:1px solid #edf2f7!important}}
.tool-card--disabled{grid-template-columns:44px 1fr auto;cursor:default;opacity:.72}
.tool-card--disabled:hover{transform:none;box-shadow:none;border-color:#dde7f2;text-decoration:none}
.tool-card__soon{font-size:10px;font-weight:800;color:#7a8ba3;background:#f1f5f9;border-radius:999px;padding:5px 7px;white-space:nowrap}

/* v1.0.6 — refined discount layout + percentage-between-two-numbers page */
.tool-hero-layout{gap:38px}
.discount-formula-grid{max-width:none;width:100%}
.discount-calculation-card{align-items:flex-start}
.discount-calculation-lines{display:grid;gap:5px}
.discount-calculation-lines>span:not(.calculation-label){display:block;font-size:14px;color:#2f425d}
.discount-calculation-lines b{font-weight:800;color:#163a6b}
.discount-calculation-lines strong{font-size:14px;color:#0f223f}

.between-calculator{max-width:760px}
.between-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:14px;margin-bottom:18px}
.between-connector{padding-bottom:15px;font-weight:800;color:#203a60}
.between-page .result-card--primary{margin-top:4px}
.between-page .tools-grid{grid-template-columns:repeat(4,1fr)}
.formula-grid--full{width:100%}

@media (max-width:980px){
  .tool-hero-layout{gap:24px}
  .between-page .tools-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .between-fields{grid-template-columns:1fr;align-items:stretch}
  .between-connector{padding:0;text-align:center}
  .between-example-list{grid-template-columns:repeat(2,1fr)}
  .between-page .tools-grid{grid-template-columns:1fr}
}

/* v1.0.7 — increase percentage calculator */
.increase-calculator{max-width:760px}
.increase-page .tools-grid{grid-template-columns:repeat(4,1fr)}
.increase-card{background:#edf9f4;border-color:#cdebdc}
.increase-card span{color:#4c7a66}
.increase-card strong{color:#168158}
.increase-results{margin-top:4px}
@media (max-width:980px){.increase-page .tools-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.increase-example-list{grid-template-columns:repeat(2,1fr)}.increase-page .tools-grid{grid-template-columns:1fr}}


/* v1.0.8 — decrease percentage calculator */
.decrease-calculator{max-width:760px}
.decrease-page .tools-grid{grid-template-columns:repeat(4,1fr)}
.decrease-card{background:#fff1f2;border-color:#ffd6dc}
.decrease-card span{color:#a54a58}
.decrease-card strong{color:#dc314d}
.decrease-results{margin-top:4px}
@media (max-width:980px){.decrease-page .tools-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.decrease-example-list{grid-template-columns:repeat(2,1fr)}.decrease-page .tools-grid{grid-template-columns:1fr}}

/* Difference percentage calculator */
.difference-card{transition:background-color .2s ease,border-color .2s ease}
.difference-card.is-positive{background:#eefbf6;border-color:#d9f1e6}
.difference-card.is-positive span{color:#487565}
.difference-card.is-positive strong{color:#117d57}
.difference-card.is-negative{background:#fff1f2;border-color:#ffd6dc}
.difference-card.is-negative span{color:#a54a58}
.difference-card.is-negative strong{color:#dc314d}
.difference-card.is-neutral{background:#f2f6fb;border-color:#dbe5f0}
.difference-card.is-neutral span{color:#5e718a}
.difference-card.is-neutral strong{color:#17304f}

/* Five-tool layouts once Diferencia porcentual is published */
@media (min-width:981px){
  .home-main .tools-grid,
  .discount-page .tools-grid,
  .between-page .tools-grid,
  .increase-page .tools-grid,
  .decrease-page .tools-grid,
  .difference-page .tools-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (max-width:980px){.difference-page .tools-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.difference-example-list{grid-template-columns:repeat(2,1fr)}.difference-page .tools-grid{grid-template-columns:1fr}}

/* v1.0.10 — percentage discount between two prices */
.discount-rate-calculator{max-width:760px}
.discount-rate-page .tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.discount-rate-saving{background:#edf9f4;border-color:#cdebdc;transition:background-color .2s ease,border-color .2s ease}
.discount-rate-saving span{color:#4c7a66}
.discount-rate-saving strong{color:#168158}
.discount-rate-saving.is-negative{background:#fff1f2;border-color:#ffd6dc}
.discount-rate-saving.is-negative span{color:#a54a58}
.discount-rate-saving.is-negative strong{color:#dc314d}
.discount-rate-results{margin-top:4px}

/* Six published tools: larger cards in a balanced 3 x 2 desktop grid. */
@media (min-width:981px){
  .home-main .tools-grid,
  .discount-page .tools-grid,
  .between-page .tools-grid,
  .increase-page .tools-grid,
  .decrease-page .tools-grid,
  .difference-page .tools-grid,
  .discount-rate-page .tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:980px){.discount-rate-page .tools-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.discount-rate-example-list{grid-template-columns:repeat(2,1fr)}.discount-rate-page .tools-grid{grid-template-columns:1fr}}


/* v1.0.11 — percentage gain calculator */
.gain-calculator{max-width:760px}
.gain-card{background:#edf9f4;border-color:#cdebdc;transition:background-color .2s ease,border-color .2s ease}
.gain-card span{color:#4c7a66}
.gain-card strong{color:#168158}
.gain-card.is-negative{background:#fff1f2;border-color:#ffd6dc}
.gain-card.is-negative span{color:#a54a58}
.gain-card.is-negative strong{color:#dc314d}
.gain-results{margin-top:4px}

/* Seven published secondary tools: balanced desktop layout. */
@media (min-width:981px){
  .home-main .tools-grid,
  .discount-page .tools-grid,
  .between-page .tools-grid,
  .increase-page .tools-grid,
  .decrease-page .tools-grid,
  .difference-page .tools-grid,
  .discount-rate-page .tools-grid,
  .gain-page .tools-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:980px){.gain-page .tools-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.gain-example-list{grid-template-columns:repeat(2,1fr)}.gain-page .tools-grid{grid-template-columns:1fr}}


/* v1.0.12 — accessibility and interaction audit */
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{
  outline:3px solid rgba(22,119,255,.45);
  outline-offset:3px;
}
.calc-tab:focus-visible,.copy-button:focus-visible,.example-list button:focus-visible,.nav-toggle:focus-visible{
  outline:3px solid rgba(22,119,255,.5);
  outline-offset:2px;
}
.faq-grid summary:focus-visible{border-radius:6px}
@media (forced-colors:active){
  .calc-tab.is-active,.button{border:2px solid ButtonText}
  .tool-card,.calculator,.formula-card,.faq-grid details{border:1px solid CanvasText}
}

/* v1.0.13 — professional footer cleanup */
.site-footer{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);border-top:1px solid #e5edf6;padding:46px 0 22px}.footer-grid--clean{grid-template-columns:minmax(240px,1.45fr) repeat(3,minmax(150px,1fr));gap:52px;align-items:start}.footer-brand{max-width:330px}.footer-brand .brand img,.footer-brand .custom-logo{max-height:46px}.footer-brand p{margin:16px 0 0;color:#52637b;font-size:13px;line-height:1.6}.footer-brand .footer-brand__note{margin-top:7px;color:#7b8ba1;font-size:12px}.footer-column h2{font-size:14px;font-weight:800;color:var(--navy);margin:2px 0 14px}.footer-column ul{display:grid;gap:8px}.footer-column li{margin:0}.footer-column a{display:inline-block;color:#4b5f7c;font-size:13px;line-height:1.45;transition:color .18s ease,transform .18s ease}.footer-column a:hover{color:var(--blue);text-decoration:none;transform:translateX(2px)}.footer-bottom{align-items:center;margin-top:34px;padding-top:20px}.footer-legal{display:flex;align-items:center;gap:18px}.footer-legal a{font-size:12px;color:#718096}.footer-legal a:hover{color:var(--blue);text-decoration:none}
@media (max-width:980px){.footer-grid--clean{grid-template-columns:1.5fr 1fr 1fr;gap:34px}.footer-grid--clean .footer-brand{grid-column:1/-1;max-width:none}.footer-grid--clean .footer-column:last-child{grid-column:auto}.footer-bottom{align-items:flex-start}}
@media (max-width:760px){.footer-grid--clean{grid-template-columns:1fr 1fr;gap:30px 28px}.footer-grid--clean .footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:10px}.footer-legal{gap:14px}}
@media (max-width:520px){.site-footer{padding-top:36px}.footer-grid--clean{grid-template-columns:1fr;gap:26px}.footer-grid--clean .footer-brand{grid-column:auto}.footer-column h2{margin-bottom:10px}.footer-column ul{gap:6px}.footer-bottom{margin-top:26px}.footer-legal{flex-wrap:wrap}}

/* v1.0.15 — editable calculator content */
.calculator-editor-content>h2{margin-top:0}
.calculator-editor-content .wp-block-columns.discount-formula-grid{margin:18px 0 0;width:100%;max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.calculator-editor-content .wp-block-column.formula-card{margin:0;min-width:0}
.calculator-editor-content .formula-card .formula-icon{margin:0}
.calculator-editor-content .formula-card h3{margin:12px 0}
.calculator-editor-content .tp-formula-main,.calculator-editor-content .tp-formula-example{margin:0}
.calculator-editor-content .tp-formula-main strong{margin:12px 0}
.calculator-editor-content .tp-formula-example small{display:block;margin-top:4px}
@media (max-width:760px){.calculator-editor-content .wp-block-columns.discount-formula-grid{grid-template-columns:1fr}}

/* v1.0.16: useful contextual copy exposed to Yoast and readers. */
.calculator-editor-content .tp-context-heading{margin-top:34px}
.calculator-editor-content .tp-context-copy{max-width:920px;margin:0 0 14px;color:#34455f;line-height:1.72}
.calculator-editor-content .tp-context-copy a{font-weight:650;text-decoration:underline;text-underline-offset:2px}


/* v1.0.17 — competitive discount UX + clearer percentage intent. */
.discount-presets{display:flex;align-items:center;justify-content:center;gap:10px 12px;flex-wrap:wrap;margin:0 0 18px;padding:12px 14px;border:1px solid #e2ebf5;border-radius:11px;background:#f8fbff}
.discount-presets__label{font-size:12px;font-weight:800;color:#49617f;white-space:nowrap}
.discount-presets__buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}
.discount-presets__buttons button{min-width:46px;border:1px solid #ccdced;border-radius:999px;background:#fff;padding:7px 10px;color:#24426a;font-size:12px;font-weight:800;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,color .18s ease,transform .18s ease}
.discount-presets__buttons button:hover{border-color:#8dbdff;transform:translateY(-1px)}
.discount-presets__buttons button.is-active{border-color:#1677ff;background:#1677ff;color:#fff}
.discount-presets__buttons button:focus-visible{outline:3px solid rgba(22,119,255,.2);outline-offset:2px}
.discount-table-section{background:#f8fbff;border-top:1px solid #edf3f9;border-bottom:1px solid #edf3f9}
.discount-table-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px}
.discount-table-heading h2{margin:0 0 7px}
.discount-table-heading .section-intro{margin:0;text-align:left}
.discount-table-back{flex:0 0 auto;font-size:13px;font-weight:750;text-decoration:none}
.discount-table-wrap{overflow-x:auto;border:1px solid #dfe9f4;border-radius:14px;background:#fff;box-shadow:0 8px 26px rgba(31,68,108,.05)}
.discount-table{width:100%;border-collapse:collapse;min-width:520px;font-variant-numeric:tabular-nums}
.discount-table th,.discount-table td{padding:13px 18px;border-bottom:1px solid #edf2f7;text-align:right}
.discount-table thead th{background:#f3f7fc;color:#38506f;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.025em}
.discount-table thead th:first-child,.discount-table tbody th{text-align:left}
.discount-table tbody th{color:#163a6b;font-weight:850}
.discount-table tbody td{color:#273b58;font-weight:650}
.discount-table tbody tr:last-child th,.discount-table tbody tr:last-child td{border-bottom:0}
.discount-table tbody tr:hover{background:#fbfdff}
.discount-table-note{margin:10px 2px 0;color:#718096;font-size:12px}
.home-intent-section{padding-top:10px}
.home-intent-panel{max-width:940px;text-align:center}
.home-intent-panel h2{margin-bottom:12px}
.home-intent-panel p{margin:0 auto 12px;max-width:860px;color:#40536e;line-height:1.72}
.home-intent-panel a{font-weight:700;text-decoration:underline;text-underline-offset:2px}
@media (max-width:760px){
  .discount-presets{align-items:flex-start;justify-content:flex-start;padding:12px}
  .discount-presets__buttons{justify-content:flex-start}
  .discount-table-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .discount-table-wrap{overflow-x:hidden}
  .discount-table{min-width:0;width:100%;table-layout:fixed}
  .discount-table th,.discount-table td{padding:12px 8px;font-size:13px;white-space:normal;overflow-wrap:anywhere}
  .discount-table thead th{font-size:11px;line-height:1.25;letter-spacing:.015em}
  .discount-table thead th:nth-child(1),.discount-table tbody th{width:28%}
  .discount-table thead th:nth-child(2),.discount-table tbody td:nth-child(2){width:32%}
  .discount-table thead th:nth-child(3),.discount-table tbody td:nth-child(3){width:40%}
  .home-intent-panel{text-align:left}
}
@media (max-width:380px){
  .discount-table th,.discount-table td{padding:11px 6px;font-size:12.5px}
  .discount-table thead th{font-size:10px}
}
