/* Public marketing site (home, pricing, contact): MechVy charcoal / white / orange.
   Scoped under .site so nothing here can reach the application UI. */
.site { --ink:#111315; --ink2:#1a1d20; --orange:#FF6A00; --orange-text:#C24E00; --mist:#EEF0F2; --line:#E3E6E9; --muted:#5A646E;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5; color: var(--ink); -webkit-font-smoothing: antialiased; }
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site a { color: inherit; text-decoration: none; }
.site :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
html:has(.site) { scroll-padding-top: 84px; }
.site-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.site-skip:focus { top: 12px; }
.site h1, .site h2 { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin: 0; }

/* ---------- buttons ---------- */
.site-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 10px;
  font: 600 15px/1.1 'Inter', system-ui, sans-serif; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.site-btn-lg { min-height: 54px; padding: 15px 28px; font-size: 16px; }
.site-btn-sm { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.site-btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 8px 24px rgba(255,106,0,.28); }
.site-btn-primary:hover { background: #FF8126; transform: translateY(-1px); }
.site-btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.6); }
.site-btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.site-btn-ghost-dark { background: transparent; color: var(--ink); border-color: #B9C0C6; }
.site-btn-ghost-dark:hover { border-color: var(--ink); }
.site-btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.site-arrow { display: inline-flex; transition: transform .2s ease; }
.site-btn:hover .site-arrow { transform: translateX(3px); }
.site-link-quiet { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 16px; text-decoration: underline !important; text-decoration-color: var(--orange) !important; text-decoration-thickness: 2px !important; text-underline-offset: 6px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; }
.site-header.over-hero { position: fixed; left: 0; right: 0; background: transparent; transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.over-hero.is-solid, .site-header.over-hero.menu-open { background: rgba(17,19,21,.94); box-shadow: 0 1px 0 rgba(255,255,255,.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header-row { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand img, .site-foot-brand img { height: 38px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.site-nav-links { display: flex; align-items: center; gap: 28px; }
.site-nav-links a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.86); padding: 8px 2px; border-bottom: 2px solid transparent; }
.site-nav-links a:hover, .site-nav-links a[aria-current] { color: #fff; border-bottom-color: var(--orange); }
.site-nav-actions { display: flex; align-items: center; gap: 18px; }
.site-nav-login { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.86); }
.site-nav-login:hover { color: #fff; }
.site-menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.site-menu-btn span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.site-header.menu-open .site-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .site-menu-btn span:nth-child(2) { opacity: 0; }
.site-header.menu-open .site-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) {
  .site-menu-btn { display: flex; margin-right: -10px; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 20px 22px; background: rgba(17,19,21,.98); border-top: 1px solid rgba(255,255,255,.08); }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav-links a { padding: 15px 2px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav-actions { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 18px; }
  .site-nav-login { text-align: center; padding: 10px; font-size: 16px; }
  .site-nav-actions .site-btn { width: 100%; }
}

/* ---------- hero ---------- */
.hv-hero { position: relative; display: flex; align-items: center; min-height: max(560px, min(92vh, 880px)); min-height: max(560px, min(92svh, 880px)); padding: 118px 0 92px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hv-hero-media { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.hv-hero-media[data-parallax="off"] { inset: 0; }
.hv-hero-media picture, .hv-hero-media img { display: block; width: 100%; height: 100%; }
.hv-hero-media img { object-fit: cover; }
.hv-hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(17,19,21,var(--ov,.7)) 0%, rgba(17,19,21,calc(var(--ov,.7) * .62)) 55%, rgba(17,19,21,calc(var(--ov,.7) * .3)) 100%),
              linear-gradient(0deg, rgba(17,19,21,calc(var(--ov,.7) * .8)) 0%, rgba(17,19,21,0) 38%); }
.hv-hero.no-image { background: radial-gradient(900px 420px at 12% 105%, rgba(255,106,0,.32), transparent 60%), radial-gradient(700px 380px at 92% -10%, rgba(255,255,255,.07), transparent 60%), var(--ink); }
.hv-hero.no-image .hv-hero-scrim { display: none; }
.hv-hero-inner { position: relative; }
.hv-eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.hv-hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); line-height: 1.02; max-width: 13ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); text-wrap: balance; }
.hv-hero h1 span { color: var(--orange); }
.hv-lead { margin: 22px 0 0; max-width: 34ch; font-size: clamp(1.1rem, 2.1vw, 1.4rem); line-height: 1.4; color: rgba(255,255,255,.92); text-shadow: 0 1px 18px rgba(0,0,0,.4); }
.hv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.hv-rise { animation: hv-rise .85s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes hv-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .hv-hero { align-items: flex-end; padding: 108px 0 56px; min-height: max(560px, 88vh); min-height: max(560px, 88svh); }
  .hv-hero-scrim { background: linear-gradient(0deg, rgba(17,19,21,max(var(--ov,.7), .62)) 0%, rgba(17,19,21,max(calc(var(--ov,.7) * .85), .5)) 55%, rgba(17,19,21,max(calc(var(--ov,.7) * .6), .38)) 100%); }
  .hv-hero h1 { max-width: none; }
  .hv-actions { flex-direction: column; align-items: stretch; }
  .hv-actions .site-btn { width: 100%; }
}

/* ---------- product screenshot ---------- */
.hv-product { background: var(--mist); padding: 96px 0 112px; }
.hv-head { text-align: center; max-width: 760px; margin: 0 auto; }
.hv-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.08; }
.hv-head p { margin: 16px 0 0; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); }
.hv-shot { margin: 52px auto 0; max-width: 1120px; padding: 12px; border-radius: 22px; background: var(--mist);
  box-shadow: 18px 18px 44px rgba(17,19,21,.15), -14px -14px 36px rgba(255,255,255,.95); }
.hv-shot img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 16/10); object-fit: cover; border-radius: 14px; background: #fff; }
.hv-shot.fit-contain img { object-fit: contain; }
@media (max-width: 700px) {
  .hv-product { padding: 64px 0 72px; }
  .hv-shot { margin-top: 36px; padding: 8px; border-radius: 18px; }
  .hv-shot.fit-cover img { aspect-ratio: 4/5; border-radius: 11px; }
}

/* ---------- capabilities ---------- */
.hv-caps { background: #fff; padding: 96px 0; }
.hv-cap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hv-cap { padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.hv-cap:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(17,19,21,.09); border-color: rgba(255,106,0,.5); }
.hv-cap-icon { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 15px; color: var(--orange-text); background: var(--mist);
  box-shadow: inset 3px 3px 7px rgba(17,19,21,.10), inset -3px -3px 7px rgba(255,255,255,.95); }
.hv-cap h3 { margin: 22px 0 8px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.005em; }
.hv-cap p { margin: 0; color: var(--muted); font-size: 1rem; }

.hv-more { text-align: center; margin: 40px 0 0; }
@media (max-width: 980px) { .hv-cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hv-caps { padding: 64px 0; } .hv-cap-grid { grid-template-columns: 1fr; gap: 16px; } .hv-cap { padding: 24px 22px; } }

/* ---------- workflow ---------- */
.hv-flow { background: var(--ink); color: #fff; padding: 84px 0; }
.hv-steps { list-style: none; margin: 0; padding: 0; display: flex; }
.hv-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.hv-step-icon { display: inline-flex; width: 76px; height: 76px; align-items: center; justify-content: center; border-radius: 50%; color: var(--orange); border: 1.5px solid rgba(255,106,0,.7); background: rgba(255,106,0,.08); position: relative; z-index: 1; }
.hv-step-icon svg { width: 30px; height: 30px; }
.hv-step-label { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .05em; }
.hv-step + .hv-step::before { content: ''; position: absolute; top: 38px; right: calc(50% + 46px); width: calc(100% - 92px); height: 1.5px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.38)); }
@media (max-width: 700px) {
  .hv-flow { padding: 56px 0; }
  .hv-steps { flex-direction: column; gap: 30px; }
  .hv-step { flex-direction: row; text-align: left; gap: 20px; }
  .hv-step-icon { width: 64px; height: 64px; flex: none; }
  .hv-step + .hv-step::before { top: -30px; right: auto; left: 31px; width: 1.5px; height: 30px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.38)); }
}

/* ---------- final call to action ---------- */
.hv-cta { background: #fff; padding: 104px 0; text-align: center; }
.hv-cta h2 { font-size: clamp(2rem, 4.8vw, 3.5rem); line-height: 1.08; max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.hv-cta .hv-actions { justify-content: center; margin-top: 34px; gap: 22px; }
@media (max-width: 700px) { .hv-cta { padding: 68px 0; } .hv-cta .hv-actions { flex-direction: column; } .hv-cta .hv-actions .site-btn { width: 100%; } }

/* ---------- footer ---------- */
.site-footer { background: #0B0C0D; color: #AEB5BC; padding: 64px 0 28px; }
.site-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-foot-brand p { margin: 18px 0 0; max-width: 34ch; font-size: .95rem; }
.site-foot-col h2 { font: 600 12px/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.site-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-foot-col a, .site-foot-col button { display: inline-flex; align-items: center; min-height: 36px; background: none; border: 0; padding: 0; font: inherit; color: #AEB5BC; cursor: pointer; }
.site-foot-col a:hover, .site-foot-col button:hover { color: var(--orange); }
.site-foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
@media (max-width: 760px) { .site-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .site-foot-brand { grid-column: 1 / -1; } }

/* ---------- scroll reveal (content is visible unless JS opts in) ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; }

/* ---------- contact page ---------- */
.ct-page { background: var(--mist); padding: 64px 0 104px; min-height: 70vh; }
.ct-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.ct-intro h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); line-height: 1.06; text-wrap: balance; }
.ct-intro p { margin: 18px 0 0; font-size: 1.15rem; color: var(--muted); max-width: 36ch; }
.ct-card { background: #fff; border-radius: 22px; padding: 36px; box-shadow: 14px 14px 38px rgba(17,19,21,.12), -10px -10px 28px rgba(255,255,255,.9); }
.ct-field { margin-bottom: 20px; }
.ct-field label { display: block; margin-bottom: 7px; font-size: .95rem; font-weight: 600; }
.ct-field input, .ct-field textarea { width: 100%; padding: 13px 14px; font: 400 16px/1.4 'Inter', system-ui, sans-serif; color: var(--ink); background: #fff; border: 1.5px solid #C4CAD0; border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.ct-field textarea { resize: vertical; min-height: 150px; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,.22); }
.ct-field [aria-invalid="true"] { border-color: #C0262D; }
.ct-err { margin: 7px 0 0; color: #A91E26; font-size: .9rem; font-weight: 500; }
.ct-err:empty { display: none; }
.ct-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-size: .85rem; color: var(--muted); }
.ct-summary { margin-bottom: 20px; padding: 13px 16px; background: #FDECEC; border: 1px solid #F0B4B8; border-radius: 10px; color: #8A1C23; font-weight: 500; }
.ct-summary[hidden] { display: none; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-turnstile:not(:empty) { margin-bottom: 18px; }
.ct-submit { width: 100%; }
.ct-done { text-align: center; padding: 28px 8px; outline: none; }
.ct-done h2 { font-size: 1.9rem; margin-bottom: 12px; }
.ct-done p { color: var(--muted); margin: 0 0 26px; }
@media (max-width: 860px) { .ct-layout { grid-template-columns: 1fr; gap: 28px; } .ct-page { padding: 40px 0 72px; } .ct-card { padding: 24px 20px; border-radius: 18px; } }

/* ---------- misc ---------- */
.site-notice { padding: 150px 0 110px; text-align: center; }
.site-notice h1 { font-size: 2rem; margin-bottom: 10px; }
.site-notice p { color: var(--muted); margin: 0 0 24px; }
.site-preview-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 300; display: flex; gap: 16px; align-items: center; max-width: calc(100% - 24px); padding: 11px 18px; background: var(--ink, #111315); color: #fff; border: 1px solid rgba(255,106,0,.7); border-radius: 999px; font: 600 13.5px/1.3 'Inter', sans-serif; box-shadow: 0 12px 34px rgba(0,0,0,.35); }
.site-preview-bar a { color: #FF8F3F; text-decoration: underline; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* Tenant website mode (booking / customer portal on a workshop's own host) */
.tenant-bar{position:sticky;top:0;z-index:50;background:var(--tenant-accent,#12161c);color:#fff;padding:10px 16px;font-size:15px;font-weight:700}
.tenant-bar a{color:inherit;text-decoration:none;display:inline-block;min-height:24px}
.tenant-bar a:hover{text-decoration:underline}

/* ---------- product screenshot carousel (4.190.0): one large frame, a tab per screenshot ---------- */
.hv-car { margin: 52px auto 0; max-width: 1120px; }
.hv-car .hv-shot { margin: 0 auto; }
.hv-car-stage { position: relative; overflow: hidden; border-radius: 14px; background: #fff; aspect-ratio: var(--ar, 16/10); }
.hv-car-stage img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hv-car-stage.fit-contain img { object-fit: contain; }
.hv-car-stage img.on { opacity: 1; }
.hv-car-pause { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(17,19,21,.72); color: #fff; display: flex; align-items: center; justify-content: center; }
.hv-car-pause::before { content: ''; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.hv-car-pause.is-paused::before { width: 0; height: 0; border: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.hv-tabs { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.hv-tab { text-align: left; font: inherit; color: var(--ink); border: 0; border-radius: 14px; padding: 14px 14px 16px; background: transparent; cursor: pointer; min-height: 44px; transition: background .25s ease, box-shadow .25s ease; }
.hv-tab.on { background: #fff; box-shadow: 0 10px 26px rgba(17,19,21,.12); }
.hv-tab:not(.on):hover { background: rgba(255,255,255,.6); }
.hv-tab-bar { display: block; height: 4px; border-radius: 2px; background: #D5DADF; overflow: hidden; margin-bottom: 12px; }
.hv-tab-bar i { display: block; height: 100%; width: 0; background: var(--orange); }
.hv-tab.on .hv-tab-bar i { animation: hv-car-fill 5s linear forwards; }
.hv-car[data-paused="1"] .hv-tab.on .hv-tab-bar i { animation-play-state: paused; }
.hv-car[data-still="1"] .hv-tab.on .hv-tab-bar i { animation: none; width: 100%; }
@keyframes hv-car-fill { from { width: 0; } to { width: 100%; } }
.hv-tab-num { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.hv-tab-title { display: block; margin-top: 2px; font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.hv-tab-text { display: block; margin-top: 6px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
@media (max-width: 700px) {
  .hv-car { margin-top: 36px; }
  .hv-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin-inline: -4px; padding: 4px; scrollbar-width: none; }
  .hv-tab { flex: 0 0 62%; scroll-snap-align: center; }
  .hv-car-stage.fit-cover { aspect-ratio: 4/5; }
}
@media (prefers-reduced-motion: reduce) { .hv-car-stage img { transition: none; } }
