/* Typography and measurements taken from the supplied 1296 px homepage reference. */
@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/PlusJakartaSans.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --font: "Inter", Arial, sans-serif;
    --heading-font: "Plus Jakarta Sans", Arial, sans-serif;
    --page: #f9f8ff;
    --tint: #f2f2ff;
}

h1, h2, h3, .button, .main-navigation, .studio-tabs,
.copy-studio, .editor-heading, .variable-grid input, .variable-grid select,
.editor-foot b, .card-actions, .collection-link {
    font-family: var(--heading-font);
}

h2 { line-height: 1.2; letter-spacing: -.025em; }
h3 { letter-spacing: -.025em; }
.hero h1 { font-size: 56px; line-height: 64px; font-weight: 800; letter-spacing: -.02em; }
.hero-intro > p { line-height: 24px; }
.hero-actions .button { height: 48px; padding-block: 0; }
.play-icon { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1.7px solid currentColor; border-radius: 50%; font-size: 11px; line-height: 1; }
.hero {
    background-image: url("../images/home/hero-glow.png"), url("../images/home/hero-side-glow.png");
    background-position: center -161px, calc(50% + 640px) 258px;
    background-size: 928px 488px, 512px 466px;
    background-repeat: no-repeat;
    background-color: var(--page);
}
.category-card h3 { font-size: 18px; line-height: 26px; margin-bottom: 8px; }
.category-card p { line-height: 22px; }
.category-icon { margin-bottom: 16px; }
.card-body h3 { font-size: 18px; line-height: 26px; letter-spacing: -.025em; margin-bottom: 8px; }
.card-tags { line-height: 16px; margin-bottom: 8px; }
.card-tags > span { padding-block: 1px; }
.card-body > p, .card-prompt { font-size: 12px; line-height: 18px; }
.card-prompt { white-space: pre-line; }
.card-actions { line-height: 18px; margin-top: 36px; }
.prompt-card.coral { --accent: #006d91; }
.prompt-card.coral .card-tags > span, .prompt-card.coral .tool-badge { color: #a50000; }
.collection-card > h3 { font-size: 28px; line-height: 36px; margin-bottom: 12px; }
.collection-card > p { line-height: 22px; }
.collection-card h4 { font-weight: 600; }
.step-card h3 { font-size: 18px; line-height: 26px; }
.step-card p { line-height: 22px; }
.step-top > b { font-family: var(--heading-font); font-weight: 800; line-height: 48px; }
.step-card > a, .step-card > button { font-family: var(--heading-font); font-size: 10px; line-height: 16px; font-weight: 600; }
.studio-preview > img { filter: brightness(.78); }
.studio-preview h2 { font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: -.025em; margin: 8px 0 4px; }
.studio-preview figcaption small { font-family: var(--heading-font); font-weight: 600; }
.studio-preview figcaption > div { min-height: 22px; }
.studio-preview figcaption span { padding: 3px 10px; line-height: 16px; }
.studio-preview p { font-size: 12px; line-height: 18px; }
.studio-editor h3 { font-family: var(--font); font-weight: 600; }
.studio-tabs button { line-height: 20px; padding-block: 2px; }
.editor-heading strong { font-weight: 600; }
.variable-grid label { line-height: 16px; }
.variable-grid input, .variable-grid select { line-height: 18px; }
.editor-foot { font-size: 12px; line-height: 18px; }
.final-cta {
    background-image: url("../images/home/cta-green-glow.png"), url("../images/home/cta-blue-glow.png"), linear-gradient(105deg, #00a8d1, #006d49 55%, #6aaa00);
    background-size: 400px 400px, 400px 400px, auto;
    background-position: calc(100% + 104px) -108px, -104px 8px, center;
    background-repeat: no-repeat;
}
.final-cta h2 { letter-spacing: -.025em; }
.footer-grid h3 { font-family: var(--font); font-weight: 600; }
.topic-options label { letter-spacing: .015em; }
.newsletter { background: #f5f5ff; }
.copy-studio, .editor-heading strong { display: inline-flex; align-items: center; gap: 4px; }
.copy-studio { justify-content: center; }
.copy-studio .line-icon, .editor-heading .line-icon, .button .line-icon { width: 14px; height: 14px; }
.footer-social .line-icon { width: 16px; height: 16px; }
.email-field > .line-icon { width: 18px; height: 18px; color: var(--muted); }
.step-top .line-icon { width: 22px; height: 22px; }
.prompt-studio, .collection-card, .button-silver { background-color: #cfcfcf; }
.category-card h3, .card-body h3, .step-card h3, .studio-preview h2 { letter-spacing: -.01em; }

@media (min-width: 1200px) {
    .site-header { background: #fdfdfd; }
    .header-inner { gap: 0; font-size: 12px; transform: translateY(3px); }
    .brand { margin-left: 26px; margin-right: 60px; }
    .main-navigation { gap: 28px; }
    .main-navigation a, .main-navigation button { font-weight: 500; }
    .main-navigation a:nth-child(4) { margin-left: 12px; }
    .header-search { margin-left: 39px; margin-right: 21px; height: 28px; min-width: 0; }
    .favorites-button { margin-right: 36px; }
    .login-button { margin-right: 28px; }
    .header-cta { width: 160px; padding-inline: 10px; }
    .hero { padding-top: 58px; padding-bottom: 63px; min-height: 984px; }
    .hero-intro > p { margin-top: 24px; }
    .hero-actions { margin-top: 32px; }
    .hero-intro > small { margin-top: 16px; }
    .prompt-studio { margin-top: 56px; padding: 32px; }
    .studio-toolbar { height: 32px; margin-bottom: 48px; }
    .studio-tabs { width: 440px; justify-content: space-between; }
    .copy-studio { width: 128px; }
    .studio-editor { height: 337px; }
    .prompt-code { font-size: 12px; line-height: 20px; }
    .studio-editor h3 { margin-top: 20px; }
    .variable-grid label { padding: 9px 10px; }
    .editor-foot { margin-top: 28px; }
    .exploration { padding-top: 22px; padding-bottom: 31px; }
    .eyebrow { display: block; line-height: 16px; }
    .exploration h2 { margin-top: 8px; margin-bottom: 16px; }
    .exploration-intro { max-width: 800px; }
    .category-grid { margin-top: 47px; }
    .category-card { padding: 24px; height: 172px; }
    .prompt-section { padding-top: 102px; padding-bottom: 48px; }
    .prompt-section > h2 { margin-bottom: 48px; }
    .prompt-grid { row-gap: 30px; }
    .collections { padding-top: 56px; min-height: 776px; }
    .collections .section-heading > p { margin-top: 16px; }
    .collection-grid { margin-top: 64px; }
    .collection-card { padding-top: 36px; }
    .quality { padding-top: 104px; padding-bottom: 64px; min-height: 352px; }
    .quality h2 { margin-bottom: 16px; }
    .quality > p { line-height: 24px; }
    .how-it-works { padding-top: 8px; padding-bottom: 28px; }
    .steps-grid { margin-top: 64px; }
    .step-top { margin-bottom: 16px; }
    .step-card:not(:first-child) { min-height: 316px; }
    .learn-action { margin-top: 56px; }
    .faq-section { padding-top: 6px; min-height: 660px; }
    .faq-list { margin-top: 62px; max-width: 960px; gap: 16px; }
    .faq-list details { padding: 20px 24px; border-radius: 12px; box-shadow: 0 2px 2px #151b2f08; }
    .faq-list summary { font: 700 18px/26px var(--heading-font); letter-spacing: -.01em; }
    .faq-list details p { font-size: 14px; line-height: 24px; margin-top: 20px; }
    .final-cta { width: calc(100% - 72px); max-width: 1224px; padding: 60px 64px; }
    .newsletter { padding-top: 4px; min-height: 341px; }
    .newsletter form { margin-top: 35px; }
    .footer-grid { grid-template-columns: 381px repeat(4, 1fr); gap: 40px; }
    .footer-about p { max-width: 370px; }
    .site-footer { padding-top: 64px; padding-bottom: 32px; }
    .footer-bottom { margin-top: 68.5px; }
}

@media (max-width: 800px) {
    .hero h1 { font-size: 52px; line-height: 1.14; }
    .hero { background-position: center -120px, calc(50% + 400px) 300px; }
}

@media (max-width: 540px) {
    .hero h1 { font-size: 44px; }
    .category-card h3 { font-size: 15px; line-height: 21px; }
    .category-card p { line-height: 18px; }
    .card-body h3 { font-size: 20px; }
    .hero { background-size: 740px 390px, 400px 364px; }
}
