:root {
  --paper: #f4f0e6;
  --paper-2: #ebe5d7;
  --ink: #191a16;
  --muted: #66685f;
  --line: #c9c3b5;
  --dark: #22241f;
  --dark-2: #2c2f29;
  --orange: #ed5b2a;
  --orange-dark: #c9431a;
  --lime: #d6ee65;
  --white: #fffdf8;
  --green: #1d6a50;
  --danger: #a43c26;
  --shadow: 0 20px 60px rgba(25, 26, 22, .12);
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, Avenir, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.builder-page { background: #e9e4d9; overflow-x: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 14px;
  top: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #0a6a9d; outline-offset: 3px; }

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 230, .96);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
}
.brand strong { font-weight: 800; }
.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 7px solid var(--orange);
  border-radius: 50%;
  position: relative;
}
.brand-mark::before, .brand-mark::after, .brand-mark i::before, .brand-mark i::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
  position: absolute;
}
.brand-mark::before { left: -5px; top: -5px; }
.brand-mark::after { right: -5px; top: -5px; }
.brand-mark i::before { left: -5px; bottom: -5px; }
.brand-mark i::after { right: -5px; bottom: -5px; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a { color: #45473f; font-size: 13px; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--orange-dark); }
.header-action {
  padding: 11px 17px;
  border: 1px solid var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}
.header-action:hover { background: var(--ink); color: var(--white); }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(500px, 1.05fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: 74px 5vw 84px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(25, 26, 22, .08);
  border-radius: 50%;
  left: -260px;
  bottom: -260px;
}
.eyebrow {
  margin: 0 0 17px;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--lime); }
.hero h1, .section-heading h2, .limits-copy h2, .final-cta h1, .final-cta h2, .page-hero h1 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 em, .page-hero h1 em { font-family: var(--serif); font-weight: 500; }
.hero-lede { max-width: 650px; margin: 29px 0 0; color: #4f514a; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.button.primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.button.primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.button.secondary:hover, .button.ghost:hover { background: var(--ink); color: var(--white); }
.button.dark { background: var(--dark); color: var(--white); }
.button.dark:hover { background: var(--orange); border-color: var(--orange); }
.button.inverse { background: var(--white); border-color: var(--white); color: var(--ink); }
.button.inverse:hover { background: var(--lime); border-color: var(--lime); }
.button.full { width: 100%; }
.button.small { min-height: 38px; padding: 8px 13px; font-size: 11px; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin: 27px 0 0; padding: 0; list-style: none; color: #55574f; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hero-trust span { color: var(--green); }

.hero-visual { min-height: 570px; display: grid; place-items: center; position: relative; }
.drawing-card { width: min(100%, 630px); background: var(--dark); color: #eef1e8; box-shadow: var(--shadow); transform: rotate(-1.6deg); }
.drawing-toolbar, .drawing-footer { min-height: 47px; display: flex; align-items: center; gap: 8px; padding: 0 17px; border-bottom: 1px solid #484b43; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.drawing-toolbar span { width: 7px; height: 7px; border: 1px solid #9ca095; border-radius: 50%; }
.drawing-toolbar b { margin-left: auto; font-weight: 400; color: #b9beb2; }
.drawing-footer { justify-content: space-between; border: 0; border-top: 1px solid #484b43; color: #9da397; }
.drawing-footer strong { color: var(--lime); font-weight: 500; }
.drawing-stage {
  height: 465px;
  position: relative;
  overflow: hidden;
  background-color: #292c26;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
}
.gasket-demo { width: 280px; aspect-ratio: 1; border: 30px solid var(--orange); border-radius: 50%; position: absolute; top: 92px; left: calc(50% - 140px); box-shadow: 0 0 0 1px rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.25); }
.gasket-demo .center-cut { position: absolute; width: 118px; height: 118px; border: 1px solid #989d91; border-radius: 50%; left: calc(50% - 59px); top: calc(50% - 59px); }
.bolt { width: 18px; height: 18px; border-radius: 50%; background: #292c26; border: 1px solid #f5a98e; position: absolute; left: calc(50% - 9px); top: calc(50% - 9px); }
.bolt-1 { transform: translateY(-108px); }.bolt-2 { transform: rotate(45deg) translateY(-108px); }.bolt-3 { transform: rotate(90deg) translateY(-108px); }.bolt-4 { transform: rotate(135deg) translateY(-108px); }.bolt-5 { transform: rotate(180deg) translateY(-108px); }.bolt-6 { transform: rotate(225deg) translateY(-108px); }.bolt-7 { transform: rotate(270deg) translateY(-108px); }.bolt-8 { transform: rotate(315deg) translateY(-108px); }
.measure { position: absolute; color: #aeb3a7; font-family: var(--mono); font-size: 9px; }
.measure::before, .measure::after { content: ""; position: absolute; background: #767c70; }
.measure-top { top: 49px; left: calc(50% - 140px); width: 280px; border-top: 1px solid #767c70; text-align: center; }
.measure-top::before, .measure-top::after { width: 1px; height: 9px; top: -5px; }.measure-top::before { left: 0; }.measure-top::after { right: 0; }.measure-top span { display: inline-block; transform: translateY(-18px); background: #292c26; padding: 0 7px; }
.measure-side { left: calc(50% - 178px); top: 92px; height: 280px; border-left: 1px solid #767c70; }.measure-side::before, .measure-side::after { height: 1px; width: 9px; left: -5px; }.measure-side::before { top: 0; }.measure-side::after { bottom: 0; }.measure-side span { position: absolute; top: 50%; left: -48px; width: 80px; transform: rotate(-90deg); text-align: center; background: #292c26; }
.drawing-note { position: absolute; right: 24px; bottom: 30px; border-left: 2px solid var(--orange); padding-left: 12px; font-family: var(--mono); font-size: 10px; }.drawing-note strong, .drawing-note span { display: block; }.drawing-note span { margin-top: 3px; color: #9da397; font-size: 8px; }
.hero-stamp { position: absolute; right: -5px; bottom: 0; width: 178px; padding: 17px; background: var(--lime); color: var(--ink); transform: rotate(4deg); box-shadow: 0 12px 30px rgba(0,0,0,.16); }.hero-stamp strong { display: block; font-family: var(--mono); font-size: 20px; }.hero-stamp span { display: block; margin-top: 5px; font-size: 9px; font-weight: 800; letter-spacing: .08em; line-height: 1.4; }

.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-strip > div { min-height: 130px; display: grid; grid-template-columns: 34px 1fr; align-content: center; column-gap: 12px; padding: 22px 2.6vw; border-right: 1px solid var(--line); }
.spec-strip > div:last-child { border-right: 0; }.spec-strip span { grid-row: 1 / 3; color: var(--orange-dark); font-family: var(--mono); font-size: 10px; }.spec-strip strong { font-size: 14px; }.spec-strip small { margin-top: 4px; color: var(--muted); font-size: 11px; }

.section { padding: 110px 5vw; }
.section-heading h2, .limits-copy h2 { font-size: clamp(42px, 4.4vw, 67px); }
.section-heading > p:not(.eyebrow) { max-width: 660px; color: var(--muted); font-size: 17px; }
.intro-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(480px, 1.2fr); gap: 9vw; }
.sticky-heading { align-self: start; position: sticky; top: 120px; }
.sticky-heading p:not(.eyebrow) { margin-top: 25px; }
.text-link { display: inline-block; margin-top: 15px; color: var(--orange-dark); font-weight: 800; text-decoration: none; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--orange-dark); font-family: var(--mono); font-size: 11px; }
.process-list h3 { margin: 0; font-size: 22px; }.process-list p { margin: 8px 0 0; color: var(--muted); }

.material-showcase { background: #ded8ca; }
.horizontal-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.horizontal-heading > p { margin: 0; }
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 55px; background: #bdb6a7; border: 1px solid #bdb6a7; }
.material-card { min-height: 520px; padding: 31px; background: #eee9dd; position: relative; overflow: hidden; }
.material-card::after { content: ""; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); position: absolute; right: -85px; bottom: -90px; }
.material-swatch { width: 132px; height: 84px; display: block; border-radius: 5px; border: 1px solid rgba(0,0,0,.24); box-shadow: 0 8px 18px rgba(43,38,29,.13), inset 9px 9px 22px rgba(255,255,255,.12), inset -9px -9px 22px rgba(0,0,0,.14); transform: rotate(-2deg); position: relative; }
.material-swatch::after { content: ""; position: absolute; inset: auto 7px -7px 7px; height: 7px; border: 1px solid rgba(0,0,0,.18); border-top: 0; border-radius: 0 0 3px 3px; filter: brightness(.78); }
.fiber .material-swatch { background-color: #77766e; background-image: repeating-linear-gradient(12deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px), radial-gradient(circle at 28% 32%, rgba(42,40,35,.26) 0 .7px, transparent .9px); background-size: auto, 5px 5px; }.fiber .material-swatch::after { background:#696861; }.cork .material-swatch { background: #a67646; background-image: radial-gradient(ellipse at center, #5d3b24 0 1px, transparent 1.4px), radial-gradient(ellipse at center, rgba(217,167,109,.9) 0 1px, transparent 1.5px); background-position: 0 0, 4px 3px; background-size: 8px 7px, 10px 9px; }.cork .material-swatch::after { background:#80552f; }.cork-rubber .material-swatch { background: #4b4037; background-image: radial-gradient(#bd8959 0 1px, transparent 1.5px), radial-gradient(#261f1b 0 1.2px, transparent 1.6px); background-position:0 0, 4px 5px; background-size: 9px 8px, 11px 10px; }.cork-rubber .material-swatch::after { background:#352c26; }.buna .material-swatch { background: linear-gradient(135deg,#2b2d2b,#111 58%,#262826); }.buna .material-swatch::after { background:#0e0f0e; }.epdm .material-swatch { background-color: #30332f; background-image: radial-gradient(rgba(255,255,255,.045) .7px, transparent .9px); background-size: 4px 4px; }.epdm .material-swatch::after { background:#222520; }.silicone .material-swatch { background: linear-gradient(135deg,#c8614a,#a73f2e 68%,#bf553e); }.silicone .material-swatch::after { background:#8f3527; }
.material-number { position: absolute; top: 31px; right: 31px; margin: 0; color: #8d8d83; font-family: var(--mono); font-size: 10px; }
.material-card h3 { margin: 28px 0 10px; font-size: 23px; }.material-card p:not(.material-number) { margin: 0; color: #5c5e57; font-size: 14px; }.material-card small { display: block; margin-top: 20px; color: var(--orange-dark); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }.material-facts { display:grid; gap:10px; margin:18px 0 0; padding:0; list-style:none; color:#55574f; font-size:12px; line-height:1.5; }.material-facts li { display:grid; gap:2px; }.material-facts strong { color:var(--ink); font-family:var(--mono); font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.material-actions { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 35px; }.material-actions p { max-width: 720px; margin: 0; color: #55574f; font-size: 12px; }

.limits-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: center; background: var(--dark); color: #f5f2e9; }
.limits-visual { min-height: 490px; display: grid; place-items: center; }
.bed-outline { width: min(100%, 650px); aspect-ratio: 29.5 / 15.75; border: 1px solid #71766b; position: relative; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; }
.part-outline { position: absolute; inset: 6%; border: 5px solid var(--orange); border-radius: 35% 10% 28% 16%; }.bed-outline b { position: absolute; left: 9%; top: 12%; font-family: var(--mono); font-size: 10px; color: var(--lime); }.bed-outline i { position: absolute; right: 2%; bottom: -25px; font-family: var(--mono); font-size: 9px; color: #92978d; font-style: normal; }
.limits-copy h2 { max-width: 620px; }.limits-copy > p:not(.eyebrow):not(.fine-print) { color: #bfc4b9; font-size: 17px; }
.limits-copy dl { margin: 33px 0; border-top: 1px solid #4b4e46; }.limits-copy dl div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid #4b4e46; }.limits-copy dt { color: #9da297; font-size: 12px; }.limits-copy dd { margin: 0; font-family: var(--mono); font-size: 11px; }.fine-print { color: #8f9489; font-size: 10px; }

.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; }
.faq-grid details { border-top: 1px solid var(--line); }.faq-grid details:last-child { border-bottom: 1px solid var(--line); }.faq-grid summary { padding: 23px 45px 23px 0; cursor: pointer; font-size: 17px; font-weight: 800; list-style: none; position: relative; }.faq-grid summary::after { content: "+"; position: absolute; right: 4px; font-family: var(--mono); color: var(--orange-dark); }.faq-grid details[open] summary::after { content: "−"; }.faq-grid p { margin: -4px 0 24px; color: var(--muted); }
.final-cta { min-height: 470px; display: grid; place-content: center; text-align: center; padding: 85px 5vw; background: var(--orange); color: #fff; }.final-cta h1, .final-cta h2 { font-size: clamp(55px, 7vw, 100px); }.final-cta > p:not(.eyebrow) { font-size: 18px; }.final-cta > div { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 25px; }.final-cta > div > a:not(.button) { font-size: 13px; font-weight: 700; }

.site-footer { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 40px; padding: 70px 5vw 28px; background: #171815; color: #d9ddd3; }
.site-footer > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }.site-footer > div > strong { margin-bottom: 8px; color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }.site-footer a { color: #b6bbb0; text-decoration: none; }.site-footer a:hover { color: var(--lime); }.site-footer .brand { color: #fff; }.site-footer .brand-mark::before, .site-footer .brand-mark::after, .site-footer .brand-mark i::before, .site-footer .brand-mark i::after { background: #fff; }.footer-brand p { color: #93988e; font-size: 12px; }.copyright { grid-column: 1 / -1; margin: 35px 0 0; padding-top: 22px; border-top: 1px solid #33352f; color: #777c72; font-family: var(--mono); font-size: 9px; }

/* Shared interior pages */
.page-hero { display: grid; grid-template-columns: 1fr .65fr; gap: 8vw; align-items: end; padding: 90px 5vw 80px; border-bottom: 1px solid var(--line); }.page-hero h1 { max-width: 900px; }.page-hero > p { margin: 0; color: var(--muted); font-size: 18px; }
.content-wrap { max-width: 1180px; margin: 0 auto; padding: 80px 5vw 110px; }.content-wrap.narrow { max-width: 900px; }.content-wrap h2 { margin-top: 60px; font-size: 34px; letter-spacing: -.03em; }.content-wrap h3 { margin-top: 35px; }.content-wrap p, .content-wrap li { color: #55574f; }.content-wrap a { color: var(--orange-dark); font-weight: 700; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 35px 0; font-size: 13px; }.comparison-table th, .comparison-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }.comparison-table th { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }.comparison-table tbody th { font-family: var(--sans); font-size: 13px; text-transform: none; letter-spacing: normal; }.alert-box { margin: 34px 0; padding: 24px; border-left: 4px solid var(--orange); background: #e7e0d2; }.alert-box.danger { border-color: #9b3420; }
.material-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 35px 0 60px; }
.material-guide-card { min-width: 0; padding: 28px; border: 1px solid var(--line); background: #eee9dd; }
.material-guide-head { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.material-guide-head h3 { margin: 3px 0 5px; font-size: 27px; }
.material-guide-head p { margin: 0; }
.material-guide-head p:last-child { color: var(--orange-dark); font-family: var(--mono); font-size: 10px; }
.material-guide-card dl { display: grid; gap: 18px; margin: 24px 0 0; }
.material-guide-card dl div { display: grid; gap: 5px; }
.material-guide-card dt { color: var(--ink); font-family: var(--mono); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.material-guide-card dd { margin: 0; color: #55574f; font-size: 13px; line-height: 1.6; }

/* Gasket CAD */
.builder-header { min-height: 66px; padding: 0 24px; background: var(--dark); border: 0; color: #fff; position: sticky; }.builder-header .brand { color: #fff; }.builder-header .brand-mark::before, .builder-header .brand-mark::after, .builder-header .brand-mark i::before, .builder-header .brand-mark i::after { background: #fff; }.builder-header .nav-links a { color: #bfc4b8; }.builder-header .nav-links a:hover, .builder-header .nav-links a[aria-current] { color: var(--lime); }.builder-header .header-action { border-color: #777c72; color: #fff; }
.builder-shell { height: calc(100vh - 66px); min-height: 720px; display: grid; grid-template-columns: 310px minmax(460px, 1fr) 330px; background: #d8d3c8; }
.builder-sidebar, .order-sidebar { overflow: auto; background: var(--paper); }
.builder-sidebar { border-right: 1px solid #bdb7aa; }.order-sidebar { border-left: 1px solid #bdb7aa; }
.panel-head { padding: 21px 22px; border-bottom: 1px solid var(--line); }.panel-head .eyebrow { margin-bottom: 6px; }.panel-head h1, .panel-head h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; }.panel-head p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }.mode-tab { min-height: 48px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }.mode-tab:last-child { border-right: 0; }.mode-tab.active { background: var(--orange); color: #fff; }
.control-section { padding: 19px 20px; border-bottom: 1px solid var(--line); }.control-section h2 { margin: 0 0 13px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.field-grid.three { grid-template-columns: repeat(3, 1fr); }.field-grid .span-2 { grid-column: 1 / -1; }
label.field { display: block; color: #565850; font-size: 10px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }.field input, .field select, .field textarea { width: 100%; min-height: 44px; margin-top: 6px; padding: 10px; border: 1px solid #bab4a7; border-radius: 0; background: #fffdf8; color: var(--ink); font-size: 14px; outline: none; }.field textarea { min-height: 92px; resize: vertical; }.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(237,91,42,.13); }.field input:disabled, .field select:disabled { background: #e6e1d6; color: #888a82; }
.section-help { margin: -4px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }.optional-label { color: var(--muted); font-size: 9px; font-weight: 500; }
.shape-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }.shape-option { min-height: 68px; display: grid; place-items: center; gap: 5px; padding: 7px 4px; border: 1px solid #bcb6a9; background: #fffdf8; cursor: pointer; font-size: 10px; font-weight: 800; text-transform: uppercase; }.shape-option::before { content: ""; width: 28px; height: 20px; border: 2px solid #565850; }.shape-option[data-shape="rounded_rect"]::before { border-radius: 6px; }.shape-option[data-shape="circle"]::before { width: 23px; height: 23px; border-radius: 50%; }.shape-option[data-shape="oval"]::before { width: 31px; height: 19px; border-radius: 50%; }.shape-option[data-shape="ring"]::before { width: 24px; height: 24px; border: 5px solid #565850; border-radius: 50%; }.shape-option[data-shape="capsule"]::before { width: 31px; height: 17px; border-radius: 12px; }.shape-option[data-shape="custom"]::before { width: 31px; height: 22px; border: 0; background: linear-gradient(145deg, transparent 43%, #565850 44% 50%, transparent 51%), linear-gradient(25deg, transparent 44%, #565850 45% 51%, transparent 52%); clip-path: polygon(0 72%, 15% 15%, 52% 0, 100% 36%, 79% 100%, 34% 82%); }.shape-option.active { border-color: var(--orange); background: #ffe5d9; color: var(--orange-dark); }.shape-option.active::before { border-color: var(--orange); }
.tool-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.tool-button { min-height: 44px; padding: 8px; border: 1px solid #bcb6a9; background: #fffdf8; cursor: pointer; font-size: 11px; font-weight: 700; }.tool-button:hover { border-color: var(--orange); }.tool-button.danger { color: var(--danger); }.tool-button:disabled { opacity: .4; cursor: default; }
.path-editor-panel { background: #eef4f7; border-block-color: #b8cbd5; }.path-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.path-editor-heading h2 { margin: 2px 0 0; }.path-node-count { flex: 0 0 auto; padding: 5px 7px; border: 1px solid #9fb3bd; background: #fff; font-family: var(--mono); font-size: 9px; font-weight: 800; }.path-help, .path-tip { margin: 8px 0 0; color: #4d5c63; font-size: 10px; line-height: 1.45; }.path-tip { padding: 8px 10px; border-left: 3px solid #0a6a9d; background: #fff; }.segment-tools, .path-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 10px; }.segment-tools .tool-button.active { border-color: #0a6a9d; background: #d9effa; color: #064e74; }.path-actions { grid-template-columns: 1fr 1fr; }.path-actions .path-close { grid-column: 1 / -1; background: #0a6a9d; border-color: #0a6a9d; color: #fff; }.custom-inspector { grid-column: 1 / -1; margin: 0; padding: 10px; background: #eef4f7; color: #4d5c63; font-size: 10px; line-height: 1.45; }.custom-inspector .tool-button { width: 100%; margin-top: 8px; }
.path-place-points { width: 100%; margin-top: 8px; border-color: #0a6a9d; color: #064e74; }.path-place-points.active { background: #0a6a9d; color: #fff; }.band-option { display: grid; gap: 4px; padding: 10px 11px; border: 1px solid #c8c1b4; background: #fffdf8; }.band-option label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900; text-transform: uppercase; cursor: pointer; }.band-option input { width: 17px; height: 17px; accent-color: var(--orange); }.band-option span { color: #66645d; font-size: 10px; line-height: 1.4; }
.cad-svg .part-cutout.auto-band { cursor: default; }
.cad-svg .path-open { fill: none; stroke-dasharray: 3 2; }
.object-list { display: grid; gap: 5px; margin-top: 10px; }.object-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border: 1px solid transparent; background: #e7e1d5; cursor: pointer; text-align: left; font-size: 10px; }.object-row::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--orange); border-radius: 50%; }.object-row.slot::before { width: 12px; height: 6px; border-radius: 5px; }.object-row.active { border-color: var(--orange); background: #fff7f2; }.object-row span { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.upload-zone { min-height: 180px; display: grid; place-items: center; padding: 24px; border: 1px dashed #9e9789; background: #ece6da; text-align: center; cursor: pointer; }.upload-zone.dragging { border-color: var(--orange); background: #ffe2d5; }.upload-zone:focus-within { outline: 3px solid #0a6a9d; outline-offset: 2px; }.upload-zone strong { display: block; font-size: 14px; }.upload-zone span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }.file-chip { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 11px; background: #fff; border: 1px solid var(--line); font-size: 11px; }.file-chip-details { min-width: 0; }.file-chip-details strong, .file-chip-details span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.file-chip-details span { margin-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 9px; }.file-chip-actions { display: flex; flex: 0 0 auto; gap: 4px; }.file-chip-actions button { min-height: 44px; padding: 6px 8px; border: 1px solid var(--line); background: #f8f4ec; cursor: pointer; font-size: 10px; font-weight: 800; }.file-chip-actions button.danger { color: var(--danger); }.upload-note { color: var(--muted); font-size: 11px; line-height: 1.45; }
.reference-edit-panel { background: #e9f3f7; border-left: 4px solid #0a6a9d; }.reference-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.reference-panel-heading h2 { margin-top: 2px; }.reference-badge { flex: 0 0 auto; padding: 4px 6px; border: 1px solid #0a6a9d; color: #0a6a9d; font-family: var(--mono); font-size: 8px; font-weight: 800; letter-spacing: .08em; }.reference-controls, .calibration-actions, .trace-actions { display: grid; gap: 8px; }.reference-controls { margin-top: 12px; }.calibration-actions { grid-template-columns: 1fr 1fr; margin-top: 10px; }.trace-actions { margin-top: 14px; }.trace-actions button:disabled { cursor: wait; }.range-row { display: grid; grid-template-columns: 1fr 42px; align-items: center; gap: 9px; margin-top: 7px; }.range-row input { min-width: 0; accent-color: #0a6a9d; }.range-row output { color: #0a6a9d; font-family: var(--mono); font-size: 10px; font-weight: 800; text-align: right; }.calibration-status { min-height: 32px; margin: 9px 0 12px; padding: 8px 9px; border-left: 3px solid #aaa498; background: rgba(255,255,255,.65); color: var(--muted); font-size: 10px; line-height: 1.45; }.calibration-status.active { border-left-color: var(--orange); color: #6b2a13; }.calibration-status.success { border-left-color: var(--green); color: #27553a; }.drawing-calibration.calibrating { background: #fff0e9; }.drawing-calibration.calibrating #startCalibration { border-color: var(--orange); color: #8a2c0e; }.cad-svg .reference-image { pointer-events: none; }.cad-svg .reference-vector { fill: none; stroke: #4c5860; stroke-width: 1.15; vector-effect: non-scaling-stroke; pointer-events: none; }.cad-svg .reference-mask { fill: rgba(255,255,255,.08); stroke: #0a6a9d; stroke-width: .8; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; pointer-events: none; }.cad-svg .calibration-line { fill: none; stroke: #0a6a9d; stroke-width: 1.2; stroke-dasharray: 2 1; vector-effect: non-scaling-stroke; pointer-events: none; }.cad-svg .calibration-point { fill: #fff; stroke: #0a6a9d; stroke-width: 1.2; vector-effect: non-scaling-stroke; pointer-events: none; }.cad-svg.calibrating { cursor: crosshair; }

.builder-page :is(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid #0a6a9d; outline-offset: 2px; }

.cad-workspace { min-width: 0; display: grid; grid-template-rows: 50px minmax(0, 1fr) 42px; background: #c9c4b9; }
.cad-toolbar { display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #aaa498; background: #e7e2d8; }.cad-toolbar button { min-width: 40px; height: 40px; border: 1px solid #bbb5a9; background: #f9f6ef; cursor: pointer; font-family: var(--mono); font-size: 11px; }.cad-toolbar button:hover:not(:disabled) { border-color: var(--orange); }.cad-toolbar button:disabled { opacity: .35; }.toolbar-separator { width: 1px; height: 23px; margin: 0 3px; background: #beb8ad; }.zoom-readout { min-width: 55px; text-align: center; font-family: var(--mono); font-size: 10px; }.cad-toolbar .toolbar-spacer { margin-left: auto; }.unit-toggle { display: inline-flex; }.unit-toggle button { min-width: 44px; }.unit-toggle button.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.canvas-wrap { min-height: 0; display: grid; place-items: center; padding: 28px; overflow: hidden; position: relative; }.canvas-wrap::before { content: "SCALED PART VIEW · SERVER LIMIT 29.00 × 15.25 IN"; position: absolute; top: 9px; left: 13px; color: #76786f; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; }.canvas-paper { width: min(100%, 900px); height: min(100%, 620px); position: relative; filter: drop-shadow(0 14px 30px rgba(0,0,0,.12)); }.cad-svg { width: 100%; height: 100%; display: block; overflow: visible; touch-action: none; user-select: none; }.cad-svg .bed { fill: #f5f2e9; stroke: #918b7f; stroke-width: 1; }.cad-svg .drawing-frame { fill: none; stroke: #bbb5a8; stroke-width: .55; stroke-dasharray: 4 3; }.cad-svg .grid-major { stroke: #d6d0c3; stroke-width: .45; }.cad-svg .grid-minor { stroke: #e7e2d7; stroke-width: .2; }.cad-svg .axis { stroke: #b5afa2; stroke-width: .35; stroke-dasharray: 3 3; }.cad-svg .part-fill { fill: rgba(237, 91, 42, .19); stroke: var(--orange); stroke-width: 1.5; vector-effect: non-scaling-stroke; }.cad-svg .part-cutout { fill: #f5f2e9; stroke: var(--orange); stroke-width: 1.25; vector-effect: non-scaling-stroke; cursor: move; }.cad-svg .selected { stroke: #0a6a9d; stroke-width: 2.4; filter: drop-shadow(0 0 3px rgba(10,106,157,.35)); }.cad-svg .dimension { stroke: #565b53; stroke-width: .35; fill: none; }.cad-svg .dimension-text { fill: #43463f; font-family: var(--mono); font-size: 3.2px; }.cad-svg .warning-shape { stroke: var(--danger); }.cad-svg .drag-handle { fill: #0a6a9d; stroke: #fff; stroke-width: .5; cursor: move; }.cad-svg .path-anchor { fill: #fff; stroke: #0a6a9d; stroke-width: .75; cursor: grab; vector-effect: non-scaling-stroke; }.cad-svg .curve-handle { fill: #0a6a9d; stroke: #fff; stroke-width: .55; cursor: grab; vector-effect: non-scaling-stroke; }.cad-svg .curve-guide { fill: none; stroke: #0a6a9d; stroke-width: .55; stroke-dasharray: 2 1.4; opacity: .72; vector-effect: non-scaling-stroke; }.cad-svg.path-drawing { cursor: crosshair; }.cad-svg .upload-placeholder { fill: rgba(237,91,42,.08); stroke: var(--orange); stroke-width: 1.2; stroke-dasharray: 5 3; }.cad-statusbar { display: flex; align-items: center; gap: 18px; padding: 0 13px; border-top: 1px solid #aaa498; background: #e7e2d8; color: #5f625a; font-family: var(--mono); font-size: 8px; }.cad-statusbar span:last-child { margin-left: auto; }.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }.status-dot.warn { background: var(--orange); }.status-dot.error { background: var(--danger); }

.order-sidebar .control-section { padding: 18px 20px; }.price-box { padding: 19px 20px; background: var(--dark); color: #fff; }.price-box > span { display: block; color: #aeb3a8; font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }.price-box strong { display: block; margin-top: 5px; font-size: 32px; letter-spacing: -.04em; }.price-box small { color: #9da397; font-size: 9px; }.validation-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }.validation-list li { display: grid; grid-template-columns: 15px 1fr; gap: 7px; color: #5b5e55; font-size: 10px; }.validation-list li::before { content: "✓"; color: var(--green); font-weight: 800; }.validation-list li.warn::before { content: "!"; color: var(--orange-dark); }.validation-list li.error::before { content: "×"; color: var(--danger); }.cart-list { display: grid; gap: 7px; }.cart-item { padding: 10px; border: 1px solid var(--line); background: #fffdf8; }.cart-item-head { display: flex; justify-content: space-between; gap: 10px; }.cart-item strong { font-size: 11px; }.cart-item button { border: 0; background: transparent; color: var(--danger); cursor: pointer; font-size: 11px; }.cart-item p { margin: 4px 0 0; color: var(--muted); font-family: var(--mono); font-size: 8px; }.summary-lines { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--line); }.summary-lines div { display: flex; justify-content: space-between; padding: 3px 0; color: #60625a; font-size: 10px; }.summary-lines div:last-child { margin-top: 5px; color: var(--ink); font-weight: 800; }.customer-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }.customer-toggle::after { content: "+"; color: var(--orange-dark); font-family: var(--mono); }.customer-toggle[aria-expanded="true"]::after { content: "−"; }.terms-check { display: grid; grid-template-columns: 16px 1fr; gap: 8px; margin: 12px 0; color: #5d5f57; font-size: 9px; }.terms-check input { margin: 2px 0 0; }.terms-check a { color: var(--orange-dark); }.action-stack { display: grid; gap: 7px; }.builder-message { min-height: 0; margin-top: 9px; color: #5d5f57; font-size: 10px; }.builder-message.error { color: var(--danger); }.builder-message.success { color: var(--green); }
.price-box > span { font-size: 9px; }.price-box small { display: block; margin-top: 6px; font-size: 10px; line-height: 1.45; }.validation-list li { font-size: 11px; line-height: 1.4; }
.cart-item { padding: 12px; }.cart-item.editing { border-color: #0a6a9d; box-shadow: inset 3px 0 #0a6a9d; }.cart-item-head { align-items: baseline; }.cart-item strong { font-size: 12px; }.cart-item p { margin-top: 6px; font-size: 9px; line-height: 1.4; }.cart-item-actions { display: flex; gap: 5px; margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line); }.cart-item .cart-item-actions button { min-height: 44px; padding: 6px 9px; border: 1px solid var(--line); background: #f8f4ec; color: var(--ink); font-size: 10px; font-weight: 800; }.cart-item .cart-item-actions button.danger { margin-left: auto; color: var(--danger); }.summary-lines div { padding: 5px 0; font-size: 11px; }.terms-check { grid-template-columns: 20px 1fr; font-size: 10px; line-height: 1.45; }.terms-check input { width: 18px; height: 18px; }
.account-save-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }.account-save-heading h2 { margin-bottom: 8px; }.account-badge { flex: 0 0 auto; padding: 4px 6px; background: #e2ddd2; color: #565850; font-family: var(--mono); font-size: 8px; font-weight: 800; text-transform: uppercase; }.account-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.account-actions-row .text-action { grid-column: 1 / -1; min-height: 40px; display: grid; place-items: center; color: var(--orange-dark); font-size: 11px; font-weight: 800; }.account-save-message { min-height: 0; margin: 8px 0 0; color: var(--muted); font-size: 10px; }.account-save-message.error { color: var(--danger); }.account-save-message.success { color: var(--green); }
.bolt-dialog { width: min(92vw, 420px); border: 0; padding: 0; box-shadow: var(--shadow); background: var(--paper); }.bolt-dialog::backdrop { background: rgba(20,21,18,.66); }.dialog-head { display: flex; justify-content: space-between; gap: 20px; padding: 20px; border-bottom: 1px solid var(--line); }.dialog-head h2 { margin: 0; font-size: 19px; }.dialog-head button { border: 0; background: none; cursor: pointer; font-size: 20px; }.dialog-body { padding: 20px; }.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.bolt-angle-help { margin: 14px 0 0; }.account-dialog { width: min(92vw, 440px); max-height: 90vh; padding: 0; border: 0; background: var(--paper); box-shadow: var(--shadow); }.account-dialog::backdrop { background: rgba(20,21,18,.66); }.account-dialog-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }.account-dialog-tab { min-height: 48px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }.account-dialog-tab:last-child { border-right: 0; }.account-dialog-tab.active { background: var(--orange); color: #fff; }.account-dialog-form { display: grid; gap: 14px; }.account-dialog-message { min-height: 20px; margin: 0; padding: 0 20px 16px; color: var(--danger); font-size: 11px; }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 40px; }.builder-shell { grid-template-columns: 280px minmax(420px, 1fr) 300px; }.field-grid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; gap: 10px 18px; padding: 12px 22px 0; }
  .header-action { margin-left: auto; }
  .nav-links { order: 3; width: calc(100% + 44px); margin: 0 -22px; padding: 0 22px; gap: 24px; overflow-x: auto; overscroll-behavior-inline: contain; border-top: 1px solid var(--line); scrollbar-width: thin; }
  .nav-links a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 64px; }.hero-visual { min-height: 560px; }.spec-strip { grid-template-columns: 1fr 1fr; }.spec-strip > div:nth-child(2) { border-right: 0; }.spec-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .limits-section, .faq-section { grid-template-columns: 1fr; }.sticky-heading { position: static; }.horizontal-heading { grid-template-columns: 1fr; gap: 20px; }.material-grid { grid-template-columns: 1fr 1fr; }.material-guide-grid { grid-template-columns: 1fr; }.page-hero { grid-template-columns: 1fr; gap: 25px; }
  .builder-shell { height: auto; min-height: 0; grid-template-columns: 300px minmax(0, 1fr); }.order-sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; border-top: 1px solid #bdb7aa; overflow: visible; }.order-sidebar .panel-head, .order-sidebar .price-box { grid-column: span 1; }.order-sidebar .control-section { min-width: 0; border-right: 1px solid var(--line); }.cad-workspace { min-height: 680px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 66px; }.brand { font-size: 12px; }.brand-mark { width: 32px; height: 32px; border-width: 6px; }.header-action { padding: 9px 12px; font-size: 9px; }
  .hero { padding: 48px 22px 65px; }.hero h1 { font-size: 46px; }.hero-lede { font-size: 16px; }.hero-visual { min-height: 420px; }.drawing-stage { height: 350px; }.gasket-demo { width: 210px; border-width: 23px; left: calc(50% - 105px); top: 74px; }.gasket-demo .center-cut { width: 88px; height: 88px; left: calc(50% - 44px); top: calc(50% - 44px); }.bolt { width: 14px; height: 14px; left: calc(50% - 7px); top: calc(50% - 7px); }.bolt-1 { transform: translateY(-81px); }.bolt-2 { transform: rotate(45deg) translateY(-81px); }.bolt-3 { transform: rotate(90deg) translateY(-81px); }.bolt-4 { transform: rotate(135deg) translateY(-81px); }.bolt-5 { transform: rotate(180deg) translateY(-81px); }.bolt-6 { transform: rotate(225deg) translateY(-81px); }.bolt-7 { transform: rotate(270deg) translateY(-81px); }.bolt-8 { transform: rotate(315deg) translateY(-81px); }.measure-top { top: 39px; width: 210px; left: calc(50% - 105px); }.measure-side { top: 74px; height: 210px; left: calc(50% - 137px); }.hero-stamp { right: 0; width: 150px; }
  .spec-strip { grid-template-columns: 1fr; }.spec-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }.section { padding: 75px 22px; }.material-grid { grid-template-columns: 1fr; }.material-actions { align-items: flex-start; flex-direction: column; }.limits-visual { min-height: 280px; }.final-cta > div { flex-direction: column; }.site-footer { grid-template-columns: 1fr 1fr; padding: 55px 22px 28px; }.footer-brand { grid-column: 1 / -1; }
  .page-hero { padding: 60px 22px 50px; }.page-hero h1 { font-size: 48px; }.content-wrap { padding: 50px 22px 80px; }.comparison-table { display: block; overflow-x: auto; }.material-guide-card { padding: 22px; }.material-guide-head { grid-template-columns: 1fr; }.material-guide-head .material-swatch { width: 100%; max-width: 180px; }
  .builder-header { padding: 12px 14px 0; }.builder-header .nav-links { width: calc(100% + 28px); margin: 0 -14px; padding: 0 14px; }.builder-header .header-action { display: none; }.builder-shell { display: flex; flex-direction: column; }.builder-sidebar { border-right: 0; overflow: visible; }.cad-workspace { min-height: 500px; height: 60vh; }.canvas-wrap { padding: 18px 8px; }.canvas-wrap::before { font-size: 6px; }.order-sidebar { display: block; }.cad-toolbar { overflow-x: auto; }.cad-statusbar span:nth-child(2), .cad-statusbar span:nth-child(3) { display: none; }.panel-head { padding: 16px 18px; }.control-section { padding: 17px 18px; }.file-chip { align-items: stretch; flex-direction: column; }.file-chip-actions button { min-height: 44px; }
}

@media print {
  .site-header, .site-footer, .final-cta { display: none; }
  body { background: #fff; }
}

/* Search guides and free tools */
.resource-hero { background: linear-gradient(135deg, #f5f1e7 0%, #e9e0d0 72%, #f6c2aa 100%); }
.resource-hero .resource-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.resource-hero > div > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 18px; }
.resource-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 34px 0 64px; }
.resource-card { min-height: 270px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); background: #fffdf8; }
.resource-card .eyebrow { margin-bottom: 9px; }
.resource-card h2, .resource-card h3 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.resource-card p { margin: 15px 0 24px; }
.resource-card a { margin-top: auto; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; align-items: start; }
.guide-main > :first-child { margin-top: 0; }
.guide-main h2 { scroll-margin-top: 100px; }
.guide-main h3 { font-size: 21px; }
.guide-main li + li { margin-top: 9px; }
.guide-aside { position: sticky; top: 100px; padding: 24px; border-top: 5px solid var(--orange); background: #e7e0d2; }
.guide-aside h2, .guide-aside h3 { margin: 0 0 13px; font-size: 21px; }
.guide-aside p, .guide-aside li { font-size: 12px; }
.guide-aside ul { padding-left: 18px; }
.guide-aside .button { width: 100%; margin-top: 10px; color: #fff; }
.breadcrumbs { margin: 0 0 26px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #9b968a; }
.breadcrumbs a { color: var(--orange-dark); }
.related-guides { margin-top: 58px; padding-top: 35px; border-top: 1px solid var(--line); }
.related-guides h2 { margin-top: 0; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 30px 0; border: 1px solid var(--line); background: var(--line); }
.step-card { padding: 25px; background: #fffdf8; }
.step-card > span { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 18px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--mono); font-size: 11px; }
.step-card h3 { margin: 0; font-size: 19px; }
.step-card p { margin-bottom: 0; font-size: 13px; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.intent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 25px 0 45px; }
.intent-grid article { padding: 24px; border: 1px solid var(--line); background: #fffdf8; }
.intent-grid h3 { margin: 0; }
.measurement-figure { margin: 30px 0; padding: 32px; background: var(--dark); color: #eef1e8; }
.measurement-figure svg { width: 100%; height: auto; display: block; }
.measurement-figure figcaption { margin-top: 18px; color: #bfc4b9; font-size: 12px; }
.calculator-card { max-width: 760px; margin: 35px 0; padding: 30px; border: 1px solid var(--line); background: #fffdf8; box-shadow: var(--shadow); }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.calculator-fields label { color: #565850; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.calculator-fields input, .calculator-fields select { width: 100%; min-height: 48px; margin-top: 7px; padding: 10px; border: 1px solid #bab4a7; background: #fff; font: inherit; }
.calculator-result { margin: 24px 0 0; padding: 20px; border-left: 4px solid var(--orange); background: #f0e8da; }
.calculator-result strong { display: block; font-size: 28px; }
.calculator-result span { color: var(--muted); font-size: 12px; }
.coordinate-table { width: 100%; margin-top: 20px; border-collapse: collapse; font-family: var(--mono); font-size: 11px; }
.coordinate-table th, .coordinate-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: right; }
.coordinate-table th:first-child, .coordinate-table td:first-child { text-align: left; }
.download-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; margin: 35px 0; padding: 28px; background: var(--dark); color: #fff; }
.download-panel h2, .download-panel h3 { margin: 0 0 8px; color: #fff; }
.download-panel p { max-width: 680px; margin: 0; color: #bfc4b9; }
.download-panel .button { flex: 0 0 auto; }
.product-template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 35px 0; }
.product-template-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); background: #fffdf8; }
.template-diagram { min-height: 190px; display: grid; place-items: center; margin: -26px -26px 24px; background: #292c26; }
.template-diagram svg { width: 82%; max-height: 155px; }
.template-diagram img { width: 100%; aspect-ratio: 1.35 / 1; display: block; object-fit: cover; }
.product-hero-image { width: min(100%, 720px); display: block; margin: 0 auto 42px; border: 1px solid var(--line); background: #292c26; box-shadow: var(--shadow); }
.product-template-card h2 { margin: 0; font-size: 24px; }
.product-template-card .template-price { margin: 12px 0 3px; color: var(--ink); font-size: 25px; font-weight: 900; }
.content-wrap > .template-price { margin: 0 0 6px; color: var(--ink); font-size: 46px; font-weight: 900; letter-spacing: -.04em; }
.product-template-card .template-price-note { margin: 0 0 18px; font-size: 11px; }
.product-template-card .button { margin-top: auto; }
.merchant-note { padding: 22px; border: 1px dashed #9f978a; background: #eee8dc; }
.share-steps { counter-reset: share-step; }
.share-steps > li { counter-increment: share-step; margin-bottom: 22px; padding-left: 12px; }
.share-steps > li::marker { content: counter(share-step) ". "; color: var(--orange-dark); font-weight: 900; }

@media (max-width: 980px) {
  .resource-index, .step-grid, .product-template-grid { grid-template-columns: 1fr 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
}
@media (max-width: 700px) {
  .resource-index, .step-grid, .intent-grid, .product-template-grid, .calculator-fields { grid-template-columns: 1fr; }
  .resource-card { min-height: 0; }
  .measurement-figure, .calculator-card { padding: 20px; }
  .download-panel { align-items: stretch; }
  .download-panel .button { width: 100%; }
}

/* Private order and proof portal */
.portal-contact { margin-left: auto; }
.portal-shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 72px; }
.portal-head { padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.portal-head h1 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 6vw, 64px); line-height: 1; }
.portal-head > p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 18px; }
.portal-status { display: inline-block; margin-top: 18px; padding: 6px 9px; background: #e2eee8; color: var(--green); font-size: 13px; font-weight: 900; }
.portal-alert { margin: 22px 0 0; padding: 14px 16px; border-left: 4px solid var(--green); background: #e8f2ec; font-weight: 800; }
.portal-alert.error { border-left-color: var(--danger); background: #fff0ec; color: #862e20; }
.portal-progress, .portal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.portal-progress { margin: 28px 0; }
.portal-progress div { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center; min-height: 92px; padding: 14px; background: var(--white); }
.portal-progress div span { grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--line); border-radius: 50%; font-weight: 900; }
.portal-progress div.complete span { border-color: var(--green); background: var(--green); color: #fff; }
.portal-progress div.current span { border-color: var(--orange); background: var(--orange); color: #fff; }
.portal-progress strong, .portal-progress small, .portal-grid span, .portal-grid strong, .portal-runs article span, .portal-runs article strong { display: block; }
.portal-progress small { color: var(--muted); }
.proof-response { margin: 28px 0; padding: 24px; border: 2px solid var(--green); background: var(--white); }
.proof-response.approved { border-color: #7aa98e; background: #e8f2ec; }
.proof-response h2, .portal-runs h2 { margin: 0 0 10px; font-size: 24px; }
.proof-response form { display: grid; gap: 14px; margin-top: 18px; }
.proof-response label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.proof-response textarea { width: 100%; padding: 10px; border: 1px solid var(--line); background: #fff; resize: vertical; }
.proof-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button.danger { border-color: var(--danger); background: var(--danger); color: #fff; }
.portal-grid div { min-width: 0; padding: 16px; background: var(--white); }
.portal-grid span, .portal-runs article span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.portal-grid strong { margin-top: 4px; overflow-wrap: anywhere; font-size: 18px; }
.portal-runs { margin-top: 30px; }
.portal-runs article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, auto); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.portal-runs article p { margin: 0; color: var(--muted); text-align: right; }
.portal-message { max-width: 680px; margin: 10vh auto; padding: 30px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }

@media (max-width: 780px) {
  .portal-progress, .portal-grid { grid-template-columns: 1fr; }
  .portal-runs article { grid-template-columns: 1fr; }
  .portal-runs article p { text-align: left; }
}
