@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --cream: #fff8ed;
    --cream-strong: #ffefd2;
    --ink: #2c2438;
    --muted: #665d73;
    --orange: #ff8b4a;
    --orange-dark: #e96e2d;
    --pink: #ff6fae;
    --blue: #58b7ff;
    --green: #4fc08d;
    --purple: #7c64ff;
    --white: #ffffff;
    --border: rgba(44, 36, 56, 0.14);
    --shadow: 0 24px 70px rgba(64, 42, 94, 0.16);
    --radius-lg: 30px;
    --radius-md: 22px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 111, 174, 0.25), transparent 34rem),
        radial-gradient(circle at 80% 0%, rgba(88, 183, 255, 0.22), transparent 32rem),
        linear-gradient(180deg, var(--cream), #fff 48%, #fff7ec 100%);
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url('/images/paw-pattern.svg');
    background-size: 360px;
    opacity: 0.08;
    z-index: -1;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.site-header {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Baloo 2', cursive;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    font-weight: 700;
}

.brand img {
    width: 48px;
    height: 48px;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.top-nav a {
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.74);
    outline: none;
}

main {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: clamp(28px, 5vw, 70px);
    padding: 54px 0 34px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--orange-dark);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.83rem;
}

h1,
h2,
h3 {
    font-family: 'Baloo 2', cursive;
    line-height: 0.98;
    margin: 0;
}

h1 {
    font-size: clamp(3.2rem, 8vw, 6.8rem);
    max-width: 780px;
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    letter-spacing: -0.04em;
}

h3 {
    font-size: 1.7rem;
}

.hero-text {
    max-width: 630px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
    line-height: 1.6;
    margin: 24px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    box-shadow: 0 14px 34px rgba(255, 111, 117, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
    box-shadow: 0 18px 44px rgba(255, 111, 117, 0.36);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
}


.button:disabled,
.button.is-disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.button-small {
    min-height: 44px;
    padding: 11px 17px;
    font-size: 0.95rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 42px;
    padding: clamp(18px, 3vw, 28px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-card::before,
.hero-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
}

.hero-card::before {
    width: 180px;
    height: 180px;
    right: -70px;
    top: -60px;
    background: rgba(88, 183, 255, 0.26);
}

.hero-card::after {
    width: 140px;
    height: 140px;
    left: -50px;
    bottom: -50px;
    background: rgba(79, 192, 141, 0.22);
}

.pet-polaroid {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 30px;
    padding: 16px;
    transform: rotate(2deg);
    box-shadow: 0 16px 34px rgba(44, 36, 56, 0.13);
}

.example-result {
    position: relative;
    z-index: 2;
    background: #fff;
    margin: -24px 20px 0;
    padding: 20px 20px 18px;
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(44, 36, 56, 0.14);
}

.example-result strong {
    display: block;
    font-family: 'Baloo 2', cursive;
    font-size: 2.1rem;
    line-height: 1;
}

.example-result p {
    color: var(--muted);
    margin: 6px 0 0;
}

.sparkle {
    position: absolute;
    right: 18px;
    top: 14px;
    color: var(--purple);
    font-size: 1.5rem;
}

.ad-shell {
    margin: 28px 0 42px;
}

.ad-placeholder {
    min-height: 96px;
    border: 2px dashed rgba(44, 36, 56, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.58);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    color: var(--muted);
}

.ad-placeholder span {
    display: block;
    font-weight: 900;
    color: var(--ink);
}

.ad-placeholder small {
    margin-top: 4px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.6;
    font-size: 1.08rem;
}

.section-heading.compact {
    margin-bottom: 22px;
}

.form-section,
.results-section,
.how-it-works {
    padding: clamp(30px, 5vw, 58px);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 42px;
    box-shadow: var(--shadow);
    margin-bottom: 34px;
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: stretch;
}

.form-panel,
.upload-panel {
    background: rgba(255, 248, 237, 0.72);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: clamp(18px, 3vw, 28px);
}

label,
legend {
    display: block;
    font-weight: 900;
    margin-bottom: 8px;
}

select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

select:focus,
textarea:focus {
    border-color: rgba(124, 100, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(124, 100, 255, 0.12);
}

textarea {
    resize: vertical;
}

.helper-text {
    color: var(--muted);
    margin: 7px 0 22px;
    font-size: 0.94rem;
}

.pet-type-group {
    border: 0;
    padding: 0;
    margin: 22px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pet-type-group legend {
    grid-column: 1 / -1;
}

.choice-card,
.checkbox-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.choice-card input,
.checkbox-card input {
    width: 18px;
    height: 18px;
    accent-color: var(--orange-dark);
    flex: 0 0 auto;
}

.choice-card span {
    font-weight: 900;
    font-size: 1.08rem;
}

.checkbox-card {
    align-items: flex-start;
    margin-top: 22px;
}

.checkbox-card small {
    display: block;
    color: var(--muted);
    font-weight: 700;
    margin-top: 2px;
    line-height: 1.4;
}

.checkbox-card.is-disabled {
    opacity: 0.52;
    cursor: not-allowed;
}

.upload-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.upload-box {
    min-height: 320px;
    border: 2px dashed rgba(124, 100, 255, 0.35);
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 0%, rgba(88, 183, 255, 0.18), transparent 55%),
        #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
    cursor: pointer;
    margin: 0;
}

.upload-box:hover,
.upload-box:focus-within {
    border-color: rgba(255, 139, 74, 0.68);
}

.upload-box input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
}

.upload-icon {
    width: 96px;
    margin-bottom: 16px;
}

.upload-box strong {
    font-size: 1.25rem;
}

.upload-box span {
    color: var(--muted);
    margin-top: 4px;
}

.preview-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 12px;
    text-align: center;
}

.preview-card img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 22px;
}

.link-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--purple);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    margin-top: 10px;
    padding: 8px;
}

.submit-button {
    width: 100%;
    margin-top: auto;
}

.validation-summary,
.field-validation {
    color: #9f1239;
    font-weight: 800;
}

.validation-summary {
    margin-bottom: 18px;
}

.field-validation {
    display: block;
    margin-top: 7px;
}

.results-grid,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.result-card,
.steps-grid article {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 14px 30px rgba(44, 36, 56, 0.08);
}

.result-card {
    position: relative;
    overflow: hidden;
}

.result-card::after {
    content: '';
    position: absolute;
    right: -36px;
    top: -36px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 139, 74, 0.12);
}

.result-number,
.steps-grid article span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    margin-bottom: 18px;
}

.result-card h3 {
    font-size: 2.2rem;
}

.result-card p,
.steps-grid p {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.steps-grid article:nth-child(2) span {
    background: linear-gradient(135deg, var(--orange), var(--pink));
}

.steps-grid article:nth-child(3) span {
    background: linear-gradient(135deg, var(--green), var(--blue));
}

.bottom-ad {
    margin-bottom: 50px;
}

.ad-placeholder.wide {
    min-height: 120px;
}

.site-footer {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 36px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
}

.site-footer p {
    margin: 0;
}

.footer-note {
    text-align: right;
}


.results-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 24px;
}

.results-photo-card,
.results-summary-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: 0 16px 38px rgba(44, 36, 56, 0.09);
}

.results-photo-card {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.results-photo-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
}

.results-photo-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 900;
    text-align: center;
    padding: 4px 8px 8px;
}

.results-summary-card {
    padding: clamp(20px, 4vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-summary-card h3 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-top: 10px;
}

.results-summary-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.results-badge,
.result-type-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: rgba(124, 100, 255, 0.1);
    color: var(--purple);
    font-weight: 900;
}

.results-badge {
    padding: 8px 12px;
}

.file-note {
    margin-top: 10px;
    font-size: 0.95rem;
}

.results-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.copy-status {
    min-height: 1.4em;
    margin-top: 10px;
    color: #166534;
    font-weight: 900;
}

.result-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(44, 36, 56, 0.12);
}

.result-card-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.result-card-topline .result-number {
    margin-bottom: 0;
}

.result-type-chip {
    padding: 6px 10px;
    font-size: 0.82rem;
}

.result-card h3,
.result-card p,
.copy-name-button {
    position: relative;
    z-index: 1;
}

.result-reason-label {
    margin: 10px 0 4px;
    color: var(--ink) !important;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.copy-name-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: rgba(88, 183, 255, 0.14);
    color: var(--ink);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    padding: 10px 14px;
    margin-top: auto;
    align-self: flex-start;
    transition: background 150ms ease, transform 150ms ease;
}

.copy-name-button:hover,
.copy-name-button:focus-visible {
    background: rgba(88, 183, 255, 0.24);
    transform: translateY(-1px);
    outline: none;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(44, 36, 56, 0.34);
    backdrop-filter: blur(6px);
}

.loading-overlay[hidden] {
    display: none;
}

.loading-card {
    width: min(420px, 100%);
    border-radius: 32px;
    background: #fff;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.loading-card strong {
    display: block;
    font-family: 'Baloo 2', cursive;
    font-size: 2rem;
    line-height: 1;
    margin-top: 12px;
}

.loading-card p {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.paw-loader {
    display: inline-flex;
    gap: 8px;
    font-size: 1.7rem;
}

.paw-loader span {
    animation: pawBounce 900ms ease-in-out infinite;
}

.paw-loader span:nth-child(2) {
    animation-delay: 120ms;
}

.paw-loader span:nth-child(3) {
    animation-delay: 240ms;
}

@keyframes pawBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.62;
    }

    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.name-form.is-submitting {
    pointer-events: none;
    opacity: 0.82;
}

@media (max-width: 900px) {
    .hero,
    .form-grid,
    .results-grid,
    .steps-grid,
    .results-showcase {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 24px;
    }

    .hero-card {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .site-header,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-nav {
        width: 100%;
        justify-content: space-between;
    }

    .top-nav a {
        padding-inline: 10px;
    }

    main,
    .site-header,
    .site-footer {
        width: min(100% - 22px, var(--max-width));
    }

    .form-section,
    .results-section,
    .how-it-works {
        border-radius: 28px;
        padding: 20px;
    }

    .form-panel,
    .upload-panel {
        border-radius: 24px;
        padding: 18px;
    }

    .pet-type-group {
        grid-template-columns: 1fr;
    }

    .upload-box {
        min-height: 240px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .footer-note {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.upload-box.is-dragging {
    border-color: rgba(255, 139, 74, 0.9);
    box-shadow: 0 0 0 6px rgba(255, 139, 74, 0.14);
    transform: translateY(-1px);
}

.client-upload-message {
    min-height: 1.4em;
    margin: -8px 0 0;
    font-weight: 900;
    color: var(--muted);
}

.client-upload-message.is-error {
    color: #9f1239;
}

.client-upload-message.is-success {
    color: #166534;
}

.uploaded-image-strip {
    max-width: 520px;
    margin: 0 auto 24px;
    padding: 12px 16px 12px 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(44, 36, 56, 0.08);
    font-weight: 900;
    color: var(--muted);
}

.uploaded-image-strip img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 139, 74, 0.35);
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    .uploaded-image-strip {
        border-radius: 26px;
        align-items: flex-start;
    }
}

.prompt-debug {
    max-width: 1040px;
    margin: 0 auto 36px;
    padding: 0 24px;
}

.prompt-debug details {
    background: rgba(255, 255, 255, 0.86);
    border: 1px dashed rgba(44, 36, 56, 0.28);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(44, 36, 56, 0.08);
    padding: 18px 20px;
}

.prompt-debug summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--ink);
}

.prompt-debug p {
    color: var(--muted);
    font-weight: 700;
}

.prompt-debug pre {
    overflow: auto;
    max-height: 460px;
    padding: 16px;
    border-radius: 18px;
    background: #211a2a;
    color: #fffaf1;
    font-size: 0.85rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

/* Step 6: advertising layer */
.ad-shell {
    margin: 24px 0;
}

.ad-shell.top-ad {
    margin: 10px 0 32px;
}

.ad-shell.results-ad {
    margin: 28px 0 0;
}

.ad-shell.bottom-ad {
    margin: 0 0 50px;
}

.ad-placeholder,
.ad-unit {
    width: 100%;
    min-height: 96px;
    border-radius: 28px;
}

.ad-placeholder {
    border: 1px dashed rgba(44, 36, 56, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 237, 0.86)),
        radial-gradient(circle at 15% 25%, rgba(255, 139, 74, 0.12), transparent 32%),
        radial-gradient(circle at 85% 80%, rgba(124, 100, 255, 0.12), transparent 34%);
    color: var(--muted);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
}

.ad-placeholder span {
    display: block;
    color: var(--ink);
    font-weight: 900;
}

.ad-placeholder small {
    display: block;
    margin-top: 3px;
    font-weight: 800;
}

.ad-unit {
    display: block;
    overflow: hidden;
}

/* Step 7: breeder / Kennel Club style mode */
input[type="text"] {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

input[type="text"]:focus {
    border-color: rgba(124, 100, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(124, 100, 255, 0.12);
}

.breeder-panel {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(124, 100, 255, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 8%, rgba(124, 100, 255, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.74);
}

.breeder-panel[hidden] {
    display: none;
}

.breeder-panel-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
}

.breeder-panel-header span {
    font-family: 'Baloo 2', cursive;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.breeder-panel-header small {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.4;
}

.breeder-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.breeder-grid label {
    font-size: 0.92rem;
}

.rule-note,
.kennel-disclaimer,
.name-check-card {
    border-radius: 18px;
    padding: 14px;
}

.rule-note {
    margin-top: 16px;
    background: rgba(79, 192, 141, 0.12);
    border: 1px solid rgba(79, 192, 141, 0.22);
}

.rule-note strong,
.kennel-disclaimer strong,
.name-check-card strong {
    display: block;
    font-weight: 900;
    color: var(--ink);
}

.rule-note ul,
.name-check-card ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-weight: 750;
    line-height: 1.45;
}

.kennel-disclaimer {
    margin-top: 14px;
    background: rgba(255, 139, 74, 0.12);
    border: 1px solid rgba(255, 139, 74, 0.24);
}

.kennel-disclaimer span,
.name-check-card span {
    display: block;
    color: var(--muted);
    font-weight: 750;
    line-height: 1.45;
    margin-top: 3px;
}

.name-check-card {
    position: relative;
    z-index: 1;
    margin: 16px 0;
    background: rgba(88, 183, 255, 0.12);
    border: 1px solid rgba(88, 183, 255, 0.24);
}

.name-check-card.has-warning {
    background: rgba(255, 139, 74, 0.12);
    border-color: rgba(255, 139, 74, 0.26);
}

@media (max-width: 640px) {
    .breeder-grid {
        grid-template-columns: 1fr;
    }
}

/* Step 8: launch / SEO support pages */
.content-page {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto 72px;
    padding-top: 48px;
}

.content-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(45, 42, 50, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(45, 42, 50, 0.08);
    padding: clamp(24px, 4vw, 42px);
}

.content-card h1,
.content-card h2 {
    margin-top: 0;
    color: var(--ink);
}

.content-card h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.02;
    max-width: 780px;
}

.content-card h2 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.content-card p {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

.content-grid-two,
.tips-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.small-card {
    padding: 28px;
}

.callout-card {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.callout-card p {
    max-width: 640px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 12px;
}

.footer-links a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .content-grid-two,
    .tips-list {
        grid-template-columns: 1fr;
    }

    .callout-card {
        align-items: stretch;
        flex-direction: column;
    }
}

.result-notice,
.results-section,
.image-issue-section {
    scroll-margin-top: 24px;
}

.image-issue-section {
    padding: clamp(24px, 4vw, 42px);
    background: rgba(255, 248, 230, 0.92);
    border: 1px solid rgba(177, 122, 12, 0.22);
    border-radius: 34px;
    box-shadow: var(--shadow);
    margin-bottom: 34px;
}

.image-issue-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(220px, 0.45fr);
    gap: 20px;
    align-items: center;
}

.image-issue-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 26px rgba(44, 36, 56, 0.10);
    font-size: 1.8rem;
}

.image-issue-copy h2 {
    margin: 4px 0 8px;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.image-issue-copy p,
.image-issue-copy li {
    color: var(--muted);
    line-height: 1.55;
}

.image-issue-copy ul {
    margin: 14px 0 18px;
    padding-left: 1.2rem;
}

.image-issue-photo {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 10px;
}

.image-issue-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
}

@media (max-width: 760px) {
    .image-issue-card {
        grid-template-columns: 1fr;
    }

    .image-issue-icon {
        width: 52px;
        height: 52px;
    }
}
