:root {
  --grid-minor: #d6e4f7;
  --grid-major: #a8c4ed;
  --ink: #111111;
  --brand: #16A34A;
  --brand-alt: #562796;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: "Fredoka", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, var(--grid-major) 0, var(--grid-major) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-major) 0, var(--grid-major) 1px, transparent 1px),
    linear-gradient(to right, var(--grid-minor) 0, var(--grid-minor) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-minor) 0, var(--grid-minor) 1px, transparent 1px);
  background-size:
    96px 96px,
    96px 96px,
    24px 24px,
    24px 24px;
  background-position: 0 0;
  min-height: 100vh;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.top-nav {
  position: absolute;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 10;
}

.top-nav__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.top-nav__link {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.top-nav__link:hover {
  color: var(--brand);
}

.masthead {
  text-align: center;
  margin-bottom: 3rem;
}

.brand-name {
  margin: 0;
  font-size: 5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.brand-tagline {
  margin: 0.75rem 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.highlight {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: 0 0.08em;
}

.highlight::before {
  content: "";
  position: absolute;
  left: -0.18em;
  right: -0.22em;
  top: 6%;
  bottom: -6%;
  background: linear-gradient(
    100deg,
    rgba(255, 245, 140, 0.4) 0%,
    rgba(255, 240, 115, 0.82) 7%,
    rgba(255, 238, 105, 0.78) 35%,
    rgba(255, 242, 120, 0.8) 70%,
    rgba(255, 245, 130, 0.78) 93%,
    rgba(255, 250, 170, 0.3) 100%
  );
  transform: rotate(-1.3deg) skewX(-6deg);
  border-radius: 0.45em 0.7em 0.35em 0.55em;
  mix-blend-mode: multiply;
  filter: blur(0.4px);
  z-index: -1;
}

.highlight::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.1em;
  top: 30%;
  bottom: 12%;
  background: rgba(255, 235, 95, 0.22);
  transform: rotate(-0.7deg) skewX(-3deg);
  border-radius: 0.4em 0.5em 0.3em 0.4em;
  mix-blend-mode: multiply;
  filter: blur(1.2px);
  z-index: -1;
}

.hero {
  display: flex;
  justify-content: center;
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-divider {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
}

.email-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--brand);
  color: #fff;
  padding: 0.55rem 1.2rem 0.55rem 0.85rem;
  border-radius: 0.7rem;
  border: none;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.email-badge:hover {
  background: #128a3d;
}

.email-badge.is-copied {
  background: var(--brand-alt);
}

.email-badge.is-copied:hover {
  background: var(--brand-alt);
}

.email-badge__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}

.email-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.email-badge__small {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.email-badge__large {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 1px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  color: #000;
  padding: 0.55rem 1.2rem 0.55rem 0.85rem;
  border-radius: 0.7rem;
  border: 2px solid #000;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.app-store-badge:hover {
  background: #000;
  color: #fff;
}

.app-store-badge__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.app-store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.app-store-badge__small {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.app-store-badge__large {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 1px;
}

.info-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  margin-top: 4rem;
}

.offering,
.how {
  text-align: left;
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
}

.how-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.frog-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 4rem;
}

.frog-img {
  width: 220px;
  height: auto;
  flex-shrink: 0;
}

.speech-bubble {
  position: relative;
  background: #2C2C2C;
  color: #FFFFFF;
  padding: 1.4rem 1.75rem;
  border-radius: 1.4rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 480px;
}

.speech-bubble p {
  margin: 0;
}

.speech-tail {
  position: absolute;
  left: -32px;
  top: 50%;
  width: 40px;
  height: auto;
  transform: translateY(-50%);
}

.testimonial {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 2px solid var(--brand-alt);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  max-width: 720px;
}

.testimonial-avatar {
  font-size: 4.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.testimonial-quote {
  margin: 0;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.testimonial-quote p {
  margin: 0;
}

.site-footer {
  margin-top: 4rem;
  text-align: center;
  font-size: 1.125rem;
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.site-footer a:hover {
  color: var(--brand-alt);
}

.how-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.how-list .emoji {
  font-size: 1.2em;
  line-height: 1;
}

.privacy-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.privacy-title {
  margin: 0;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.privacy-effective {
  margin: 0.5rem 0 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #555;
}

.privacy-content {
  padding: 0;
}

.privacy-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
}

.privacy-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.privacy-content li {
  margin-bottom: 0.4rem;
}

.privacy-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.privacy-content a:hover {
  color: var(--brand-alt);
}

@media print {
  .top-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 4rem 1.25rem 2.5rem;
  }

  .top-nav {
    top: 0.75rem;
  }

  .top-nav__inner {
    padding: 0 1.25rem;
  }

  .top-nav__link {
    font-size: 1.05rem;
  }

  .privacy-main {
    padding: 2.5rem 1.25rem 3rem;
  }

  .privacy-title {
    font-size: 2.25rem;
  }

  .privacy-content {
    padding: 0;
  }

  .masthead {
    margin-bottom: 2rem;
  }

  .brand-name {
    font-size: 3.25rem;
  }

  .brand-tagline {
    font-size: 1.125rem;
  }

  .cta-row {
    margin-top: 1.25rem;
  }

  .info-row {
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2.5rem;
  }

  .frog-intro {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
  }

  .frog-img {
    width: 160px;
  }

  .speech-bubble {
    max-width: 100%;
    width: 100%;
    padding: 1.2rem 1.4rem;
    font-size: 1.125rem;
  }

  .speech-tail {
    display: none;
  }

  .testimonial {
    margin-top: 3rem;
  }

  .testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .testimonial-avatar {
    font-size: 4rem;
  }

  .site-footer {
    margin-top: 3rem;
  }
}
