/* ==========================================================================
   HeartCap 3.0 (interview) — Heart Capital brand theme
   The app is a React + Tailwind Play (runtime JIT) SPA, so we can't touch its
   source. This sheet re-skins it to the main site: Maven Pro + hot pink
   #ff1fa8, remapping the rose-* utilities the app uses. !important is required
   because Tailwind injects its utility <style> at runtime (after this link).
   ========================================================================== */

/* --- Typography: Maven Pro (served via style-footer.css @font-face) --- */
body,
.font-sans {
    font-family: 'Maven Pro', 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* --- Brand gradient (logo "Cap", active step, accents) --- */
.heart-gradient {
    background: linear-gradient(135deg, #ff1fa8 0%, #ff5cc1 100%) !important;
}

::selection {
    background-color: #ff1fa8 !important;
    color: #ffffff !important;
}

/* --- Rose palette -> Heart Capital pink ----------------------------------
   rose-500 #f43f5e -> #ff1fa8   rose-600 #e11d48 -> #e0148f
   rose-400 #fb7185 -> #ff5cc1   rose-200 #fecdd3 -> #ffc7e9
   rose-100 #ffe4e6 -> #ffe1f4   rose-50  #fff1f2 -> #fff0f9
   rose-900 #881337 -> #7a0a4e
   ------------------------------------------------------------------------ */

/* text */
.text-rose-500 { color: #ff1fa8 !important; }
.text-rose-600 { color: #e0148f !important; }
.text-rose-400\/60 { color: rgba(255, 92, 193, 0.6) !important; }

/* backgrounds */
.bg-rose-50 { background-color: #fff0f9 !important; }
.bg-rose-200 { background-color: #ffc7e9 !important; }

/* borders */
.border-rose-50 { border-color: #fff0f9 !important; }
.border-rose-100 { border-color: #ffe1f4 !important; }
.focus\:border-rose-200:focus { border-color: #ffc7e9 !important; }

/* focus ring */
.focus\:ring-rose-500\/5:focus { --tw-ring-color: rgba(255, 31, 168, 0.05) !important; }

/* gradient stops */
.to-rose-50 { --tw-gradient-to: #fff0f9 !important; }

/* colored shadows */
.shadow-rose-200 {
    --tw-shadow-color: #ffc7e9 !important;
    --tw-shadow: var(--tw-shadow-colored) !important;
}
.shadow-rose-900\/5 {
    --tw-shadow-color: rgba(122, 10, 78, 0.05) !important;
    --tw-shadow: var(--tw-shadow-colored) !important;
}

/* group-hover */
.group:hover .group-hover\:bg-rose-100\/50 {
    background-color: rgba(255, 225, 244, 0.5) !important;
}

/* Generic safety net: any element still painted Tailwind rose-500/600 as an
   inline/style color falls back to brand pink for links/buttons. */
a.text-rose-500, button .text-rose-500 { color: #ff1fa8 !important; }

/* ==========================================================================
   Match the main site's big, bold display type. The app's step titles are
   only text-3xl (30px); the main site's hero runs ~80px. Scale the per-step
   <h1> headings up and tighten them so each screen opens with main-style
   display type instead of compact app type.
   ========================================================================== */
h1.text-3xl {
    font-size: clamp(2.75rem, 5.2vw, 3.9rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
}

/* Card / section titles a notch bolder to carry the same weight as main */
h2.text-lg.font-black { font-size: 1.4rem !important; letter-spacing: -0.02em !important; }

/* Brand wordmark in the app's own header (now hidden, kept for safety) */
.text-lg.font-bold.tracking-tight.text-gray-800 {
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
}

/* ==========================================================================
   Branded shell — frame the AI tool like a page of the main site:
   main-style sticky nav + pink hero band on top, premium footer below.
   The interactive wizard (#root) is untouched; only its redundant internal
   branding header/footer are hidden so the shell reads as one cohesive page.
   ========================================================================== */
:root { --hcnav-h: 66px; }

.hcnav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #f1e5ee;
    font-family: 'Maven Pro', 'Inter', sans-serif;
}
.hcnav__inner {
    max-width: 1200px;
    margin: 0 auto;
    height: var(--hcnav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 26px;
}
.hcnav__brand { display: flex; align-items: center; text-decoration: none; }
.hcnav__logo {
    width: var(--hcnav-h);
    height: var(--hcnav-h);
    background: #ff1fa8;
    display: grid;
    place-items: center;
}
.hcnav__logo img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.hcnav__links { display: flex; align-items: center; gap: 30px; }
.hcnav__links a {
    color: #ff1fa8;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}
.hcnav__links a:hover { color: #e0148f; }
@media (max-width: 860px) {
    .hcnav__links { gap: 16px; }
    .hcnav__links a { font-size: 11px; letter-spacing: 0.04em; }
}
@media (max-width: 560px) {
    .hcnav__links a:not(:nth-child(1)):not(:nth-child(3)) { display: none; }
}

.hchero {
    position: relative;
    overflow: hidden;
    background: #ff1fa8;
    color: #ffffff;
    font-family: 'Maven Pro', 'Inter', sans-serif;
    text-align: center;
}
.hchero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.4px);
    background-size: 22px 22px;
    pointer-events: none;
}
.hchero__inner { position: relative; max-width: 900px; margin: 0 auto; padding: 62px 24px 70px; }
.hchero__eyebrow {
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 13px;
    opacity: 0.95;
    margin: 0 0 14px;
}
.hchero__title {
    font-weight: 900;
    font-size: clamp(2.6rem, 5.6vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
}
.hchero__lead {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.95);
}
.hchero__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: 30px;
}
.hchero__steps span {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
}
.hchero__cta {
    display: inline-block;
    background: #ffffff;
    color: #ff1fa8;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 38px;
    border-radius: 100px;
    box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hchero__cta:hover { transform: translateY(-3px); box-shadow: 0 26px 40px -14px rgba(0, 0, 0, 0.5); }

/* hide the app's redundant internal header + footer (branding only) */
#root nav.h-14 { display: none !important; }
#root > div > footer.h-10 { display: none !important; }

/* let the tool size to its content so nav + hero + tool + footer flow as one
   page instead of the app forcing a rigid full viewport height */
#root > div.h-screen {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}
#root > div.h-screen > main {
    overflow: visible !important;
    flex: 0 0 auto !important;
}
/* flatten the tool's own inner scroll panel so the page scrolls as one
   (no nested scrollbar) instead of a fixed-height scroll box mid-page */
#root > div.h-screen > main > .overflow-y-auto {
    overflow: visible !important;
    height: auto !important;
}

/* Square corners to match the main site (Heart Capital uses sharp cards;
   only buttons are pills and avatars/icons are circles). Override the app's
   rounded-* utilities on cards/inputs/tiles, but keep rounded-full (pills,
   circular icon buttons, avatars). */
#root .rounded,
#root .rounded-sm,
#root .rounded-md,
#root .rounded-lg,
#root .rounded-xl,
#root .rounded-2xl,
#root .rounded-3xl,
#root [class*="rounded-["] {
    border-radius: 0 !important;
}
