:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #0b0f0e;
  --bg-raised: #101614;
  --surface: #151c19;
  --surface-raised: #1b2420;
  --surface-soft: #202a25;
  --line: #2b3831;
  --line-strong: #3a4a40;
  --text: #f2f5f1;
  --muted: #a5b2a9;
  --dim: #78877d;
  --lime: #c7f36b;
  --lime-dark: #9dc844;
  --danger: #ff928b;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 22px 70px #0005;
  --content: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px; margin: 0; color: var(--text); line-height: 1.65; font-size: 16px;
  background: radial-gradient(ellipse 720px 420px at 78% -180px, #31443255, transparent 72%), var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body, button, input, select { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font-size: 16px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
::selection { color: #10170b; background: var(--lime); }

.skip { position: fixed; z-index: 50; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 16px; color: #11170b; background: var(--lime); border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { transform: none; }
.wrap { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.top { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid #ffffff0d; background: #0b0f0eea; backdrop-filter: blur(18px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.06em; }
.brand::before { content: "F"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #15200d; background: var(--lime); font-size: 19px; letter-spacing: -.06em; }
.brand span { color: var(--lime); }
.nav nav, .footer nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.nav nav a, .footer a { min-height: 42px; display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 9px; color: var(--muted); font-size: 16px; font-weight: 600; text-decoration: none; transition: color .18s ease, background .18s ease; }
.nav nav a:hover, .footer a:hover { color: var(--text); background: #ffffff0a; }

main { min-height: 65vh; padding: 64px 0 104px; }
h1, h2, h3 { margin: 0 0 16px; color: var(--text); line-height: 1.12; letter-spacing: -.045em; }
h1 { max-width: 900px; font-size: clamp(42px, 6.4vw, 76px); font-weight: 750; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.75; }
small { display: block; margin-top: 8px; color: var(--dim); font-size: 16px; line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 15px; color: var(--lime); font-size: 13px; font-weight: 750; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--lime); border-radius: 9px; }
.lead { max-width: 690px; margin: 0 0 24px; color: #b8c4bb; font-size: clamp(18px, 2vw, 21px); line-height: 1.7; }
.note { margin-top: 17px; font-size: 16px; }

.button, button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; border: 1px solid transparent; border-radius: 11px; color: #141b0c; background: var(--lime); font-size: 16px; font-weight: 750; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.button:hover, button:hover { transform: translateY(-1px); color: #141b0c; background: #d4fb89; box-shadow: 0 8px 26px #c7f36b20; }
.button:active, button:active { transform: translateY(0); }
button:disabled, .button[aria-disabled="true"] { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
button:not(.button) { padding-inline: 16px; border-color: var(--line-strong); color: var(--text); background: #1c2520; }
button:not(.button):hover { border-color: #60735f; color: var(--text); background: #26322b; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card, .toolbox, .info-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, #19211d, #121815 76%); box-shadow: 0 12px 36px #00000014; }
.card { position: relative; min-height: 268px; display: flex; flex-direction: column; align-items: flex-start; padding: 27px; overflow: hidden; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card:hover { transform: translateY(-4px); border-color: #657650; background: linear-gradient(145deg, #202b24, #141b17 78%); }
.card h3 { margin: 21px 0 11px; font-size: 23px; }
.card h3 a { text-decoration: none; }
.card p { margin: 0; }
.tool-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #c7f36b35; border-radius: 16px; color: var(--lime); background: #c7f36b0d; }
.tool-icon svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card .arrow { width: 36px; height: 36px; display: grid; place-items: center; margin-top: auto; padding-top: 15px; color: var(--lime); font-size: 22px; text-decoration: none; }
.card .eyebrow { margin: 22px 0 0; font-size: 12px; }
.card .eyebrow::before { display: none; }
.sections { padding-top: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 25px; }
.section-heading h2 { max-width: 650px; margin-bottom: 0; }
.section-heading p { max-width: 450px; margin-bottom: 2px; }
.info-card { padding: 24px; }
.info-card .step { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 21px; border-radius: 12px; color: var(--lime); background: #c7f36b12; font-weight: 750; }
.info-card h3 { margin-bottom: 9px; }
.info-card p { margin-bottom: 0; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.faq { padding: 21px 23px; border: 1px solid var(--line); border-radius: 15px; background: #131a16; }
.faq h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.02em; }
.faq p { margin: 0; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 76px; padding: 30px 34px; border: 1px solid #c7f36b30; border-radius: var(--radius); background: linear-gradient(100deg, #c7f36b12, #151c18 70%); }
.cta-band h2 { margin: 0 0 7px; font-size: 25px; }
.cta-band p { margin: 0; }

.home-page .hero { min-height: 500px; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(330px, .84fr); align-items: center; gap: 28px; padding: 28px 18px 68px; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(48px, 6.5vw, 78px); }
.hero-copy h1 span { color: var(--lime); }
.hero-copy .lead { max-width: 620px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.hero-proof { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.hero-proof span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #15200d; background: var(--lime); font-size: 14px; font-weight: 800; }
.hero-visual { position: relative; min-height: 390px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; z-index: -2; inset: 10% 6%; border-radius: 50%; background: radial-gradient(circle, #b9e65a20 0, #9ccc3d0d 43%, transparent 69%); filter: blur(7px); }
.hero-orbit { position: absolute; z-index: -1; width: 290px; height: 290px; border: 1px solid #c7f36b24; border-radius: 50%; transform: rotate(-22deg) scaleY(.58); }
.orbit-two { width: 350px; height: 350px; transform: rotate(57deg) scaleY(.54); border-color: #c7f36b17; }
.hero-disc { width: 244px; height: 244px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #d7ff8c3d; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #36482d, #172019 66%); box-shadow: 0 0 0 12px #c7f36b08, 0 24px 90px #0008, inset 0 0 55px #c7f36b0c; transform: rotate(-7deg); }
.hero-disc > span { color: var(--lime); font-size: 52px; font-weight: 850; letter-spacing: -.12em; line-height: 1; }
.hero-disc b { margin-top: 11px; font-size: 19px; line-height: 1.05; letter-spacing: .12em; text-align: center; }
.hero-disc small { margin-top: 15px; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.hero-float { position: absolute; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid #ffffff19; border-radius: 14px; background: #111814e8; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-float b, .hero-float small { display: block; margin: 0; }
.hero-float b { font-size: 14px; }
.hero-float small { color: var(--muted); font-size: 12px; }
.float-top { top: 41px; right: 0; }
.float-top > span { color: var(--lime); font-size: 23px; }
.float-bottom { bottom: 43px; left: 0; }
.float-bottom > i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px #c7f36b; }
.home-tools { scroll-margin-top: 100px; }
.tool-card-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.tool-card .eyebrow { margin: 0; }
.tool-card h3 { margin-top: 23px; }
.tool-card .arrow { width: auto; display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 0; font-size: 15px; font-weight: 700; }
.tool-card .arrow span { font-size: 18px; }
.home-benefits .info-card, .home-how .info-card { min-height: 220px; }
.home-how .info-card .step { border-radius: 50%; }

.toolbox { max-width: none; margin: 28px 0 0; padding: 26px; border-radius: var(--radius); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
label { display: block; margin: 0 0 8px; color: #dfe7e0; font-size: 16px; font-weight: 650; }
input, select { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 11px; outline: 0; color: var(--text); background: #0d1310; font-size: 16px; line-height: 1.4; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
input::placeholder { color: #738177; }
input:hover, select:hover { border-color: #53655a; }
input:focus, select:focus { border-color: var(--lime); background: #111914; box-shadow: 0 0 0 3px #c7f36b20; }
input:disabled, select:disabled { opacity: .5; cursor: not-allowed; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
select { appearance: none; padding-right: 43px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23a5b2a9' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.error { min-height: 25px; margin: 10px 0 7px; color: var(--danger); font-size: 16px; }
.result { min-width: 0; margin-top: 20px; padding: 24px; border: 1px solid #b5e85a3d; border-radius: 16px; background: linear-gradient(145deg, #26331f, #182119 82%); }
.result > span:first-child { display: block; color: #c8d4c8; font-size: 15px; font-weight: 600; }
.big { display: block; margin: 5px 0 7px; color: var(--lime); font-size: clamp(44px, 5vw, 64px); font-weight: 780; letter-spacing: -.06em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result p { margin: 13px 0 0; color: var(--text); }
.table-scroll { width: 100%; margin-top: 19px; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; scrollbar-color: var(--line-strong) transparent; }
table { width: 100%; border-collapse: collapse; margin: 0; text-align: left; }
caption { padding: 14px 16px; color: var(--muted); font-size: 15px; text-align: left; }
thead { background: #ffffff07; }
th, td { min-width: 115px; padding: 12px 16px; border-bottom: 1px solid #ffffff0c; color: var(--muted); font-size: 16px; text-align: left; }
th { color: #dce5dd; font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #c7f36b0a; }
td:last-child { color: var(--text); font-variant-numeric: tabular-nums; }

.rm-page, .macro-page { display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); grid-template-areas: "eyebrow toolbox" "title toolbox" "intro toolbox" "content content"; column-gap: 64px; align-items: start; align-content: start; }
.rm-page > .eyebrow, .macro-page > .eyebrow { grid-area: eyebrow; align-self: end; }
.rm-page > h1, .macro-page > h1 { grid-area: title; align-self: start; font-size: clamp(43px, 5vw, 65px); }
.rm-page > .lead, .macro-page > .lead { grid-area: intro; }
.rm-page > .toolbox, .macro-page > .toolbox { grid-area: toolbox; width: 100%; margin: 0; }
.rm-page > .sections, .macro-page > .sections { grid-area: content; width: min(850px, 100%); }
.rm-page .toolbox { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr); grid-template-areas: "form result" "form table"; gap: 0 23px; align-items: start; }
.rm-page #rm-form { grid-area: form; }
.rm-page #rm-form .fields { grid-template-columns: 1fr; }
.rm-page .result { grid-area: result; min-height: 145px; margin: 0; }
.rm-page .table-scroll { grid-area: table; margin-top: 15px; }
.rm-page .table-scroll table { min-width: 260px; }
.rm-page .table-scroll th, .rm-page .table-scroll td { min-width: 90px; padding: 8px 12px; }
.rm-page .table-scroll caption { padding: 10px 12px; }
.macro-page .toolbox { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); grid-template-areas: "form result" "out out"; gap: 24px 30px; align-items: start; }
.macro-page form { grid-area: form; min-width: 0; }
.macro-page .result { grid-area: result; margin: 0; }
.macro-page #macro-out { grid-area: out; min-width: 0; }
.macro-page .big { font-size: clamp(40px, 4vw, 54px); }
.macro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 0; }
.macro-card { min-width: 0; padding: 14px 11px; border: 1px solid #ffffff12; border-radius: 12px; background: #101713a8; }
.macro-card span { display: block; color: var(--muted); font-size: 15px; font-weight: 600; }
.macro-card strong { display: block; margin-top: 4px; color: var(--text); font-size: 20px; letter-spacing: -.04em; }
.macro-bar { display: flex; height: 9px; gap: 3px; margin: 18px 0 0; overflow: hidden; border-radius: 99px; background: #303c34; }
.macro-bar span { height: 100%; min-width: 2px; }
.macro-bar .protein-segment { background: var(--lime); }
.macro-bar .fat-segment { background: #62c9a0; }
.macro-bar .carb-segment { background: #8292ff; }
.macro-key { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 11px; color: var(--muted); font-size: 14px; }
.macro-key span { display: inline-flex; align-items: center; gap: 6px; }
.macro-key i { width: 8px; height: 8px; border-radius: 99px; background: var(--lime); }
.macro-key .fat-key i { background: #62c9a0; }
.macro-key .carb-key i { background: #8292ff; }
.goal-tag { display: inline-flex !important; width: max-content; margin-top: 11px; padding: 6px 10px; border: 1px solid #c7f36b35; border-radius: 99px; color: var(--lime) !important; background: #c7f36b0d; font-size: 13px !important; }
.volume-page > .lead { max-width: 720px; }
.volume-page .toolbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); grid-template-areas: "list summary" "add summary" "reset summary"; align-items: start; gap: 12px 24px; }
.volume-page #exercises { grid-area: list; min-width: 0; }
.volume-page #add { grid-area: add; justify-self: start; }
.volume-page #reset { grid-area: reset; justify-self: start; }
.volume-page .result { grid-area: summary; position: sticky; top: 105px; margin: 0; }
.exercise { display: grid; grid-template-columns: minmax(150px, 1.6fr) repeat(3, minmax(85px, .7fr)) 46px; gap: 12px; align-items: end; margin: 0 0 12px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #101613; }
.exercise label { margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.exercise input { min-height: 46px; padding: 10px 12px; }
.exercise button { width: 46px; min-width: 46px; min-height: 46px; padding: 0; border-color: #75433e !important; color: #ffc1b9 !important; background: #3a211f !important; font-size: 22px; }
.exercise button:hover { border-color: #a66058 !important; background: #512b27 !important; }
.volume-page .result .big { font-size: clamp(40px, 4vw, 52px); }

.sections h2 { margin: 48px 0 15px; font-size: clamp(25px, 3vw, 34px); }
.sections h2:first-child { margin-top: 0; }
.sections p { max-width: 78ch; }
.faq { border-bottom: 1px solid var(--line); padding: 17px 0; }
.faq h3 { margin: 0 0 7px; font-size: 18px; }
.faq p { margin: 0; }
.footer { border-top: 1px solid #ffffff12; background: #0a0e0d; }
.footer .wrap { min-height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.footer .wrap > span { color: var(--dim); font-size: 15px; }
.footer nav { gap: 2px; }
.footer a { min-height: 40px; padding-inline: 10px; font-size: 16px; }

@media (max-width: 900px) {
  .wrap { width: min(var(--content), calc(100% - 48px)); }
  main { padding-block: 52px 80px; }
  .home-page .hero { grid-template-columns: minmax(0, 1.05fr) minmax(275px, .85fr); gap: 12px; padding-inline: 0; }
  .hero-disc { width: 215px; height: 215px; }
  .hero-orbit { width: 255px; height: 255px; }
  .orbit-two { width: 305px; height: 305px; }
  .rm-page, .macro-page { grid-template-columns: minmax(0, .8fr) minmax(390px, 1.2fr); column-gap: 32px; }
  .macro-page .toolbox { grid-template-columns: minmax(0, 1fr) minmax(300px, .95fr); gap: 20px; }
  .rm-page .toolbox { grid-template-columns: 1fr; grid-template-areas: "form" "result" "table"; }
  .rm-page #rm-form .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .volume-page .toolbox { grid-template-columns: 1fr 250px; gap: 14px; }
  .exercise { grid-template-columns: minmax(125px, 1.3fr) repeat(3, minmax(70px, .7fr)) 42px; gap: 8px; padding: 13px; }
  .exercise button { width: 42px; min-width: 42px; }
  .footer .wrap { align-items: flex-start; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 68px; align-items: flex-start; flex-direction: column; gap: 2px; padding-block: 12px 7px; }
  .brand { font-size: 17px; }
  .brand::before { width: 31px; height: 31px; }
  .nav nav { justify-content: flex-start; gap: 3px; padding-bottom: 10px; }
  .nav nav a { min-height: 38px; padding: 7px 9px; font-size: 15px; }
  main { padding-block: 38px 64px; }
  h1 { font-size: clamp(40px, 12vw, 58px); }
  h2 { font-size: 30px; }
  .lead { font-size: 18px; }
  .home-page .hero { min-height: 0; grid-template-columns: 1fr; gap: 3px; padding: 24px 0 42px; }
  .hero-copy h1 { font-size: clamp(44px, 11vw, 60px); }
  .hero-visual { min-height: 300px; }
  .hero-disc { width: 195px; height: 195px; }
  .hero-orbit { width: 245px; height: 245px; }
  .orbit-two { width: 290px; height: 290px; }
  .float-top { top: 19px; right: 4px; }
  .float-bottom { bottom: 22px; left: 1px; }
  .grid { grid-template-columns: 1fr; gap: 13px; }
  .card { min-height: 0; padding: 22px; }
  .card h3 { margin-top: 17px; font-size: 22px; }
  .card .arrow { padding-top: 10px; }
  .sections { padding-top: 62px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .info-card { padding: 20px; }
  .faq-list { grid-template-columns: 1fr; gap: 10px; }
  .faq { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #131a16; }
  .cta-band { align-items: flex-start; flex-direction: column; margin-top: 55px; padding: 23px; }
  .toolbox { margin-top: 23px; padding: 19px; }
  .fields { gap: 15px; }
  .rm-page, .macro-page { display: block; }
  .rm-page > .toolbox, .macro-page > .toolbox { margin-top: 21px; }
  .rm-page .toolbox { display: flex; flex-direction: column; gap: 0; }
  .rm-page #rm-form, .rm-page .result, .rm-page .table-scroll { width: 100%; }
  .rm-page #rm-form .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-page .result { margin-top: 21px; }
  .rm-page .table-scroll { margin-top: 15px; }
  .macro-page .toolbox { display: flex; flex-direction: column; gap: 20px; }
  .macro-page form, .macro-page .result { width: 100%; }
  .macro-page .result { position: static; }
  .volume-page .toolbox { grid-template-columns: 1fr; grid-template-areas: "summary" "list" "add" "reset"; }
  .volume-page .result { position: static; }
  .exercise { grid-template-columns: repeat(4, minmax(0, 1fr)) 44px; gap: 8px; padding: 12px; }
  .exercise > div:first-child { grid-column: 1 / -1; }
  .exercise button { align-self: end; }
  .big { font-size: 48px; }
  .macro-grid { gap: 7px; }
  .macro-card { padding: 12px 9px; }
  .macro-card strong { font-size: 18px; }
  .footer .wrap { flex-direction: column; gap: 12px; }
  .footer nav { justify-content: flex-start; }
  .footer a { padding-inline: 8px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .nav nav a { padding-inline: 7px; font-size: 14px; }
  .hero-visual { min-height: 250px; }
  .hero-disc { width: 165px; height: 165px; }
  .hero-disc > span { font-size: 42px; }
  .hero-disc b { font-size: 16px; }
  .hero-orbit { width: 208px; height: 208px; }
  .orbit-two { width: 248px; height: 248px; }
  .hero-float { padding: 10px 12px; }
  .hero-float b { font-size: 13px; }
  .hero-float small { font-size: 12px; }
  .fields { grid-template-columns: 1fr; }
  .rm-page #rm-form .fields { grid-template-columns: 1fr; }
  .exercise { grid-template-columns: repeat(2, minmax(0, 1fr)) 44px; }
  .exercise > div:first-child { grid-column: 1 / -1; }
  .exercise > div:nth-child(4) { grid-column: 1 / 3; }
  .macro-grid { grid-template-columns: 1fr; }
  .macro-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .macro-card strong { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.calculator-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 28px; }
.calculator-intro { min-width: 0; }
.calculator-intro h1 { font-size: clamp(43px, 5vw, 65px); }
.calculator-intro .lead { font-size: 19px; }
.calculator-intro .toolbox { margin-top: 24px; }
.calculator-output { min-width: 0; display: grid; align-content: start; gap: 15px; }
.calculator-output .result, .calculator-output .table-scroll { margin: 0; }
.rm-layout .calculator-intro .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rm-layout .calculator-output .table-scroll table { min-width: 360px; }
.rm-layout .calculator-output .table-scroll th, .rm-layout .calculator-output .table-scroll td { min-width: 130px; }
.macro-layout { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.macro-layout .calculator-intro .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.macro-layout .calculator-output { gap: 16px; }
.macro-layout .calculator-output > .result { min-height: 190px; }
.macro-layout .macro-grid { gap: 13px; }
.macro-layout .macro-card { padding: 16px; }
.macro-layout .macro-card strong { font-size: 23px; }
@media (max-width: 900px) {
  .calculator-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; }
  .macro-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
@media (max-width: 700px) {
  .calculator-layout { display: block; }
  .calculator-output { margin-top: 22px; }
  .macro-layout .calculator-output { margin-top: 22px; }
  .macro-layout .macro-grid { gap: 9px; }
  .macro-layout .macro-card { padding: 13px; }
  .macro-layout .macro-card strong { font-size: 20px; }
}
