
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #101827;
  --muted: #657086;
  --line: #e5eaf2;
  --brand: #0d6b62;
  --brand-2: #0f8a7d;
  --dark: #0d1724;
  --shadow: 0 20px 55px rgba(16, 24, 39, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247,249,252,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,234,242,.8);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(13,107,98,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 24px rgba(13,107,98,.10);
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-copy { min-width: 0; }
.brand strong { display: block; font-size: 15px; }
.brand-subtitle { display: block; color: var(--muted); font-size: 12px; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.menu-icon { display: grid; gap: 5px; width: 21px; margin: 0 auto; }
.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-btn:focus-visible { outline: 3px solid rgba(15,138,125,.28); outline-offset: 2px; }
.menu-btn[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; border-radius: 12px;
  padding: 13px 20px; font-weight: 700; transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--brand-2); }
.btn-small { padding: 9px 15px; }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }

.hero {
  padding: 82px 0 78px;
  background:
    radial-gradient(circle at 86% 14%, rgba(15,138,125,.12), transparent 30%),
    linear-gradient(180deg, #f7f9fc 0%, #f4f8f7 100%);
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; }
.eyebrow {
  margin: 0 0 14px; color: var(--brand); font-weight: 800;
  font-size: 12px; letter-spacing: .13em;
}
h1 { font-size: clamp(42px, 5vw, 64px); line-height: 1.03; letter-spacing: -.045em; margin: 0 0 24px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 24px; }
h3 { line-height: 1.25; }
.hero-copy { max-width: 720px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.trust-row span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; font-size: 12px; color: var(--muted); }

.hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(13,107,98,.16);
  border-radius: 28px;
  background: var(--dark);
  box-shadow: 0 28px 70px rgba(13,23,36,.18);
}
.hero-media picture { display: block; }
.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 58% center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7,17,26,.88));
  pointer-events: none;
}
.hero-media figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  gap: 3px;
  color: #fff;
}
.hero-media figcaption span {
  color: #77ded0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-media figcaption strong { font-size: 18px; line-height: 1.3; }

.hero-card {
  border-radius: 26px; background: #fff; box-shadow: var(--shadow);
  overflow: hidden; border: 1px solid var(--line); transform: rotate(1.5deg);
}
.window-bar { padding: 16px; display: flex; gap: 8px; border-bottom: 1px solid var(--line); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd6e2; }
.code-card { padding: 28px; }
.code-card b { font-size: 20px; }
.muted { color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.metric-grid div { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.metric-grid strong { display: block; font-size: 25px; color: var(--brand); }
.metric-grid span { font-size: 12px; color: var(--muted); }

.section { padding: 86px 0; }
.section-alt { background: #fff; }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.two-col p { color: var(--muted); font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.card, .product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 6px 22px rgba(16,24,39,.04);
}
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #e8f6f3; color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.card p, .product-card p { color: var(--muted); font-size: 14px; }

.vending-visuals { background: var(--dark); color: #fff; }
.vending-visuals .eyebrow { color: #6dd6c8; }
.visual-heading {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 34px;
}
.visual-heading h2 { margin-bottom: 0; }
.visual-heading > p { margin: 0; color: #aab5c5; font-size: 17px; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background: #111f2d;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.photo-card picture { display: block; overflow: hidden; }
.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .35s ease;
}
.photo-card:hover img { transform: scale(1.018); }
.photo-card figcaption { display: grid; gap: 5px; padding: 22px 24px 24px; }
.photo-card figcaption span {
  color: #6dd6c8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.photo-card figcaption strong { font-size: 18px; line-height: 1.35; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.product-tag { display: inline-block; font-size: 11px; font-weight: 800; color: var(--brand); background: #e8f6f3; padding: 7px 10px; border-radius: 999px; }
.product-card h3 { margin-bottom: 10px; }
.product-card ul { display: grid; gap: 7px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.product-card li { position: relative; padding-left: 17px; color: #4f5f70; font-size: 13px; }
.product-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }
.placement-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.placement-strip strong { margin-right: 4px; font-size: 13px; }
.placement-strip span { padding: 7px 10px; border-radius: 999px; background: #eef8f6; color: var(--brand); font-size: 11px; font-weight: 750; }

.project-showcase {
  margin-top: 64px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}
.showcase-heading {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 32px;
}
.showcase-heading h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.showcase-heading > div:last-child > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.showcase-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.showcase-meta span {
  border: 1px solid #cfe8e3;
  border-radius: 999px;
  padding: 7px 11px;
  background: #eef8f6;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.showcase-card {
  display: flex;
  flex-direction: column;
  grid-column: span 6;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16,24,39,.06);
}
.showcase-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  grid-column: 1 / -1;
  align-items: stretch;
  background: var(--dark);
  color: #fff;
  border-color: rgba(255,255,255,.08);
}
.showcase-card--five { grid-column: span 5; }
.showcase-card--seven { grid-column: span 7; }
.showcase-card--third { grid-column: span 4; }
.showcase-card--half { grid-column: span 6; }
.screenshot-trigger {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #edf2f8;
  color: inherit;
  cursor: zoom-in;
  text-align: inherit;
}
.screenshot-trigger:focus-visible {
  outline: 3px solid #59cbbd;
  outline-offset: -3px;
}
.screenshot-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf2f8;
}
.screenshot-frame-featured { aspect-ratio: 16 / 9; }
.screenshot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform .35s ease;
}
.screenshot-trigger:hover img { transform: scale(1.018); }
.expand-cue {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(13,23,36,.84);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13,23,36,.2);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.showcase-card-copy {
  flex: 1;
  padding: 23px 24px 25px;
}
.showcase-card-featured .showcase-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
}
.showcase-index {
  display: block;
  margin-bottom: 11px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.showcase-card-featured .showcase-index { color: #6dd6c8; }
.showcase-card h4 {
  margin: 0 0 9px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.showcase-card-featured h4 { font-size: 28px; }
.showcase-card p { margin: 0; color: var(--muted); font-size: 14px; }
.showcase-card-featured p { color: #aab5c5; }

body.modal-open { overflow: hidden; }
.screenshot-dialog {
  width: min(1240px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 30px 100px rgba(0,0,0,.35);
}
.screenshot-dialog:not([open]) { display: none; }
.screenshot-dialog::backdrop {
  background: rgba(6,13,23,.78);
  backdrop-filter: blur(8px);
}
.screenshot-dialog.fallback-open {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 0;
  background: rgba(6,13,23,.78);
  backdrop-filter: blur(8px);
}
.screenshot-dialog.fallback-open .dialog-shell { width: min(1240px, 100%); }
.dialog-shell {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background: var(--dark);
  color: #fff;
}
.dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 2px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(13,23,36,.86);
  color: #fff;
  font: inherit;
  font-size: 25px;
  cursor: pointer;
}
.dialog-close:hover { background: var(--brand); }
.dialog-close:focus-visible { outline: 3px solid #6dd6c8; outline-offset: 2px; }
.dialog-copy { padding: 28px 76px 24px 30px; }
.dialog-copy .eyebrow { margin-bottom: 7px; color: #6dd6c8; }
.dialog-copy h3 { margin: 0; font-size: clamp(22px, 3vw, 32px); }
.dialog-copy > p:last-child { margin: 7px 0 0; color: #aab5c5; font-size: 14px; }
.dialog-image-wrap {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 18px;
  background: #eaf0f7;
}
.dialog-image-wrap img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 15px 50px rgba(13,23,36,.15);
}

.section-dark { background: var(--dark); color: white; }
.section-dark .eyebrow { color: #6dd6c8; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 38px; }
.steps > div { border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; }
.steps span { color: #6dd6c8; font-weight: 800; font-size: 13px; }
.steps p { color: #aab5c5; font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 64px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-card p { margin: 10px 0; color: var(--muted); }
.contact-card small { display: block; margin-top: 20px; color: #8a94a7; }

.verification { padding-top: 20px; }
.verification-box {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center;
  border: 1px solid var(--line); background: #eef7f5; border-radius: 24px; padding: 32px;
}
.verification-box p { color: #4f5f70; }

footer { border-top: 1px solid var(--line); padding: 28px 0; background: #fff; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid, .verification-box, .showcase-heading, .visual-heading { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 64px; }
  .hero-card { transform: none; }
  .visual-heading { gap: 18px; }
  .showcase-heading { gap: 20px; }
  .showcase-card-featured { grid-template-columns: 1fr; }
  .showcase-card-featured .showcase-card-copy { padding: 28px; }
  .showcase-card--five, .showcase-card--seven, .showcase-card--third, .showcase-card--half { grid-column: span 6; }
  .nav { min-height: 74px; }
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; left: 20px; right: 20px; top: 66px;
    flex-direction: column; align-items: stretch; gap: 4px; background: white; padding: 10px;
    border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line);
  }
  .nav-links a { padding: 10px 12px; border-radius: 10px; }
  .nav-links a:not(.btn):hover { background: var(--bg); }
  .nav-links .btn { margin-top: 4px; }
  .nav-links.open { display: flex; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1120px); }
  .site-header { background: rgba(247,249,252,.96); }
  .nav { min-height: 70px; gap: 14px; }
  .brand { min-width: 0; gap: 10px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { overflow: hidden; font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .brand-subtitle { font-size: 11px; margin-top: 1px; }
  .nav-links {
    left: 16px; right: 16px; top: 62px;
  }
  .hero { padding: 48px 0 64px; }
  .hero-grid { gap: 40px; }
  .hero .eyebrow { margin-bottom: 16px; font-size: 11px; line-height: 1.55; letter-spacing: .11em; }
  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(34px, 9.6vw, 41px);
    line-height: 1.06;
    letter-spacing: -.04em;
  }
  .hero-copy { margin: 0; font-size: 17px; line-height: 1.65; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .hero-actions .btn { width: 100%; }
  .trust-row { margin-top: 24px; }
  .hero-media { border-radius: 22px; }
  .hero-media img { aspect-ratio: 4 / 3; object-position: 61% center; }
  .hero-media figcaption { left: 18px; right: 18px; bottom: 17px; }
  .hero-media figcaption strong { font-size: 15px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card { border-radius: 20px; }
  .photo-card figcaption { padding: 18px 19px 20px; }
  .placement-strip { align-items: flex-start; }
  .placement-strip strong { width: 100%; margin-bottom: 4px; }
  .footer-row { flex-direction: column; }
  .project-showcase { margin-top: 48px; padding-top: 44px; }
  .showcase-card, .showcase-card--five, .showcase-card--seven, .showcase-card--third, .showcase-card--half { grid-column: 1 / -1; }
  .showcase-card-featured h4 { font-size: 23px; }
  .showcase-card-copy, .showcase-card-featured .showcase-card-copy { padding: 22px; }
  .expand-cue { right: 10px; bottom: 10px; }
  .dialog-copy { padding: 24px 64px 20px 22px; }
  .dialog-image-wrap { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .screenshot-frame img, .menu-icon span, .photo-card img { transition: none; }
}
