@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

body {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  background: #fff;
}

/* Typography */

h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 0;
}

h3 {
  font-size: 1.1rem;
}

h4 {
  font-size: 1rem;
  margin-top: 1.5rem;
  color: #444;
}

p {
  font-size: 1rem;
  color: #444;
}

a {
  color: #0FA1DB;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Hero Layout */

.hero {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0;
  padding-top: 2rem;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  justify-content: start;
  text-align: start;
  gap: 0.5rem;
}

.tagline {
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0;
  padding-bottom: 1rem;
}

#zoelog-logo {
  height: 10rem;
  width: auto;
}

#zoelog-title {
  height: auto;
  width: 30rem;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.store-button {
  height: 3rem;
  width: auto;
}

/* Sections */

section {
  padding: 3rem 1.5rem;
  text-align: justify;
  display: flex;
  justify-content: center;
}

.section-container {
  max-width: 45rem;
  width: 100%;
}

section:nth-child(even) {
  background: #f8f8f8;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Intro */

.intro .section-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 60rem;
}

.intro p {
  font-size: 1.2rem;
}

/* Phone Mockup - Base: 1240x2500 bezel, 1082x2340 screen */
.phone-mockup {
  float: left;
  padding-right: 2rem;
  padding-bottom: 1rem;
  --phone-scale: 0.3;
}

.phone-frame {
  position: relative;
  width: calc(1240px * var(--phone-scale));
  height: calc(2500px * var(--phone-scale));
  flex-shrink: 0;
}

.phone-bezel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.phone-frame video {
  position: absolute;
  top: calc(79px * var(--phone-scale));
  left: calc(79px * var(--phone-scale));
  width: calc(1082px * var(--phone-scale));
  height: calc(2340px * var(--phone-scale));
  object-fit: cover;
  display: block;
  z-index: 1;
  border-radius: calc(40px * var(--phone-scale));
}

/* Android overrides */

.phone-mockup.platform-android .phone-frame {
  width: calc(1216px * var(--phone-scale));
  height: calc(2562px * var(--phone-scale));
}

.phone-mockup.platform-android .phone-frame video {
  top: calc(68px * var(--phone-scale));
  left: calc(61px * var(--phone-scale));
  width: calc(1082px * var(--phone-scale));
  height: calc(2402px * var(--phone-scale));
  border-radius: calc(28px * var(--phone-scale));
}

/* What's New */

.whats-new {
  max-width: 40rem;
  margin: 0 auto;
}

.feature-item {
  margin-bottom: 1.5rem;
}

.feature-item h3 {
  margin-bottom: 0.5rem;
}

.feature-item p {
  margin: 0;
  color: #444;
}

/* Features List */
.features-grid {
  max-width: 40rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

/* Get Started CTA */
.cta {
  max-width: 45em;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Integrations */

.integration-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 0.75rem;
}

/* FAQ */

.faq {
  max-width: 40rem;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 0.75rem;
}

.faq-item[open] {
  border-bottom: 1px solid #e0e0e0;
}

.faq-item summary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.1rem;
  text-align: start;
  line-height: 1.2;
  cursor: pointer;
  padding: 0.5rem 1.5rem 0.5rem 0;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  font-style: normal;
  color: #666;
  position: absolute;
  right: 0;
  top: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p:first-of-type {
  margin-top: 0.5rem;
}

.faq-item li {
  margin: 0 0 0.75rem;
  padding-left: 1.5rem;
}

.faq-sub-header {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

.inline-icon {
  height: 1.1rem;
  width: auto;
  vertical-align: middle;
  margin: 0 0.2em;
  transform: translateY(-0.1em) scale(1.1);
}

.faq-indent {
  margin-left: 1.5rem;
}

.faq-image {
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0;
}

/* Contact Form */
#contact {
  justify-content: center;
}

.contact-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-subheader {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.help-form {
  text-align: center;
}

.help-form input,
.help-form textarea {
  width: 100%;
  max-width: 24rem;
  margin-bottom: 12px;
  padding: 0.5rem 0.6rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  box-sizing: border-box;
}

.help-form input:focus,
.help-form textarea:focus {
  outline: none;
  border-color: #0FA1DB;
}

.help-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.help-form .submit {
  width: 30%;
  font-weight: 600;
  color: #fff;
  background: #0FA1DB;
  cursor: pointer;
  transition: opacity 0.15s;
}

.submit:hover {
  opacity: 0.85;
}

.submit:active {
  opacity: 1;
}

.submit-disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
}

#form-messages {
  text-align: center;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

#form-messages.complete {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
}

#form-messages.error {
  display: block;
  background: #ffebee;
  color: #c62828;
}

.grecaptcha-badge {
  display: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  /*color: #666;*/
}

footer p {
  margin: 0 0 8px;
}

/* Responsive */

@media (max-width: 68em) {

  .hero-layout {
    gap: 0.75rem;
  }

  #zoelog-logo {
    height: 7rem;
  }

  #zoelog-title {
    width: 21rem;
  }

  .intro .section-container {
    max-width: 45rem;
  }

  .phone-mockup {
    --phone-scale: 0.20;
  }
}

@media (max-width: 52em) {
  .phone-mockup {
    --phone-scale: 0.18;
  }

  section {
    padding: 1.5rem 3rem;
  }
}

@media (max-width: 40em) {

  #zoelog-logo {
    height: 6rem;
  }

  #zoelog-title {
    width: 18rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .hero-layout {
    gap: 0.6rem;
  }

  .intro .section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .phone-mockup {
    float: none;
    padding-right: 0rem;
    padding-bottom: 2rem;
  }

  .integration {
    text-align: center;
  }

  .integration p {
    text-align: justify;
  }

  .integration-logo {
    margin-top: 1em;
    margin-bottom: 1em;
  }

}

@media (max-width: 28em) {

  #zoelog-logo {
    height: auto;
    width: 100%;
    max-width: 13rem;
    min-width: 3rem;
  }

  #zoelog-title {
    width: 100%;
    max-width: 15rem;
    min-width: 3rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .intro p {
    font-size: 1rem;
  }

  .hero {
    padding: 0.5rem 1.5rem 0rem;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0rem 0rem 1rem;
  }

  .store-buttons {
    gap: 0.75rem;
  }

  .cta {
    margin: 0em 1em 1em;
  }

  .cta p {
    font-size: 1.0rem;
    margin-bottom: 1rem;
  }

  section {
    padding: 1.5rem;
  }
}

@media (max-width: 24em) {
  section {
    padding: 1rem 1.5rem;
  }

  section:nth-child(even) {
    background: none;
  }
}