/* MVdW-Software apps site, in the MVdW-Software style (mvdw-site): blue header gradient with the
   MVdW mark, two-tone dark footer, Source Sans. Fonts are self-hosted; no third-party origins. */
@font-face {
  font-family: 'Source Sans 3';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-sans-3-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-sans-3-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/source-sans-3-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Code Pro';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-code-pro-400.woff2') format('woff2');
}

:root {
  --primary: #284cb5;
  --primary-dark: #1f3b8c;
  --text: #333;
  --muted: #5b6573;
  --bg: #f4f4f4;
  --line: #dfe3ea;
  --radius: 6px;
  --max: 70rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font:
    400 1.0625rem/1.65 'Source Sans 3',
    system-ui,
    sans-serif;
  color: var(--text);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1 0 auto;
}
a {
  color: var(--primary);
}
code,
pre {
  font-family: 'Source Code Pro', ui-monospace, monospace;
  font-size: 0.92em;
}
pre {
  background: #0f1b33;
  color: #e6ecff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  line-height: 1.5;
}
:not(pre) > code {
  background: var(--bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  color: #1d2733;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
}
h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 0.75rem;
}
h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}
th,
td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--bg);
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.small {
  font-size: 0.875rem;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.5rem;
  z-index: 10;
}

.site-header {
  color: #fff;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  border-top: 5px solid var(--primary-dark);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 75px;
  flex-wrap: wrap;
}
.logo {
  display: block;
  width: 55px;
  height: 55px;
  background: url('mvdw-logo.svg') left center / contain no-repeat;
}
.logo:hover {
  opacity: 0.75;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-right: auto;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-for {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.nb {
  white-space: nowrap;
}
.brand-name,
.brand-for {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-nav {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 70px;
  padding: 0 0.9rem;
  transition: opacity 0.2s;
}
.site-nav a:hover {
  opacity: 0.75;
  background: #3a60c8;
}
.site-nav a.active {
  background: #3f66d0;
  border-bottom: 3px solid #17306f;
}
.site-nav .signin {
  line-height: 1.2;
  align-self: center;
  margin-left: 0.5rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
}
.lang {
  position: relative;
}
.lang summary {
  cursor: pointer;
  list-style: none;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary::after {
  content: ' ▾';
}
.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 9rem;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.lang li a {
  display: block;
  padding: 0.4rem 1rem;
  color: var(--text);
  text-decoration: none;
}
.lang li a:hover {
  background: var(--bg);
}
.lang li a[aria-current='true'] {
  font-weight: 700;
  color: var(--primary);
}

.hero {
  background: var(--bg);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}
.hero p.lead {
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 42rem;
}
.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
}
.btn-outline {
  box-shadow: inset 0 0 0 1px var(--primary);
  color: var(--primary);
}
.section {
  padding: 3rem 0;
}
.section.alt {
  background: var(--bg);
}
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.card h3 {
  margin-top: 0;
  color: var(--primary);
}
.prose {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.notice {
  border-left: 4px solid #d39e00;
  background: #fff8e1;
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.site-footer {
  margin-top: 3rem;
  color: #a5bacf;
  font-size: 0.95rem;
  font-weight: 300;
}
.site-footer p {
  margin: 0;
}
.site-footer .company {
  background: #273f5b;
  padding: 1.5rem 0;
}
.site-footer .footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer .name {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}
.site-footer .owner {
  font-size: 1.1rem;
}
.site-footer a {
  color: #a5bacf;
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}
.site-footer .social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 2rem;
}
.site-footer .copyright {
  background: #20344a;
  text-align: center;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
}

.app {
  margin: 2rem 0 3rem;
}
.app-head {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center;
}
.app-head h3 {
  margin-top: 0;
  font-size: 1.8rem;
  color: var(--primary);
}
figure {
  margin: 0;
}
figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.video video,
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #1f3b8c;
}
.shots {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.menu-toggle,
.hamburger {
  display: none;
}
.prose table {
  display: block;
  overflow-x: auto;
}
img,
video {
  max-width: 100%;
}

@media (max-width: 860px) {
  .site-header .bar {
    min-height: 64px;
    gap: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  .logo {
    width: 36px;
    height: 36px;
  }
  .brand {
    font-size: 0.95rem;
    margin-right: 0;
    flex: 1 1 0;
    min-width: 0;
  }
  .brand-name,
  .brand-for {
    white-space: normal;
    overflow: visible;
  }
  .brand-for {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 1;
    text-transform: none;
    letter-spacing: 0;
  }
  .lang summary {
    padding: 0.35rem 0.55rem;
  }
  .lang {
    order: 2;
  }
  .hamburger {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
  }
  .hamburger span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition:
      transform 0.2s,
      opacity 0.2s;
  }
  .menu-toggle {
    position: absolute;
    display: block;
    opacity: 0;
    width: 1px;
    height: 1px;
  }
  .menu-toggle:focus-visible + .hamburger {
    outline: 3px solid #fff;
    outline-offset: 2px;
  }
  .menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .site-nav {
    order: 4;
    display: none;
    flex-direction: column;
    width: calc(100% + 2.5rem);
    margin: 0 -1.25rem;
    padding: 0.25rem 0 0.75rem;
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  .menu-toggle:checked ~ .site-nav {
    display: flex;
  }
  .site-nav a {
    line-height: 48px;
    padding: 0 1.25rem;
  }
  .site-nav a.active {
    border-bottom: 0;
    border-left: 4px solid #fff;
  }
  .site-nav .signin {
    align-self: flex-start;
    margin: 0.5rem 1.25rem 0;
    line-height: 1.2;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }
  h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
  }
  .hero {
    padding: 2rem 0 2.25rem;
  }
  .hero p.lead {
    font-size: 1.12rem;
  }
  .section {
    padding: 2rem 0;
  }
  .prose {
    padding: 2rem 1.25rem;
  }
  .app {
    margin: 1.5rem 0 2.25rem;
  }
  .app-head,
  .shots {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .app-head h3 {
    font-size: 1.5rem;
  }
  .site-footer .footer-grid {
    flex-direction: column;
    gap: 1.25rem;
  }
  .site-footer nav {
    align-items: flex-start;
    gap: 0;
  }
  .site-footer nav a {
    padding: 0.45rem 0;
  }
  .site-footer .social-links {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .actions {
    flex-direction: column;
  }
  .actions .btn {
    text-align: center;
  }
  .price {
    font-size: 2rem;
  }
}

.status {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
h3 .status {
  margin: 0 0 0 0.5rem;
}
.status-pending {
  background: #fff3cd;
  color: #7a5a00;
}
.status-released {
  background: #d9f2e3;
  color: #14532d;
}
.app-cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.app-cols h2 {
  margin-top: 0;
}
.ticks {
  padding-left: 1.25rem;
}
.ticks li {
  margin-bottom: 0.6rem;
}
.section.alt .video {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
}
.video video {
  display: block;
}
@media (max-width: 760px) {
  .app-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 400px) {
  .site-header .bar {
    gap: 0.5rem;
  }
  .logo {
    width: 30px;
    height: 30px;
  }
  .brand {
    font-size: 0.85rem;
  }
  .brand-for {
    font-size: 0.8rem;
  }
  .lang summary::after {
    content: none;
  }
  .hamburger {
    width: 40px;
    height: 40px;
    padding: 0 8px;
  }
}
