:root {
  --ink: #071018;
  --ink-2: #0e171f;
  --ink-3: #15222c;
  --cream: #ffffff;
  --cream-2: #f4f7fb;
  --paper: #ffffff;
  --dots: rgba(90, 196, 214, 0.16);
  --teal: #12d6c2;
  --teal-d: #0ba898;
  --blue: #2b7de9;
  --navy: #123056;
  --muted: #6b7380;
  --muted-l: #b7c0c9;
  --line: rgba(255, 255, 255, 0.08);
  --line-d: rgba(7, 16, 24, 0.1);
  --google: #4285f4;
  --wa: #25d366;
  --r: 22px;
  --d: "Bricolage Grotesque", system-ui, sans-serif;
  --b: "Outfit", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(7, 16, 24, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--b);
  color: var(--ink);
  background: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--d);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  color: #fff;
}

h1 em {
  font-style: normal;
  color: var(--teal);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
}

p {
  margin: 0;
}

.kicker,
.chapter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(18, 214, 194, 0.16);
}

.lede {
  color: var(--muted-l);
  font-size: 1.08rem;
  max-width: 38rem;
  margin-top: 22px;
}

.lede-sm {
  color: var(--muted);
  max-width: 36rem;
  margin: 14px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--ink);
}

.btn-primary:hover {
  background: #7ff0e4;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-wa {
  background: var(--wa);
  color: #06210f;
}

.text-link {
  color: var(--teal-d);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  width: fit-content;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.nav.is-on {
  border-bottom-color: var(--line-d);
}

.nav-inner {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img {
  height: 52px;
  width: auto;
}

.brand.plate {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--navy);
}

.nav-links a:hover {
  color: var(--teal-d);
}

.nav-cta {
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.circuit {
  position: absolute;
  right: -8%;
  top: 8%;
  width: min(720px, 70vw);
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 28px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-stats li:last-child {
  flex: 1 1 12rem;
}

.hero-stats strong {
  display: block;
  font-family: var(--d);
  font-size: 1.7rem;
  color: #fff;
}

.hero-stats span {
  color: var(--muted-l);
  font-size: 0.85rem;
}

.glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(10px);
}

.maps-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--r) var(--r) 0 0;
}

.maps-body {
  padding: 16px 18px 18px;
  color: #fff;
}

.maps-name {
  font-weight: 700;
}

.maps-meta,
.stars {
  color: var(--muted-l);
  font-size: 0.86rem;
  margin-top: 4px;
}

.maps-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.maps-actions a {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}

.maps-actions a:first-child {
  background: var(--google);
  color: #fff;
}

.partner-chip {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  background: #fff;
  color: var(--ink);
}

.partner-chip img {
  width: 64px;
  height: 64px;
}

.partner-chip p {
  font-weight: 650;
  font-size: 0.92rem;
}

.partner-chip a {
  display: inline-block;
  margin-top: 4px;
  color: var(--google);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Watermark dots like the current SMART site */
.dots-wash {
  background-color: #fff;
  background-image:
    radial-gradient(ellipse 70% 50% at 88% -8%, rgba(170, 164, 220, 0.16), transparent 62%),
    radial-gradient(ellipse 50% 40% at 6% 108%, rgba(18, 214, 194, 0.08), transparent 58%),
    radial-gradient(var(--dots) 1.15px, transparent 1.35px);
  background-size: auto, auto, 22px 22px;
  position: relative;
  overflow: hidden;
}

.dots-wash::before {
  content: "";
  position: absolute;
  width: min(220px, 42vw);
  height: min(220px, 42vw);
  right: 10%;
  top: 28px;
  border-radius: 50%;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(90, 204, 222, 0.55) 1.35px, transparent 1.5px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(circle, #000 38%, transparent 72%);
  mask-image: radial-gradient(circle, #000 38%, transparent 72%);
  opacity: 0.85;
}

.dots-wash::after {
  content: "+";
  position: absolute;
  right: calc(10% + min(200px, 38vw));
  top: 96px;
  color: #e14cff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  opacity: 0.75;
}

.dots-wash > * {
  position: relative;
  z-index: 1;
}

.marquee.dots-wash::before,
.marquee.dots-wash::after {
  display: none;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-d);
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 36s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.marquee-group img {
  height: 46px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(0.15);
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.hero,
.section {
  scroll-margin-top: 88px;
}

.section {
  padding: 96px 0;
}

.section.cream {
  color: var(--ink);
}

.section.ink {
  background: var(--ink-2);
  color: #fff;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p:last-child {
  color: var(--muted);
}

.section-head.light p:last-child,
.section-head.light .chapter {
  color: var(--muted-l);
}

.section-head.light .chapter {
  color: var(--teal);
}

.split-engines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.engine {
  background: #fff;
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  box-shadow: 0 18px 40px rgba(18, 48, 86, 0.06);
}

.engine-tag {
  width: fit-content;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--teal);
}

.engine-tag.alt {
  background: var(--teal);
  color: var(--ink);
}

.engine .text-link {
  margin-top: auto;
}

.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
}

.bento-card.big {
  grid-row: span 2;
  background:
    radial-gradient(800px 280px at 100% 0%, rgba(18, 214, 194, 0.16), transparent 50%),
    var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-kicker {
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.bento-card h3 {
  font-size: 1.45rem;
  margin: 8px 0 10px;
}

.bento-card p,
.bento-card li {
  color: var(--muted-l);
}

.bento-card ul {
  padding-left: 18px;
  margin: 0 0 12px;
}

.bento-card.big .btn {
  margin-top: auto;
  width: fit-content;
}

@media (min-width: 961px) {
  .bento-card:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .bento-card:last-child .bento-kicker {
    margin-inline: auto;
  }
}

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.product {
  background: #fff;
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 240px;
}

.product-tag {
  width: fit-content;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
}

.product p.product-tag {
  color: #fff;
}

.product h3 {
  font-size: 1.45rem;
  margin: 4px 0 0;
}

.product p {
  color: var(--muted);
}

.product .text-link {
  margin-top: auto;
}

.products-lead {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: none;
}

.steps li {
  background: #fff;
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  padding: 24px;
  min-height: 230px;
}

.steps span {
  font-family: var(--d);
  font-size: 1.8rem;
  color: var(--teal-d);
}

.steps h3 {
  margin: 10px 0;
  font-size: 1.3rem;
}

.steps p {
  color: var(--muted);
}

/* Partner */
.partner {
  color: #fff;
  background:
    radial-gradient(900px 320px at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    var(--google);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.partner .chapter {
  color: #d6e6ff;
}

.partner p {
  color: rgba(255, 255, 255, 0.9);
}

.partner .btn-primary {
  background: #fff;
  color: var(--navy);
}

.partner .btn-primary:hover {
  background: #e8f0ff;
}

.check {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
}

.check li {
  padding: 8px 0 8px 28px;
  position: relative;
}

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.badge-plate {
  margin: 0;
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 28px;
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.badge-plate img {
  width: 220px;
  height: auto;
  margin: 0 auto 16px;
}

.badge-plate figcaption {
  color: var(--muted);
  font-size: 0.88rem;
}

.history {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.history article {
  padding: 8px 8px 8px 20px;
  border-left: 2px solid var(--teal-d);
}

.history time {
  font-family: var(--d);
  font-weight: 800;
  color: var(--teal-d);
  font-size: 1.4rem;
}

.history h3 {
  margin: 8px 0;
  font-size: 1.25rem;
}

.history p {
  color: var(--muted);
}

.mission {
  margin: 48px 0 0;
  padding: 28px 32px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  font-size: 1.15rem;
  font-family: var(--d);
  letter-spacing: -0.03em;
  line-height: 1.35;
}

/* Quotes */
.quotes {
  position: relative;
  min-height: 240px;
}

.quote {
  display: none;
}

.quote.is-active {
  display: block;
}

.quote p {
  font-family: var(--d);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.35;
  max-width: 46rem;
}

.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.quote img,
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.avatar {
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  font-family: var(--d);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.google-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--teal);
}

.quote strong {
  display: block;
}

.quote footer div span {
  color: var(--muted-l);
  font-size: 0.88rem;
}

.quote .avatar {
  color: #fff;
}

.quote-nav {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.quote-nav button {
  width: 36px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
}

.quote-nav button.is-active {
  background: var(--teal);
}

.faq-head {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  padding: 22px 24px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.faq-item:last-child {
  grid-column: 1 / -1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.form .full {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  border: 1px solid var(--line-d);
  background: var(--paper);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  box-shadow: 0 0 0 3px rgba(18, 214, 194, 0.25);
  border-color: var(--teal-d);
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.vis-hide {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.map-frame {
  border-radius: var(--r);
  overflow: hidden;
  height: 420px;
  background: #ddd;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.vcard {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
}

.vcard li {
  margin-bottom: 16px;
  color: var(--ink);
}

.vcard span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--muted-l);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr;
  gap: 28px;
}

.footer .brand {
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin: 6px 0;
}

.footer a:hover {
  color: #fff;
}

.foot-label {
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.copy {
  width: min(1160px, calc(100% - 40px));
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.copy p {
  margin: 0;
}

.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 40;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: wa-pulse 1.8s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    transform: scale(1.06);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    transform: scale(1);
  }
}

.legal {
  color: var(--ink);
  min-height: 100vh;
  padding: 120px 0 80px;
}

.legal h1 {
  color: var(--ink);
  font-size: 2.4rem;
}

.legal .wrap {
  max-width: 760px;
}

.legal p,
.legal li {
  margin: 12px 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .split-engines,
  .bento,
  .partner-grid,
  .history,
  .contact-grid,
  .footer-grid,
  .products,
  .steps,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .bento-card.big {
    grid-row: auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: var(--paper);
    padding: 20px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--line-d);
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 24px;
  }

  .circuit {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .float-wa {
    animation: none;
  }
}
