:root {
    --ink: #40576d;
    --muted: #62778b;
    --accent: #a92c46;
    --red: #c6445b;
    --line: #d7e0e9;
    --pale: #f0f4f8;
    --pink: #fceef1;
    --white: #fff;
    --wrap: 1180px;
    --gap: 28px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); font-size: 16px; line-height: 1.65; }
.wrap { max-width: var(--wrap); width: calc(100% - 64px); margin-inline: auto; }
h1,h2,h3,p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: 40px; font-weight: 650; line-height: 1.12; letter-spacing: -.025em; color: var(--accent); margin: 12px 0 18px; }
h2 { font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--ink); letter-spacing: -.025em; margin-bottom: 22px; }
h3 { font-size: 20px; font-weight: 400; line-height: 1.35; margin-bottom: 10px; color: var(--accent); }
p { font-size: 16px; margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration: none; font-weight: 400; }
a:hover { background-color: var(--pink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #bf5670; outline-offset: 3px; }
.top { background: var(--pale); border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; }
.brand { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); font-size: 19px; letter-spacing: -.015em; }
.brand-icon { width: 30px; height: 32px; border: 2px solid var(--red); border-radius: 5px; background: linear-gradient(transparent 25%,var(--red) 25% 32%,transparent 32%); position: relative; flex: none; }
.brand-icon::after { content: ''; position: absolute; inset: 12px 4px 4px; background: #e9b9c3; border-radius: 3px; }
nav { display: flex; align-items: center; gap: 10px; }
nav a { padding: 8px 13px; border-bottom: 1px solid #c9a9b0; white-space: nowrap; }
.intro { margin: 30px 0 16px; border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: center; gap: 28px; padding: 25px 30px; background: linear-gradient(115deg,#f9edf0 0%,#f9edf0 54%,#e9eff5 54%,#e9eff5 100%); }
.intro-copy p { max-width: 64ch; }
.eyebrow { color: var(--muted); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.home-intro .intro-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); background: linear-gradient(100deg,#e9eff5 0%,#e9eff5 46%,#f9edf0 46%,#f9edf0 100%); }
.intro-rule { border-left: 5px solid var(--red); background: var(--pale); padding: 22px 26px; }
.band { padding: 27px 0; border-bottom: 1px solid var(--line); }
.band:last-child { border-bottom: 0; margin-bottom: 22px; }
.band h2 { display: flex; align-items: baseline; gap: 12px; }
.band h2::before { content: ''; width: 22px; height: 4px; background: var(--red); flex: none; align-self: center; }
.composition { display: grid; gap: var(--gap); align-items: start; }
.equal { grid-template-columns: repeat(2,minmax(0,1fr)); }
.wide-left { grid-template-columns: minmax(0,2fr) minmax(0,1fr); }
.wide-right { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
.module { min-width: 0; padding: 16px 18px; border-top: 2px solid var(--line); background: #f8fafc; }
.module.tint { background: var(--pink); border-top-color: #e9b5c2; }
.module:nth-child(2):not(.tint) { background: var(--pale); }
.source { font-size: 16px; color: var(--muted); border-left: 2px solid #b8c6d3; padding-left: 10px; margin-top: 12px; }
.stat { display: grid; gap: 1px; border-left: 3px solid var(--red); padding: 4px 0 5px 13px; margin: 7px 0 14px; }
.number { font-size: clamp(26px,3vw,37px); color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat span:last-child { font-size: 15px; color: var(--muted); }
.equation { padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red); font-variant-numeric: tabular-nums; color: var(--accent); overflow-wrap: anywhere; }
.table-shell { width: 100%; }
table { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 15px; }
th,td { border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; padding: 10px 8px; overflow-wrap: anywhere; }
thead th { background: #dce5ef; color: var(--ink); }
tbody tr:nth-child(even) { background: #edf2f7; }
.calculator { display: grid; gap: 12px; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.fields > div { min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; }
.fields > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
label { font-size: 15px; line-height: 1.35; }
input,select,button { font: inherit; border: 1px solid #b6c4d2; border-radius: 4px; padding: 9px 10px; min-width: 0; color: var(--ink); background: #fff; width: 100%; }
button { color: #fff; border-color: var(--accent); background: var(--accent); cursor: pointer; }
button:hover { background: #b53852; }
output { display: block; padding: 11px 12px; border: 1px solid #dec3ca; background: #fff4f6; color: var(--accent); overflow-wrap: anywhere; }
.bars { display: grid; gap: 14px; margin: 16px 0; }
.bars div { display: grid; gap: 5px; }
.bar { height: 16px; display: block; background: #b94259; border-radius: 3px; }
.fullbar { width: 100%; }.fanbar { width: 85.263%; background: #738ca5; }
.foot { padding: 28px 0 36px; border-top: 4px solid #c6445b; background: var(--pale); }
.footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; gap: 0 24px; }
.footer-links li { border-top: 1px solid var(--line); }
.footer-links a { display: block; padding: 9px 0; }
/* Oven product illustration */
.art-stage { display: grid; place-items: center; padding: 12px; }
.oven-front { width: min(100%, 300px); aspect-ratio: 1 / .86; border-radius: 10px; position: relative; background: linear-gradient(100deg,#aebbc9,#f2f5f8 20%,#bac6d3 55%,#e9edf2 87%,#8d9fb0); border: 1px solid #8498ab; box-shadow: 9px 13px 15px #8fa0b04a,inset 0 0 0 3px #f4f6f9; padding: 9px; }
.oven-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 18%; padding: 0 12px; background: linear-gradient(#e9edf1,#abbac8); border: 1px solid #96a7b6; border-radius: 4px; }
.dial { width: 30px; aspect-ratio: 1; background: conic-gradient(#bac7d3,#f8fbff,#95a7b8,#e3eaf0,#bac7d3); border-radius: 50%; border: 2px solid #879cad; box-shadow: 1px 3px 4px #74899d; position: relative; }
.dial::after { content: ''; position: absolute; width: 2px; height: 8px; background: var(--red); left: calc(50% - 1px); top: 1px; }
.oven-display { background: #61798e; color: #fff4f5; font-variant-numeric: tabular-nums; font-size: 17px; line-height: 1.3; border-radius: 3px; padding: 3px 13px; }
.oven-handle { height: 8%; margin: 5px 5px 4px; border-radius: 4px; background: linear-gradient(#dbe4ec,#8498aa,#dce5ee); box-shadow: 0 3px 3px #8295a7; }
.oven-glass { height: 65%; padding: 10px; background: linear-gradient(125deg,#6e879d,#b3c2cf 46%,#8ea4b7 47%,#526e85); border: 4px solid #8a9eaf; border-radius: 5px; }
.oven-inner { position: relative; height: 100%; border: 2px solid #72899e; border-radius: 4px; background: radial-gradient(ellipse at 50% 30%,#e6b5b6,#9d889a 50%,#70869b 85%); box-shadow: inset 0 0 12px #657c93; }
.fan-wheel { position: absolute; width: 45%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #b2c3d1; background: repeating-radial-gradient(circle,#8298ac 0 3px,#c8d3dd 4px 5px,#9cabbc 6px 9px); top: 50%; left: 50%; transform: translate(-50%,-50%); overflow: hidden; }
.fan-wheel i { position: absolute; top: 11%; left: 48%; height: 36%; width: 17%; border-radius: 65% 20%; background: linear-gradient(#dce5ed,#849bb0); transform-origin: 12% 110%; }
.fan-wheel i:nth-child(2) {transform:rotate(60deg)} .fan-wheel i:nth-child(3){transform:rotate(120deg)} .fan-wheel i:nth-child(4){transform:rotate(180deg)} .fan-wheel i:nth-child(5){transform:rotate(240deg)} .fan-wheel i:nth-child(6){transform:rotate(300deg)}
.rack { position:absolute; left:5%;right:5%;height:4px; background:linear-gradient(#edf2f6,#879eb0); box-shadow:0 2px 3px #637c92; }.rack-a{top:48%}.rack-b{top:75%}
.tray { position:absolute; bottom:11%; left:11%; right:11%; height:9%; background:linear-gradient(#cda5a5,#996d80); border:2px solid #c2bac5; border-radius:2px; }
.oven-vent { height: 6%; margin: 4px 15%; background: repeating-linear-gradient(90deg,#9aaebf 0 3px,#d2dde6 3px 6px); }
.cutaway { width: min(100%, 330px); aspect-ratio: 1.25; position: relative; border-radius: 8px; padding: 18px; background: linear-gradient(130deg,#dce6ee,#9eb1c1); border: 2px solid #8299ad; box-shadow: 9px 12px 14px #9caabd55; }
.cut-top { height:12%; border:1px solid #a0b2c3;background:repeating-linear-gradient(90deg,#d4e0ea 0 12px,#9fb3c5 12px 14px); margin-bottom:6px; }
.cut-insulation { height: 82%; padding: 10px; border: 2px solid #899eb0; background:repeating-linear-gradient(135deg,#dbe4ed 0 4px,#c7d4e1 4px 7px); }
.cut-cavity { position:relative;height:100%;border:3px solid #8ba1b4;background:linear-gradient(130deg,#f0d7dc,#b3c5d4); }
.element { position:absolute;left:8%;width:65%;height:16%;border:4px solid #ba3f56;border-radius:20px;box-shadow:0 0 6px #d76b7d; }.upper{top:8%}.lower{bottom:8%}
.cut-fan{position:absolute;right:4%;top:18%;width:42%;height:70%;border:1px solid #849aac;border-radius:4px;background:#b7c8d5;}.cut-fan .fan-wheel{width:85%;}
.cut-rack{position:absolute;left:5%;right:48%;top:52%;height:12%;border:2px solid #8ea5b8;background:repeating-linear-gradient(90deg,#c8d5e0 0 7px,#8198ae 7px 9px);}
.cut-door{position:absolute;left:8%;right:8%;bottom:-10%;height:13%;transform:skewX(-18deg);border:3px solid #899fb3;background:linear-gradient(#dce5ef,#b5c8d7);border-radius:4px;}
@media (max-width: 1050px) { :root{--gap:20px} .wrap{width:calc(100% - 44px)} .wide-left{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)} .wide-right{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr)} }
@media (max-width: 850px) { .intro-grid,.home-intro .intro-grid {grid-template-columns:minmax(0,1fr) minmax(0,.8fr);padding:20px;} .composition{gap:16px;} .module{padding:14px;} .wide-left,.wide-right{grid-template-columns:repeat(2,minmax(0,1fr));} nav a{white-space:normal;} }
@media (max-width: 740px), (max-width: 950px) and (max-height: 500px) { nav{display:none;} .masthead{padding-block:12px;} .wrap{width:calc(100% - 32px);} .intro{margin-top:20px;} .intro-grid,.home-intro .intro-grid,.composition{grid-template-columns:1fr;} .intro-grid,.home-intro .intro-grid{background:var(--pale);padding:20px;} .intro-rule{padding:17px;} .art-stage{padding:12px 0 20px;} .oven-front{width:min(100%,260px);} .cutaway{width:min(100%,270px);} .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;} .band{padding:22px 0;} h2{margin-bottom:16px;} }
@media (max-width: 420px) { .fields,.footer-links{grid-template-columns:1fr;} .table-shell table{font-size:13px;} th,td{padding:8px 4px;} .intro-grid{padding:15px;} .brand{font-size:17px;} }
.article-intro .intro-copy p { max-width: none; }
.home-intro .intro-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); }
.class-compare .fields { grid-template-columns: 1fr; }
.class-compare th,.class-compare td { padding-block: 6px; }
.footer-links li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
@media (max-width:740px), (max-width:950px) and (max-height:500px) { .home-intro .intro-grid { grid-template-columns:1fr; } .home-intro .intro-copy{grid-row:1;} .footer-links li:last-child:nth-child(3n+1) { grid-column:auto; } .footer-links li:last-child:nth-child(2n+1) { grid-column:1/-1; } }
