/* Live Wix site uses Avenir 85 Heavy for headings and Avenir 35 Light accents.
   Use the Mac's own Avenir faces when present, Nunito Sans elsewhere. */
@font-face { font-family: "Ovation Head"; src: local("Avenir Heavy"), local("Avenir-Heavy"); font-weight: 700; }
:root {
  --head: "Ovation Head", "Nunito Sans", system-ui, sans-serif;
  --blue: #1b3b94;
  --blue-dark: #142d73;
  --accent: #1b3b94;
  --accent-dark: #142d73;
  --navy: #1b3b94;
  --ink: #111111;
  --muted: #4a4f57;
  --line: #e3e5ea;
  --bg: #ffffff;
  --bg-alt: #f5f6f9;
  --radius: 10px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito Sans", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }

h1 { font-family: var(--head); font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h2 { font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; text-wrap: balance; }
h3 { font-family: var(--head); font-size: 1.35rem; margin: 0 0 .4em; font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.hidden { display: none; }
.lead { font-size: 1.15rem; color: var(--ink); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--accent); margin: 0 0 .8em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; }
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 6px; line-height: 1.1; }
.brand-mark { width: 58px; height: 58px; flex: none; margin-top: -4px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: "Avenir Next", Avenir, "Nunito Sans", system-ui, sans-serif; font-weight: 600; letter-spacing: 0; font-size: 1.5rem; margin: 0; }
.brand-tag { font-size: .85rem; color: var(--ink); margin-top: 5px; font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 400; font-size: 1.2rem; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--accent); }
.site-nav a.btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn { display: inline-block; font-family: inherit; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 28px; border-radius: 4px; border: 2px solid var(--accent); font-size: .95rem; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-small { padding: 9px 18px; font-size: .85rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Sections */
.hero { background: var(--bg); padding: 56px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-img { width: 100%; aspect-ratio: 700 / 760; object-fit: cover; background: #15171c; }
.service-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.service-list li { display: flex; align-items: center; gap: 16px; font-size: 1rem; }
.service-list svg { width: 34px; height: 34px; flex: none; color: var(--ink); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service h3 { color: #fff; }
.service p { margin: 0; color: #c6d3e0; font-size: .95rem; }
.band { padding: 80px 0; }
.band-alt { background: var(--bg-alt); }
.band-blue { background: var(--blue); color: #fff; }
.band-blue p { color: #e6ebf7; }
.band-blue .center p { max-width: 680px; margin: 0 auto 28px; }
.band-blue .btn { background: #fff; color: var(--blue); border-color: #fff; }
.band-blue .btn:hover { background: #e6ebf7; border-color: #e6ebf7; }
.curve-top { position: relative; margin-top: 60px; padding-top: 72px; }
.curve-top::before { content: ""; position: absolute; left: 0; right: 0; top: -59px; height: 60px; background: var(--blue); clip-path: polygon(0 0, 10% 9%, 25% 22%, 40% 35%, 55% 46%, 70% 55%, 85% 60%, 100% 62%, 100% 100%, 0 100%); }
.page-head { padding: 72px 0 40px; background: var(--bg-alt); }
.page-head .lead { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; height: auto; object-fit: cover; }
.split > * { min-width: 0; }
.split.reverse > img, .split.reverse > video { order: 2; }
.feature-video { width: 100%; height: auto; display: block; border-radius: 4px; background: #fff; }
.industry { padding: 56px 0; border-bottom: 1px solid var(--line); }
.industry:nth-of-type(even) { background: var(--bg-alt); }

/* Cards */
.card-grid { display: grid; gap: 28px; margin: 36px 0; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid.four .product { padding: 20px; }
.card, .product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(13,33,55,.08); }
.card img, .product-media img { aspect-ratio: 1 / 1; object-fit: contain; margin: 0 auto 18px; max-height: 260px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.product ul { padding-left: 18px; margin: 0 0 20px; color: var(--muted); font-size: .92rem; flex: 1; }
.product li { margin-bottom: 4px; }
.product .btn { align-self: flex-start; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.jump a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink); }

/* Industry tiles */
.tile-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 36px; }
.tile { text-decoration: none; color: var(--ink); text-align: center; font-family: Montserrat, "Nunito Sans", sans-serif; font-weight: 400; font-size: .95rem; }
.tile img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 170px; margin: 0 auto 12px; transition: transform .2s; }
.tile:hover img { transform: scale(1.04); }

/* FAQ */
.faq-group { margin-top: 40px; font-size: 1.3rem; color: var(--navy); }
.faq-group:first-child { margin-top: 0; }
details { border: 1px solid var(--line); border-radius: 8px; padding: 0 20px; margin-bottom: 12px; background: #fff; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style-position: outside; }
details p { margin: 0 0 18px; color: var(--muted); }

/* Form */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input { font: inherit; padding: 12px 14px; border: 1px solid #c4ced9; border-radius: 6px; background: #fff; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact-info p { margin: 0 0 20px; }

/* Footer */
.site-footer { background: var(--blue-dark); color: #d9e0f2; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .brand-name { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-head { color: #fff; font-weight: 700; margin: 0 0 10px; }
.footer-links a { display: block; text-decoration: none; margin-bottom: 6px; }
.site-footer .brand, .site-footer .brand-tag { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.18); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > img, .split.reverse > video { order: 0; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .card-grid.three, .card-grid.four { grid-template-columns: 1fr 1fr; }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .header-inner { min-height: 76px; }
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 44px; height: 44px; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a.btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .band { padding: 56px 0; }
  .hero { padding: 48px 0; }
  .card-grid.three, .card-grid.four, .service-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) and (min-width: 761px) { .site-nav { gap: 22px; } .site-nav a { font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.product-media { overflow: hidden; aspect-ratio: 1 / 1; max-height: 260px; margin: 0 auto 18px; width: 100%; display: flex; align-items: center; justify-content: center; }
.product-media img { margin: 0; max-height: 100%; }
.product-media .ph { display: none; }
.product-media.no-img { background: var(--bg-alt); border-radius: 6px; }
.product-media.no-img .ph { display: block; font-weight: 600; color: var(--muted); text-align: center; padding: 0 16px; }

.product-group { margin-top: 48px; }
.product-group .card-grid { margin-top: 20px; }
.group-head { font-size: 1.35rem; color: var(--blue); margin: 0; }
.group-sub { margin: 4px 0 0; color: var(--muted); }
.band-blue + .site-footer, .curve-top + .site-footer { border-top: 1px solid rgba(255,255,255,.15); }
.site-footer .muted { color: #b9c4e4; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-row { display: grid; gap: 16px; margin: 32px auto 8px; }
.video-row.v1 { max-width: 760px; }
.video-row.v2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .video-row.v2 { grid-template-columns: 1fr; } }
.closing { font-size: 1.25rem; line-height: 1.6; margin: 0; }

/* Product names on the live site are Montserrat Regular */
.product h3 { font-family: Montserrat, "Nunito Sans", sans-serif; font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.site-nav a { font-size: 1.25rem; }
.yt button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; max-height: none; aspect-ratio: auto; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; background: #e62117; border-radius: 12px; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Robot, brand and category pages */
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { color: var(--accent); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.robot-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.robot-media { max-height: 420px; background: #fff; border-radius: var(--radius); }
.split.top { align-items: start; }
.spec-list, .ind-links { padding-left: 20px; color: var(--muted); }
.spec-list li, .ind-links li { margin-bottom: 6px; }
.robot-card h3 { font-family: Montserrat, "Nunito Sans", sans-serif; font-weight: 400; font-size: 1.3rem; }
.table-wrap { overflow-x: auto; margin: 24px 0 8px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { background: var(--bg-alt); font-weight: 700; }
.field textarea { font: inherit; padding: 12px 14px; border: 1px solid #c4ced9; border-radius: 6px; }
.footer-grid:has(> div:nth-child(4)) { grid-template-columns: 1.7fr 1.2fr .8fr 1fr; gap: 32px; }
.footer-brand .brand-name, .footer-brand .brand-tag { white-space: nowrap; }
@media (max-width: 960px) { .footer-grid:has(> div:nth-child(4)) { grid-template-columns: 1fr; } }

/* Products dropdown */
.nav-drop { position: relative; }
.drop-menu { display: none; position: absolute; top: 100%; left: -18px; padding: 14px 0 12px; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 28px rgba(13,33,55,.12); z-index: 20; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.site-nav .drop-menu a { display: block; padding: 6px 20px; font-size: 1rem; }
.drop-label { margin: 10px 0 2px; padding: 0 20px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.drop-menu > :first-child { margin-top: 0; }
@media (max-width: 760px) {
  .drop-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; }
  .site-nav .drop-menu a { padding: 9px 0; font-size: .98rem; }
  .drop-label { padding: 0; margin-top: 12px; }
}
