:root {
  --blue: #243EBD;
  --blue-pressed: #1D329F;
  --light-surface: #EEF1FF;
  --soft-border: #AEB9F4;
  --yellow: #FFC928;
  --white: #ffffff;
  --text-dark: #EAF0FF;
  --text-muted: rgba(255,255,255,0.76);
  --docs-border: rgba(255,255,255,0.14);
  --docs-surface: rgba(255,255,255,0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.home-body,
.docs-body {
  min-height: 100vh;
  background: var(--blue);
  color: var(--white);
}

.home-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px 28px;
  text-align: center;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.brand-wordmark {
  font-size: clamp(80px, 16vw, 148px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.07em;
  margin: 0;
}

.brand-wordmark .gus-g,
.brand-wordmark .gus-s { color: var(--white); }

.brand-wordmark .gus-u { color: var(--yellow); }

.hero-title {
  margin: 2px 0 0;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.96);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  min-width: 208px;
  border-radius: 18px;
  text-decoration: none;
  background: var(--white);
  color: var(--blue);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.store-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.store-copy small {
  color: rgba(36,62,189,0.72);
  font-size: 11px;
  line-height: 1.2;
}

.store-copy strong {
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.home-footer {
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
}

.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover { border-color: rgba(255,255,255,0.62); }

.copyright {
  color: rgba(255,255,255,0.54);
  font-size: 14px;
}

.docs-main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  margin-bottom: 24px;
}

.back-link:hover { color: var(--white); }

.docs-card {
  background: var(--docs-surface);
  border: 1px solid var(--docs-border);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
}

.docs-card h1 {
  margin: 0 0 10px;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: var(--white);
}

.docs-card .subtitle {
  margin: 0 0 26px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.55;
}

.docs-card h2 {
  margin: 28px 0 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
}

.docs-card p,
.docs-card li {
  color: rgba(255,255,255,0.92);
  font-size: 16px;
  line-height: 1.72;
}

.docs-card ul {
  margin: 12px 0 0 20px;
  padding: 0;
}

.meta {
  color: rgba(255,255,255,0.56);
  font-size: 14px;
  margin-bottom: 18px;
}

.info-card,
.note-box {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}

.info-card p { margin: 0 0 12px; }
.info-card p:last-child { margin-bottom: 0; }

.email-link {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.28);
}

.email-link:hover { border-color: rgba(255,255,255,0.72); }

.brand-mini {
  font-weight: 900;
  letter-spacing: -0.05em;
}
.brand-mini .gus-u { color: var(--yellow); }

@media (max-width: 720px) {
  .docs-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .cta-row { width: 100%; }

  .store-btn {
    width: min(100%, 320px);
    justify-content: center;
  }

  .store-copy {
    align-items: center;
    text-align: center;
  }
}


.content-page .lead {
  color: rgba(255,255,255,.88);
  font-size: 20px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.content-card {
  display: block;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.content-card:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.30);
}

.content-card h2 {
  color: #fff;
  margin: 7px 0 8px;
  font-size: 22px;
}

.content-card p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.content-kicker {
  color: rgba(255,255,255,.54);
  font-size: 13px;
}

.section-link {
  margin-top: 28px;
}

.section-link a,
.related-links a,
.cta-card a {
  color: #fff;
  text-underline-offset: 4px;
}

.cta-card {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.cta-card h2 { margin-top: 0; }

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.blog-featured {
  margin-top: 28px;
}

.blog-featured-link {
  display: block;
  max-width: 620px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  color: inherit;
  text-decoration: none;
}

.blog-featured-link h2 {
  color: #fff;
  font-size: 28px;
  margin: 8px 0;
}

.blog-featured-link p {
  color: rgba(255,255,255,.72);
  margin: 0 0 16px;
}

.read-more {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.quote-card {
  margin: 30px 0;
  padding: 24px;
  border-left: 3px solid #FFC928;
  background: rgba(255,255,255,.055);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
}

@media (min-width: 940px) {
  .content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}
