/* ── Self-hosted fonts (WOFF2 — fastest format, no CDN round-trip) ── */

/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/webfonts/rP2Wp2ywxg089UriCZaSExdy3sGt9zz86GPwyKK58VXh.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/webfonts/rP2Wp2ywxg089UriCZaSExdy3sGt9zz86GPwyKy58Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/webfonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/webfonts/-nFnOHM81r4j6k0gjAW3mujVU2B2G_5x0ujy.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/webfonts/-nFnOHM81r4j6k0gjAW3mujVU2B2G_Bx0g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    --blue: #2563eb;
    --blue-light: #dbeafe;
    --blue-mid: #93c5fd;
    --green: #16a34a;
    --green-light: #dcfce7;
    --amber: #d97706;
    --amber-light: #fef3c7;
    --red: #dc2626;
    --red-light: #fee2e2;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --font-body: 'DM Sans', sans-serif;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-raised: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-optical-sizing: auto;
    background: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Nav ── */
.navbar {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--slate-300);
}

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--slate-900);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-700);
    font-weight: 500;
    font-size: 15px;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--blue);
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--slate-500);
    padding: 20px 0 0;
}

.breadcrumb a {
    color: var(--blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb svg {
    width: 12px;
    height: 12px;
    color: var(--slate-300);
}

/* ── Page header ── */
.page-header {
    text-align: center;
    padding: 36px 0 32px;
}

.page-header h1 {
    font-family: 'DM Serif Display', serif;
    font-optical-sizing: auto;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 12px;
    line-height: 1.2;
}

.page-header p {
    color: var(--slate-500);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto;
}

/* ── Calculator card ── */
.calc-wrapper {
    max-width: 580px;
    margin: 0 auto 64px;
}

.calc-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-raised);
    border: 1px solid #e8edf5;
}

/* Unit toggle */
.unit-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    background: var(--slate-200);
    padding: 5px;
    border-radius: 60px;
}

.unit-btn {
    flex: 1;
    padding: 11px;
    border: none;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 40px;
    cursor: pointer;
    color: var(--slate-500);
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.unit-btn.active {
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Inputs */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.input-grid.one-col {
    grid-template-columns: 1fr;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--slate-700);
    margin-bottom: 7px;
    letter-spacing: .01em;
}

.input-group input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--slate-300);
    border-radius: var(--radius-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--slate-900);
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
    -webkit-appearance: none;
}

.input-group input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.input-group input::placeholder {
    color: var(--slate-300);
}

.optional-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 4px;
}

.optional-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.optional-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--slate-200);
}

/* CTA button */
.calculate-btn {
    width: 100%;
    padding: 16px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 40px;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px 0 0;
    letter-spacing: .01em;
    transition: background .2s, transform .1s, box-shadow .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calculate-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
}

.calculate-btn:active {
    transform: scale(.98);
}

/* Result section */
.result-section {
    margin-top: 24px;
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 28px 24px 24px;
    border: 1px solid #e8edf5;
    animation: fadeUp .35s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.result-bmi-block {
    text-align: center;
}

.result-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 4px;
}

.result-bmi {
    font-family: 'DM Serif Display', serif;
    font-size: 60px;
    line-height: 1;
    color: var(--slate-900);
}

.result-category {
    font-size: 18px;
    font-weight: 600;
    margin-top: 4px;
}

.result-ideal {
    font-size: 13px;
    color: var(--slate-500);
    margin-top: 6px;
}

.result-ideal strong {
    color: var(--slate-700);
}

/* Gauge */
.gauge-wrap {
    flex: 1;
    min-width: 200px;
}

.gauge-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 8px;
}

.gauge-track {
    position: relative;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(to right, #93c5fd 0%, #86efac 28%, #fde68a 55%, #fca5a5 80%, #f87171 100%);
    overflow: visible;
}

.gauge-needle {
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 22px;
    height: 22px;
    background: var(--white);
    border: 3px solid var(--slate-900);
    border-radius: 50%;
    transition: left .5s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    z-index: 2;
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 600;
    color: var(--slate-400);
}

/* Category pills */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.cat-pill {
    text-align: center;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    opacity: .45;
    transition: opacity .3s;
}

.cat-pill.active {
    opacity: 1;
}

.cat-pill-underweight {
    background: var(--blue-light);
    color: #1e40af;
}

.cat-pill-normal {
    background: var(--green-light);
    color: #166534;
}

.cat-pill-overweight {
    background: var(--amber-light);
    color: #92400e;
}

.cat-pill-obese {
    background: var(--red-light);
    color: #991b1b;
}

/* Waist note */
.waist-note {
    margin-top: 14px;
    padding: 12px 14px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--slate-200);
    font-size: 13px;
    color: var(--slate-600);
    display: none;
}

.waist-note strong {
    color: var(--slate-800);
}

/* ── Content sections ── */
.content-row {
    display: flex;
    align-items: center;
    gap: 56px;
    margin: 72px 0;
    flex-wrap: wrap;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-visual {
    flex: 0 0 340px;
    min-width: 260px;
}

.content-text {
    flex: 1;
    min-width: 260px;
}

.content-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 14px;
    line-height: 1.25;
}

.content-text p {
    color: var(--slate-600);
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.7;
}

.content-text ul {
    margin: 12px 0 14px 18px;
    color: var(--slate-600);
    font-size: 15px;
}

.content-text li {
    margin: 9px 0;
    line-height: 1.6;
}

.content-text strong {
    color: var(--slate-800);
    font-weight: 600;
}

/* Inline SVG illustrations */
.visual-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid #e8edf5;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.visual-card svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Formula box */
.formula-box {
    background: var(--slate-900);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 18px 0;
    font-family: 'DM Mono', 'Courier New', monospace;
}

.formula-box .formula-title {
    font-size: 11px;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.formula-line {
    font-size: 17px;
    margin: 6px 0;
    color: #e2e8f0;
}

.formula-line .hl {
    color: #93c5fd;
}

.formula-example {
    font-size: 13px;
    color: var(--slate-400);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #1e293b;
    font-family: 'DM Sans', sans-serif;
}

/* Ethnicity callout */
.callout {
    border-left: 4px solid var(--blue);
    background: var(--blue-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 14px;
    color: #1e3a8a;
    line-height: 1.6;
}

.callout strong {
    color: #1e3a8a;
}

/* BMI table */
.bmi-visual-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 16px 0;
}

.bmi-visual-table th {
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--slate-400);
    padding: 0 0 10px;
    border-bottom: 1px solid var(--slate-200);
}

.bmi-visual-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--slate-100);
    color: var(--slate-700);
    vertical-align: middle;
}

.bmi-visual-table td:last-child {
    font-weight: 600;
    text-align: right;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

/* FAQ */
.faq-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-bottom: 1px solid var(--slate-200);
    border-radius: 10px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--slate-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--font-body);
    transition: color .2s;
}

.faq-question:hover {
    color: var(--blue);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, transform .3s;
}

.faq-item.open .faq-icon {
    background: var(--blue-light);
    transform: rotate(45deg);
}

.faq-item.open .faq-icon svg {
    stroke: var(--blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.7;
    transition: max-height .35s ease, padding .35s ease;

    /* border: 1px solid #efefef; */
    border-top: none;
    padding: 0 10px;
    /* background: #eeeeee77; */
    border-radius: 5px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 18px;
    margin-top: 10px;
    transition: all .35s ease;
}

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    margin-top: 0;
    transition: all 0.35s ease;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--slate-500);
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
}

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.tip-card {
    background: var(--white);
    border: 1px solid #e8edf5;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-card);
}

.tip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.tip-icon svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

.tip-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.tip-desc {
    font-size: 13px;
    color: var(--slate-500);
    line-height: 1.6;
}

/* E-E-A-T footer note */
.eeat-bar {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 48px 0 32px;
    font-size: 13px;
    color: var(--slate-500);
    line-height: 1.6;
}

.eeat-bar svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--green);
    margin-top: 1px;
}

.eeat-bar a {
    color: var(--blue);
    text-decoration: none;
}

.eeat-bar a:hover {
    text-decoration: underline;
}

.eeat-bar strong {
    color: var(--slate-700);
}

/* Footer */
.footer {
    border-top: 1px solid var(--slate-200);
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--slate-400);
    font-size: 13px;
}

.footer a {
    color: var(--slate-400);
    text-decoration: none;
}

.footer a:hover {
    color: var(--blue);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Divider */
.section-divider {
    border: none;
    border-top: 1px solid var(--slate-200);
    margin: 64px 0 0;
}

@media (max-width: 700px) {

    .content-row,
    .content-row.reverse {
        flex-direction: column;
    }

    .content-visual {
        flex: 0 0 auto;
        width: 100%;
    }

    .calc-card {
        padding: 24px 20px;
    }

    .optional-row,
    .input-grid {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .gauge-wrap {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .navbar {
        flex-direction: column;
        gap: 12px;
    }
}

.imperial-height-toggle .height-mode-btn {
    background: var(--slate-100, #f1f5f9);
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 40px;
    padding: 8px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--slate-700, #334155);
}

.imperial-height-toggle .height-mode-btn.active {
    background: var(--slate-900, #0f172a);
    border-color: var(--slate-900, #0f172a);
    color: white;
}

.input-hint {
    font-size: 10px;
    color: var(--slate-400, #94a3b8);
    margin-top: 4px;
}