:root { --ohmycaptcha-radius: 18px; --ohmycaptcha-shadow: 0 18px 44px rgba(37, 99, 235, 0.08); } [data-md-color-scheme="slate"] { --ohmycaptcha-shadow: 0 18px 44px rgba(0, 0, 0, 0.3); } .md-header__option { order: 20; } .md-header__option:last-of-type { order: 99; margin-inline-start: auto; } .md-typeset .caption { text-align: center; color: var(--md-default-fg-color--light); font-size: 0.8rem; } /* ── Hero section ── */ .md-typeset .hero { position: relative; margin: 0 0 2rem; border-radius: 24px; overflow: hidden; border: 1px solid rgba(37, 99, 235, 0.12); box-shadow: var(--ohmycaptcha-shadow); background: #0f172a; } [data-md-color-scheme="slate"] .md-typeset .hero { border-color: rgba(99, 102, 241, 0.2); } /* Full-width hero image strip */ .md-typeset .hero__visual { display: block; line-height: 0; } .md-typeset .hero__visual img { width: 100%; height: auto; max-height: 340px; object-fit: cover; object-position: center top; display: block; border-radius: 0; border: none; background: transparent; } /* Copy panel sits below the image */ .md-typeset .hero__copy { padding: 1.6rem 2rem 1.8rem; background: linear-gradient(135deg, #ffffff 0%, #f7faff 60%, #eef2ff 100%); } [data-md-color-scheme="slate"] .md-typeset .hero__copy { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #1e293b 100%); } .md-typeset .hero--light h2 { margin: 0 0 0.7rem; color: #0f172a; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 700; } [data-md-color-scheme="slate"] .md-typeset .hero--light h2 { color: #e2e8f0; } .md-typeset .hero--light p { color: #475569; margin: 0 0 0.5rem; font-size: 0.95rem; max-width: 68ch; } [data-md-color-scheme="slate"] .md-typeset .hero--light p { color: #94a3b8; } .md-typeset .hero__copy > p { margin: 0.6rem 0 0; font-size: 0.95rem; max-width: 68ch; } .md-typeset .hero__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.1rem; } .md-typeset .hero__actions .md-button { margin: 0; border-radius: 999px; font-size: 0.83rem; padding: 0.4em 1.1em; } .md-typeset .hero__actions .md-button:not(.md-button--primary) { color: #1d4ed8; border-color: rgba(37, 99, 235, 0.28); } [data-md-color-scheme="slate"] .md-typeset .hero__actions .md-button:not(.md-button--primary) { color: #818cf8; border-color: rgba(129, 140, 248, 0.3); } /* ── Feature cards ── */ .md-typeset .feature-cards > ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.9rem; padding: 0; } .md-typeset .feature-cards > ul > li { list-style: none; padding: 1.1rem; border: 1px solid rgba(37, 99, 235, 0.12); border-radius: var(--ohmycaptcha-radius); background: #ffffff; box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04); transition: transform 0.2s ease, box-shadow 0.2s ease; } .md-typeset .feature-cards > ul > li:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08); } [data-md-color-scheme="slate"] .md-typeset .feature-cards > ul > li { background: rgba(30, 30, 50, 0.6); border-color: rgba(99, 102, 241, 0.15); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); } .md-typeset .feature-cards strong { color: #0f172a; } [data-md-color-scheme="slate"] .md-typeset .feature-cards strong { color: #e2e8f0; } .md-typeset .feature-cards p { color: #475569; } [data-md-color-scheme="slate"] .md-typeset .feature-cards p { color: #94a3b8; } .md-typeset .grid.cards > ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.8rem; padding: 0; } .md-typeset .grid.cards > ul > li { list-style: none; border-radius: var(--ohmycaptcha-radius); } /* ── Task type tables ── */ .md-typeset table code { font-size: 0.78rem; padding: 0.1em 0.35em; } /* ── Responsive ── */ @media screen and (max-width: 76.1875em) { .md-typeset .hero__copy { padding: 1.2rem 1.2rem 1.4rem; } .md-typeset .hero__visual img { max-height: 240px; } } @media screen and (max-width: 44.9375em) { .md-typeset .hero__visual img { max-height: 180px; } }