:root {
  color-scheme: light;
  --canvas: #f5f5f7;
  --paper: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d8d8dc;
  --indigo: #1e40af;
  --blue-pale: #e7edff;
  --green: #316b54;
  --content: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #7894ee; outline-offset: 3px; }
.site-header { height: 68px; padding: 0 max(24px, calc((100vw - var(--content)) / 2)); display: flex; align-items: center; gap: 42px; background: rgba(245,245,247,.92); border-bottom: 1px solid #e3e3e6; position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.brand img { display: block; }
.main-nav { display: flex; gap: 27px; color: #45454a; font-size: 13px; }
.main-nav a:hover, .site-footer a:hover, .text-link:hover { color: var(--indigo); }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.credit-link { font-size: 12px; color: var(--muted); }
.credit-link strong { color: var(--ink); margin-left: 5px; font-variant-numeric: tabular-nums; }
.language-toggle { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #78787e; font-size: 12px; padding: 9px 0; }
.language-toggle [aria-current="true"] { color: var(--ink); font-weight: 650; }
.hero { max-width: var(--content); margin: 0 auto; min-height: 596px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 52px; padding: 72px 26px 86px; }
.hero-copy { max-width: 570px; }
.eyebrow { color: var(--indigo); text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; margin: 0 0 16px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 620px; font-size: 47px; line-height: 1.08; letter-spacing: 0; font-weight: 660; margin: 0 0 20px; }
.hero-description { max-width: 475px; color: #626268; font-size: 16px; line-height: 1.65; margin-bottom: 25px; }
.button { min-height: 46px; border: 0; display: inline-flex; gap: 17px; justify-content: center; align-items: center; padding: 0 17px; font-size: 13px; font-weight: 640; transition: background .16s, transform .16s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--indigo); }
.button-primary:hover { background: #193796; }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #343439; }
.hero-note { color: #83838a; font-size: 11px; margin: 14px 0 0; }
.hero-art { min-height: 378px; border: 1px solid #d9dce4; background: #fff; display: flex; flex-direction: column; padding: 20px 22px 15px; overflow: hidden; }
.art-label, .art-foot { display: flex; justify-content: space-between; color: #747984; font-size: 9px; letter-spacing: .5px; }
.art-label span:last-child { color: var(--indigo); }
.size-rack { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 14px; padding: 18px 15px 7px; }
.size-column { position: relative; height: 264px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #ced4e0; }
.size-label { position: absolute; top: 5px; left: 1px; font-size: 12px; font-weight: 700; }
.shirt-shape { position: relative; display: block; width: 91px; height: 135px; background: #dce4ff; border: 1px solid #4464c0; clip-path: polygon(18% 0, 38% 8%, 62% 8%, 82% 0, 100% 19%, 81% 34%, 77% 27%, 78% 100%, 22% 100%, 23% 27%, 19% 34%, 0 19%); }
.size-s .shirt-shape { height: 115px; width: 82px; background: #eef1f7; border-color: #a5abba; }
.size-l .shirt-shape { height: 157px; width: 102px; background: #ccdafd; }
.measure-line { position: absolute; top: 36%; right: 4%; height: 2px; width: 29px; background: var(--indigo); }
.size-caption { position: absolute; bottom: -21px; color: #767982; font-size: 10px; }
.art-foot { justify-content: flex-start; gap: 12px; padding-top: 11px; border-top: 1px solid #e5e7ed; }
.art-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--indigo); }
.blueprint-section, .pricing-section, .faq-section, .landing-article { max-width: var(--content); margin: 0 auto; padding: 74px 26px; }
.blueprint-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 33px; }
.section-heading h2, .faq-section h2, .tryon-band h2, .landing-hero h1 { font-size: 32px; line-height: 1.18; letter-spacing: 0; font-weight: 650; max-width: 610px; margin: 0; }
.section-heading > p { color: var(--muted); max-width: 400px; line-height: 1.6; font-size: 13px; margin: 0 0 3px; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(240px, .75fr); background: var(--paper); border: 1px solid var(--line); }
.tool-form { padding: 25px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: #4f5056; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select { min-width: 0; width: 100%; height: 39px; border: 1px solid #d3d4d9; background: white; color: var(--ink); padding: 0 10px; border-radius: 2px; font-size: 12px; }
.field input[type="file"] { height: auto; min-height: 39px; padding: 8px; }
.field small { color: #85858c; font-size: 10px; line-height: 1.5; }
.form-actions { display: flex; gap: 14px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.form-actions .button { min-width: 204px; }
.cost-note, .loading-label { color: var(--muted); font-size: 11px; }
.form-status { color: var(--green); font-size: 12px; min-height: 16px; margin: 12px 0 0; }
.tool-aside { padding: 22px 21px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.aside-title { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; }
.step-index { flex: none; width: 24px; height: 24px; display: grid; place-items: center; background: var(--blue-pale); color: var(--indigo); font-size: 10px; font-weight: 700; }
.step-muted { background: #f1f1f3; color: #85858b; }
.aside-title strong, .aside-title span:not(.step-index) { display: block; }
.aside-title strong { font-size: 11px; margin: 2px 0 4px; }
.aside-title div span { font-size: 10px; color: #818188; line-height: 1.5; }
.fit-diagram { height: 214px; position: relative; overflow: hidden; margin: 5px 0 11px; background: #fafbff; border: 1px solid #e0e4ee; }
.diagram-grid { position: absolute; inset: 0; background-image: linear-gradient(#e9ecf4 1px, transparent 1px), linear-gradient(90deg, #e9ecf4 1px, transparent 1px); background-size: 28px 28px; }
.diagram-body { position: absolute; top: 37px; left: 50%; width: 70px; height: 160px; transform: translateX(-50%); }
.diagram-body i { position: absolute; left: 27px; top: 0; width: 16px; height: 21px; border-radius: 50%; background: #c8cdd5; }
.diagram-body b { position: absolute; left: 13px; top: 21px; width: 44px; height: 76px; background: #d9dde4; clip-path: polygon(20% 0, 80% 0, 100% 22%, 78% 38%, 71% 100%, 29% 100%, 22% 38%, 0 22%); }
.diagram-body span { position: absolute; left: 21px; top: 91px; width: 28px; height: 65px; border-left: 8px solid #d9dde4; border-right: 8px solid #d9dde4; }
.diagram-garment { position: absolute; left: 50%; top: 57px; transform: translateX(-50%); width: 62px; height: 75px; border: 2px solid #3156bd; background: rgba(122,153,244,.12); clip-path: polygon(20% 0, 37% 9%, 63% 9%, 80% 0, 100% 22%, 81% 40%, 72% 30%, 78% 100%, 22% 100%, 28% 30%, 19% 40%, 0 22%); }
.diagram-mark { position: absolute; left: 22%; right: 22%; height: 1px; background: var(--indigo); }
.mark-top { top: 61px; }
.mark-bottom { top: 132px; }
.diagram-tag { position: absolute; right: 8px; color: var(--indigo); background: #fafbff; padding: 2px 4px; font-size: 7px; }
.tag-top { top: 52px; }
.tag-bottom { top: 124px; }
.fine-print { color: #84848a; font-size: 10px; line-height: 1.55; margin: auto 0 0; }
.turnstile-box { padding-top: 16px; }
.results { margin-top: 28px; padding: 21px; border: 1px solid var(--line); background: white; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; font-size: 11px; color: var(--muted); }
.results-heading h3 { color: var(--ink); font-size: 17px; margin: 0; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.result-grid figure { min-width: 0; margin: 0; }
.result-grid img { display: block; width: 100%; height: 290px; object-fit: contain; background: #f5f5f7; border: 1px solid #e4e4e8; }
.result-grid figcaption { color: var(--muted); font-size: 11px; padding-top: 8px; overflow-wrap: anywhere; }
.tryon-band { padding: 51px max(26px, calc((100vw - (var(--content) - 52px)) / 2)); background: #e9edf7; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.tryon-band > div { max-width: 650px; }
.tryon-band h2 { font-size: 26px; margin-bottom: 10px; }
.tryon-band p:not(.eyebrow) { color: #626671; font-size: 13px; line-height: 1.6; margin: 0; }
.button-cost { padding-left: 12px; border-left: 1px solid #69696c; color: #d7d7da; font-size: 10px; font-weight: 500; white-space: nowrap; }
.pricing-section { border-bottom: 1px solid var(--line); }
.section-heading-compact { align-items: center; }
.section-heading-compact h2 { font-size: 27px; }
.text-link { display: inline-flex; gap: 9px; color: var(--indigo); font-size: 12px; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card { padding: 21px 22px; border: 1px solid var(--line); background: var(--paper); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 18px; }
.product-card h3 { font-size: 15px; margin: 0 0 4px; }
.product-card p { font-size: 11px; color: var(--muted); margin: 0; }
.product-price { font-size: 24px; font-weight: 650; font-variant-numeric: tabular-nums; }
.product-card button { grid-column: 1 / -1; min-height: 37px; border: 1px solid #c7cbd8; color: var(--indigo); background: white; font-size: 11px; font-weight: 620; }
.product-card button:hover { background: var(--blue-pale); }
.faq-section { padding-top: 75px; padding-bottom: 89px; }
.faq-section h2 { margin-bottom: 30px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 18px 0; font-size: 13px; font-weight: 600; list-style-position: outside; }
.faq-list details p { max-width: 780px; color: var(--muted); font-size: 12px; line-height: 1.65; padding: 0 0 18px; margin: 0; }
.site-footer { min-height: 84px; display: flex; align-items: center; gap: 27px; max-width: var(--content); margin: 0 auto; padding: 18px 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.site-footer .brand { color: var(--ink); font-size: 12px; }
.site-footer > span { margin-right: auto; }
.site-footer > div { display: flex; gap: 17px; flex-wrap: wrap; }
.site-footer .brand img { width: 24px; height: 24px; }
.landing-hero { max-width: var(--content); margin: 0 auto; padding: 82px 26px 55px; }
.landing-hero h1 { max-width: 820px; font-size: 43px; margin-bottom: 17px; }
.landing-hero p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
.landing-hero .button { margin-top: 2px; }
.landing-article { padding-top: 10px; }
.landing-article h2 { font-size: 22px; margin: 0 0 10px; }
.landing-article p { color: #626268; max-width: 760px; line-height: 1.7; font-size: 13px; }
.landing-links { display: flex; flex-wrap: wrap; gap: 11px 23px; padding-top: 6px; color: var(--indigo); font-size: 12px; }
.legal-page { min-height: 70vh; }
.legal-page h1 { font-size: 38px; margin-bottom: 12px; }
.legal-page .updated { color: var(--muted); font-size: 11px; margin-bottom: 36px; }
.legal-page h2 { font-size: 18px; margin: 27px 0 8px; }
.legal-page p, .legal-page li { max-width: 790px; color: #55565c; font-size: 13px; line-height: 1.75; }
.legal-page ul { padding-left: 20px; }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .site-header { height: 58px; padding: 0 18px; gap: 16px; }
  .main-nav { gap: 13px; font-size: 11px; }
  .header-actions { gap: 12px; }
  .credit-link { font-size: 0; }
  .credit-link strong { font-size: 11px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 34px; padding: 59px 20px 48px; }
  .hero h1 { font-size: 36px; }
  .hero-description { font-size: 14px; }
  .hero-art { min-height: 335px; padding: 17px 14px 13px; }
  .size-rack { gap: 6px; padding-left: 7px; padding-right: 7px; }
  .size-column { height: 229px; }
  .size-s .shirt-shape { width: 65px; }
  .shirt-shape { width: 71px; height: 121px; }
  .size-l .shirt-shape { width: 78px; height: 140px; }
  .blueprint-section, .pricing-section, .faq-section, .landing-article { padding: 52px 20px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2, .faq-section h2 { font-size: 27px; }
  .section-heading > p { margin-top: 13px; font-size: 12px; }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-form { padding: 18px 15px; }
  .field-grid { gap: 14px 10px; }
  .field { font-size: 10px; }
  .field input, .field select { font-size: 11px; }
  .tool-aside { border-left: 0; border-top: 1px solid var(--line); padding: 18px 15px; }
  .fit-diagram { height: 200px; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .result-grid { grid-template-columns: 1fr; }
  .result-grid img { height: min(90vw, 380px); }
  .tryon-band { padding: 38px 20px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .tryon-band h2 { font-size: 23px; }
  .section-heading-compact { display: flex; align-items: flex-start; flex-direction: column; }
  .section-heading-compact h2 { font-size: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .faq-section h2 { margin-bottom: 20px; }
  .faq-list summary { font-size: 12px; line-height: 1.45; padding-right: 10px; }
  .site-footer { padding: 19px 20px; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
  .site-footer > span { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .site-footer > div { justify-content: flex-end; gap: 12px; }
  .landing-hero { padding: 58px 20px 37px; }
  .landing-hero h1 { font-size: 35px; }
  .legal-page h1 { font-size: 33px; }
}
