/* docs.agints.com sales page. Dark canvas, amber actions, Fraunces headings.
   Hero CTA sits under the subhead and before the illustration. */

.docs-page .home-hero {
  padding-top: 0;
  padding-bottom: 8px;
}

.docs-page .home-hero h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.02;
}

.docs-hero-kicker {
  margin-bottom: 2px;
}

.docs-page .home-hero-lede {
  max-width: 640px;
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.35;
}

.docs-page .home-hero-action {
  width: min(520px, calc(100% - 24px));
  margin: 10px auto 0;
}

.docs-page .home-primary-action {
  min-height: 48px;
  padding: 8px 20px;
  font-size: 20px;
  text-decoration: none;
}

.docs-page .home-action-note {
  margin-top: 6px;
}

.docs-hero-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.docs-text-cta {
  color: var(--home-amber);
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.docs-text-cta:hover {
  color: #ffd15a;
}

.docs-page .home-hero-media {
  width: min(100%, 960px);
  height: auto;
  aspect-ratio: 1400 / 788;
  margin-top: 12px;
  overflow: visible;
}

.docs-page .home-hero-media img {
  object-fit: contain;
  object-position: center center;
  transform: none;
}

.docs-page .home-hero-media::before {
  background: linear-gradient(to bottom, var(--home-bg) 0%, transparent 7%, transparent 95%, var(--home-bg) 100%);
}

.docs-page .home-hero-media::after {
  background: linear-gradient(90deg, var(--home-bg) 0%, transparent 5%, transparent 95%, var(--home-bg) 100%);
}

.docs-section {
  padding: 64px 0;
  border-top: 1px solid var(--home-line);
  text-align: left;
}

.docs-section h2 {
  margin-top: 0;
}

.docs-section .section-lede {
  max-width: 680px;
}

.docs-kicker {
  margin: 0 0 8px;
  color: var(--home-amber);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-example-card,
.docs-scope-card,
.docs-check {
  border: 1px solid #675122;
  border-radius: 16px;
  background: linear-gradient(145deg, #211b10, #10100e);
}

.docs-samples {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.docs-example-card {
  margin-top: 0;
  padding: 28px;
}

.docs-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.docs-channel {
  padding: 18px 18px 16px;
  border: 1px solid #675122;
  border-radius: 16px;
  background: linear-gradient(145deg, #211b10, #10100e);
}

.docs-channel h3 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.docs-channel p {
  margin: 0;
  color: var(--home-muted);
}

.home-faq-close .docs-close-lede {
  margin: 14px 0 0;
  max-width: 520px;
  color: var(--home-muted);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.docs-close-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.docs-q {
  margin: 0 0 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.docs-a {
  margin: 0;
  font-size: 18px;
}

.docs-passage {
  margin: 18px 0 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--home-amber);
  background: rgba(255, 176, 0, 0.06);
}

.docs-passage cite {
  display: block;
  margin-bottom: 6px;
  color: var(--home-amber);
  font-style: normal;
  font-size: 14px;
}

.docs-passage p {
  margin: 0;
}

.docs-gap {
  margin: 0 0 18px;
  padding-top: 16px;
  border-top: 1px solid var(--home-line);
}

.docs-label {
  margin: 0 0 6px;
  color: var(--home-dim);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-offer-note {
  margin: 8px 0 0;
  color: var(--home-muted);
}

.docs-offer .ua-list {
  margin-top: 28px;
}

.docs-optional {
  margin-top: 8px;
}

.docs-optional .ua-mark {
  color: #ffe566;
}

.docs-flow {
  grid-template-columns: repeat(3, 1fr);
}

.docs-flow p {
  max-width: none;
}

.docs-aside {
  margin: 8px 0 0;
  color: var(--home-muted);
  max-width: 720px;
}

.docs-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.docs-check {
  padding: 18px 18px 16px;
}

.docs-check strong {
  display: block;
  margin-bottom: 6px;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}

.docs-check p {
  margin: 0;
  color: var(--home-muted);
}

.docs-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0;
}

.docs-scope-card {
  padding: 0;
}

.docs-scope-card p,
.docs-scope-card li,
.docs-scope-card dd {
  margin: 0;
  color: var(--home-muted);
}

.docs-prose {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--home-muted);
  font-size: 18px;
}

.docs-blurb {
  max-width: 760px;
  margin: 8px 0 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--home-amber);
  background: rgba(255, 176, 0, 0.06);
}

.docs-blurb p {
  margin: 0;
  color: var(--home-ink);
  font-size: 18px;
}

.docs-blurb p + p {
  margin-top: 8px;
}

.docs-spine {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 22px 0 8px;
}

.docs-spine p {
  margin: 0;
  color: var(--home-muted);
}

.docs-spine strong,
.docs-card-lines dt,
.docs-day91 strong {
  color: var(--home-ink, #f4f1ea);
}

.docs-extract-mark {
  color: var(--home-amber);
  text-shadow: none;
}

.docs-subhead {
  margin: 36px 0 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.docs-drivers-label {
  margin: 18px 0 8px;
  color: var(--home-amber);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-driver-list {
  margin: 0 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.docs-driver {
  border-bottom: 1px solid var(--home-line);
}

.docs-driver summary {
  display: block;
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 52px 16px 0;
  color: #f4f1ea;
  font-size: 16px;
  font-weight: 650;
}

.docs-driver summary::-webkit-details-marker {
  display: none;
}

.docs-driver summary::marker {
  content: "";
}

.docs-driver summary::after,
.docs-scope-card summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 10px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07100d;
  background: var(--home-amber);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.docs-driver[open] summary::after,
.docs-scope-card[open] summary::after {
  transform: rotate(45deg);
  background: var(--home-cyan);
}

.docs-driver p {
  max-width: 720px;
  margin: -4px 52px 16px 0;
  color: var(--home-muted);
}

.docs-examples {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 22px 0;
}

.docs-scope-card summary {
  display: block;
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 62px 14px 20px;
}

.docs-scope-card summary::-webkit-details-marker {
  display: none;
}

.docs-scope-card summary::marker {
  content: "";
}

.docs-scope-card summary::after {
  right: 16px;
  top: 16px;
}

.docs-scope-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
  padding-right: 8px;
}

.docs-scope-card .docs-kicker {
  margin: 0;
}

.docs-offer-price {
  color: var(--home-ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.docs-scope-panel {
  padding: 4px 20px 16px;
  border-top: 1px solid #675122;
}

.docs-scope-card h4 {
  margin: 14px 0 6px;
  color: var(--home-amber);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-scope-card ul {
  margin: 0;
  padding-left: 18px;
}

.docs-scope-card li + li {
  margin-top: 6px;
}

.docs-card-story {
  display: block;
  margin-top: 6px;
  color: var(--home-muted);
}

.docs-card-lines {
  margin: 16px 0 0;
}

.docs-card-lines div,
.docs-card-lines dt {
  margin-top: 10px;
}

.docs-card-lines dt {
  font-weight: 650;
}

.docs-card-lines dd {
  margin: 2px 0 0;
}

.docs-scope-panel .docs-day91 {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #675122;
}

.docs-pricing-cta {
  display: inline-flex;
  margin-top: 8px;
  text-decoration: none;
}

.docs-pricing-note {
  margin-top: 12px;
}

.docs-pricing-note a {
  color: var(--home-amber);
}

.docs-quote-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--home-muted);
}

.docs-quote-list li + li {
  margin-top: 8px;
}

.docs-page .pricing .price {
  font-size: 46px;
}

.docs-page .home-faq a {
  color: var(--home-amber);
}

.docs-page .home-faq a.home-faq-action {
  color: #171000;
}

@media (min-width: 980px) {
  .docs-offer-price {
    font-size: 32px;
  }
}

@media (max-width: 800px) {
  .docs-checks,
  .docs-scope,
  .docs-flow,
  .docs-channels {
    grid-template-columns: 1fr;
  }

  .docs-close-actions {
    align-items: stretch;
    width: 100%;
  }

  .docs-close-actions .docs-text-cta {
    text-align: center;
  }

  .docs-offer-price {
    font-size: 26px;
  }

  .docs-page .home-nav nav a:first-child {
    display: inline;
  }

  .docs-page .home-nav nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 12px;
  }

  .docs-page .home-hero-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1400 / 788;
    margin-left: 0;
  }
}
