/* Color Palette Variables */
:root {
  --royal-blue: #0057B8;
  --orange-yellow: #FFA300;
  --vibrant-red: #E63946;
  --text-dark: #222;
  --white: #fff;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--royal-blue);
  color: var(--white);
}
header {
  background: var(--royal-blue);
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  color: var(--white);
}
.logo {
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
  /* If logo is SVG, you may want to tint it with --orange-yellow */
}
.subtitle {
  color: var(--orange-yellow);
  font-size: 1.1rem;
}
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: var(--royal-blue);
  padding: 2rem 1rem;
  gap: 2rem;
}
.hero-img {
  width: 220px;
  height: 440px;
  background: var(--vibrant-red);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  /* If figure/person is drawn, use --orange-yellow for person */
}
.hero-content {
  max-width: 400px;
}
.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: var(--vibrant-red);
  color: var(--white);
  border-radius: 32px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.cta:hover {
  background: #b71c2b; /* darker shade of vibrant red for hover */
}
.features {
  background: var(--white);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--royal-blue);
}
.features ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}
.features li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: var(--royal-blue);
}
.marketing {
  background: var(--orange-yellow);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--royal-blue);
}
.notify-form {
  margin-top: 1rem;
}
.notify-form input[type="email"] {
  padding: 0.5rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
  width: 220px;
  max-width: 90vw;
}
.notify-form button {
  padding: 0.5rem 1.5rem;
  margin-left: 0.5rem;
  background: var(--vibrant-red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.notify-form button:hover {
  background: #b71c2b;
}
footer {
  background: var(--royal-blue);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
}

/* Link Styles */
a, .footer-links a {
  color: var(--orange-yellow);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, .footer-links a:hover {
  color: var(--vibrant-red);
  text-decoration: underline;
}
.footer-links a {
  font-weight: 500;
  padding: 0 0.25em;
}

@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    padding: 1.5rem 0.5rem;
  }
  .hero-img {
    width: 160px;
    height: 320px;
  }
}

.app-images {
  background: var(--orange-yellow);
  padding: 2rem 1rem 1rem 1rem;
  color: var(--royal-blue);
  text-align: center;
}
.images-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: flex-start;
}
.app-img {
  width: 180px;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  background: #eee;
}
figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
figcaption {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--royal-blue);
  font-weight: 500;
}
@media (max-width: 900px) {
  .images-row {
    gap: 1rem;
  }
  .app-img {
    width: 120px;
    height: 240px;
  }
}
@media (max-width: 600px) {
  .images-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .app-img {
    width: 90vw;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1/2;
  }
}

.faq {
  background: var(--white);
  color: var(--royal-blue);
  padding: 2.5rem 1rem 2rem 1rem;
  margin-top: 2rem;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.faq-q {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}
.faq-quote {
  color: var(--vibrant-red);
  font-style: italic;
}
.faq-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: flex-start;
  margin: 0 0 1.5rem 0;
}
.faq-images figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq-desc {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.08rem;
}
.faq-desc ol {
  margin: 1rem 0 1rem 1.5rem;
  padding: 0;
}
.faq-desc li {
  margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
  .faq-images {
    gap: 1rem;
  }
}
@media (max-width: 700px) {
  .faq {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .faq-desc {
    font-size: 1rem;
  }
  .faq-images {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute;
  left: 0; top: 0;
  background: var(--orange-yellow);
  color: var(--royal-blue);
  padding: .75em 1.25em;
  z-index: 200;
  transform: translateY(-120%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Ensure sufficient color contrast for buttons/focus */
.cta, .notify-form button {
  box-shadow: 0 2px 8px rgba(0,0,0,0.09);
  outline: none;
}
.cta:focus, .notify-form button:focus {
  outline: 2px dotted var(--royal-blue);
  outline-offset: 2px;
}

/* Apple badge style sample */
.appstore-badge img {
  height: 54px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.16));
  margin-top: 1.2rem;
}

/* Section padding consistency */
main > section {
  margin-bottom: 2.75rem;
}
.hero-content .trust {
  font-size: 0.98rem;
  color: var(--white);
  margin: .8rem 0 0 0;
  opacity: 0.84;
}
