@charset "utf-8";

/* first, steal from Panic */

* {
  margin: 0;
  padding: 0;
  outline: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", ui-monospace, "Inconsolata", "Menlo", "Source Sans Pro",
    "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5em;
}

p {
  margin-top: 1.5em;
}

strong {
  font-weight: 600;
}

sup {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
  font-size: 0.75em;
  line-height: 0;
}

a {
  color: #0098ff;
  text-decoration: none;
}

a:visited {
  color: #005b99;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 20px;
  gap: 24px;
}

.header-logo {
  width: 120px;
  height: auto;
}

.header-wordmark {
  width: 140px;
  height: auto;
}

.header-tagline {
  width: 300px;
  height: auto;
}

.main {
  width: 960px;
  margin: 0 auto;
  /* outline: 1px solid green; */
}

.text-section {
  width: 540px;
  margin: 20px auto 0 auto;
  margin-top: 20px;
  margin-bottom: 60px;
  /* outline: 1px solid orange; */
}

.text-section p {
  margin-bottom: 16px;
}

.text-section h3 {
  font-size: 16px;
}

.text-section a img {
  display: block;
  margin: 0 auto;
}

.video-container {
  width: 960px;
  height: 540px;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: bisque;
}

/* App Lockup Styles */
.app-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.divider {
  text-align: center;
  font-family: ui-monospace, "Inconsolata", "Menlo", monospace;
  color: inherit;
  /* opacity: 0.5; */
  margin: 12px 0;
}

.app-lockup {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-header {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}

.app-logo {
  width: 512px;
  height: 512px;
  border-radius: 10px;
}

/* Fish row and icon button */
.fish-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.below-text-actions {
  display: flex;
  justify-content: center;
  margin: 16px 0 24px 0;
}

.app-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 4px;
}

.app-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.app-store-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
}

.app-store-link svg path {
  fill: #0098ff;
}

.app-store-link:visited svg path {
  fill: #005b99;
}

.download-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

.app-description {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.footer {
  text-align: center;
  font-size: 12px;
}

@media (prefers-color-scheme: light) {
  /* Light theme styles go here */

  body {
    color: #000;
    background:
      radial-gradient(circle 400px at 0% 100%, #CCE6D3, transparent),
      radial-gradient(circle 400px at 100% 100%, #C7D6AE, transparent),
      linear-gradient(to bottom, #80BCED, #F2C88B);
    background-attachment: fixed;
    min-height: 100vh;
  }
}

@media (prefers-color-scheme: dark) {
  /* Dark theme styles go here */

  body {
    color: #fff;
    background:
      radial-gradient(circle 400px at 0% 100%, #7E9E8A, transparent),
      radial-gradient(circle 400px at 100% 100%, #77866A, transparent),
      linear-gradient(to bottom, #356FB6, #986E40);
    background-attachment: fixed;
    min-height: 100vh;
  }

  /* header h1 {
    background-image: url(../images/vna-dark.svg);
  }

  header h2 {
    background-image: url(../images/tagline-dark.svg);
  } */

  a {
    color: #a4d6f7;
    text-decoration: none;
  }

  a:visited {
    color: #81afcd;
  }

  .app-store-link svg path {
    fill: #a4d6f7;
  }

  .app-store-link:visited svg path {
    fill: #81afcd;
  }
}

@media only screen and (max-width: 600px) {
  header {
    padding: 30px 20px 10px;
    gap: 16px;
  }

  .header-logo {
    width: 80px;
  }

  .header-wordmark {
    width: 100px;
  }

  .header-tagline {
    width: 250px;
  }

  .main {
    width: 100%;
  }

  .app-logo {
    width: 256px;
    height: 256px;
    border-radius: 10px;
  }

  .text-section {
    width: 90%;
  }

  .text-section ol {
    list-style: none;
    padding-left: 0;
    counter-reset: item;
  }

  .text-section ol li {
    counter-increment: item;
    padding-left: 1.5em;
    text-indent: -1.5em;
  }

  .text-section ol li::before {
    content: counter(item) ". ";
  }
}
