* {
    box-sizing: border-box;
}

:root {
    --paper: #ffffff;
    --surface: #ffffff;
    --ink: #182022;
    --muted: #5a6769;
    --line: #cdd6d2;
    --teal: #0f766e;
    --teal-dark: #0b514c;
    --berry: #9f355a;
    --gold: #b7791f;
    --soft: #eef5f4;
    --shadow: 0 18px 46px rgba(24, 32, 34, 0.11);
}

html {
    background: #ffffff;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--teal-dark);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--berry);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 20;
    padding: 10px 14px;
    background: var(--ink);
    color: #ffffff;
    border-radius: 6px;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    background: linear-gradient(180deg, #0b514c 0%, #0c5c56 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(11, 81, 76, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.brand img {
    width: 40px;
    height: 40px;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

.menu-toggle-bars {
    display: grid;
    gap: 4px;
    width: 18px;
}

.menu-toggle-bars span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.primary-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
    text-decoration: none;
}

.primary-nav a[aria-current="page"],
.primary-nav a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.hero {
    background: radial-gradient(circle at top, #ffffff 0, #f6f9ff 46%, #eef5ff 100%);
    border-bottom: 1px solid #edf0f4;
}

.static-hero .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
    padding: 42px 0 54px;
}

.hero-copy {
    text-align: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--teal);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0 auto;
    max-width: 980px;
    font-size: 3.35rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.hero h1 {
    color: #000000;
}

h2 {
    margin: 0 0 14px;
    font-size: 1.55rem;
    line-height: 1.25;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
    line-height: 1.35;
    letter-spacing: 0;
}

.lead {
    max-width: 710px;
    margin: 18px auto 0;
    color: #56606c;
    font-size: 1.35rem;
}

.hero-actions {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #d8dee8;
    border-radius: 6px;
    background: #ffffff;
    color: var(--teal-dark);
    font-weight: 700;
    text-decoration: none;
}

.hero-actions a:hover {
    border-color: var(--teal);
    color: var(--berry);
}

.tool-panel,
.note-box {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.tool-panel {
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.calculator-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.calculator-heading img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
}

.calculator-heading h2,
.calculator-heading p {
    margin: 0;
}

.calculator-heading p {
    color: var(--muted);
    font-size: 0.95rem;
}

form {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-weight: 800;
}

label span {
    font-size: 0.94rem;
}

input,
select,
button {
    width: 100%;
    min-height: 46px;
    border-radius: 6px;
    font: inherit;
}

input,
select {
    border: 1px solid #c6cec9;
    background: #ffffff;
    color: var(--ink);
    padding: 10px 12px;
}

input:focus,
select:focus,
button:focus {
    outline: 3px solid rgba(15, 118, 110, 0.26);
    outline-offset: 2px;
}

button {
    border: 0;
    background: var(--teal);
    color: #ffffff;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 800;
}

button:hover {
    background: var(--teal-dark);
}

.split-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.split-fields-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result {
    margin-top: 18px;
    padding: 16px;
    border-left: 4px solid var(--teal);
    border-radius: 6px;
    background: var(--soft);
}

.result-warning {
    border-left-color: var(--gold);
    background: #fff8e8;
}

.result h3,
.result p {
    margin: 0;
}

.result dl {
    display: grid;
    gap: 10px;
    margin: 10px 0 0;
}

.result dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(24, 32, 34, 0.12);
    padding-bottom: 8px;
}

.result dt {
    color: var(--muted);
    font-weight: 700;
}

.result dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.calculator-card {
    background: #ffffff;
}

.converter-form {
    display: block;
}

.converter-field {
    padding: 24px 30px 0;
}

.converter-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.converter-label-row label {
    display: block;
    color: #4d5560;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.2;
}

.converter-label-row span {
    color: #555b64;
    font-size: 1.2rem;
    font-weight: 800;
}

.converter-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    min-height: 50px;
    overflow: hidden;
    border: 1px solid #c9d5ff;
    border-radius: 8px;
    background: #f8faff;
}

.converter-input-row input,
.converter-input-row select {
    min-height: 50px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.converter-input-row input {
    padding: 10px 14px;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 700;
}

.converter-input-row input[readonly] {
    color: #1f2937;
}

.unit-select {
    border-left: 1px solid #dce4ff;
    color: #315cff;
    cursor: pointer;
    font-weight: 800;
    text-align: right;
}

.reverse-note {
    margin: 20px 30px 0;
    padding: 14px 16px;
    border-radius: 7px;
    background: #eef1ff;
    color: #2f3540;
    font-size: 0.96rem;
}

.calculator-card .result {
    margin: 18px 30px 0;
}

.calculator-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    gap: 20px;
    margin-top: 30px;
    padding: 22px 30px;
    border-top: 1px solid #d9dee8;
}

.share-tile,
.reload-button,
.clear-button,
.feedback-row button {
    min-height: 56px;
    border: 1px solid #c5cedd;
    border-radius: 8px;
    background: #ffffff;
    color: #151922;
    text-align: center;
    text-decoration: none;
}

.share-tile {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 124px;
    padding: 16px;
}

.share-mark {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f43f5e;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
}

.share-tile strong {
    font-size: 1.05rem;
}

.action-stack {
    display: grid;
    gap: 10px;
}

.reload-button {
    background: #ffffff;
    color: #0d1320;
    font-size: 1.02rem;
}

.reload-button:hover {
    background: #f7f9ff;
    color: #0d1320;
}

.clear-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9aa1aa;
    font-weight: 800;
}

.clear-button:hover {
    border-color: #aeb9c9;
    color: #4d5560;
}

.feedback-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 30px 24px;
    color: #5a626e;
    font-size: 0.92rem;
}

.feedback-row span {
    margin-right: auto;
}

.feedback-row button {
    width: auto;
    min-width: 82px;
    min-height: 32px;
    padding: 4px 12px;
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 800;
}

.feedback-row button:hover {
    background: #f7f9ff;
}

.similar-converters {
    margin: 18px 10px 10px;
    padding: 18px;
    border: 1px solid #f1e3a8;
    border-radius: 8px;
    background: #fff8d9;
}

.similar-converters h3 {
    margin: 0 0 12px;
    color: #111827;
}

.similar-converters div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.similar-converters a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(183, 121, 31, 0.25);
    border-radius: 6px;
    background: #ffffff;
    color: #315cff;
    font-weight: 800;
    text-decoration: none;
}

.similar-converters a:hover {
    border-color: #b7791f;
}

.converter-modern {
    width: min(100%, 1160px);
    margin: 0 auto;
    padding: 54px 34px 34px;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.12);
}

.converter-modern h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.converter-subtitle {
    display: none;
}

.converter-modern .converter-form {
    display: block;
}

.converter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.converter-modern .converter-field {
    padding: 0;
}

.converter-unit-title {
    display: block;
    margin: 0 0 20px;
    color: #2563c7;
    font-size: 1.35rem;
    font-weight: 800;
    text-align: center;
}

.converter-field-output .converter-unit-title {
    color: #23833a;
}

.unit-display {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 108px;
    min-height: 112px;
    overflow: hidden;
    border: 2px solid #2563d8;
    border-radius: 10px;
    background: #ffffff;
}

.converter-field-output .unit-display {
    border-color: #6bb879;
    background: #f7fff8;
}

.unit-display input {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #050505;
    font-size: 3.4rem;
    font-weight: 800;
    text-align: right;
    padding: 16px 24px;
}

.unit-display input::placeholder {
    color: #6b7280;
    opacity: 1;
}

.unit-display input[readonly] {
    cursor: default;
}

.converter-modern .unit-select {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-left: 1px solid #dbe2ec;
    border-radius: 0;
    background: #f8fbff;
    color: #4b5563;
    cursor: pointer;
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    text-align-last: center;
}

.unit-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #dbe2ec;
    background: #f8fbff;
    color: #4b5563;
    font-size: 1.45rem;
    font-weight: 700;
}

.converter-field-output .unit-display input {
    color: #23833a;
}

.converter-field-output .unit-select,
.converter-field-output .unit-chip {
    background: #fbfffb;
}

.field-help {
    margin: 18px 0 0;
    color: #5f6675;
    font-size: 1.06rem;
    text-align: center;
}

.swap-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 112px;
    margin-top: 46px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2563d8;
    font-size: 4rem;
    line-height: 1;
    text-decoration: none;
}

.swap-button:hover {
    color: #1b50b6;
}

.convert-button {
    width: auto;
    min-width: 160px;
    min-height: 44px;
    margin-top: 18px;
    border-radius: 6px;
    background: #111827;
    color: #ffffff;
}

.convert-button:hover {
    background: #000000;
}

.converter-modern.is-auto .convert-button {
    display: none;
}

.converter-modern .result {
    width: min(100%, 920px);
    margin: 18px auto 0;
    border-left-color: #111827;
    background: #f8fafc;
}

.formula-note {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 42px;
    padding: 24px 30px;
    border: 1px solid #d7e6ff;
    border-radius: 10px;
    background: #f7fbff;
    color: #1d3f7d;
    font-size: 1.22rem;
}

.formula-note span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border: 3px solid #2563d8;
    border-radius: 999px;
    color: #2563d8;
    font-weight: 900;
}

.reset-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(210px, 100%);
    min-height: 58px;
    margin: 28px auto 0;
    border: 2px solid #2563d8;
    border-radius: 8px;
    background: #ffffff;
    color: #2563d8;
    cursor: pointer;
    font-size: 1.12rem;
    font-weight: 800;
    text-decoration: none;
}

.reset-button::before {
    content: "↻";
    margin-right: 12px;
    font-size: 1.45rem;
}

.reset-button:hover {
    background: #f8fbff;
    color: #1b50b6;
}

.converter-modern > .quick-table,
.converter-modern > .similar-converters {
    display: none;
}

.quick-table {
    width: min(100%, 920px);
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #ffffff;
}

.quick-table div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 44px;
    align-items: center;
    border-bottom: 1px solid #e4e7ec;
}

.quick-table div:last-child {
    border-bottom: 0;
}

.quick-table span,
.quick-table strong {
    padding: 10px 20px;
}

.quick-table span {
    color: #111827;
}

.quick-table strong {
    text-align: right;
}

.converter-modern .similar-converters {
    width: min(100%, 920px);
    margin: 22px 0 0;
    border-color: #e7dbad;
    background: #fff8d9;
}

.st-lb-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.fixed-unit-label {
    min-height: 46px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
}

.equals-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 108px;
    color: #737b88;
    font-size: 1.8rem;
    font-weight: 800;
}

.band {
    padding: 42px 0;
    background: #f7f9f8;
}

.band-muted {
    background: #eaf2f0;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: start;
}

.formula-list {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.formula-list li {
    padding: 10px 12px;
    border-left: 4px solid var(--berry);
    border-radius: 6px;
    background: #fff7f9;
    font-weight: 800;
}

.note-box {
    padding: 20px;
    background: #f4faf8;
}

.note-box p:last-child {
    margin-bottom: 0;
}

.content-page {
    display: grid;
    gap: 20px;
    max-width: 860px;
}

.content-page article {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.content-page article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.guide-intro,
.formula-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 28px;
    align-items: start;
}

.guide-intro p:last-child,
.formula-feature p:last-child,
.article-flow p:last-child {
    margin-bottom: 0;
}

.quick-facts {
    display: grid;
    gap: 12px;
}

.quick-facts div,
.guide-card,
.formula-card,
.use-grid article,
.feature-grid div {
    border: 1px solid #d7e1de;
    border-radius: 8px;
    background: #ffffff;
}

.quick-facts div {
    display: grid;
    gap: 2px;
    padding: 16px;
}

.quick-facts strong,
.feature-grid strong {
    color: var(--teal-dark);
    font-size: 1.05rem;
}

.quick-facts span,
.feature-grid span,
.use-grid p {
    color: var(--muted);
}

.unit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.guide-card {
    padding: 24px;
}

.accent-card {
    border-color: #ead4dc;
    background: #fff8fa;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 24px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--berry);
}

.formula-card {
    padding: 22px;
    border-color: #ecd9b6;
    background: #fffaf0;
}

.formula-card p {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 4px solid var(--gold);
    border-radius: 6px;
    background: #ffffff;
}

.section-lead {
    max-width: 680px;
    margin-top: -4px;
    color: var(--muted);
}

.article-flow {
    max-width: 960px;
}

.split-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.use-grid article,
.feature-grid div {
    padding: 18px;
}

.feature-grid div {
    display: grid;
    gap: 6px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

th,
td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    background: #f4f1e8;
    color: var(--ink);
}

tr:last-child td {
    border-bottom: 0;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.faq-list article,
.related-link {
    border: 1px solid #d7e1de;
    border-radius: 8px;
    background: var(--surface);
}

.faq-list article {
    padding: 18px;
}

.faq-list p {
    margin: 0;
    color: var(--muted);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.related-link {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 16px;
    color: var(--ink);
    text-decoration: none;
}

.related-link:hover {
    border-color: var(--teal);
    color: var(--ink);
}

.related-link span {
    font-weight: 800;
}

.related-link small {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.partner-link {
    margin: 18px 0 0;
    color: var(--muted);
}

.partner-link a {
    font-weight: 800;
}

.site-footer {
    padding: 32px 0;
    background: var(--ink);
    color: #dce4e2;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 24px;
}

.footer-brand {
    margin: 0 0 6px;
    color: #ffffff;
    font-weight: 800;
}

.site-footer p {
    margin-top: 0;
}

.site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}

.site-footer a {
    color: #ffffff;
}

.not-found {
    min-height: 58vh;
    padding: 64px 0;
}

.not-found-panel {
    max-width: 720px;
}

@media (max-width: 900px) {
    .header-inner,
    .hero-grid,
    .two-column,
    .guide-intro,
    .formula-feature,
    .unit-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        display: grid;
        justify-items: start;
    }

    .brand {
        color: #ffffff;
    }

    .primary-nav {
        justify-content: flex-start;
    }

    .hero-grid {
        padding: 26px 0 34px;
    }

    .converter-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .st-lb-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .equals-mark {
        min-height: 24px;
    }

    .swap-button {
        margin: 0 auto;
        transform: rotate(90deg);
    }

    .use-grid,
    .feature-grid,
    .faq-list,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 16px, 1120px);
    }

    .site-header {
        box-shadow: none;
    }

    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding: 8px 0;
    }

    .site-header.is-menu-open {
        box-shadow: 0 10px 24px rgba(11, 81, 76, 0.16);
    }

    .brand {
        min-height: 36px;
        font-size: 0.98rem;
    }

    .brand img {
        width: 32px;
        height: 32px;
    }

    .menu-toggle {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .primary-nav {
        display: none;
        width: 100%;
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 8px 0 4px;
    }

    .site-header.is-menu-open .primary-nav {
        display: grid;
    }

    .primary-nav a {
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.08);
    }

    .hero-grid {
        gap: 12px;
        padding: 14px 0 18px;
    }

    .eyebrow {
        display: none;
    }

    h1 {
        font-size: 1.62rem;
        line-height: 1.08;
    }

    .lead {
        display: none;
    }

    .hero-actions,
    .split-fields,
    .split-fields-3,
    .split-list,
    .use-grid,
    .feature-grid,
    .faq-list,
    .related-grid,
    .site-footer nav {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
    }

    .tool-panel {
        padding: 0;
    }

    .converter-modern {
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
    }

    .converter-grid,
    .st-lb-grid {
        gap: 8px;
    }

    .converter-unit-title {
        margin-bottom: 7px;
        font-size: 0.98rem;
        text-align: left;
    }

    .field-help {
        display: none;
    }

    .swap-button {
        width: 34px;
        height: 28px;
        margin: 0 auto;
        font-size: 2rem;
    }

    .band {
        padding: 32px 0;
    }

    .table-wrap {
        overflow-x: visible;
    }

    table {
        min-width: 0;
        table-layout: fixed;
    }

    th,
    td {
        padding: 9px 7px;
        font-size: 0.84rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .result dl div {
        display: grid;
        gap: 2px;
    }

    .result dd {
        text-align: left;
    }

    .converter-field {
        padding: 20px 18px 0;
    }

    .converter-modern .converter-field {
        padding: 0;
    }

    .unit-display {
        grid-template-columns: minmax(0, 1fr) 66px;
        min-height: 62px;
        height: 62px;
        border-radius: 8px;
    }

    .unit-display input {
        padding: 8px 12px;
        font-size: 1.85rem;
    }

    .converter-modern .unit-select,
    .unit-chip {
        font-size: 1rem;
    }

    .formula-note {
        display: none;
    }

    .reset-button {
        width: 120px;
        min-height: 38px;
        margin-top: 10px;
        border-width: 1px;
        font-size: 0.95rem;
    }

    .reset-button::before {
        margin-right: 8px;
        font-size: 1.1rem;
    }

    .converter-modern .result {
        margin-top: 10px;
        padding: 10px;
    }

    .converter-modern .result h3,
    .converter-modern .result dl div:nth-child(n + 3) {
        display: none;
    }

    .equals-mark {
        min-height: 22px;
        font-size: 1.2rem;
    }
}
