@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/static/montserrat-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/static/montserrat-vietnamese.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/static/montserrat-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --petrol: #0b3d3b;
  --dark: #052932;
  --green: #16a344;
  --green-bright: #37d85b;
  --sky: #0ea5e9;
  --ink: #1f2937;
  --muted: #4c6270;
  --border: #dce6e8;
  --background: #f2f6f7;
  --white: #fff;
  --font: Montserrat, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font: 400 15px/1.55 var(--font); }
h1, h2, h3, p, dl { margin: 0; }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.025em; color: #102a36; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
input, textarea, select { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.container { width: min(1136px, calc(100% - 56px)); margin-inline: auto; }
.topbar, footer { background: var(--dark); color: #e2eef1; }
.topbar { border-bottom: 1px solid #274855; }
.navigation, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.navigation { min-height: 73px; }
.brand {
  display: block;
  flex: 0 0 auto;
  width: 171px;
  aspect-ratio: 171/53;
  background: url("/static/mechan-brand.png") 83.15% 4.12% / 898.25% auto no-repeat;
}
nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 650; }
.nav-tab:hover { color: #76efab; }
.nav-tab[aria-current] { color: #b7f7ce; }
.nav-action {
  padding: 9px 13px;
  border: 1px solid #597279;
  border-radius: 8px;
  color: #f1f7f8;
  white-space: nowrap;
}
.nav-action:hover { background: #163f48; }
.nav-action span { margin-left: 4px; }

.hero { position: relative; background: linear-gradient(115deg, #072b34 25%, #0a4147 100%); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 44px;
  min-height: 407px;
}
.hero-copy { position: relative; z-index: 1; padding-block: 58px; }
.eyebrow { color: #14775b; font-size: 12px; font-weight: 750; letter-spacing: .09em; }
.hero-copy .eyebrow { color: #7beaa9; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(36px, 3.75vw, 51px); line-height: 1.075; letter-spacing: -.052em; }
.hero-copy > p:not(.eyebrow) { color: #d2e3e8; font-size: 16px; max-width: 440px; margin-top: 18px; }
.hero-copy .button { margin-top: 25px; }
.hero-photo {
  width: 100%;
  aspect-ratio: 417/283;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: url("/static/mechan-brand.png") 100% 38.60% / 368.35% auto no-repeat;
  border: 1px solid #52808a80;
  box-shadow: 0 18px 43px #011a2460;
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, #062d3657, transparent 49%); pointer-events: none; }

.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}
.button.primary { background: var(--green-bright); color: #07321d; }
.button.primary:hover { background: #70e886; }
.button.quiet { background: #fff; border-color: #cfdee0; color: var(--petrol); }
.button.quiet:hover { background: #eaf6ef; border-color: #98c9ab; }
.button:disabled { opacity: .55; cursor: progress; }

.intake { padding: 42px 0 70px; scroll-margin-top: 18px; }
.section-heading { margin-bottom: 21px; }
.section-heading h2, .track-main h1 { font-size: clamp(26px, 3.1vw, 38px); }
.section-heading p { color: var(--muted); margin-top: 8px; }
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(265px, 1fr);
  align-items: start;
  gap: 23px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 21px #092c3b08;
}
.intake-card { padding: 25px; }
.form-section h3, .process-card h3 { font-size: 18px; margin-bottom: 12px; }
.with-divider { border-top: 1px solid #e5ebec; padding-top: 21px; margin-top: 22px; }
.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 154px;
  padding: 16px;
  border: 1.5px dashed #88b49c;
  background: #f6fcf8;
  border-radius: 11px;
  text-align: center;
  cursor: pointer;
}
.file-drop:focus-within, .file-drop:hover, .file-drop.drag-over { background: #e8f8ed; border-color: #187c48; }
.file-drop:focus-within { outline: 3px solid var(--sky); outline-offset: 3px; }
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop strong { color: #163f37; font-size: 15px; }
.file-drop > span:last-of-type { color: var(--muted); font-size: 12px; }
.upload-icon {
  display: block;
  width: 37px;
  height: 37px;
  border: 1px solid #b8e1c5;
  border-radius: 8px;
  background: #e4f7eb;
  position: relative;
  margin-bottom: 2px;
}
.upload-icon::before {
  content: ""; position: absolute; width: 12px; height: 12px;
  top: 11px; left: 11px; border: solid #147a45; border-width: 2px 0 0 2px;
  transform: rotate(45deg);
}
.upload-icon::after { content: ""; position: absolute; top: 10px; bottom: 7px; width: 2px; left: 17px; background: #147a45; }
.help { font-size: 13px; color: var(--muted); }
.file-help { margin-top: 8px; }
.file-list { display: grid; gap: 6px; list-style: none; margin: 9px 0 0; padding: 0; }
.file-list:empty { margin: 0; }
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  background: #eef6f6;
  border-radius: 6px;
  color: #214c50;
  font-size: 13px;
}
.file-list li span { overflow-wrap: anywhere; }
.file-list li small { white-space: nowrap; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
label { display: grid; gap: 6px; color: #203e4a; font-size: 13px; font-weight: 650; }
label input:not([type="checkbox"]):not([type="file"]), select, textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #cfdee1;
  border-radius: 7px;
  color: var(--ink);
}
textarea { resize: vertical; }
.notes-field { margin-top: 13px; }
.notes-field summary { color: #137249; cursor: pointer; font-size: 13px; font-weight: 650; }
.notes-field textarea { margin-top: 8px; }
.consent { border: 1px solid #d7e5df; border-radius: 8px; padding: 11px 13px; background: #f7fbf9; margin-bottom: 12px; }
.check-row { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.check-row input { flex: 0 0 auto; margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--green); }
.check-row small { display: block; margin-top: 3px; color: var(--muted); font-weight: 450; }
.consent > label:not(.check-row), .consent > p { margin-top: 10px; }
.submit { width: 100%; margin-top: 12px; }
.error { color: #ac2427; margin-top: 8px; font-size: 13px; }
.error:empty { display: none; }
.trap { position: absolute; left: -9999px; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.aside-stack { display: grid; gap: 14px; min-width: 0; }
.process-card { padding: 22px; }
.process-list { list-style: none; padding: 0; margin: 17px 0 0; display: grid; gap: 15px; }
.process-list li { display: grid; align-items: start; grid-template-columns: 13px 1fr; gap: 10px; }
.process-list li > span {
  width: 11px; height: 11px; margin-top: 6px; border: 2px solid #158646; background: #e4f7eb; border-radius: 50%;
}
.process-list strong { color: #143945; font-size: 14px; }
.process-list p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sample-card {
  background: #e7f2f5;
  border: 1px solid #d4e6e9;
  border-radius: 12px;
  padding: 15px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.document-icon { flex: 0 0 auto; width: 25px; height: 31px; border: 2px solid #33758a; border-radius: 4px; position: relative; }
.document-icon::after { content: ""; position: absolute; inset: 8px 4px; border: solid #33758a; border-width: 2px 0; }
.sample-card strong { color: #163847; }
.sample-card p { font-size: 13px; color: var(--muted); }
.sample-card a { display: inline-block; margin-top: 4px; color: #125c71; font-size: 13px; font-weight: 750; text-underline-offset: 3px; }
.sample-card a:hover { text-decoration: underline; }

.footer-inner { min-height: 72px; color: #c1d5dc; font-size: 12px; }
footer a:last-child:hover { text-decoration: underline; }
.footer-inner .brand { width: 142px; }

.tracking-body { display: flex; flex-direction: column; min-height: 100vh; }
.track-main { flex: 1; padding: 36px 0 78px; }
.lookup-card { max-width: 555px; margin: 25px auto; padding: 24px; }
.lookup-card .help { margin-top: 8px; }
.form-stack { display: grid; gap: 13px; margin-top: 18px; }
.track-intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.track-intro h1 { margin-top: 5px; }
.track-intro .help { margin-top: 7px; }
.track-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.track-actions small { flex-basis: 100%; color: var(--muted); text-align: right; }
.track-actions small:empty { display: none; }
.state-card, .technical-card { padding: 23px; }
.stage-label {
  display: inline-flex;
  background: #e5f5eb;
  color: #12603e;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 9px;
}
.state-card h2, .technical-card h2, .price-card h2 { font-size: 21px; }
.state-description, .technical-card > p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.answer-box { margin-top: 17px; background: #f1f8f8; border: 1px solid #dce9e8; border-radius: 9px; padding: 14px; }
.answer-box .button { margin-top: 12px; }
.agent-prompt { font-size: 16px; font-weight: 700; color: var(--petrol); margin-bottom: 9px; }
.answer-box .help { margin-bottom: 10px; }
.answer-box input[type="file"] { width: 100%; color: var(--muted); }
.state-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.state-actions:not(:has(button:not([hidden]))) { display: none; }
.state-actions:not(:empty) { margin-top: 15px; }
.technical-list { margin-top: 13px; }
.technical-list > div { display: grid; grid-template-columns: minmax(115px, .65fr) 1fr; gap: 9px; border-top: 1px solid #e4ecee; padding: 7px 0; font-size: 13px; }
.technical-list dt { color: var(--muted); }
.technical-list dd { margin: 0; color: #13303d; font-weight: 650; overflow-wrap: anywhere; }
.technical-list small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.price-card { background: linear-gradient(145deg, #0b3d3b, #062730); color: #f1faf9; border-radius: 14px; padding: 24px; }
.price-card h2 { color: #fff; }
.price-amount { color: #69efac; font-size: clamp(30px, 4vw, 49px); font-weight: 750; margin-top: 4px; overflow-wrap: anywhere; }
.price-note { color: #d7e7e9; font-size: 13px; margin-top: 8px; }
.price-lines:not(:empty) { margin-top: 13px; }
.price-lines > div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 9px; padding: 8px 0; border-top: 1px solid #44616a; font-size: 13px; }
.price-lines dd { text-align: right; margin: 0; font-weight: 700; }
.price-note.last { border-top: 1px solid #44616a; padding-top: 11px; }

@media (max-width: 800px) {
  .container { width: min(100% - 36px, 1136px); }
  .hero-inner { min-height: 336px; gap: 23px; }
  .hero-copy { padding-block: 40px; }
  .hero h1 { font-size: clamp(33px, 5.1vw, 46px); }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; }
  .workspace-grid { grid-template-columns: minmax(0, 1.4fr) minmax(205px, 1fr); gap: 14px; }
  .intake-card, .process-card, .state-card, .technical-card, .price-card { padding: 17px; }
  nav { gap: 13px; }
}
@media (max-width: 610px) {
  .navigation { min-height: 61px; }
  .brand { width: 147px; }
  .nav-tab { display: none; }
  .nav-action { font-size: 12px; }
  .hero-inner, .workspace-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 0; }
  .hero-copy { padding: 34px 0 22px; }
  .hero-copy .button { margin-top: 18px; }
  .hero-photo { width: 100%; max-width: 380px; margin-bottom: 20px; border-radius: 11px; }
  .intake { padding: 28px 0 39px; }
  .track-main { padding-block: 25px 46px; }
  .track-intro { align-items: start; flex-direction: column; }
  .track-actions { justify-content: start; }
  .track-actions small { text-align: left; }
  .footer-inner { min-height: 64px; }
  .footer-inner .brand { width: 115px; }
  .footer-inner > span { display: none; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 24px); }
  .fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.fields .full-field { grid-column: 1 / -1; }
.field-help { margin-top: 10px; }
.file-list .file-name { display: grid; min-width: 0; gap: 2px; }
.file-list li label { flex: 0 0 103px; }
.file-list li label input { min-height: 34px; padding: 4px 7px; }
.capabilities { padding: 0 0 34px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { padding: 22px; border-top: 3px solid #148155; }
.service-card h3 { font-size: 18px; margin-bottom: 7px; }
.service-card p, .faq-card p { color: var(--muted); font-size: 14px; }
.answers { padding: 12px 0 68px; }
.faq-card { padding: 0 22px; }
.faq-card details { padding: 13px 0; }
.faq-card details + details { border-top: 1px solid var(--border); }
.faq-card summary { cursor: pointer; font-weight: 650; color: var(--petrol); }
.faq-card p { margin-top: 8px; }
.order-card { padding: 20px; }
.order-card h2 { font-size: 20px; }
.order-card .technical-list { margin-top: 8px; }
@media (max-width: 610px) {
  .service-grid { grid-template-columns: 1fr; gap: 9px; }
  .service-card { padding: 15px; }
  .file-list li label { flex-basis: 86px; font-size: 11px; }
  .answers { padding-bottom: 35px; }
}

.order-card dt { min-width: 0; overflow-wrap: anywhere; }

.file-list .drawing-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 105px); gap: 8px; }
.file-list .drawing-fields select { min-height: 34px; padding: 4px 6px; }
@media (max-width: 650px) {
  .file-list li:has(.drawing-fields) { flex-direction: column; align-items: stretch; }
  .file-list .drawing-fields { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
}

#questionHelp { margin-top: 8px; }
#answerField textarea { resize: vertical; }
