/* /ads/manage proposal sections (lib/ads3d-manage-page.mjs): the rest of /ads/proposal.pdf below the sign-in and the
   dashboard. Site tokens (styles.css), both themes; inside the page column (.page), no wider than its parent. */
.amp { --amp-gap-media: 40px; margin-top: 48px; } /* space between a card row and the pictures below it */
.amp-sec { padding-block: 40px 8px; border-top: 1px solid var(--rule); }
.amp-sec:first-child { border-top-width: 2px; border-top-color: var(--lantern); }
.amp .amp-kicker { margin: 0 0 6px; color: var(--lantern); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; }
.amp h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem); line-height: 1.25; letter-spacing: -0.03em; }
.amp h3 { margin: 0 0 4px; font-size: 1rem; line-height: 1.35; letter-spacing: -0.01em; }
.amp .amp-lead { margin: 0 0 20px; color: var(--ink-2); }
.amp p { margin: 0 0 12px; }
.amp ul, .amp ol { margin: 0; padding: 0; list-style: none; }
.amp figure { margin: 0; }
.amp img { display: block; width: 100%; height: auto; border-radius: var(--radius-thumb); background: var(--rule); }
.amp figcaption { margin-top: 6px; font-size: 0.8rem; color: var(--ink-2); }
.amp .amp-note { margin: 14px 0 0; font-size: 0.8rem; color: var(--ink-2); }

/* three points: surface cards, the first a little louder; `.amp .amp-points` beats `.amp ul { margin: 0 }` so the gap holds */
.amp-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.amp .amp-points { margin-bottom: var(--amp-gap-media); }
.amp-points li { padding: 14px 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.amp-points li:first-child { border-color: color-mix(in srgb, var(--lantern) 45%, var(--rule)); }
.amp-points p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }

.amp-shots { display: grid; gap: 16px; }
@media (min-width: 560px) { .amp-shots { grid-template-columns: 1fr 1fr; } }
.amp-shot img { box-shadow: var(--shadow); }

/* ad formats: picture on top, two a row from tablet width */
.amp-type-list { display: grid; gap: 24px 18px; }
@media (min-width: 560px) { .amp-type-list { grid-template-columns: 1fr 1fr; } }
.amp-type figure { margin-bottom: 10px; position: relative; }
.amp-type figcaption { position: absolute; left: 8px; top: 8px; margin: 0; padding: 2px 8px; border-radius: 999px; background: rgba(21, 18, 31, 0.62); color: #fff; font-size: 0.72rem; }
.amp-type p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }

/* ready-made characters and signs: small tiles */
.amp .amp-sub { margin: 18px 0 10px; font-size: 0.92rem; color: var(--ink-2); }
.amp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.amp-tile figcaption { font-size: 0.76rem; line-height: 1.35; color: var(--ink); }

/* pick or get a recommendation */
.amp-ways { display: grid; gap: 12px; margin-bottom: 22px; }
@media (min-width: 600px) { .amp-ways { grid-template-columns: 1fr 1fr; } }
.amp-way { padding: 16px 18px; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); }
.amp-way--reco { border-color: var(--lantern); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lantern) 14%, transparent); }
.amp .amp-tag { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--lantern) 14%, transparent); color: var(--lantern); font-size: 0.78rem; font-weight: 700; }
.amp-way > p:not(.amp-tag) { color: var(--ink-2); font-size: 0.92rem; }
.amp-way li { position: relative; padding-left: 16px; margin-top: 6px; font-size: 0.9rem; }
.amp-way li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--lantern); }
.amp .amp-cats-title { margin: 0 0 8px; font-size: 0.86rem; font-weight: 700; }
.amp-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px !important; }
.amp-cats li { padding: 4px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.86rem; background: var(--surface); }

/* steps: numbered with a line between */
.amp-step-list { counter-reset: amp-step; display: grid; gap: 0; }
.amp-step-list li { counter-increment: amp-step; position: relative; padding: 0 0 18px 46px; }
.amp-step-list li::before { content: counter(amp-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lantern); color: var(--lantern-ink); font-weight: 800; font-size: 0.9rem; }
.amp-step-list li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: var(--rule); }
.amp-step-list p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
.amp-step-list a { color: var(--lantern); }

/* closing card */
.amp-cta { margin-top: 24px; padding: 28px 22px 20px; border: 0; border-radius: 20px; background: var(--dusk); color: #f4efe6; }
.amp-cta h2 { color: #fff; }
.amp-cta p { color: #d9d2e3; font-size: 0.92rem; }
.amp-cta a:not(.btn) { color: #fff; }
