@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #010a1a;
  --ink: #111b39;
  --ice: #a8ebff;
  --blue: #224ec5;
  --paper: #f1f4f8;
  --line: #cbd5e1;
  --sans: "DM Sans", system-ui, sans-serif;
  --wide: min(1600px, calc(100% - clamp(40px, 7vw, 124px)));
  --wrap: min(1180px, var(--wide));
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: white;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p { margin: 0; }
body { min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, summary { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.contact-section :focus-visible { outline-color: var(--ice); }
section[id] { scroll-margin-top: 16px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.wide { width: var(--wide); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 17px;
  color: var(--night); background: white; transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.contact-section { background: var(--night); color: #f9fbff; }
.site-header { position: relative; z-index: 5; background: white; border-bottom: 1px solid #e5eafb; }
.nav-inner {
  position: relative; min-height: clamp(64px, 4.8vw, 74px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.wordmark { display: inline-flex; align-items: center; gap: 7px; width: max-content; }
.wordmark img { width: clamp(100px, 8vw, 122px); height: auto; }
.wordmark span { color: #156594; font-size: clamp(18px, 1.6vw, 23px); font-weight: 550; letter-spacing: -.055em; }
.desktop-nav, .nav-actions, .site-footer nav { display: flex; align-items: center; }
.desktop-nav { gap: clamp(24px, 3vw, 48px); }
.desktop-nav a, .site-footer nav a { font-size: clamp(14px, 1.08vw, 17px); }
.desktop-nav a, .site-footer nav a { transition: color .18s ease; }
.desktop-nav a:hover { color: var(--blue); }
.nav-actions { gap: clamp(14px, 2.4vw, 36px); justify-self: end; white-space: nowrap; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 14px; width: max-content;
  min-height: 49px; padding: 12px 22px; background: #111c3c; color: white; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1.15; letter-spacing: -.035em;
  transition: background .18s ease, transform .18s ease;
}
.button:hover { background: #21418e; transform: translateY(-2px); }
.nav-contact { min-height: 42px; padding: 10px 20px; gap: 7px; }
.nav-contact span, .contact-button span, .site-footer nav span { font-family: Arial, sans-serif; font-size: 1.14em; }
.mobile-menu { display: none; }
.display-heading .accent { color: #2454d8; }

.display-heading {
  font-size: clamp(29px, 2.8vw, 38px); line-height: 1.13; font-weight: 610; letter-spacing: -.043em;
}

.demo-section { padding-block: clamp(62px, 6vw, 100px); background: #fff; }
.demo-heading { margin-bottom: clamp(27px, 3.2vw, 47px); }
.demo-heading > p { max-width: 57ch; margin-top: 17px; color: #3e4d60; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; letter-spacing: -.018em; }
.setup { border-bottom: 1px solid #b8c5d4; margin-top: 30px; }
.setup summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 4px 17px 0;
  font-size: clamp(16px, 1.5vw, 22px); font-weight: 540; letter-spacing: -.035em; list-style: none;
}
summary::-webkit-details-marker { display: none; }
.disclosure-mark { position: relative; flex: 0 0 16px; height: 16px; }
.disclosure-mark::after, .disclosure-mark::before { content: ""; position: absolute; top: 7px; left: 0; width: 16px; height: 1.5px; background: currentColor; }
.disclosure-mark::after { transform: rotate(90deg); transition: transform .18s ease; }
.setup[open] .disclosure-mark::after { transform: none; }
.setup ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 64px); padding: 14px 0 30px; margin: 0; }
.setup strong { font-weight: 600; }
.setup p { color: #415065; margin-top: 7px; font-size: 15px; line-height: 1.5; }

.opticas-section { padding-block: clamp(58px, 5.4vw, 88px); background: #f8f8f5; }
.opticas-spread {
  display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.12fr);
  align-items: center; column-gap: clamp(34px,5.3vw,82px);
}
.product-name { color: #293b5c; font-weight: 600; font-size: 16px; letter-spacing: -.04em; margin-bottom: 23px; }
.opticas-copy h2 { margin-bottom: clamp(28px,3vw,43px); }

.opticas-area + .opticas-area { margin-top: 18px; padding-top: 20px; border-top: 1px solid #ced8e3; }
.opticas-area h3 { margin: 0 0 7px; font-size: clamp(19px,1.7vw,23px); font-weight: 610; letter-spacing: -.055em; }
.opticas-area p { margin: 0; color: #414c61; font-size: 16px; line-height: 1.5; letter-spacing: -.015em; }
.opticas-area a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--blue); font-size: 15px; font-weight: 650; }
.opticas-area a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.opticas-area a span { font-family: Arial, sans-serif; }
.opticas-photo { width: 100%; height: 100%; max-height: 570px; min-height: 420px; object-fit: cover; object-position: 48% center; border-radius: 24px; }

.contact-section { position: relative; isolation: isolate; overflow: hidden; }
.contact-inner { position: relative; padding-block: clamp(47px, 5.3vw, 82px); }
.contact-inner h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 600; letter-spacing: -.043em; line-height: 1.12; }
.contact-inner h2 span { color: #b9d9ff; }
.contact-inner p { max-width: 36ch; margin-top: 14px; color: #cfddf1; font-size: 16px; line-height: 1.55; }
.site-footer small { display: inline-block; margin-top: 9px; font-size: 12px; color: #536176; }
.contact-button { background: var(--ice); color: #071528; border-radius: 999px; margin-top: clamp(24px, 2.4vw, 36px); }
.contact-button:hover { background: white; }
.contact-art {
  position: absolute; z-index: -1; pointer-events: none; width: 56%; height: 100%; right: 0; bottom: 0;
  background: url("assets/prisma-softop.webp") 16% 32% / 170% auto no-repeat;
  mask-image: linear-gradient(105deg, transparent 1%,black 32%);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 26px; }
.site-footer .wordmark img { width: 93px; }
.site-footer .wordmark span { color: #12649c; font-size: 16px; }
.site-footer nav { flex-wrap: wrap; gap: 12px clamp(15px, 2.4vw, 34px); }

@media (max-width: 900px) {
  .desktop-nav { gap: 15px; }
  .nav-inner { gap: 12px; }
  .nav-actions { gap: 14px; }
}
@media (max-width: 810px) {
  .desktop-nav, .nav-actions .nav-contact { display: none; }
  .nav-inner { grid-template-columns: 1fr auto auto; min-height: 64px; gap: 12px; }
  .nav-contact { min-height: 38px; font-size: 14px; padding: 9px 15px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; width: 40px; min-height: 44px; place-items: center; list-style: none; }
  .menu-icon, .menu-icon::after { display: block; width: 23px; height: 1.5px; background: #16213c; transition: transform .18s; }
  .menu-icon { position: relative; transform: translateY(-3px); }
  .menu-icon::after { content: ""; position: absolute; top: 6px; }
  .mobile-menu[open] .menu-icon { transform: rotate(45deg); }
  .mobile-menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-90deg); }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; padding: 6px 18px; background: #fff; color: var(--ink); border: 1px solid #c5d2e5; border-radius: 12px; box-shadow: 0 10px 25px #172a4815; }
  .mobile-menu nav a { padding: 14px 2px; border-bottom: 1px solid #dde5f1; }
  .mobile-menu nav a:last-child { border: 0; }
  .opticas-spread { grid-template-columns: 1fr 1fr; column-gap: 25px; }
  .opticas-photo { border-radius: 16px; }
  .setup ol { grid-template-columns: 1fr; gap: 16px; }
  .contact-art { width: 45%; background-position: 24% 55%; background-size: auto 150%; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 15px; }
}
@media (max-width: 600px) {
  .opticas-spread { grid-template-columns: 1fr; gap: 23px; }
  .opticas-photo { min-height: 0; height: auto; aspect-ratio: 4/3; }
  .product-name { margin-bottom: 16px; }
  .contact-art { width: 37%; }
  .site-footer nav { max-width: 38ch; gap: 13px 23px; }
}
@media (max-width: 360px) {
  .nav-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
  .site-header .wordmark { gap: 5px; }
  .site-header .wordmark img { width: 87px; }
  .nav-contact { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
