/* headtune.com: dark like the app, in the logo's orange. System fonts only, so the site asks
   nothing of anyone else's servers. */

:root {
  --background: #0a0a0b;
  --card: #18181b;
  --line: #2a2a2e;
  --text: #f5f2ec;
  --muted: #a8a49c;
  --orange: #ff5a36;
  --navy: #12283a;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and footer */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

header.site .brand img.icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

header.site .brand img.wordmark {
  height: 22px;
}

header.site nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

header.site nav a {
  color: var(--muted);
}

footer.site {
  margin-top: 80px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

footer.site nav {
  display: flex;
  gap: 20px;
}

footer.site a {
  color: var(--muted);
}

/* Home */

.hero {
  text-align: center;
  padding: 56px 0 32px;
}

.hero img.icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  box-shadow: 0 18px 50px rgba(255, 90, 54, 0.25);
}

.hero h1 {
  margin: 28px auto 14px;
  max-width: 720px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero p.lead {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 21px);
}

/* Google's badge, cropped to the badge itself: the gap is its clear space. As tall as the pill. */
.get {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.get img {
  display: block;
  width: auto;
  height: 53px;
}

.soon {
  display: inline-block;
  padding: 12px 22px;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
}

h2 {
  margin: 72px 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p.section-lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 640px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.pro {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
}

.plans ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.plans .price {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.plans .card.pro-plan {
  border: 1.5px solid var(--orange);
}

/* Pages of text: privacy, support */

article.text {
  max-width: 700px;
  padding: 32px 0 0;
}

article.text h1 {
  margin: 0 0 6px;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.01em;
}

article.text .updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
}

article.text h2 {
  margin: 40px 0 8px;
  font-size: 22px;
}

article.text p,
article.text li {
  color: #d9d5cd;
}

article.text .contact {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 19px;
}

/* Phones */

@media (max-width: 760px) {
  .features,
  .plans {
    grid-template-columns: 1fr;
  }

  .shots {
    grid-template-columns: repeat(4, 70%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .shots img {
    scroll-snap-align: start;
  }

  header.site .brand img.wordmark {
    display: none;
  }
}
