/* YAAPI Robotics public theme — light industrial glass */
:root {
  color-scheme: light;
  --ink: #263533;
  --sub: #52645f;
  --teal: #237a6e;
  --teal-deep: #125e55;
  --line: rgba(50,100,91,.15);
  --mint: #c9e9df;
  --amber: #d9923d;
  --cream: #f8f7f1;
  --border: #c6d6cd;
  --glass: rgba(255,255,255,.62);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; font-family: Inter,Arial,"Helvetica Neue",sans-serif; color: var(--ink); background: #f1f4f0; background-image: radial-gradient(ellipse at 5% 0%,rgba(228,213,182,.35),transparent 34%),radial-gradient(ellipse at 85% 14%,rgba(178,220,223,.36),transparent 44%); min-width: 320px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img,svg { display: block; max-width: 100%; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
:where(a,button,input,select,textarea):focus-visible { outline: 3px solid #ad741e; outline-offset: 4px; }
h1,h2,h3,p { margin: 0; }
.page-shell { max-width: 1512px; margin: auto; padding: 0 clamp(22px,5.1vw,80px); }
.container { width: 100%; margin: 0 auto; }
.skip-link { position: absolute; top: -120px; left: 20px; z-index: 100; padding: 11px 17px; background: var(--teal-deep); color: #fff; font-weight: 750; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.topbar { height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgba(39,75,64,.13); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 190px; flex: 0 0 auto; }
.brand-mark { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.wordmark { display: flex; flex-direction: column; line-height: .96; gap: 5px; }
.wordmark strong { font-size: 32px; letter-spacing: -2.4px; color: #233531; font-weight: 900; }
.wordmark strong span { color: #3c8c7d; }
.wordmark small { font-size: 10px; color: #347e71; letter-spacing: 3.1px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 650; }
.nav-links a { position: relative; color: #53645f; white-space: nowrap; }
.nav-links a:hover { color: var(--teal-deep); }
.nav-links .mobile-nav-cta { display: none; }
.header-actions { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.header-cta { display: inline-flex; align-items: center; gap: 13px; border: 1px solid #9cbdb1; border-radius: 8px; padding: 12px 15px; white-space: nowrap; font-weight: 750; font-size: 13px; background: rgba(255,255,255,.42); }
.header-cta span { font-size: 16px; color: var(--teal); }
.header-cta:hover { background: #e6f3ed; }
.nav-toggle { display: none; place-items: center; width: 41px; height: 41px; border: 1px solid #abc7bb; border-radius: 8px; color: #245d52; background: rgba(255,255,255,.6); }
.status-dot { flex: 0 0 auto; display: inline-block; width: 8px; height: 8px; background: #51a28b; border-radius: 50%; box-shadow: 0 0 0 4px rgba(81,162,139,.14); }
.eyebrow,.kicker { display: block; color: #497c6f; font-size: 10px; line-height: 1.5; letter-spacing: 1.5px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.btn { border-radius: 8px; padding: 15px 16px; font-weight: 750; font-size: 13px; display: inline-flex; gap: 18px; align-items: center; justify-content: space-between; transition: transform .2s ease,box-shadow .2s ease; border: 1px solid transparent; min-height: 49px; background: #1c7668; color: #fff; box-shadow: 0 6px 15px #227b6d26; line-height: 1.35; }
.btn > span { font-size: 17px; line-height: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 20px #227b6d3d; }
.btn-ghost { background: rgba(255,255,255,.63); border-color: #bcd1c6; color: #32564e; box-shadow: none; }
.btn-ghost:hover { background: #e6f3ed; box-shadow: none; }
.btn-small { min-height: 40px; padding: 10px 13px; }
.btn-large { min-height: 51px; padding: 15px 18px; font-size: 14px; }
.site-footer { margin-top: 26px; padding: 24px 0 32px; border-top: 1px solid #b7ccc04f; color: #60776b; font-size: 12px; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.footer-brand .brand { min-width: 0; gap: 7px; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand .wordmark strong { font-size: 26px; letter-spacing: -1.7px; }
.footer-brand .wordmark small { font-size: 8px; letter-spacing: 2.5px; }
.footer-brand p { margin: 6px 0 8px; color: #506960; font-weight: 650; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; line-height: 1.4; color: #60776b; }
.footer-status .status-dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(81,162,139,.12); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 23px; max-width: 650px; }
.footer-links a { color: #4a655a; font-weight: 700; }
.footer-links a:hover,.footer-bottom a:hover { color: var(--teal-deep); text-decoration: underline; }
.footer-bottom { margin-top: 26px; padding-top: 14px; border-top: 1px solid #b7ccc04f; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 11px; color: #62786e; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
/* Inquiry pages inherit the same frosted white/mint surfaces and typography. */
.contact-hero { padding: 28px 0 46px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,.89fr) minmax(0,1.11fr); gap: 45px; align-items: start; padding: 43px; background: linear-gradient(110deg,rgba(251,250,245,.96),rgba(252,250,245,.65) 45%,rgba(221,237,232,.81)); border: 1px solid rgba(255,255,255,.95); border-radius: 25px; box-shadow: 0 16px 60px rgba(51,83,73,.07),inset 0 0 0 1px rgba(72,119,108,.06); }
.contact-copy { min-width: 0; padding: 10px 0 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--teal-deep); margin-bottom: 29px; }
.back-link:hover { text-decoration: underline; }
.contact-copy h1,.success-card h1,.legal-copy h1 { font-size: clamp(43px,5vw,73px); line-height: .99; letter-spacing: -.064em; font-weight: 820; margin-bottom: 23px; color: var(--ink); }
.contact-copy > p { font-size: 17px; line-height: 1.62; color: var(--sub); margin: 0; }
.contact-points { margin: 32px 0; display: grid; gap: 18px; }
.contact-points > div { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: start; gap: 12px; }
.contact-points > div > span:first-child { display: grid; place-items: center; width: 33px; height: 33px; background: #dcece3; color: #3e7968; border: 1px solid #fff; border-radius: 8px; font-size: 11px; letter-spacing: 1px; font-weight: 800; }
.contact-points p { font-size: 14px; line-height: 1.55; color: #5c7166; }
.contact-points p strong { color: #354c44; font-size: 15px; }
.contact-status { display: flex; align-items: baseline; gap: 12px; background: linear-gradient(140deg,#eef9f1d9,#d6e9e0ca); border: 1px solid #fff; box-shadow: inset 0 0 0 1px rgba(60,109,94,.08); padding: 16px 17px; border-radius: 13px; max-width: 500px; }
.contact-status strong { font-size: 14px; color: #355f53; }
.contact-status p { margin-top: 4px; font-size: 12px; color: #5d7569; }
.form-panel { min-width: 0; padding: 28px; border: 1px solid rgba(255,255,255,.98); border-radius: 17px; background: linear-gradient(150deg,rgba(252,255,249,.91),rgba(223,239,230,.77) 72%,rgba(247,250,245,.83)); box-shadow: 0 19px 36px #416e6015,inset 0 0 0 1px rgba(86,137,121,.13); }
.form-heading h2 { font-size: clamp(25px,2.6vw,35px); font-weight: 790; line-height: 1.12; letter-spacing: -.055em; margin-bottom: 8px; color: #2b4a40; }
.form-heading p { font-size: 14px; line-height: 1.5; color: var(--sub); }
.form-heading .eyebrow { margin-bottom: 8px; }
.type-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 5px; margin: 22px 0; border: 1px solid #c7d8ce; border-radius: 10px; background: rgba(217,235,222,.55); }
.type-tabs a { min-height: 38px; display: flex; align-items: center; justify-content: center; padding: 8px; text-align: center; font-weight: 750; font-size: 13px; line-height: 1.3; color: #526f60; border-radius: 7px; }
.type-tabs a:hover { color: #125e55; }
.type-tabs a.active { color: #145c50; background: rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(35,100,80,.08); border: 1px solid rgba(130,181,159,.28); }
.form-row.two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.interest-form label { display: block; font-size: 13px; font-weight: 750; color: #2c453d; margin-bottom: 14px; line-height: 1.5; }
.required { color: #166f5e; font-weight: 800; }
.optional { font-weight: 400; font-size: 11px; color: #61786b; }
.interest-form input:not([type=checkbox]):not([type=hidden]),.interest-form select,.interest-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; min-height: 44px; background: rgba(255,255,255,.82); color: #253e34; border: 1px solid #adc5b8; border-radius: 8px; font: 400 14px/1.45 Inter,Arial,"Helvetica Neue",sans-serif; }
.interest-form ::placeholder { color: #71857a; opacity: 1; }
.interest-form input:focus,.interest-form select:focus,.interest-form textarea:focus { border-color: #2a8b73; }
.interest-form textarea { resize: vertical; min-height: 108px; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.interest-form .consent-label { display: grid; align-items: start; grid-template-columns: 19px minmax(0,1fr); gap: 10px; margin: 4px 0 20px; color: #4d675a; font-size: 13px; font-weight: 400; }
.consent-label input { width: 18px; height: 18px; accent-color: #217865; margin: 2px 0 0; }
.consent-label a,.legal-copy a:not(.btn):not(.back-link) { color: #176d5a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.interest-form .btn { width: 100%; }
.form-note { margin-top: 10px; font-size: 12px; color: #637a6b; text-align: center; }
.form-errors,.flash { padding: 13px 15px; border: 1px solid #c78781; background: #f7e4dd; border-radius: 9px; color: #7a352e; font-size: 13px; margin-bottom: 19px; }
.form-errors ul { padding-left: 20px; margin: 5px 0 0; }
.flash-stack { margin-top: 14px; }
.flash { background: #e6f2e9; color: #275d48; border-color: #aacbbe; }
.flash.error { border-color: #c78781; background: #f7e4dd; color: #7a352e; }
.flash.success { background: #e3f4e8; border-color: #97c6af; color: #246449; }
/* Confirmation and privacy pages. */
.success-page { padding: 28px 0 46px; }
.success-card { text-align: center; width: 100%; min-height: 440px; max-width: 960px; margin: auto; padding: 65px 58px; border: 1px solid #fff; border-radius: 25px; background: linear-gradient(125deg,#fbfbf3ef,#d8ede4cc); box-shadow: 0 16px 60px rgba(51,83,73,.075),inset 0 0 0 1px rgba(72,119,108,.06); }
.success-icon { display: grid; place-items: center; width: 67px; height: 67px; margin: 0 auto 23px; border: 1px solid #fff; background: #d1eadb; border-radius: 14px; color: #287b61; box-shadow: inset 0 0 0 1px #a2c9b7; }
.success-card h1 { font-size: clamp(37px,4.8vw,64px); margin-bottom: 20px; }
.success-card p { color: #50685d; font-size: 17px; line-height: 1.6; }
.success-card p.success-note { color: #64786c; font-size: 13px; padding-top: 14px; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 25px; }
.privacy-page { min-height: 60vh; }
.privacy-page .section { padding: 28px 0 46px; }
.legal-copy { max-width: 930px; padding: 46px 52px; border: 1px solid #fff; border-radius: 24px; background: linear-gradient(120deg,#fffef9ed,#eff7eff0); box-shadow: inset 0 0 0 1px rgba(72,119,108,.06),0 14px 56px rgba(51,83,73,.06); }
.legal-copy h1 { font-size: clamp(40px,5vw,66px); }
.legal-copy .lead { color: #4c665b; font-size: 18px; margin-bottom: 30px; }
.legal-copy h2 { font-weight: 790; font-size: 23px; line-height: 1.25; letter-spacing: -.035em; margin: 26px 0 8px; color: #304d40; }
.legal-copy p,.legal-copy li { color: #50685e; line-height: 1.65; font-size: 15px; }
.legal-copy ul { padding-left: 20px; margin: 8px 0; }
.legal-copy .btn { margin-top: 20px; }
@media(max-width:1100px) {
  .contact-grid { padding: 32px; gap: 27px; }
  .contact-copy h1 { font-size: clamp(43px,5.7vw,65px); }
  .contact-copy > p { font-size: 16px; }
  .nav-links { gap: 22px; }
}
@media(max-width:800px) {
  .topbar { height: 83px; gap: 12px; }
  .brand { min-width: 0; gap: 7px; }
  .brand-mark { width: 40px; height: 40px; }
  .wordmark strong { font-size: 27px; }
  .wordmark small { font-size: 8px; letter-spacing: 2.6px; }
  .nav-links { gap: 15px; font-size: 12px; }
  .header-cta { font-size: 11px; padding: 9px 10px; }
  .contact-grid { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .contact-copy { max-width: 700px; padding: 0; }
  .contact-copy h1 { font-size: clamp(45px,8vw,69px); }
  .contact-points { margin: 25px 0; }
  .form-panel { max-width: 680px; }
  .footer-links { gap: 8px 15px; }
}
@media(max-width:680px) {
  .topbar { height: auto; min-height: 72px; flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .header-actions { margin-left: auto; }
  .nav-links { order: 3; flex-wrap: wrap; width: 100%; justify-content: center; padding: 7px 0; gap: 10px 18px; }
  .js-nav .topbar { height: 72px; flex-wrap: nowrap; padding: 0; }
  .js-nav .nav-toggle { display: grid; }
  .js-nav .nav-links { display: none; width: auto; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 3px; padding: 12px; border: 1px solid #b8cec0; border-radius: 12px; background: #f9fcf6; box-shadow: 0 12px 32px rgba(52,104,82,.13); }
  .js-nav .nav-links.open { display: flex; }
  .js-nav .nav-links a { display: block; padding: 10px 11px; border-radius: 7px; font-size: 14px; color: #385c4d; }
  .js-nav .nav-links a:hover { background: #e0eee5; }
  .js-nav .nav-links a.mobile-nav-cta { display: flex; justify-content: space-between; background: #d1e9dd; color: #176d5a; }
  .footer-main { flex-direction: column; gap: 18px; }
  .footer-links { justify-content: flex-start; max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 19px; }
}
@media(max-width:520px) {
  .page-shell { padding: 0 16px; }
  .header-cta { gap: 6px; padding: 9px 10px; font-size: 11px; }
  .header-cta span { font-size: 14px; }
  .header-actions { gap: 6px; }
  .nav-toggle { width: 36px; height: 36px; }
  .brand-mark { width: 38px; height: 38px; }
  .wordmark strong { font-size: 25px; }
  .wordmark small { letter-spacing: 2.25px; }
  .contact-hero { padding: 16px 0 28px; }
  .contact-grid { padding: 21px 15px 17px; gap: 20px; border-radius: 18px; }
  .contact-copy { padding: 0 3px; }
  .contact-copy h1 { font-size: clamp(39px,10.7vw,56px); margin-bottom: 17px; }
  .contact-copy > p { font-size: 15px; line-height: 1.55; }
  .contact-points { gap: 14px; margin: 21px 0; }
  .contact-status { padding: 13px 14px; }
  .back-link { margin-bottom: 23px; }
  .form-panel { padding: 20px 14px; border-radius: 13px; }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .interest-form input:not([type=checkbox]):not([type=hidden]),.interest-form select,.interest-form textarea { font-size: 16px; }
  .type-tabs { margin: 17px 0; }
  .type-tabs a { font-size: 12px; padding: 7px 5px; }
  .success-page { padding: 16px 0 27px; }
  .success-card { padding: 39px 20px; min-height: auto; border-radius: 18px; }
  .success-card h1 { font-size: 42px; }
  .success-card p { font-size: 15px; }
  .success-actions .btn { width: 100%; }
  .privacy-page .section { padding: 16px 0 27px; }
  .legal-copy { padding: 24px 20px; border-radius: 18px; }
  .legal-copy .lead { font-size: 16px; }
  .legal-copy p,.legal-copy li { font-size: 14px; }
  .site-footer { margin-top: 12px; padding-top: 20px; }
}
@media(max-width:350px) {
  .js-nav .header-cta { display: none; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
  .btn:hover { transform: none; }
}
