/* BVRDE site styles */

:root {
  --ink: #2b3442;
  --text: #474d57;
  --muted: #6f7580;
  --line: #dfe2e6;
  --soft: #f3f4f6;
  --card: #ffffff;
  --header: #7a7e86;
  --accent: #4f6179;
  --accent-dark: #3e4d61;
  --link: #3f5f86;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(30, 40, 55, .06), 0 4px 14px rgba(30, 40, 55, .06);
  --wrap: 1040px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: 1.45rem; font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--link); text-underline-offset: .15em; }
a:hover { color: var(--accent-dark); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Header */

.site-header {
  background: linear-gradient(#858990, var(--header));
  position: relative;
  z-index: 2;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 90px;
}
.logo { display: block; margin-block: -2px -26px; line-height: 0; }
.logo img { width: 238px; }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background-color .15s;
}
.site-nav a:hover { background: rgba(40, 50, 65, .35); color: #fff; }
.site-nav a[aria-current="page"] { background: rgba(40, 50, 65, .45); }

/* Grey band below the header (home hero and page titles) */

.band {
  position: relative;
  background: linear-gradient(#e3e4e7, #f2f3f5);
  border-bottom: 1px solid var(--line);
}
.band::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 136px;
  height: 30px;
  background: url("img/splash.clouds.png") no-repeat;
}
.page-title .wrap { padding-block: 44px 34px; text-align: center; }
.page-title h1 { margin: 0; font-weight: 500; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr minmax(0, 360px);
  gap: 32px 48px;
  align-items: center;
  padding-block: 64px 56px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 2.7rem); font-weight: 700; margin-bottom: .35em; }
.hero .lead { font-size: 1.2rem; color: var(--ink); max-width: 30em; margin-bottom: 1.5em; }

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 24px;
}
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 12px;
  height: 7px;
  border: solid var(--accent);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

/* Cards and download */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.download-card { text-align: center; }
.download-card p { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(#5b6d85, var(--accent));
  color: #fff;
  border: 1px solid var(--accent-dark);
  border-radius: 8px;
  padding: 12px 26px;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 6px rgba(40, 50, 65, .18);
  transition: background .15s;
}
.button:hover { background: var(--accent-dark); color: #fff; }
.button svg { width: 20px; height: 20px; }

.notice {
  border-left: 4px solid #a9b1bc;
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  color: var(--ink);
}
.notice p:last-child { margin: 0; }

/* Main content */

main { padding-block: 48px 64px; }
.section + .section { margin-top: 56px; }
.prose { max-width: 46em; }
.intro { font-size: 1.08rem; max-width: 48em; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.spots { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 36px 48px; }
.spot { display: flex; gap: 18px; align-items: flex-start; }
.spot p { margin: 0; }
.icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8ebef;
  color: var(--accent);
}
.icon svg { width: 26px; height: 26px; }

blockquote { margin: 0; display: flex; flex-direction: column; }
blockquote p { flex: 1; font-style: italic; color: var(--ink); }
blockquote p::before { content: "\201C"; }
blockquote p::after { content: "\201D"; }
blockquote footer { color: var(--muted); font-size: .92rem; }
blockquote footer::before { content: "\2014\00a0"; }

.steps { display: block; margin: 0 auto 56px; }
.more { margin-top: 40px; }

.features { display: grid; gap: 24px; }
.feature { display: flex; gap: 20px; align-items: flex-start; }
.feature .sprite {
  margin-top: 2px;
  flex: none;
  width: 60px;
  height: 61px;
  background: url("img/ammens.s.png") no-repeat;
}
.sprite.files { background-position: 0 0; }
.sprite.sync { background-position: -58px 0; }
.sprite.secure { background-position: -120px 0; }
.sprite.mobile { background-position: -180px 0; }
.feature p:last-child { margin-bottom: 0; }

.checklist { list-style: none; margin: 0; padding: 0; columns: 2 300px; column-gap: 40px; }
.checklist li { break-inside: avoid; padding: 7px 0 7px 30px; position: relative; border-bottom: 1px solid var(--soft); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1em;
  width: 12px;
  height: 7px;
  border: solid var(--accent);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.shot { padding: 0; margin: 0; overflow: hidden; display: flex; flex-direction: column; }
.shot a { display: block; background: var(--soft); border-bottom: 1px solid var(--line); line-height: 0; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; transition: opacity .15s; }
.shot a:hover img { opacity: .85; }
.shot div { padding: 18px 20px 20px; }
.shot p { margin: 0; }

.lightbox {
  border: 0;
  padding: 0;
  max-width: min(1200px, 94vw);
  max-height: 94vh;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 25, 32, .82); }
.lightbox img { display: block; max-height: 86vh; width: auto; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); cursor: zoom-out; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }

.links li { margin-bottom: .5em; }

pre { white-space: pre-wrap; background: var(--soft); border-radius: 8px; padding: 14px 18px; font-size: .9rem; }

/* Footer */

.site-footer { background: #e6e7e9; border-top: 1px solid #d6d8dc; font-size: .92rem; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: 36px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 56px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 3px 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer p { margin: 0; color: var(--muted); max-width: 22em; }

/* Narrow screens */

@media (max-width: 760px) {
  .site-header .wrap { justify-content: center; padding-block: 12px; }
  .logo { margin-block: 0; }
  .logo img { width: 180px; }
  .site-nav { justify-content: center; }
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px; }
  .band::after { display: none; }
  main { padding-block: 32px 48px; }
}

.prose h2 { margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
