/* PrimeMark Lab — responsive design system, no external fonts or libraries */
:root {--navy:#103347;--deep:#0a2737;--ink:#1d3340;--muted:#657b86;--teal:#0c806e;--mint:#ddf3ee;--cream:#fcfaf5;--gold:#f0bb72;--line:#e0e9eb;--white:#fff;--shadow:0 16px 48px rgba(13,49,67,.08);--radius:19px;--max:1170px;}
*,*::before,*::after {box-sizing:border-box;}
html {scroll-behavior:smooth;}
body {margin:0;background:var(--cream);color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;}
a {color:inherit;text-decoration:none;}
button,input,select {font:inherit;}
button {cursor:pointer;}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {outline:3px solid var(--gold);outline-offset:3px;}
img {max-width:100%;}
h1,h2,h3,h4,p {margin-top:0;}
h1,h2,h3 {font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:-.035em;line-height:1.17;}
h1 {font-size:clamp(2.55rem,5vw,4.6rem);font-weight:790;}
h2 {font-size:clamp(1.6rem,2.7vw,2.4rem);font-weight:760;}
h3 {font-size:1.22rem;font-weight:730;}
p {margin-bottom:1.05em;}
.wrap {width:min(var(--max),calc(100% - 44px));margin-inline:auto;}
.skip {position:absolute;top:-50px;left:16px;z-index:100;background:var(--white);padding:10px 16px;}
.skip:focus {top:10px;}
.visually-hidden {position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;}
.site-header {background:var(--cream);border-bottom:1px solid rgba(16,51,71,.09);position:relative;z-index:20;}
.nav-inner {min-height:91px;display:flex;align-items:center;justify-content:space-between;gap:28px;}
.brand {display:flex;align-items:center;gap:12px;min-width:max-content;}
.brand-mark {width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--navy);color:var(--gold);font-size:25px;font-weight:900;position:relative;line-height:1;}
.brand-mark span {position:absolute;color:#9ad8ca;font-size:12px;right:7px;top:5px;}
.brand-text {font-size:18px;line-height:1.08;font-weight:620;letter-spacing:-.045em;color:var(--navy);}
.brand-text strong {font-weight:860;}
.brand-text small {display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-top:7px;}
.main-nav {display:flex;gap:28px;align-items:center;}
.main-nav a {font-size:14px;font-weight:680;color:#2c4b59;transition:color .15s;white-space:nowrap;}
.main-nav a:hover,.text-link:hover {color:var(--teal);}
.menu-toggle {display:none;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px 13px;font-weight:700;}
.hero {background:radial-gradient(closest-side at 83% 23%,#1b5260 0%,transparent 100%),linear-gradient(125deg,#0a2939,#103847 65%,#153c46);color:white;overflow:hidden;position:relative;}
.hero:after {content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 0 70%,rgba(255,255,255,.018) 70% 78%,transparent 78%);pointer-events:none;}
.hero-grid {position:relative;z-index:1;display:grid;grid-template-columns:1.18fr .82fr;gap:7%;align-items:center;padding-block:100px 110px;}
.eyebrow {display:inline-block;text-transform:uppercase;color:var(--teal);font-weight:800;letter-spacing:.14em;font-size:11px;margin-bottom:15px;}
.eyebrow.light {color:#8dd9c5;}
.hero h1 {max-width:650px;font-size:clamp(3.1rem,5.2vw,5.4rem);line-height:1.06;margin-bottom:26px;color:white;}
.hero h1 em {font-family:Georgia,"Times New Roman",serif;font-weight:500;color:var(--gold);letter-spacing:-.045em;}
.hero p {max-width:610px;font-size:17px;color:#c4dae0;line-height:1.7;margin-bottom:28px;}
.hero-search,.search-form {display:flex;align-items:stretch;gap:8px;padding:7px;background:white;border-radius:15px;box-shadow:0 10px 28px rgba(0,0,0,.1);max-width:665px;}
.hero-search input,.search-form input {border:0;outline:0;min-width:0;flex:1;border-radius:12px;padding:15px 17px;background:#fff;color:var(--ink);font-size:14px;}
.hero-search button,.search-form button {border:0;background:var(--gold);color:#173748;border-radius:10px;padding:14px 22px;font-weight:830;font-size:14px;white-space:nowrap;}
.hero-search button:hover,.search-form button:hover {background:#f8c988;}
.hero-facts {display:flex;gap:26px;flex-wrap:wrap;margin-top:27px;color:#c1d6dc;font-size:12px;}
.hero-facts span+span {border-left:1px solid #36606b;padding-left:26px;}
.hero-facts strong {display:block;color:#fff;font-size:20px;line-height:1.3;font-weight:820;}
.hero-preview {background:#fff;border-radius:23px;overflow:hidden;box-shadow:0 40px 75px rgba(0,0,0,.2);color:var(--ink);transform:rotate(1.2deg);max-width:460px;width:100%;justify-self:end;}
.preview-top {height:44px;border-bottom:1px solid var(--line);padding:16px 18px;display:flex;gap:6px;align-items:center;}
.preview-dot {width:8px;height:8px;border-radius:50%;background:#dee4e4;}
.preview-dot:first-child {background:#e2a7a0;}.preview-dot:nth-child(2){background:#ecd0a1;}.preview-dot:nth-child(3){background:#a8d4c3;}
.preview-label {margin-left:auto;color:#81929a;font-size:11px;font-weight:700;}
.preview-inner {padding:37px 37px 36px;}
.preview-tag {font-size:10px;letter-spacing:.16em;color:var(--teal);font-weight:850;}
.preview-number {margin-top:18px;padding-bottom:15px;border-bottom:1px solid var(--line);font-size:45px;font-weight:760;letter-spacing:-.05em;}
.preview-number span,.preview-result span {font-size:16px;color:#8798a1;letter-spacing:normal;font-weight:540;}
.preview-line {display:flex;align-items:center;justify-content:space-between;color:#8b9fa7;font-size:13px;padding-block:17px;}
.preview-line span:last-child {font-size:24px;color:var(--teal);}
.preview-result {font-size:49px;letter-spacing:-.05em;color:var(--teal);font-weight:800;border-radius:12px;background:#eef8f3;padding:12px 18px;}
.preview-result span {color:var(--teal);}
.preview-inner p {font-size:13px;color:var(--muted);margin:18px 0 10px;}
.preview-inner a {font-size:13px;color:var(--teal);font-weight:780;}
.home-section {padding-block:78px;}
.section-title {display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px;}
.section-title .eyebrow {margin-bottom:10px;}
.section-title h2 {margin:0;}
.section-title>span {font-size:13px;color:var(--muted);}
.text-link {font-size:14px;font-weight:790;white-space:nowrap;color:var(--teal);}
.category-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.category-card {padding:25px 23px;background:white;border:1px solid var(--line);border-radius:var(--radius);min-height:245px;transition:transform .15s,box-shadow .15s,border-color .15s;display:flex;flex-direction:column;align-items:start;}
.category-card:hover,.tool-card:hover,.blog-card:hover {transform:translateY(-3px);box-shadow:var(--shadow);border-color:#b4d5cf;}
.category-icon,.card-icon {width:48px;height:48px;background:var(--mint);border-radius:13px;color:var(--teal);font-weight:850;display:grid;place-items:center;font-size:25px;}
.category-card strong {font-size:17px;margin-top:23px;color:var(--navy);letter-spacing:-.025em;}
.category-card p {font-size:13px;color:var(--muted);line-height:1.55;margin:9px 0 18px;}
.category-action {font-size:12px;color:var(--teal);font-weight:820;margin-top:auto;}
.section-tint {background:#edf4f2;}
.card-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;}
.card-grid.three {grid-template-columns:repeat(3,minmax(0,1fr));}
.tool-card {background:white;border:1px solid var(--line);border-radius:15px;display:flex;align-items:start;gap:15px;padding:20px;transition:all .15s;min-width:0;}
.tool-card .card-icon {width:43px;height:43px;min-width:43px;font-size:19px;border-radius:11px;}
.tool-content {display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;}
.tool-content strong {font-size:15px;color:var(--navy);line-height:1.35;font-weight:790;}
.tool-content>span {font-size:12px;line-height:1.6;color:var(--muted);}
.card-arrow {color:#91a9ab;font-size:16px;align-self:start;}
.feature-strip {background:var(--navy);border-radius:23px;padding:44px 47px;display:flex;align-items:center;justify-content:space-between;gap:30px;color:white;}
.feature-strip h2 {margin-bottom:10px;}
.feature-strip p {color:#c5d7df;margin-bottom:0;max-width:540px;}
.strip-buttons {display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.primary-button,.outline-button {display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:14px 20px;font-size:14px;font-weight:800;line-height:1.3;min-height:50px;white-space:nowrap;}
.primary-button {background:var(--teal);border:1px solid var(--teal);color:white;}
.primary-button:hover {background:#096c5f;}
.outline-button {background:#fff;border:1px solid #c7d9da;color:var(--navy);}
.outline-button:hover {border-color:var(--teal);}
.feature-strip .outline-button {background:transparent;color:white;border-color:#597684;}
.feature-strip .primary-button {background:var(--gold);border-color:var(--gold);color:var(--navy);}
.blog-card {border:1px solid var(--line);padding:28px;border-radius:16px;background:white;display:flex;flex-direction:column;transition:all .15s;min-height:245px;}
.blog-card h2,.blog-card h3 {font-size:21px;color:var(--navy);margin-bottom:12px;line-height:1.35;}
.blog-card p {color:var(--muted);font-size:13px;line-height:1.7;flex:1;}
.inline-link {font-size:13px;font-weight:800;color:var(--teal);}
.note-banner {border-top:1px solid #dbe5e7;border-bottom:1px solid #dbe5e7;padding:35px 0;display:flex;justify-content:space-between;align-items:center;gap:30px;}
.note-banner h2 {font-size:25px;margin-bottom:11px;}
.note-banner p {max-width:730px;color:var(--muted);margin:0;font-size:14px;}
.note-banner a {font-size:13px;font-weight:800;color:var(--teal);white-space:nowrap;}
.breadcrumb {display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:#84959d;font-size:12px;padding-top:22px;}
.breadcrumb a {color:var(--teal);}
.page-grid {display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:54px;padding-top:41px;padding-bottom:80px;align-items:start;}
.page-head {margin-bottom:35px;}
.page-head h1 {font-size:clamp(2.25rem,4vw,3.9rem);margin-bottom:17px;line-height:1.1;max-width:840px;}
.page-head p {font-size:17px;color:#627882;line-height:1.7;max-width:760px;margin-bottom:0;}
.tool-panel {border:1px solid #c7e0dc;background:#fff;border-radius:23px;padding:34px;box-shadow:0 18px 45px rgba(5,65,77,.06);position:relative;}
.panel-kicker {font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:850;color:var(--teal);margin-bottom:25px;}
.tool-panel label {display:block;font-size:13px;color:var(--navy);font-weight:790;margin-bottom:9px;}
.tool-panel input,.tool-panel select {display:block;width:100%;min-width:0;min-height:52px;border:1px solid #cbd8da;border-radius:11px;color:var(--ink);background:#fcfefd;padding:12px 15px;font-size:16px;}
.tool-panel select {font-size:14px;}
.tool-panel input:focus,.tool-panel select:focus {border-color:var(--teal);}
.field-combo {position:relative;}
.field-combo input {font-size:28px;min-height:72px;padding-right:110px;font-weight:700;}
.field-combo>span {position:absolute;right:22px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:14px;font-weight:730;}
.convert-divider {display:flex;align-items:center;gap:10px;color:var(--teal);font-size:25px;font-weight:780;margin:15px 0 15px;}
.convert-divider span {font-size:12px;color:var(--muted);font-weight:650;}
.result-panel {background:#eff8f5;border:1px solid #d8eee6;border-radius:13px;padding:22px 26px;display:flex;flex-direction:column;align-items:start;gap:7px;}
.result-panel>span:first-child {font-size:13px;color:#466c66;font-weight:650;}
.result-panel output {font-size:clamp(1.9rem,4vw,2.9rem);line-height:1.35;letter-spacing:-.035em;color:var(--teal);font-weight:840;overflow-wrap:anywhere;}
.result-panel .unit-caption {font-size:12px;color:#59877d;font-weight:650;}
.copy-result {margin-top:15px;padding:6px 0;border:0;background:transparent;font-size:13px;font-weight:760;color:var(--teal);}
.fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 17px;margin-bottom:23px;}
.fields>.form-field:first-child:nth-last-child(1) {grid-column:1/-1;}
.calc-feedback {margin-top:24px;padding:23px 25px;background:#eff8f5;border-radius:12px;border:1px solid #d7e9e4;}
.result-label {font-size:12px;font-weight:750;color:#5b827b;display:block;margin-bottom:6px;}
.calc-feedback output {display:block;font-size:clamp(1.5rem,3.6vw,2.4rem);line-height:1.3;font-weight:850;letter-spacing:-.03em;color:var(--teal);overflow-wrap:anywhere;}
.calc-details {display:grid;gap:6px;margin-top:16px;}
.calc-details p {margin:0;font-size:13px;color:#547971;}
.button-row {display:flex;gap:11px;flex-wrap:wrap;}
.data-note {font-size:12px;line-height:1.6;color:var(--muted);margin:20px 0 0;}
.data-note a {text-decoration:underline;color:var(--teal);}
.small-muted {color:#5c817a;font-size:12px;margin:11px 0 0;}
.section {margin-top:43px;}
.article-copy h2 {font-size:25px;color:var(--navy);margin:30px 0 15px;}
.article-copy h3 {font-size:19px;color:var(--navy);margin:24px 0 11px;}
.article-copy p {color:#4b646e;line-height:1.85;font-size:15px;}
.article-copy strong {color:var(--navy);}
.article-copy .formula {padding:20px 24px;border-radius:13px;background:#f1f5f1;border-left:3px solid var(--teal);margin:20px 0;}
.formula strong {font-size:13px;}
.formula p {font-size:14px;margin:7px 0 0;color:#45626d;}
.article-copy details {border-bottom:1px solid var(--line);padding:14px 0;}
.article-copy details:first-of-type {border-top:1px solid var(--line);}
.article-copy summary {font-size:14px;font-weight:770;color:var(--navy);cursor:pointer;}
.article-copy details p {margin:12px 0 0;font-size:14px;}
.table-scroll {width:100%;overflow:auto;border:1px solid var(--line);border-radius:13px;}
table {border-collapse:collapse;width:100%;min-width:430px;font-size:14px;}
th,td {text-align:left;padding:12px 20px;border-bottom:1px solid var(--line);}
th {background:#ecf5f2;color:var(--navy);font-weight:810;}
tr:last-child td {border-bottom:0;}
tr:nth-child(even) td {background:#fbfdfc;}
.link-cloud {display:flex;flex-wrap:wrap;gap:10px;margin-top:17px;}
.link-cloud a {display:inline-block;background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:8px;font-size:12px;color:#2e5663;font-weight:680;}
.link-cloud a:hover {border-color:var(--teal);color:var(--teal);}
.mini-card-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}
.mini-card-grid .tool-card {padding:15px;}
.sidebar {display:flex;flex-direction:column;gap:19px;position:sticky;top:25px;}
.side-card {padding:23px;background:white;border:1px solid var(--line);border-radius:15px;}
.side-card h3 {font-size:17px;margin:0 0 14px;}
.side-card>a:not(.inline-link) {border-top:1px solid var(--line);padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:700;color:#3a5e68;}
.side-card>a span {color:var(--teal);}
.side-card>a:hover {color:var(--teal);}
.side-card.soft {background:#e9f3ee;border-color:#d8e9e0;}
.side-card p {font-size:12px;color:#52736c;line-height:1.7;}
.listing-head {padding-top:64px;padding-bottom:44px;}
.listing-head h1 {font-size:clamp(2.5rem,5vw,4.3rem);margin-bottom:14px;}
.listing-head>p {color:var(--muted);font-size:17px;max-width:730px;}
.search-form {border:1px solid var(--line);margin-top:26px;max-width:650px;}
.search-form button {background:var(--navy);color:white;}
.listing-section {padding-bottom:55px;}
.listing-section .section-title {margin-bottom:19px;}
.listing-section .section-title h2 {font-size:25px;}
.compact-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.compact-grid a {border:1px solid var(--line);background:#fff;padding:13px 15px;border-radius:10px;font-size:13px;color:#315663;display:flex;gap:9px;align-items:center;justify-content:space-between;font-weight:630;line-height:1.45;}
.compact-grid a:hover {border-color:#9cd0c4;color:var(--teal);}
.compact-grid span {color:var(--teal);}
.empty-state {padding-block:55px;}
.blog-grid {padding-bottom:100px;}
.editorial-layout {display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:65px;padding-top:50px;padding-bottom:90px;}
.blog-article .page-head {margin-bottom:40px;}
.blog-article .page-head h1 {font-size:clamp(2.2rem,3.8vw,3.6rem);}
.byline {font-size:12px;color:#78939b;padding-top:18px;}
.blog-article section {margin-bottom:28px;}
.blog-article section h2 {font-size:27px;margin-bottom:14px;}
.blog-note {border-top:1px solid var(--line);padding-top:22px;color:var(--muted);font-size:12px!important;}
.static-article {max-width:800px;padding-top:65px;padding-bottom:100px;}
.static-article h1 {font-size:clamp(2.3rem,4vw,3.7rem);}
.static-article .lead {font-size:17px;color:var(--muted);margin-bottom:42px;}
.static-article section {margin-top:35px;}
.missing {padding-block:110px;text-align:center;}
.missing h1 {font-size:44px;}
.missing p {color:var(--muted);}
.footer {background:#0d2c3c;color:#c5d7df;padding-top:57px;}
.footer-grid {display:grid;grid-template-columns:2fr repeat(3,1fr);gap:44px;padding-bottom:50px;}
.footer-brand {color:#fff;font-weight:830;font-size:19px;}
.footer-grid p {max-width:360px;font-size:13px;color:#adc5cf;margin-top:16px;line-height:1.75;}
.footer-grid p.tiny {font-size:11px;color:#8baab8;margin-top:22px;}
.footer-grid>div:not(:first-child) {display:flex;flex-direction:column;gap:11px;}
.footer-grid strong {font-size:14px;color:#fff;margin-bottom:5px;}
.footer-grid a:not(.footer-brand) {font-size:13px;color:#b3cbd5;}
.footer-grid a:hover {color:var(--gold);}
.footer-bottom {border-top:1px solid #32505e;padding-block:20px;display:flex;justify-content:space-between;color:#88a9b8;font-size:12px;}
@media(max-width:1060px){.nav-inner{min-height:80px}.main-nav{gap:17px}.hero-grid{gap:3%}.category-grid{grid-template-columns:repeat(2,1fr)}.page-grid{grid-template-columns:minmax(0,1fr) 235px;gap:28px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{gap:24px;}}
@media(max-width:780px){.wrap{width:min(var(--max),calc(100% - 34px))}.menu-toggle{display:block}.nav-inner{flex-wrap:wrap;padding-block:13px;min-height:72px}.main-nav{width:100%;display:none;flex-direction:column;align-items:stretch;gap:0;padding-bottom:8px}.main-nav.open{display:flex}.main-nav a{padding:12px 0;border-top:1px solid var(--line)}.hero-grid{grid-template-columns:1fr;padding-block:70px 75px}.hero h1{font-size:clamp(3rem,9vw,4.5rem)}.hero-preview{display:none}.hero-search{max-width:700px}.home-section{padding-block:55px}.category-grid{grid-template-columns:repeat(2,1fr)}.feature-strip{flex-direction:column;align-items:stretch;padding:32px}.page-grid,.editorial-layout{grid-template-columns:1fr;padding-top:40px}.sidebar{position:static;display:grid;grid-template-columns:1fr 1fr}.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:repeat(2,1fr)}.footer-grid>div:first-child{grid-column:1/-1}.blog-grid{grid-template-columns:repeat(2,1fr)}.note-banner{align-items:start;flex-direction:column}.section-title{align-items:start}.static-article{padding-top:45px;}}
@media(max-width:540px){body{font-size:15px}.wrap{width:calc(100% - 30px)}.brand-mark{width:42px;height:42px;font-size:23px}.brand-text{font-size:16px}.brand-text small{font-size:9px}.nav-inner{gap:8px}.hero-grid{padding-block:62px}.hero h1{font-size:clamp(2.8rem,12vw,3.5rem);line-height:1.09}.hero p{font-size:15px}.hero-search,.search-form{flex-direction:column;align-items:stretch}.hero-search input,.search-form input{min-height:50px}.hero-search button,.search-form button{width:100%;min-height:48px}.hero-facts{gap:15px}.hero-facts span+span{padding-left:15px}.hero-facts strong{font-size:16px}.category-grid,.card-grid,.card-grid.three,.blog-grid,.compact-grid,.mini-card-grid{grid-template-columns:1fr}.category-card{min-height:185px;padding:21px}.category-card strong{margin-top:16px}.category-card p{margin-bottom:12px}.section-title{flex-direction:column;gap:10px}.tool-panel{padding:20px 17px;border-radius:15px}.fields{grid-template-columns:1fr;gap:15px}.page-head h1{font-size:clamp(2.25rem,9vw,3rem)}.page-head p{font-size:15px}.page-grid{padding-bottom:45px}.sidebar{grid-template-columns:1fr}.feature-strip{padding:27px}.strip-buttons{align-items:stretch;flex-direction:column}.footer-grid{grid-template-columns:1fr;gap:30px}.footer-grid>div:first-child{grid-column:auto}.footer-bottom{flex-direction:column;gap:4px}.listing-head{padding-top:43px}.listing-head h1{font-size:clamp(2.1rem,9vw,3rem)}.link-cloud a{max-width:100%}.result-panel output,.calc-feedback output{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
.context-note {margin:24px 0 4px;padding:21px 24px;background:#f0f5f3;border:1px solid #dbe9e4;border-radius:13px;font-size:13px;color:#4a6c67;}
.context-note strong {font-size:14px;color:var(--navy);}
.context-note p {margin:10px 0 0;line-height:1.7;}
.reading-link {margin-top:26px;padding:19px 22px;background:#ecf5ef;border-radius:11px;display:flex;flex-direction:column;gap:7px;}
.reading-link span {font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#658880;font-weight:820;}
.reading-link a {font-size:15px;color:var(--teal);font-weight:800;}

/* PrimeMark Lab v2: consistent, people-first calculator experience */
:root {--navy:#173746;--deep:#0c2836;--teal:#087f70;--line:#dbe6e8;--cream:#fbfaf7;--mint:#e9f5f0;--shadow:0 12px 42px rgba(15,43,55,.06);--max:1220px;}
.site-header {background:#fff;}
.brand-mark {border-radius:14px;background:linear-gradient(145deg,#103a47,#0e766e);color:#fff;box-shadow:0 5px 16px rgba(10,87,80,.17);}
.brand-mark span {color:#f2c879;}
.brand-text {letter-spacing:-.04em;}
.brand-text small {letter-spacing:.095em;text-transform:none;font-size:11px;}
.page-grid {grid-template-columns:minmax(0,1fr) 248px;gap:35px;padding-top:38px;}
.page-head {margin-bottom:28px;}
.page-head h1 {font-size:clamp(2.2rem,3.9vw,3.7rem);max-width:900px;line-height:1.09;margin-bottom:13px;letter-spacing:-.055em;}
.page-head p {font-size:16px;max-width:810px;color:#5e7580;line-height:1.6;}
.smart-tool {padding:30px 34px;background:#fff;border:1px solid #d9e7e7;border-radius:20px;box-shadow:0 16px 52px rgba(14,64,73,.055);}
.widget-heading {display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px;}
.widget-heading h2 {font-size:25px;letter-spacing:-.04em;margin:5px 0 8px;color:var(--navy);}
.widget-heading p {font-size:13px;line-height:1.6;color:#6c8087;margin:0;}
.step-tag {font-size:12px;letter-spacing:.045em;text-transform:uppercase;font-weight:810;color:#07846e;}
.instant-pill {align-self:start;border-radius:40px;padding:6px 12px;font-weight:750;background:#eef8f5;color:#407b70;border:1px solid #d9ebe5;font-size:10px;white-space:nowrap;}
.smart-tool .form-field label,.smart-tool .convert-row label,.money-box>label {font-weight:780;font-size:13px;margin-bottom:9px;display:block;color:#244452;}
.smart-tool input,.smart-tool select {border:1px solid #c9dbde;border-radius:10px;min-height:54px;background:white;color:#163743;font-size:17px;padding:12px 15px;}
.smart-tool select {font-size:14px;font-weight:690;}
.smart-tool input:focus,.smart-tool select:focus {border-color:#078f7b;outline:3px solid rgba(8,129,110,.1);outline-offset:0;}
.smart-tool input::placeholder {color:#90a0a7;}
.smart-tool .fields {gap:19px;margin-bottom:22px;}
.smart-tool .primary-button {background:#0b8270;border-color:#0b8270;border-radius:10px;}
.smart-tool .primary-button:hover {background:#076958;border-color:#076958;}
.quiet-button {background:#f8fbfa;border:1px solid #d6e3e2;color:#1b5552;border-radius:10px;padding:12px 17px;min-height:48px;font-size:13px;font-weight:760;}
.quiet-button:hover {background:#eef7f3;}
.field-hint {display:block;font-size:11px;line-height:1.4;color:#708991;margin-top:8px;}
.widget-bottom {display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:17px;}
.widget-bottom>span {color:#779199;font-size:11px;}
.mode-switch {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;border:0;margin:0 0 22px;padding:0;}
.mode-switch label {display:block;margin:0!important;cursor:pointer;position:relative;}
.mode-switch input {position:absolute;width:1px;height:1px;opacity:0;}
.mode-switch span {display:flex;align-items:center;justify-content:center;min-height:63px;height:100%;border:1px solid #d7e4e4;border-radius:11px;background:#fafcfc;text-align:center;font-size:12px;line-height:1.35;color:#496371;padding:12px;font-weight:780;transition:all .2s;}
.mode-switch input:checked+span {background:#e8f6f1;color:#06715f;border:2px solid #0f907a;padding:11px;box-shadow:inset 0 0 0 1px #d0ece2;}
.mode-switch input:focus-visible+span {outline:3px solid var(--gold);outline-offset:3px;}
.example-prompt {font-size:14px;font-weight:710;color:#366b68;margin:0 0 18px;background:#f1f9f5;border-radius:9px;padding:12px 16px;}
.percent-fields input {font-size:22px;font-weight:700;}
.smart-tool .calc-feedback.standout {margin-top:24px;padding:26px 28px;border-radius:13px;background:linear-gradient(120deg,#eff9f5,#e9f4f0);border:1px solid #d5e7df;}
.smart-tool .calc-feedback.standout output {font-size:clamp(2.15rem,4.5vw,3.35rem);line-height:1.15;letter-spacing:-.055em;margin:7px 0 12px;}
.smart-tool .calc-details p {font-size:13px;line-height:1.6;}
.emi-fields {grid-template-columns:repeat(2,minmax(0,1fr));}
.input-suffix {display:flex;position:relative;align-items:center;}
.input-suffix input {padding-right:88px;}
.input-suffix span {pointer-events:none;position:absolute;right:13px;color:#70878d;font-size:12px;font-weight:740;}
.split-field {display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:9px;}
.split-field select {font-size:14px;}
.sample-presets {display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:16px;}
.sample-presets>span {font-size:12px;color:#6a8490;}
.sample-presets button {background:#f5f8f7;border:1px solid #d8e5e3;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:760;color:#275c5b;}
.sample-presets button:hover {background:#e9f4ef;border-color:#98cabe;}
.emi-summary {background:#eef8f4;border:1px solid #d5ebe3;border-radius:16px;padding:25px 26px;margin-top:24px;}
.emi-primary .result-label {font-size:13px;}
.emi-primary output {font-size:clamp(2.1rem,4.7vw,3rem);line-height:1.22;display:block;color:#0c7668;font-weight:830;letter-spacing:-.05em;overflow-wrap:anywhere;margin:5px 0 2px;}
.emi-primary p {font-size:12px;color:#62847d;margin:0;}
.emi-breakdown {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 18px;padding-top:18px;border-top:1px solid #d5e6df;}
.emi-breakdown>div {display:flex;flex-direction:column;gap:5px;}
.emi-breakdown span {font-size:11px;color:#577771;}
.emi-breakdown strong {font-size:16px;line-height:1.35;color:#1d4650;overflow-wrap:anywhere;}
.emi-visual {display:flex;width:100%;height:13px;border-radius:99px;overflow:hidden;background:#cfe6df;}
.emi-principal-bar {background:#128678;height:100%;transition:width .2s;}
.emi-interest-bar {background:#e9b05e;height:100%;transition:width .2s;}
.emi-key {display:flex;gap:22px;margin-top:11px;flex-wrap:wrap;}
.emi-key span {display:inline-flex;gap:7px;align-items:center;font-size:11px;color:#526c69;}
.emi-key i {width:9px;height:9px;border-radius:2px;display:inline-block;}
.key-principal {background:#128678;}.key-interest {background:#e9b05e;}
.emi-summary .data-note {font-size:11px;margin-top:21px;}
.input-error {color:#a43b3b;background:#fff3f3;padding:12px;border-radius:8px;font-size:13px;margin:15px 0 0;}
.input-error[hidden] {display:none;}
.schedule-details {margin-top:16px;border:1px solid #dce6e7;border-radius:11px;background:#fff;}
.schedule-details summary {cursor:pointer;padding:16px 20px;font-weight:780;color:#176e63;font-size:13px;}
.schedule-details>.table-scroll {border-radius:0 0 10px 10px;border:0;}
.schedule-details table {font-size:12px;min-width:600px;}
.conversion-stack,.money-stack {display:flex;flex-direction:column;gap:0;}
.convert-row,.money-box {border:1px solid #d4e3e3;background:#fff;border-radius:13px;padding:17px 19px;}
.convert-row.output-row,.money-box.receive {background:#f0f8f5;border-color:#cce4dc;}
.convert-controls,.money-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(185px,43%);gap:10px;align-items:center;}
.convert-controls input,.money-row input {font-size:clamp(1.5rem,3vw,2rem);line-height:1.1;font-weight:780;letter-spacing:-.04em;min-height:59px;}
.convert-controls select,.money-row select {min-height:59px;width:100%;font-weight:700;}
.swap-centered {display:flex;justify-content:center;align-items:center;gap:12px;margin:8px 0;min-height:37px;}
.swap-centered span {color:#6b8589;font-size:11px;font-weight:650;}
.swap-round {width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid #9dccc5;color:#0b8270;font-size:23px;line-height:1;font-weight:790;box-shadow:0 3px 8px rgba(3,78,65,.08);}
.swap-round:hover {background:#eaf7f1;}
.conversion-explanation {background:#eff8f5;border:1px solid #d8ebe4;border-radius:12px;margin-top:22px;padding:19px 22px;}
.conversion-explanation>span {font-size:21px;line-height:1.4;display:block;font-weight:780;letter-spacing:-.02em;color:#0a7c6a;overflow-wrap:anywhere;}
.conversion-explanation p {font-size:12px;margin:8px 0 0;color:#5c7975;}
.currency-quote {background:#e9f6f1;padding:22px 24px;border-radius:13px;margin-top:22px;border:1px solid #d3eae1;}
.currency-quote strong {font-size:clamp(1.35rem,2.9vw,1.9rem);letter-spacing:-.035em;color:#087d6d;line-height:1.35;display:block;overflow-wrap:anywhere;}
.currency-quote p {margin:9px 0 0;color:#5d7978;line-height:1.5;}
.currency-panel .data-note {border-top:1px solid #e2ece9;padding-top:15px;margin-top:19px;}
.side-card {border-radius:16px;padding:21px;}
.side-card h3 {font-size:17px;}
.side-card a {font-size:12px!important;}
@media(max-width:1070px) {
  .page-grid{grid-template-columns:minmax(0,1fr) 210px;gap:22px;}
  .smart-tool{padding:26px;}
}
@media(max-width:850px){
  .page-grid{grid-template-columns:1fr;gap:35px;}
  .sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  .page-head{max-width:780px;}
}
@media(max-width:600px) {
  .page-head h1{font-size:clamp(2.1rem,9vw,2.85rem);}
  .page-head p{font-size:15px;}
  .smart-tool{padding:19px 17px;border-radius:15px;}
  .widget-heading{display:block;margin-bottom:19px;}
  .widget-heading h2{font-size:21px;}
  .instant-pill{display:inline-block;margin-top:13px;}
  .mode-switch{grid-template-columns:1fr;gap:7px;}
  .mode-switch span{min-height:46px;text-align:left;justify-content:start;padding:10px 15px;}
  .mode-switch input:checked+span{padding:9px 14px;}
  .convert-row,.money-box{padding:14px;}
  .convert-controls,.money-row{grid-template-columns:minmax(0,1fr) minmax(100px,48%);gap:7px;}
  .convert-controls input,.money-row input{font-size:21px;padding:10px;min-height:55px;}
  .convert-controls select,.money-row select{padding:8px;font-size:12px;min-height:55px;}
  .smart-tool .fields{grid-template-columns:1fr;}
  .emi-breakdown{grid-template-columns:1fr 1fr;gap:17px;}
  .emi-breakdown div:last-child{grid-column:1/-1;}
  .emi-summary{padding:20px 17px;}
  .emi-primary output{font-size:clamp(1.8rem,9vw,2.5rem);}
  .sidebar{grid-template-columns:1fr;}
}
/* Prevent long unit and currency option labels from expanding mobile grids. */
.convert-controls,.money-row {min-width:0;max-width:100%;}
.convert-controls>*,.money-row>* {min-width:0;max-width:100%;width:100%;}
.content-col,.smart-tool,.convert-row,.money-box {min-width:0;}

.emi-top-tile {background:linear-gradient(145deg,#eaf7f1,#e0f0eb);border:1px solid #cbe7dc;border-radius:12px;padding:14px 16px;min-width:205px;max-width:260px;flex:0 0 auto;}
.emi-top-tile span {display:block;font-size:11px;color:#568077;font-weight:750;margin-bottom:5px;}
.emi-top-tile strong {font-size:22px;line-height:1.3;font-weight:830;color:#0b7667;display:block;overflow-wrap:anywhere;letter-spacing:-.04em;}
@media(max-width:600px){.emi-top-tile{max-width:none;margin-top:15px;}}
