/* Local Dad'sWay support and privacy preview. Do not publish or deploy. */

:root {
  --navy: #27498F;
  --orange: #FF6A00;
  --ink: #111111;
  --muted: #5A5A5A;
  --line: rgba(39, 73, 143, 0.16);
  --paper: #ffffff;
  --bg: #ffffff;
  --max: 880px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

img { max-width: 100%; height: auto; border: 0; }

a {
  color: var(--orange);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus { left: 8px; top: 8px; }

header.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header-inner,
.wrap,
.feature-inner,
footer .footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo-mark {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  gap: 4px;
}

.logo-mark img {
  width: 220px;
  height: auto;
  display: block;
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

nav.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
}

nav.site-nav a:hover,
nav.site-nav a:focus {
  color: var(--orange);
  text-decoration: underline;
}

.hero {
  padding: 32px 0 24px;
  text-align: center;
  /* Fill the first screen so the first phone peeks about 20% at the bottom. */
  min-height: calc(100vh - 89px - 153px - 36px);
}

.hero-icon {
  width: 144px;
  height: 144px;
  display: block;
  margin: 0 auto 16px;
  border-radius: 22.37%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 14px 28px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.hero h1 {
  color: var(--navy);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 10px;
}

.hero .tagline {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--muted);
}

.intro {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}

.hero .btn-download {
  margin-top: 24px;
}

.features {
  padding: 0 0 16px;
}

.feature:first-child {
  padding-top: 16px;
}

.feature {
  padding: 50px 0;
}

.feature-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 1120px;
}

.feature-phone {
  margin: 0;
  width: auto;
  flex: 0 0 auto;
  padding: 16px 28px 48px;
  box-sizing: content-box;
}

.feature-phone img {
  width: min(300px, 78vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.22));
}

.feature-copy {
  max-width: 420px;
  text-align: center;
}

.feature-copy h2 {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: 32px;
  margin: 0 0 14px;
}

.nowrap { white-space: nowrap; }

.feature-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .has-reveal .feature[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .has-reveal .feature[data-reveal].is-visible,
  .has-reveal .feature[data-reveal]:first-of-type {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  .feature {
    padding: 66px 0;
  }

  .feature-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 88px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .feature-phone-right .feature-inner {
    flex-direction: row-reverse;
  }

  .feature-phone {
    padding: 0 36px;
  }

  .feature-phone img {
    width: 340px;
  }

  .feature-copy {
    text-align: left;
    flex: 0 1 420px;
  }

  .feature-copy h2 {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .feature-copy p {
    font-size: 20px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .hero {
    min-height: calc(100vh - 89px - 144px - 36px);
  }
}

@media (min-width: 1200px) {
  .feature-phone img {
    width: 360px;
  }

  .feature-copy h2 {
    font-size: 44px;
  }
}

.btn-download {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  padding: 16px 28px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.btn-download:hover {
  filter: brightness(1.05);
}

.legal-section {
  padding-top: 40px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
}

.legal-section .wrap {
  max-width: var(--max);
}

h1, h2 {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

h2 {
  font-size: 26px;
  margin: 0 0 16px;
}

.legal-section p {
  margin: 0 0 14px;
}

.effective {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px !important;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

footer a { color: var(--navy); }

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 16px;
    min-height: calc(100vh - 123px - 121px - 32px);
  }

  .feature:first-child {
    padding-top: 12px;
  }

  .feature:first-child .feature-phone {
    padding-top: 0;
  }

  .header-inner .logo-mark img {
    width: 200px;
  }

  .hero-icon {
    width: 120px;
    height: 120px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero .tagline {
    font-size: 18px;
  }

  .intro { font-size: 17px; }

  .feature {
    padding: 40px 0;
  }

  .feature-copy h2 {
    font-size: 28px;
  }

  h2 { font-size: 22px; }
}
