/* Shared colors mirror the application's Vuetify theme. */
:root {
  --primary: #406ab8;
  --primary-hover: #315696;
  --teal: #357b87;
  --teal-end: #287d80;
  --text: #293f4b;
  --muted: #526773;
  --background: #f5f8fa;
  --surface: #ffffff;
  --outline: #d4e1e7;
  --soft-teal: #d6ebe7;
  --soft-blue: #dce9f5;
  --radius: 16px;
  --shadow: 0 18px 50px #183c4810;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  line-height: 1.6;
}
body.preview-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
figure,
h1,
h2,
h3,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 5px;
}
::selection {
  background: var(--soft-teal);
  color: var(--text);
}
.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.section {
  padding-block: 88px;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ffffffed;
  border-bottom: 1px solid var(--outline);
  backdrop-filter: blur(12px);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
/* Show the MC emblem from the supplied artwork, without its repeated wordmark. */
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: url("../images/mc.png") 50% 26% / 267.6% auto no-repeat;
}
.brand-accent {
  color: var(--teal-end);
}
.navigation {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}
.navigation > a:not(.button):hover {
  color: var(--teal-end);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.button:hover {
  background: var(--primary-hover);
}
.button-small {
  min-height: 42px;
  padding: 11px 20px;
}
.button-outline {
  color: var(--text);
  background: transparent;
  border-color: #a6c8c9;
}
.button-outline:hover {
  background: #ffffff85;
  border-color: var(--teal);
}
.menu-toggle {
  padding: 8px 14px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  color: var(--text);
  background: white;
}

/* Introduction */
.hero {
  padding: 80px 0 76px;
  background: linear-gradient(
    120deg,
    #d6f3f37a,
    #e8f3ee90 55%,
    var(--background)
  );
  border-bottom: 1px solid var(--outline);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 46px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--teal-end);
  line-height: 1.6;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -1.9px;
}
h1 span {
  color: var(--teal-end);
}
.hero-description {
  max-width: 470px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
}
.hero-note .icon {
  color: var(--teal);
  width: 19px;
  height: 19px;
}
.hero-preview {
  min-width: 0;
  border: 1px solid #b8d3d6;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 25px 65px #234f5b20;
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 38px;
  background: #edf4f6;
  border-bottom: 1px solid var(--outline);
  font-size: 10px;
  color: var(--muted);
}
.window-dots {
  display: flex;
  gap: 5px;
  position: absolute;
  left: 15px;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aac4cd;
}
.hero-preview figcaption {
  padding: 12px 18px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--outline);
}
.screenshot-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--background);
}
.preview-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 8px 12px;
  border: 1px solid var(--outline);
  border-radius: 7px;
  color: var(--text);
  background: #fffffff2;
  box-shadow: 0 4px 12px #183c4810;
  font-size: 11px;
  font-weight: 600;
}
.preview-hint .icon {
  width: 15px;
  height: 15px;
}
.screenshot-link:hover .preview-hint {
  color: var(--primary);
  border-color: var(--primary);
}

/* Feature overview */
.workspace-strip {
  background: white;
  border-bottom: 1px solid var(--outline);
}
.strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 27px;
}
.strip-content p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.strip-content strong {
  color: var(--text);
  font-size: 15px;
}
.strip-content > span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.strip-content .icon {
  color: var(--teal);
  width: 21px;
  height: 21px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 38px;
}
.section-heading .eyebrow {
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: -1px;
}
.section-heading > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  border: 1px solid var(--outline);
  border-radius: 12px;
  background: var(--surface);
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 11px;
  background: var(--soft-teal);
  color: #1d6669;
}
.icon-tile-blue {
  background: var(--soft-blue);
  color: #245783;
}
.icon-tile-slate {
  background: #e0e5ed;
  color: #465267;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}
.feature-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.feature-label {
  display: block;
  margin-top: 24px;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--teal);
}
.team-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  padding: 17px 24px;
  color: var(--muted);
  background: #e8f3ee;
  border-radius: 10px;
  font-size: 13px;
}
.team-note .icon {
  color: var(--teal-end);
}
.team-note strong {
  color: var(--text);
}

/* Gallery shows all screenshots without JavaScript. */
.screenshots-section {
  background: #eaf2f8;
  border-block: 1px solid var(--outline);
}
.gallery {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.gallery-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gallery-choice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.gallery-choice:hover {
  background: #ffffff80;
}
.gallery-choice.is-active {
  background: var(--surface);
  border-color: var(--outline);
  box-shadow: 0 5px 14px #183c4808;
}
.screen-number {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}
.gallery-choice strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}
.gallery-choice small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.gallery-panels {
  min-width: 0;
}
.screen-panel {
  padding: 12px;
  margin-bottom: 22px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  scroll-margin-top: 100px;
}
.screen-panel .screenshot-link {
  border-radius: 7px;
  border: 1px solid var(--outline);
}
.screen-panel img {
  aspect-ratio: 1.87;
  object-fit: contain;
}
.screen-panel figcaption {
  padding: 23px 14px 15px;
}
.screen-panel figcaption p {
  margin-top: 7px;
  font-size: 14px;
  color: var(--muted);
}

/* Contact and footer */
.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 54px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(110deg, var(--teal), var(--teal-end));
}
.contact-card .eyebrow {
  color: #d4eeed;
  margin-bottom: 14px;
}
.contact-card p:not(.eyebrow) {
  margin-top: 20px;
  font-size: 14px;
  color: #e1efef;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}
.button-white {
  color: #225e65;
  background: white;
}
.button-white:hover {
  background: #e8f3ee;
}
.button-contact-outline {
  background: transparent;
  border-color: #abd0d0;
}
.button-contact-outline:hover {
  background: #ffffff15;
  border-color: white;
}
.contact-actions > span {
  margin-top: 3px;
  text-align: center;
  font-size: 11px;
  color: #e1efef;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--outline);
}
.site-footer .brand {
  font-size: 20px;
}
.site-footer .brand-mark {
  width: 34px;
  height: 34px;
}
.site-footer p,
.site-footer small {
  color: var(--muted);
  font-size: 12px;
}

/* Native dialog provides focus containment and Escape handling. */
.preview-dialog {
  width: min(1500px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid var(--outline);
  border-radius: 14px;
  color: var(--text);
  background: white;
  box-shadow: 0 30px 100px #10232d60;
}
.preview-dialog::backdrop {
  background: #10232dd9;
  backdrop-filter: blur(5px);
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--outline);
}
.dialog-toolbar h2 {
  font-size: 17px;
  letter-spacing: 0;
}
.dialog-close {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--outline);
  border-radius: 7px;
  background: var(--background);
  color: var(--text);
  font-size: 13px;
}
.dialog-close span {
  font-size: 22px;
  line-height: 1;
}
.dialog-image-container {
  max-height: calc(100dvh - 180px);
  overflow: auto;
  background: var(--background);
}
.dialog-image-container img {
  min-width: 900px;
}
.dialog-note {
  padding: 12px 22px;
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 761px) {
  .menu-toggle {
    display: none;
  }
}
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero-description {
    max-width: 570px;
  }
  .hero-preview {
    width: 100%;
    max-width: 780px;
  }
  .hero {
    padding-block: 56px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-heading {
    gap: 32px;
  }
  .gallery {
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 18px;
  }
  .gallery-choice {
    padding: 13px;
    gap: 12px;
  }
  .contact-card {
    padding: 38px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 56px;
  }
  .header-content {
    min-height: 74px;
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    font-size: 22px;
  }
  .navigation {
    flex-basis: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 16px;
    font-size: 13px;
  }
  .header-content.menu-enhanced .navigation:not(.is-open) {
    display: none;
  }
  .hero {
    padding-block: 44px;
  }
  h1 {
    font-size: 42px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-note {
    font-size: 11px;
  }
  .strip-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .strip-content p {
    grid-column: 1 / -1;
  }
  .strip-content p br {
    display: none;
  }
  .strip-content strong {
    margin-left: 5px;
  }
  .strip-content > span {
    font-size: 13px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading > p {
    max-width: none;
    margin-top: 20px;
  }
  .feature-card {
    padding: 24px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .gallery-choice {
    padding: 13px 10px;
  }
  .gallery-choice strong {
    font-size: 13px;
  }
  .gallery-choice small {
    font-size: 11px;
  }
  .screen-panel {
    margin-bottom: 0;
  }
  .team-note {
    align-items: flex-start;
    padding: 18px;
  }
  .contact-card {
    flex-direction: column;
    align-items: stretch;
    padding: 30px;
    gap: 28px;
  }
  .contact-actions {
    min-width: 0;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 16px;
  }
  .site-footer p {
    flex-basis: 100%;
    order: 1;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 36px;
    letter-spacing: -1.2px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 25px;
  }
  .gallery-choice {
    gap: 9px;
  }
  .preview-hint {
    bottom: 8px;
    right: 8px;
    padding: 6px 9px;
    font-size: 10px;
  }
  .contact-card {
    padding: 26px;
  }
  .preview-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }
  .dialog-toolbar {
    padding: 12px;
    gap: 10px;
  }
  .dialog-toolbar h2 {
    font-size: 14px;
  }
  .dialog-note {
    padding: 12px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
