/* AI-first homepage and Ads page. Loads after style.css. */

.gd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .gd-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .gd-grid--3 { grid-template-columns: 1fr; } }
.gd-dark .gd-card__icon, .gd-dark-2 .gd-card__icon { background: rgba(255,107,44,0.12); color: var(--gd-accent-soft); }
.gd-center { text-align: center; margin: 0; }
.gd-wrap--narrow { max-width: 860px; }
.gd-wrap--narrow > * { margin: 0 !important; }

/* Hero */
.gd-demo-foot { margin: 12px 0 0; font-size: 14px; color: var(--gd-muted-2); text-align: center; }
.gd-demo-foot em { color: var(--gd-accent-soft); font-style: normal; font-weight: 600; }
.gd-hero--page .gd-crumbs { margin-bottom: -6px !important; }

/* Works-on strip */
.gd-logos__text li { font-size: 15px; color: #D5DBE6; }
.gd-logos__text li + li::before { content: none; }

/* How it works */
.gd-how { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.gd-how--video { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.gd-how__copy { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.gd-how:not(.gd-how--video) .gd-how__copy { max-width: none; }
.gd-how__copy > * { margin: 0; }
.gd-how__steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: gdhow; }
.gd-how:not(.gd-how--video) .gd-how__steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.gd-how__steps li { counter-increment: gdhow; position: relative; padding: 22px 22px 22px 76px; border-radius: 20px; background: #fff; border: 1px solid var(--gd-paper-line); display: flex; flex-direction: column; gap: 6px; }
.gd-how__steps li::before { content: counter(gdhow); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px; border-radius: 12px; background: var(--gd-accent); color: var(--gd-ink); font-family: var(--gd-display); font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.gd-how__steps b { font-family: var(--gd-display); font-size: 20px; color: var(--gd-ink); }
.gd-how__steps span { color: var(--gd-slate); font-size: 16px; line-height: 1.5; }
.gd-how__video { justify-self: center; width: 100%; max-width: 340px; }
.gd-how__video video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 28px; background: var(--gd-ink); box-shadow: 0 30px 60px rgba(10,15,28,0.25); }
.gd-how__frame { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--gd-ink); box-shadow: 0 30px 60px rgba(10,15,28,0.25); }
.gd-how__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Example conversations */
.gd-exs { align-items: stretch; }
.gd-ex { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--gd-paper-line); min-width: 0; }
.gd-ex > p { margin: 0; }
.gd-ex__biz { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--gd-paper-line); }
.gd-ex__biz span { font-family: var(--gd-display); font-weight: 700; font-size: 18px; color: var(--gd-ink); }
.gd-ex__biz small { font-family: var(--gd-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gd-muted-2); }
.gd-ex__q, .gd-ex__a { font-size: 15px; line-height: 1.5; padding: 12px 14px; border-radius: 16px; max-width: 92%; }
.gd-ex__q { align-self: flex-end; background: var(--gd-ink); color: #fff; border-bottom-right-radius: 6px; }
.gd-ex__a { align-self: flex-start; background: var(--gd-paper); color: var(--gd-ink); border: 1px solid var(--gd-paper-line); border-bottom-left-radius: 6px; }
.gd-ex__sent { margin-top: auto !important; font-family: var(--gd-mono); font-size: 12px; letter-spacing: 0.04em; color: #15803D; }
.gd-ex--hero { flex: 1 1 380px; max-width: 460px; background: var(--gd-surface); border-color: var(--gd-line); }
.gd-ex--hero .gd-ex__a { background: var(--gd-surface-2); color: var(--gd-text); border-color: var(--gd-line); }
.gd-ex--hero .gd-ex__q { background: var(--gd-accent); color: var(--gd-ink); }
.gd-ex--hero .gd-ex__sent { color: var(--gd-go); }

/* Ads and Websites lanes */
.gd-lanes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.gd-lane { display: flex; flex-direction: column; gap: 12px; padding: 34px; border-radius: 28px; background: var(--gd-ink); color: var(--gd-text); text-decoration: none !important; border: 1px solid transparent; transition: transform .2s ease, border-color .2s ease; }
.gd-lane:hover { transform: translateY(-3px); border-color: rgba(255,107,44,0.6); }
.gd-lane__icon { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,107,44,0.14); color: var(--gd-accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.gd-lane__title { font-family: var(--gd-display); font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.gd-lane__text { color: var(--gd-muted); font-size: 17px; line-height: 1.55; }
.gd-lane__tags { font-family: var(--gd-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--gd-muted-2); }
.gd-lane__go { margin-top: auto; padding-top: 10px; color: var(--gd-accent-soft); font-weight: 600; }

@media (max-width: 900px) {
	.gd-how--video { grid-template-columns: 1fr; }
	.gd-how__video { max-width: 300px; }
}
@media (max-width: 600px) {
	.gd-how__steps li { padding: 18px 18px 18px 66px; }
	.gd-how__steps li::before { left: 16px; top: 16px; width: 34px; height: 34px; font-size: 17px; }
	.gd-lane { padding: 26px; }
	.gd-lane__title { font-size: 26px; }
}
