/* v20's typography, ink palette and diagrams, over the unchanged v21 routes. */
.landing-heading,.landing-hub .service-copy h1{font-size:clamp(32px,3.3vw,44px);font-weight:590;line-height:1.16;letter-spacing:-1.1px;color:var(--ink);text-wrap:pretty}
.landing-heading{max-width:950px;margin:16px 0 18px}.landing-intro{max-width:780px;font-size:16px;line-height:1.65;color:var(--muted);margin:0}.landing-header{margin-bottom:28px}.landing-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px;font-size:12px;line-height:1.6;color:var(--muted)}.landing-breadcrumb a{color:var(--muted);text-decoration:none}.landing-breadcrumb a:hover{text-decoration:underline}
.landing-tool .service-hero,.landing-tool .mode-intro,.landing-tool .supported-shapes,.landing-tool .mode-nav-title{display:none}.landing-tool .tool-nav{display:none!important}.landing-tool .site-header{margin-bottom:0}
.landing-tool .mode-nav{display:flex;align-items:stretch;gap:0;margin:0 0 20px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;overflow:visible}.landing-tool .mode-nav .mode-button{display:flex;flex:0 1 auto;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;color:var(--muted)}.landing-tool .mode-nav .mode-button strong{font-size:14px;font-weight:500;line-height:1.4;color:inherit;word-break:normal}.landing-tool .mode-nav .mode-button[aria-current=true]{border-bottom-color:var(--accent);background:transparent;color:var(--accent-dark)}.landing-tool .mode-nav .mode-button[aria-current=true] strong{font-weight:650}.landing-tool .mode-nav .mode-button:after,.landing-tool .mode-nav .mode-diagram,.landing-tool .mode-nav .tab-number,.landing-tool .mode-nav small,.landing-tool .mode-nav .mode-badge{display:none}.landing-tool .mode-nav .mode-button:hover{background:#f5f8fb}.landing-tool .units-toolbar{margin:0 0 18px}.landing-tool .page{padding:24px 0 14px;border-top:1px solid var(--line)}
.landing-hub .service-hero{margin:27px 0 36px}.landing-hub .service-copy h1{margin:14px 0 20px}.landing-hub .service-copy>p{font-size:16px;line-height:1.65;max-width:560px;margin:0}.landing-hub .service-copy .eyebrow{font-size:11px;line-height:1.5;font-weight:500;letter-spacing:1.1px;color:var(--muted)}
.hub-section-label{font-size:13px;line-height:1.5;letter-spacing:.5px;font-weight:500;color:var(--muted);margin:0 0 15px}.hub-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.hub-card{display:grid;grid-template-columns:minmax(0,1fr) 35px;grid-template-rows:80px auto;gap:14px 10px;position:relative;padding:18px 16px 22px;border-top:1px solid #cad5de;text-decoration:none;color:var(--ink);min-width:0}.hub-card .mode-diagram{grid-column:1;grid-row:1;display:block;width:150px;height:78px;color:#4f708e}.hub-card .card-index{grid-column:2;grid-row:1;font-size:30px;line-height:1;font-weight:350;color:#a8b7c3}.hub-card-copy{grid-column:1/-1;grid-row:2}.hub-card h3{font-size:21px;line-height:1.3;letter-spacing:-.3px;font-weight:570;margin:0 0 10px}.hub-card p{font-size:14px;line-height:1.6;color:var(--muted);margin:0;max-width:340px}.card-arrow{position:absolute;right:16px;top:73px;color:var(--accent);font-size:20px}.hub-card:hover{background:#f5f8fb;border-color:var(--accent)}
.hub-guide{display:flex;justify-content:space-between;align-items:center;gap:34px;margin:35px 0 12px;padding:24px 0;border-top:1px solid var(--line)}.hub-guide h2{font-size:23px;font-weight:570;line-height:1.3;letter-spacing:-.3px;margin:8px 0 10px}.hub-guide h2 a{color:var(--ink);text-decoration:none}.hub-guide h2 a span{color:var(--accent);margin-left:8px}.hub-guide h2 a:hover{text-decoration:underline;text-underline-offset:4px}.hub-guide p{font-size:14px;line-height:1.65;color:var(--muted);margin:0;max-width:680px}.hub-guide .section-eyebrow{font-size:11px;font-weight:500;color:#89643a;letter-spacing:1px}.guide-symbol{display:flex;align-items:center;gap:15px;color:#8193a3;flex-wrap:wrap;justify-content:center;min-width:160px}.guide-symbol span{width:100%;text-align:center;font-size:13px;letter-spacing:1px}.shape-mark{display:inline-block;flex-shrink:0}.guide-symbol .shape-mark{width:24px;height:24px}.guide-symbol .rectangle{width:34px;height:22px}
.landing-content{margin:46px 0 24px;padding-top:30px;border-top:1px solid var(--line);max-width:900px;line-height:1.65}.landing-content>section{margin:0 0 27px;max-width:810px}.landing-content h2,.embedded-heading h2{font-size:26px;font-weight:590;line-height:1.3;letter-spacing:-.5px;color:var(--ink);margin:0 0 13px}.landing-content p{font-size:15px;line-height:1.7;color:var(--body);margin:0 0 12px}.landing-content .worked-example{border-left:2px solid #cbb28e;padding:3px 0 3px 20px;margin:30px 0}.landing-content .worked-example h2{font-size:18px;font-weight:570;letter-spacing:0;margin-bottom:9px}.landing-content .worked-example p{margin:0}.landing-content .faq{display:block;padding:0;border:0;margin:36px 0 0}.landing-content .faq h2{font-size:25px;font-weight:590}.landing-content .faq-items{max-width:none}.landing-content .faq details{padding:14px 0;border-bottom:1px solid var(--line)}.landing-content .faq summary{font-size:15px;font-weight:550;line-height:1.5;color:var(--ink)}.landing-content .faq p{font-size:14px;color:var(--muted);margin:12px 0 0}.sibling-links{display:flex;flex-wrap:wrap;gap:12px 25px;padding:20px 0;border-top:1px solid var(--line);font-size:14px}.sibling-links a{color:var(--accent);text-decoration:none}.sibling-links a:hover{text-decoration:underline}
.landing-chart .mode-nav{display:none}.landing-chart .landing-header{margin-bottom:20px}.guide-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin:0 0 24px}.guide-intro p{max-width:750px;font-size:14px;line-height:1.65;color:var(--muted);margin:0}.guide-jump{font-size:14px;line-height:1.5;flex-shrink:0;color:var(--accent);text-decoration:none}.guide-jump:hover{text-decoration:underline}.size-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:20px 0}.size-section{min-width:0}.size-section h2{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:570;letter-spacing:-.2px;line-height:1.35;color:var(--ink);margin:0 0 15px}.size-section .shape-mark{color:#71869b;width:18px;height:18px}.size-section .rectangle{width:24px;height:16px}.size-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;text-align:left}.size-table thead th{font-size:12px;line-height:1.4;font-weight:500;color:var(--muted);padding:0 6px 10px;vertical-align:bottom;hyphens:auto}.size-table tbody th,.size-table td{font-size:13px;line-height:1.5;padding:12px 6px;border-top:1px solid var(--line);font-weight:400;white-space:nowrap}.size-table [data-unit-column=metric]{color:var(--ink);font-weight:600}.size-table [data-unit-column=exact]{font-size:12px;color:var(--muted)}.guide-notes{display:grid;grid-template-columns:1fr 1fr;gap:28px;font-size:12px;color:var(--muted);line-height:1.65;margin:18px 0 36px}.guide-notes p{margin:0}.embedded-heading{border-top:1px solid #cdd8e2;padding-top:28px;margin:30px 0 22px;scroll-margin-top:24px}.embedded-heading p{font-size:15px;line-height:1.65;color:var(--muted);max-width:840px;margin:0}
.service-links{display:flex;flex-wrap:wrap;gap:15px}.page-footer,.language-links{flex-wrap:wrap}.page-footer [data-service-page]{font-size:.9rem}
@media(max-width:960px){.hub-cards{gap:16px}.hub-card{padding:16px 10px 20px}.hub-card h3{font-size:19px}.size-guide{gap:16px}.size-table td,.size-table tbody th{font-size:12px;padding:11px 4px}.size-table [data-unit-column=exact]{font-size:11px}.size-section h2{font-size:18px}}
@media(max-width:760px){.size-guide{grid-template-columns:1fr;gap:26px}.size-table thead th{font-size:12px;padding:0 8px 10px}.size-table td,.size-table tbody th{font-size:14px;padding:11px 8px}.size-table [data-unit-column=exact]{font-size:13px}.guide-intro{display:block}.guide-jump{display:inline-block;margin-top:14px}.guide-notes{grid-template-columns:1fr;gap:12px}.hub-card .mode-diagram{width:125px}.hub-guide{gap:15px}.guide-symbol{min-width:100px;max-width:125px;gap:10px}}
@media(max-width:600px){.landing-heading,.landing-hub .service-copy h1{font-size:30px;line-height:1.18;font-weight:590;letter-spacing:-.65px;hyphens:none;overflow-wrap:normal}.landing-heading{margin:12px 0 15px}.landing-breadcrumb{margin:5px 0 14px;font-size:11px}.landing-header{margin-bottom:22px}.landing-intro{font-size:15px;line-height:1.6}.landing-hub .service-hero{grid-template-columns:1fr;margin:18px 0 28px;gap:20px}.landing-hub .service-copy .eyebrow{display:block;font-size:10px;letter-spacing:.75px;margin:0 0 10px}.landing-hub .service-copy h1{margin:0 0 15px}.landing-hub .service-copy>p{font-size:14px;line-height:1.6}.landing-hub .service-photo{height:165px}.hub-section-label{font-size:13px;margin-bottom:12px}.hub-cards{grid-template-columns:1fr;gap:12px}.hub-card{grid-template-columns:50px minmax(0,1fr) 18px;grid-template-rows:auto;gap:13px;padding:17px 2px;border-bottom:0;background:none}.hub-card .mode-diagram{grid-column:1;grid-row:1;width:50px;height:42px;align-self:center}.hub-card-copy{grid-column:2;grid-row:1}.hub-card .card-index{display:none}.hub-card h3{font-size:18px;font-weight:600;line-height:1.3;margin-bottom:7px}.hub-card p{font-size:13px;line-height:1.55}.card-arrow{position:static;grid-column:3;grid-row:1;align-self:center;font-size:19px}.hub-guide{padding:22px 0 8px;margin-top:22px;display:block}.hub-guide h2{font-size:22px;line-height:1.3}.hub-guide p{font-size:13px;line-height:1.6}.guide-symbol{display:none}.landing-tool .mode-nav .mode-button{flex:1;padding:10px 8px}.landing-tool .mode-nav .mode-button strong{font-size:12px;line-height:1.45}.landing-tool .units-toolbar{margin-bottom:14px}.landing-tool .page{padding:22px 0 10px}.landing-content{margin-top:33px;padding-top:24px}.landing-content h2,.embedded-heading h2{font-size:24px;line-height:1.3}.landing-content p{font-size:14px;line-height:1.7}.landing-content .worked-example{padding-left:15px}.landing-content .faq h2{font-size:24px}.landing-content .faq summary{font-size:14px}.size-section h2{font-size:20px}.sibling-links{font-size:13px;gap:12px 20px}.embedded-heading{padding-top:25px;margin-top:25px}.embedded-heading p{font-size:14px}.language-control select{max-width:145px}}
@media print{.landing-content,.landing-breadcrumb,.landing-header,.sibling-links,#chart-reference,#chart-converter,.hub-tools,.hub-guide{display:none!important}}

/* Additional styles are scoped to the existing size-guide route. */
.landing-chart .chart-reading{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr);gap:36px;align-items:center;margin:26px 0 34px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.landing-chart .chart-reading h2,.landing-chart .chart-measuring h2,.landing-chart .chart-common h2,.landing-chart .chart-advice h2{font-size:23px;font-weight:590;line-height:1.35;letter-spacing:-.3px;margin:0 0 12px;color:var(--ink)}
.landing-chart .chart-reading p,.landing-chart .chart-measuring p,.landing-chart .chart-common p,.landing-chart .chart-advice p,.landing-chart .chart-advice li{font-size:16px;line-height:1.65;color:var(--body);margin:0 0 10px}
.landing-chart .guide-jump{display:inline-block;margin-top:8px}.landing-chart .chart-comparison{display:grid;grid-template-columns:116px minmax(0,1fr);gap:4px 16px;align-items:center}.landing-chart .compare-svg{width:116px;height:108px;fill:none;stroke-width:1.1}.landing-chart .compare-exact{stroke:var(--accent,#4f708e)}.landing-chart .compare-near{stroke:#9a7041;stroke-dasharray:4 3}.landing-chart .comparison-labels p{margin:0 0 8px}.landing-chart .comparison-labels strong{display:block;font-size:18px;line-height:1.35;font-weight:570;color:var(--ink)}.landing-chart .comparison-labels span{display:block;font-size:13px;line-height:1.4}.landing-chart .exact-label{color:var(--accent)}.landing-chart .near-label{color:#89643a}.landing-chart p.comparison-note{grid-column:1/-1;font-size:12px;line-height:1.55;color:var(--muted);margin:5px 0 0}
.landing-chart .size-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.landing-chart .size-table thead th{font-size:13px}.landing-chart .size-table tbody th,.landing-chart .size-table td{font-size:14px}.landing-chart .size-table [data-unit-column=exact]{font-size:13px}.landing-chart .near-choice{display:block;white-space:nowrap}.landing-chart .near-choice+.near-choice{margin-top:3px}
.landing-chart .chart-table-notes{display:grid;grid-template-columns:1fr 1fr;gap:10px 28px;margin:20px 0 34px}.landing-chart .chart-table-notes p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.landing-chart .chart-table-notes #chart-missing-note{grid-column:1/-1}.landing-chart .chart-measuring{padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:30px 0}.landing-chart .guide-section-intro{max-width:800px}.landing-chart .measure-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:18px}.landing-chart .measure-figures figure{margin:0;text-align:center}.landing-chart .measure-svg{width:180px;max-width:100%;height:100px}.landing-chart .measure-rim{fill:#f1f5f8;stroke:#9aaebd;stroke-width:1}.landing-chart .measure-rim .measure-inner{fill:#fff;stroke:#7c94a8}.landing-chart .measure-arrows{fill:none;stroke:var(--accent,#4f708e);stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}.landing-chart figcaption{font-size:14px;line-height:1.5;color:var(--body);max-width:270px;margin:6px auto 0}
.landing-chart .chart-common{max-width:860px;margin:30px 0}.landing-chart .chart-advice{display:grid;grid-template-columns:1.1fr 1fr;gap:36px;margin:32px 0}.landing-chart .chart-advice h3{font-size:18px;font-weight:570;line-height:1.4;margin:22px 0 10px}.landing-chart .chart-advice ul{padding-left:20px;margin:0}.landing-chart .chart-advice li{padding-left:3px;margin-bottom:9px}
@media(max-width:960px){.landing-chart .size-guide{grid-template-columns:1fr;gap:24px}.landing-chart .size-table{max-width:700px}.landing-chart .chart-reading{grid-template-columns:1fr 1fr;gap:24px}.landing-chart .chart-advice{gap:24px}}
@media(max-width:600px){.landing-chart .chart-reading{grid-template-columns:1fr;gap:22px;margin:22px 0 28px;padding:22px 0}.landing-chart .chart-comparison{grid-template-columns:102px minmax(0,1fr);gap:6px 14px}.landing-chart .compare-svg{width:102px;height:96px}.landing-chart .comparison-labels strong{font-size:17px}.landing-chart .chart-reading h2,.landing-chart .chart-measuring h2,.landing-chart .chart-common h2,.landing-chart .chart-advice h2{font-size:22px}.landing-chart .chart-table-notes{grid-template-columns:1fr;gap:12px}.landing-chart .measure-figures{gap:8px}.landing-chart .measure-svg{width:100%;height:auto}.landing-chart figcaption{font-size:13px;line-height:1.45}.landing-chart .chart-advice{grid-template-columns:1fr;gap:20px}.landing-chart .chart-measuring{margin:26px 0;padding:24px 0}.landing-chart .chart-common{margin:26px 0}}
