:root {
  --ink: #17202a;
  --muted: #52606d;
  --line: #c9d1d9;
  --paper: #ffffff;
  --soft: #eef2f4;
  --accent: #2c7a7b;
  --accent-strong: #d7354a;
  --gold: #f2c14e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand img {
  display: block;
  width: 136px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 15px;
  font-weight: 650;
}

nav a,
footer a {
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  text-decoration: underline;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 36px;
  align-items: center;
  padding: 44px 0 36px;
}

.hero-copy,
.page-intro {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.95;
}

.intro-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}

.intro-heading h1 {
  margin-bottom: 18px;
}

.appstore-mark {
  display: block;
  width: clamp(82px, 12vw, 132px);
  height: auto;
  flex: 0 0 auto;
}

.support-icon {
  display: block;
  width: clamp(164px, 24vw, 264px);
  height: auto;
  flex: 0 0 auto;
}

.appstore-product {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.appstore-product a {
  color: var(--accent);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.appstore-product a:hover {
  text-decoration: underline;
}

.app-name {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 36px;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  font-size: 32px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
}

.support-tagline {
  color: var(--accent);
  font-size: 22px;
  font-weight: 750;
}

.actions,
.email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.email-cta {
  display: grid;
  gap: 12px;
}

.email-cta p {
  margin: 0;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.callout {
  margin: 24px 0;
  padding: 18px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--soft);
}

.callout h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.callout p {
  margin-bottom: 0;
}

.button.primary,
button {
  color: #fff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button.secondary {
  background: var(--paper);
}

.placeholder,
.product-shot {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-align: center;
  overflow: hidden;
}

.placeholder {
  border-style: dashed;
  background: var(--soft);
}

.product-shot {
  margin: 0;
  gap: 14px;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-shot figcaption {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.wide {
  min-height: 420px;
}

.band,
.showcase,
.signup,
.contact,
.policy,
.about-layout,
.support-list {
  margin: 34px 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
}

.feature-grid,
.screenshot-grid,
.support-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.support-list article,
.screenshot-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.showcase,
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.feature-list ul {
  padding-left: 22px;
}

.screenshot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0;
}

.screenshot-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.screenshot-card .product-shot {
  min-height: 0;
  padding: 0;
  border: 0;
}

.screenshot-card h3,
.screenshot-card p {
  margin-bottom: 0;
}

.wide-card {
  grid-column: span 2;
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: center;
  background: #f7f9fa;
}

.youtube-banner {
  display: grid;
  place-items: center;
  margin: 34px auto 0;
}

.youtube-banner img {
  display: block;
  width: 100%;
  max-width: 1120px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.signup-page {
  max-width: 820px;
}

.signup-page h1 {
  margin-bottom: 16px;
}

.signup-page .button {
  margin-top: 10px;
}

.embedded-signup,
.return-panel {
  margin: 34px 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.embedded-signup {
  min-height: 460px;
}

.return-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.return-panel p {
  margin: 0;
}

.midi-box-feature,
.midi-box-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
  margin: 34px 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.midi-box-poster {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.midi-box-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.midi-box-feature {
  grid-template-columns: 1fr;
}

.midi-box-feature-copy,
.midi-box-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.midi-box-feature-copy {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.midi-box-feature-icon,
.midi-box-app-icon {
  display: block;
  width: clamp(88px, 12vw, 148px);
  height: auto;
}

.midi-box-copy .intro-heading h1 {
  margin-bottom: 0;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

input {
  min-width: 0;
  flex: 1;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.page-intro {
  padding: 54px 0 24px;
}

.about-media {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(100%, 420px);
}

.about-logo {
  width: 100%;
  height: auto;
}

.about-media .appstore-mark {
  width: min(38%, 150px);
}

.about-media .appstore-product {
  position: relative;
  width: 100%;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-align: center;
}

.coming-soon {
  position: absolute;
  top: -18px;
  left: 18px;
  margin: 0;
  padding: 0;
  color: #9a3a00;
  background: transparent;
  font-family: "Noteworthy", "Bradley Hand", cursive;
  font-size: 24px;
  font-weight: 850;
}

.support-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.support-list article {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
}

.support-list article:first-child {
  grid-template-rows: auto auto auto 1fr;
}

.support-list h2,
.support-list p {
  margin-bottom: 0;
}

.support-list .button {
  justify-self: start;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.app-store-frame {
  display: grid;
  place-items: center;
  background: var(--soft);
}

.app-store-frame img {
  width: min(42%, 170px);
  height: auto;
}

.about-sean {
  margin-top: 28px;
}

.policy {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 40px auto 0;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header,
  footer,
  .signup,
  .return-panel {
    display: block;
  }

  nav {
    margin-top: 16px;
  }

  .hero,
  .showcase,
  .about-layout,
  .midi-box-feature,
  .midi-box-hero,
  .feature-grid,
  .screenshot-grid,
  .support-list {
    grid-template-columns: 1fr;
  }

  .midi-box-feature-copy {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 48px;
  }

  .hero {
    min-height: auto;
  }

  .intro-heading {
    align-items: flex-start;
    gap: 14px;
  }

  .appstore-mark {
    width: 82px;
  }

  .support-icon {
    width: 164px;
  }

  .wide-card {
    grid-column: span 1;
  }

  footer a {
    display: inline-block;
    margin-top: 8px;
  }
}
