/* Colours from the app's seed colour #e4572e, as in images/favicon.svg. */
:root {
  --vermilion: #e4572e;
  --vermilion-deep: #b53d18;
  --vermilion-text: #c9441d;
  --ember: #3d1a10;
  --ember-deep: #190a06;
  --ink: #2a120b;
  --peach: #ffb089;
  --peach-light: #ffc9ad;
}

/* Below Bulma's desktop width the container has no gutter and its columns overflow the viewport. */
@media screen and (max-width: 1023px) {
  .hero-section .container,
  .features-section .container,
  .screenshots-section .container,
  .cta-section .container,
  .footer-section .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.navbar-brand .navbar-item:first-child {
  display: inline-flex;
  align-items: center;
}

.navbar-brand .navbar-item:first-child::before {
  content: "";
  width: 1.9rem;
  height: 1.9rem;
  margin-right: 0.65rem;
  background: url("../images/favicon.svg") center / contain no-repeat;
}

.hero-section {
  background: linear-gradient(135deg, var(--ember) 0%, var(--ember-deep) 100%);
}

.hero-section::before {
  background: radial-gradient(ellipse, rgba(228, 87, 46, 0.3) 0%, transparent 70%);
}

.hero-section::after {
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
}

.store-button {
  background: var(--peach);
  border-color: transparent;
  color: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.store-button:hover {
  background: var(--peach-light);
  border-color: transparent;
  color: var(--ink);
}

/* Not released yet: a dashed outline, like a cut line, in place of a button. */
.store-button.is-coming-soon,
.store-button.is-coming-soon:hover,
.cta-button.is-coming-soon {
  background: transparent;
  border: 2px dashed rgba(255, 176, 137, 0.6);
  color: var(--peach);
  opacity: 1;
}

.section-tag {
  background-image: linear-gradient(135deg, var(--vermilion-text) 0%, var(--vermilion-deep) 100%);
}

.section-title,
.feature-box h3 {
  color: var(--ink);
}

.feature-icon {
  background: linear-gradient(135deg, var(--vermilion) 0%, var(--vermilion-deep) 100%);
  box-shadow: 0 10px 30px -10px rgba(228, 87, 46, 0.6);
}

.cta-section {
  background: linear-gradient(135deg, var(--ember) 0%, var(--ember-deep) 100%);
}

.cta-section::before {
  background: radial-gradient(ellipse, rgba(228, 87, 46, 0.25) 0%, transparent 60%);
}

.cta-button.is-fdroid {
  background: var(--peach);
  color: var(--ink);
}

.cta-button.is-fdroid:hover {
  background: var(--peach-light);
  box-shadow: 0 15px 40px rgba(255, 176, 137, 0.3);
  color: var(--ink);
}

.footer-section {
  background: #120704;
}

.legal-content a {
  color: var(--vermilion-deep);
}

.legal-content a:hover {
  color: var(--ink);
}

.legal-content .callout,
.legal-content .art21 {
  border-left-color: var(--vermilion);
  background: #fff5ef;
}

.button.is-primary,
.button.is-primary:hover,
.button.is-primary:focus {
  background-color: var(--vermilion-deep);
  color: #ffffff;
}

.store-button:focus-visible,
.cta-button:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 3px;
}
