/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* === GOOGLE DOCS CHROME === */
html {
  background: #f8f9fa;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 400;
  color: #000;
  line-height: 1.15;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === PAGE / DOCUMENT === */
.gdoc-canvas {
  display: flex;
  justify-content: center;
  padding: 16px;
  min-height: 100vh;
}

.gdoc-page {
  background: #fff;
  width: 100%;
  max-width: 816px;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.14);
  border-radius: 2px;
  padding: 10px 72px 72px 72px;
}

/* === CONTENT TYPOGRAPHY === */
.doc p {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 11.5pt;
  color: #000;
  line-height: 1.15;
  padding-top: 12pt;
  padding-bottom: 12pt;
  orphans: 2;
  widows: 2;
  text-align: left;
}

.doc .center { text-align: center; }

.doc p.center-note {
  font-size: 10pt;
}

.doc .empty {
  padding-top: 0;
  padding-bottom: 0;
  height: 11pt;
}

.doc hr {
  border: none;
  border-top: 1px solid #000;
  margin: 0;
}

.doc b, .doc strong { font-weight: 700; }
.doc .xbold { font-weight: 900; }
.doc em, .doc i { font-style: italic; }
.doc .underline { text-decoration: underline; text-decoration-skip-ink: none; -webkit-text-decoration-skip: none; }
.doc .highlight { background-color: #ffff00; }
.doc .red { color: #ff0000; }
.doc .breathe { font-weight: 400; }

/* === HEADLINE BLOCK (V4 Anvil) === */
.doc .headline-block p {
  font-size: 15pt;
  font-weight: 400;
  line-height: 1.25;
  padding-top: 8pt;
  padding-bottom: 8pt;
}
.doc .headline-block .kicker {
  font-weight: 900;
  font-size: 18pt;
  padding-top: 16pt;
}

/* === ATF LARGE HEADLINE === */
.doc .atf-headline {
  font-size: 22.5pt;
  font-weight: 400;
  line-height: 1.25;
  padding-top: 0;
  padding-bottom: 12pt;
}

/* === SUBHEAD / LEDE === */
.doc .lede {
  font-size: 13pt;
  font-style: italic;
  line-height: 1.55;
  padding-bottom: 18pt;
}

/* === IMAGES === */
.doc .img-wrap {
  text-align: center;
  padding-top: 12pt;
  padding-bottom: 12pt;
}

.doc .img-wrap img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* === BULLET LIST === */
.doc ul {
  list-style-type: disc;
  padding-left: 36pt;
  margin: 0;
}

.doc ul li {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 11.5pt;
  color: #000;
  line-height: 1.15;
  padding-top: 12pt;
  padding-bottom: 12pt;
}

/* === CLOSING SECTION (smaller font like original) === */
.doc .closing p {
  font-size: 11pt;
}

/* === CTA BUTTON === */
.cta-wrap {
  padding-top: 12pt;
  padding-bottom: 12pt;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: #1a73e8;
  color: #fff;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.cta-btn:hover {
  background: #1557b0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.4);
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(26, 115, 232, 0.3);
}

.cta-btn-text {
  position: relative;
  z-index: 2;
}

/* === FOOTER (terms / privacy) === */
.site-footer {
  text-align: center;
  padding: 20px 0 8px;
  margin-top: 8px;
  font-size: 9px;
  line-height: 1.4;
  color: #70757a;
}

.site-footer a {
  color: #70757a;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer-sep {
  margin: 0 0.5em;
  user-select: none;
}

.cta-btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.25) 45%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0.25) 55%,
    transparent 65%,
    transparent 100%
  );
  animation: wiper 3s ease-in-out infinite;
  z-index: 1;
  transform-origin: bottom left;
}

@keyframes wiper {
  0% {
    left: -100%;
    transform: skewX(-15deg);
  }
  40% {
    left: 140%;
    transform: skewX(-15deg);
  }
  100% {
    left: 140%;
    transform: skewX(-15deg);
  }
}

/* === RESPONSIVE — TABLET === */
@media (max-width: 900px) {
  .gdoc-page {
    padding: 48px 48px;
  }

  .doc p.center-note {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* === RESPONSIVE — MOBILE === */
@media (max-width: 600px) {
  .gdoc-canvas {
    padding: 8px;
  }

  .gdoc-page {
    padding: 10px 20px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
    border-radius: 0;
  }

  /* CRITICAL: 18px minimum on mobile */
  .doc p {
    font-size: 18px;
    line-height: 1.35;
    padding-top: 10pt;
    padding-bottom: 10pt;
  }

  .doc p.center-note {
    font-size: 13px;
    line-height: 1.45;
    padding-top: 4px;
  }

  .doc .img-wrap {
    padding-bottom: 1px;
  }

  .doc .atf-headline {
    font-size: 24px;
    line-height: 1.3;
  }

  .doc .lede {
    font-size: 18px;
    line-height: 1.45;
    padding-bottom: 4px;
  }

  .doc ul li {
    font-size: 18px;
    line-height: 1.35;
  }

  .doc .closing p {
    font-size: 18px;
  }

  .doc .empty {
    height: 14px;
  }

  .cta-btn {
    font-size: 18px;
    padding: 18px 24px;
    width: 100%;
    text-align: center;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .gdoc-page {
    padding: 20px 16px;
  }

  .doc p {
    font-size: 18px;
    line-height: 1.4;
  }

  .doc p.center-note {
    font-size: 13px;
    line-height: 1.45;
  }
}
