.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.loading-splash {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 4;
}

.loading-logo {
    width: min(680px, 90vw);
    height: auto;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
    animation: loading-logo-breathe 1400ms ease-in-out infinite alternate;
}

@keyframes loading-logo-breathe {
    0% {
        opacity: 0.54;
        transform: scale(0.94);
    }

    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

:root {
    color-scheme: dark;
    --theme-bg: #101324;
    --theme-gold: #e3ca90;
    --theme-bronze: #958768;
    --surface-1: #171b31;
    --surface-2: #1f2440;
    --line-soft: rgba(227, 202, 144, 0.2);
    --line-strong: rgba(227, 202, 144, 0.36);
    --text-main: #f8f2e2;
    --text-muted: #d0c5ae;
    --shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    --radius-xl: 12px;
    --radius-lg: 8px;
    --gold-ambient-1: rgba(227, 202, 144, 0.11);
    --gold-ambient-2: rgba(227, 202, 144, 0.06);
    --gold-sheen: rgba(227, 202, 144, 0.03);
}

* {
    box-sizing: border-box;
}

.skip-link {
    position: fixed;
    left: 0.85rem;
    top: -3rem;
    z-index: 9999;
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    background: #e3ca90;
    color: #101324;
    font-weight: 700;
    text-decoration: none;
    transition: top 120ms ease;
}

.skip-link:focus-visible {
    top: 0.85rem;
}

html,
body,
#app {
    min-height: 100%;
}

html,
body {
    margin: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    forced-color-adjust: none;
    color: var(--text-main);
    font-family: "Manrope", "Plus Jakarta Sans", "Segoe UI", sans-serif;
    line-height: 1.5;
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(120% 82% at -10% -18%, rgba(227, 202, 144, 0.085), transparent 58%),
        radial-gradient(96% 68% at 108% 2%, rgba(149, 135, 104, 0.12), transparent 62%),
        radial-gradient(78% 82% at 50% 118%, rgba(227, 202, 144, 0.07), transparent 60%),
        linear-gradient(165deg, #0c1020 0%, #11162a 48%, #0f1426 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(52% 56% at 22% 26%, rgba(227, 202, 144, 0.06), transparent 78%),
        radial-gradient(48% 52% at 76% 76%, rgba(149, 135, 104, 0.08), transparent 80%);
    animation: mesh-drift 24s ease-in-out infinite alternate;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.045) 0.45px, transparent 0.45px),
        radial-gradient(rgba(227, 202, 144, 0.038) 0.55px, transparent 0.55px);
    background-size: 4px 4px, 6px 6px;
    background-position: 0 0, 1px 2px;
}

#app,
.page-shell,
#blazor-error-ui {
    position: relative;
    z-index: 1;
}

.page-shell {
    min-height: 100vh;
    padding: 0 0 calc(1.6rem + env(safe-area-inset-bottom));
}

.bot-trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    overflow: hidden !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
.mud-button-root:focus-visible,
.mud-input-input:focus-visible {
    outline: 2px solid #e3ca90 !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(16, 19, 36, 0.9) !important;
}

.center-column {
    width: min(1280px, calc(100vw - 1.2rem));
    margin: 0 auto;
    display: grid;
    gap: 1.35rem;
}

.brand-stack {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
}

.brand-name-large {
    width: min(434px, 64%);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.38));
}

.brand-subline {
    margin: 0;
    text-align: center;
    color: #e7d3aa;
    text-shadow: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    font-weight: 700;
}

.ai-panel,
.company-hero,
.contact-shell {
    border-radius: var(--radius-xl);
    border: 1px solid var(--line-soft);
    background: linear-gradient(160deg, rgba(30, 37, 64, 0.9), rgba(18, 23, 43, 0.9));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.ai-panel,
.company-hero,
.contact-shell,
.founder-section,
.how-it-works,
.site-footer,
.metric-card,
.hero-point,
.founder-card,
.how-step,
.footer-block {
    position: relative;
    overflow: hidden;
}


.ai-panel::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 42%, var(--gold-ambient-1), transparent 54%),
        radial-gradient(circle at 50% 56%, var(--gold-ambient-2), transparent 66%),
        linear-gradient(120deg, transparent 38%, var(--gold-sheen) 50%, transparent 62%);
    animation: gold-ambient-center 18s ease-in-out infinite alternate;
}

.ai-panel > * {
    position: relative;
    z-index: 1;
}

.ai-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.3rem);
    min-height: 260px;
    transition: min-height 520ms ease;
    display: flex;
    flex-direction: column;
}

.ai-stack {
    display: grid;
    gap: 0;
}

.assistant-bottom-extras {
    margin-top: 0.7rem;
    padding-top: 0.66rem;
    border-top: 1px solid rgba(227, 202, 144, 0.2);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 0.64rem;
}

.assistant-bottom-extras > section:only-child {
    grid-column: 1 / -1;
}

.ai-panel.started {
    min-height: calc(800px + var(--ai-extras-height, 0px));
    max-height: calc(1000px + var(--ai-extras-height, 0px));
    animation: stretch-ai-panel 520ms ease-out;
}

.ai-header h2 {
    margin: 0;
    color: var(--theme-gold, #e3ca90);
    letter-spacing: 0.01em;
    text-align: center;
}

.section-heading {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: 0;
    font-weight: 800;
}

.brand-subline,
.section-heading,
.ai-header h2,
.company-hero h2,
.founder-section h2,
.how-it-works .section-heading,
.metric-value,
.hero-audit h3,
.how-step-index,
.footer-title {
    -webkit-text-fill-color: currentColor;
}

.section-heading:focus,
.section-heading:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

.ai-header p {
    margin: 0.4rem 0 0;
    color: var(--text-muted);
    line-height: 1.52;
    text-align: center;
}

.chat-service-alert {
    margin-top: 0.75rem;
    padding: 0.62rem 0.72rem;
    border-radius: 12px;
    border: 1px solid rgba(227, 202, 144, 0.38);
    background: linear-gradient(145deg, rgba(58, 33, 28, 0.38), rgba(29, 20, 19, 0.4));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.6rem;
}

.chat-service-alert-icon .mud-icon-root {
    color: #ffd39f;
    font-size: 1.1rem;
}

.chat-service-alert-copy p {
    margin: 0;
}

.chat-service-alert-title {
    color: #ffe2bc;
    font-size: 0.82rem;
    font-weight: 700;
}

.chat-service-alert-text {
    margin-top: 0.12rem !important;
    color: rgba(255, 236, 205, 0.88);
    font-size: 0.76rem;
    line-height: 1.35;
}

.chat-service-retry {
    border: 1px solid rgba(227, 202, 144, 0.44);
    border-radius: 999px;
    background: rgba(16, 19, 36, 0.8);
    color: #f5e5c2;
    padding: 0.32rem 0.66rem;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.chat-service-retry:disabled {
    opacity: 0.52;
    cursor: not-allowed;
}

.welcome-lines {
    margin-top: 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: rgba(14, 18, 35, 0.75);
    padding: 0.9rem;
    display: grid;
    gap: 0.4rem;
}

.welcome-lines p {
    margin: 0;
    color: #f0e7d2;
    line-height: 1.45;
}

.conversation-box {
    margin-top: 0.8rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: rgba(10, 14, 30, 0.78);
    max-height: 740px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.ai-panel.started .conversation-box {
    flex: 1;
    min-height: 0;
    max-height: none;
}

.conversation-box::-webkit-scrollbar {
    width: 8px;
}

.conversation-box::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(227, 202, 144, 0.34);
}

.conversation-item {
    padding: 0.8rem 0.95rem;
    max-width: min(44%, 520px);
    border-radius: var(--radius-lg);
}

.conversation-item.assistant {
    background: rgba(149, 135, 104, 0.16);
    border: 1px solid rgba(227, 202, 144, 0.3);
    margin: 0.55rem auto 0.55rem 0.55rem;
}

.conversation-item.user {
    background: rgba(227, 202, 144, 0.12);
    border: 1px solid rgba(227, 202, 144, 0.48);
    margin: 0.55rem 0.55rem 0.55rem auto;
    text-align: right;
}

.conversation-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--theme-gold, #e3ca90);
}

.conversation-item p {
    margin: 0;
    color: #f0e7d2;
    line-height: 1.5;
    font-size: 0.96rem;
    white-space: pre-wrap;
}

.streaming-text {
    margin: 0;
    color: #f0e7d2;
    line-height: 1.52;
    white-space: pre-wrap;
}

.stream-caret {
    display: inline-block;
    width: 0.42rem;
    height: 1.05em;
    margin-left: 0.15rem;
    vertical-align: text-bottom;
    border-radius: 2px;
    background: rgba(227, 202, 144, 0.85);
    animation: caret-blink 0.95s steps(1, end) infinite;
}

.message-sources {
    margin-top: 0.46rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.32rem;
}

.source-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(227, 202, 144, 0.32);
    background: rgba(13, 17, 32, 0.64);
    color: rgba(245, 233, 201, 0.92);
    font-size: 0.68rem;
    line-height: 1.1;
}

.message-actions {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.assistant-lead-cta {
    margin-top: 0.55rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(227, 202, 144, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.assistant-lead-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(227, 202, 144, 0.72);
    border-radius: 999px;
    background: transparent;
    color: #e3ca90;
    min-height: 46px;
    padding: 0.58rem 1.05rem;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.assistant-lead-cta-button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(227, 202, 144, 0.95);
    background: rgba(227, 202, 144, 0.1);
    color: #f5e6c3;
}

.assistant-lead-cta-button:disabled {
    opacity: 0.56;
    cursor: default;
}

.chat-action-button {
    border: 1px solid rgba(227, 202, 144, 0.34);
    background: rgba(14, 18, 34, 0.74);
    color: #f5e6c3;
    border-radius: var(--radius-lg);
    padding: 0.24rem 0.58rem;
    font-size: 0.72rem;
    line-height: 1.1;
    cursor: pointer;
    transition: border-color 150ms ease, transform 150ms ease;
}

.chat-action-button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(227, 202, 144, 0.55);
}

.chat-action-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-copy-feedback {
    margin: 0.34rem 0 0;
    font-size: 0.72rem;
    color: rgba(227, 202, 144, 0.95);
}

.assistant-markdown {
    color: #f0e7d2;
    line-height: 1.55;
}

.assistant-markdown p,
.assistant-markdown ul,
.assistant-markdown ol,
.assistant-markdown table,
.assistant-markdown blockquote,
.assistant-markdown pre {
    margin: 0.4rem 0 0;
}

.assistant-markdown p:first-child,
.assistant-markdown ul:first-child,
.assistant-markdown ol:first-child,
.assistant-markdown table:first-child,
.assistant-markdown blockquote:first-child,
.assistant-markdown pre:first-child {
    margin-top: 0;
}

.assistant-markdown ul,
.assistant-markdown ol {
    padding-left: 1rem;
}

.assistant-markdown table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.assistant-markdown th,
.assistant-markdown td {
    border: 1px solid rgba(227, 202, 144, 0.28);
    padding: 0.38rem 0.46rem;
    text-align: left;
}

.assistant-markdown th {
    background: rgba(227, 202, 144, 0.16);
    color: #f7e7c0;
    font-weight: 700;
}

.assistant-markdown code {
    background: rgba(17, 23, 42, 0.8);
    border: 1px solid rgba(227, 202, 144, 0.2);
    border-radius: 6px;
    padding: 0.06rem 0.3rem;
}

.assistant-markdown pre {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(227, 202, 144, 0.2);
    background: rgba(12, 16, 30, 0.85);
    padding: 0.55rem;
}

.assistant-markdown blockquote {
    border-left: 3px solid rgba(227, 202, 144, 0.5);
    padding-left: 0.55rem;
    color: #e9d9b4;
}

.thinking-item {
    display: grid;
    gap: 0.2rem;
}

.thinking-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    height: 1rem;
}

.thinking-dots span {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--theme-gold, #e3ca90);
    animation: thinking-pulse 1s ease-in-out infinite;
}

.thinking-dots span:nth-child(2) {
    animation-delay: 0.16s;
}

.thinking-dots span:nth-child(3) {
    animation-delay: 0.32s;
}

.prompt-suggestions {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.suggestion-chip {
    flex: 0 1 320px;
    min-height: 48px;
    border-radius: var(--radius-lg) !important;
    text-transform: none !important;
    font-weight: 600 !important;
    border-color: var(--line-strong) !important;
    color: #f4e2b9 !important;
    background: linear-gradient(165deg, rgba(21, 27, 50, 0.92), rgba(14, 18, 35, 0.92)) !important;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease !important;
}

.suggestion-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(227, 202, 144, 0.55) !important;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.26);
}

.prompt-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
}

.prompt-row.before-start {
    margin-top: 0.9rem;
}

.prompt-row.after-start {
    margin-top: 0.75rem;
}

.prompt-input-wrap {
    position: relative;
}

.prompt-counter-inside {
    position: absolute;
    right: 3.85rem;
    bottom: 0.62rem;
    z-index: 2;
    pointer-events: none;
    color: rgba(227, 202, 144, 0.72);
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    background: rgba(16, 19, 36, 0.72);
    padding: 0 0.25rem;
    border-radius: 6px;
}

.ai-panel.started .prompt-row.after-start {
    margin-top: auto;
    padding-top: 0.75rem;
    flex-shrink: 0;
}

.followup-suggestions {
    margin-top: 0;
    padding: 0.62rem 0.62rem 0.58rem;
    border-radius: 12px;
    border: 1px solid rgba(227, 202, 144, 0.24);
    background: rgba(12, 16, 31, 0.64);
}

.followup-suggestions p {
    margin: 0;
    color: var(--theme-gold, #e3ca90);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.followup-grid {
    margin-top: 0.45rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem;
}

.followup-chip {
    border: 1px solid rgba(227, 202, 144, 0.28);
    border-radius: var(--radius-lg);
    background: rgba(18, 24, 44, 0.74);
    color: #f5e8cb;
    text-align: left;
    padding: 0.44rem 0.52rem;
    font-size: 0.77rem;
    line-height: 1.32;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease;
}

.followup-chip:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(227, 202, 144, 0.5);
}

.followup-chip:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.chat-export {
    margin-top: 0.7rem;
    margin-bottom: 0.08rem;
    display: grid;
    justify-items: center;
}

.chat-export-button {
    margin: 0;
    display: block;
    border: 1px solid rgba(227, 202, 144, 0.42);
    border-radius: var(--radius-lg);
    background: rgba(17, 22, 41, 0.78);
    color: #f3e2bc;
    padding: 0.52rem 0.98rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.chat-export-button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(227, 202, 144, 0.58);
    background: rgba(21, 27, 50, 0.84);
}

.chat-export-button:disabled {
    opacity: 0.62;
    cursor: not-allowed;
}

.chat-export-feedback {
    margin: 0.36rem 0 0;
    color: rgba(227, 202, 144, 0.9);
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
}

.lead-capture {
    margin-top: 0;
    padding: 0.72rem;
    border-radius: 12px;
    border: 1px solid rgba(227, 202, 144, 0.26);
    background: linear-gradient(150deg, rgba(24, 31, 56, 0.86), rgba(15, 20, 38, 0.9));
}

.lead-capture-title {
    margin: 0;
    color: #f4e5c2;
    font-size: 0.94rem;
    font-weight: 700;
    text-align: center;
}

.lead-capture-copy {
    margin: 0.26rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: center;
}

.lead-capture-meta-row {
    margin-top: 0.52rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.lead-capture-row {
    margin-top: 0.52rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.45rem;
}

.lead-email-input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(227, 202, 144, 0.34);
    background: rgba(14, 19, 35, 0.9);
    color: #f5eedb;
    padding: 0.62rem 0.68rem;
    outline: none;
    font: inherit;
    line-height: 1.35;
}

.lead-email-input:focus {
    border-color: rgba(227, 202, 144, 0.58);
    box-shadow: 0 0 0 1px rgba(227, 202, 144, 0.26);
}

.lead-submit-button {
    border-radius: var(--radius-lg) !important;
    min-width: 110px;
    text-transform: none !important;
    color: #101324 !important;
    background: linear-gradient(145deg, #e8d4a3, #cdae72) !important;
    border: 0 !important;
}

.lead-submit-button.mud-disabled,
.lead-submit-button.mud-button-disabled,
.lead-submit-button:disabled {
    color: rgba(16, 19, 36, 0.78) !important;
    background: linear-gradient(145deg, rgba(227, 202, 144, 0.62), rgba(149, 135, 104, 0.6)) !important;
    opacity: 1 !important;
}

.lead-later-button {
    margin-top: 0.42rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 0;
    background: transparent;
    color: rgba(227, 202, 144, 0.9);
    cursor: pointer;
    font-size: 0.76rem;
    padding: 0;
}

.lead-feedback {
    margin: 0.44rem 0 0;
    color: var(--theme-gold, #e3ca90);
    line-height: 1.4;
    font-size: 0.78rem;
    text-align: left;
}

.prompt-textarea {
    width: 100%;
    min-height: 52px;
    max-height: 260px;
    overflow-y: auto;
    resize: none;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    background: rgba(16, 19, 36, 0.94);
    color: #f5eedb;
    padding: 0.78rem 4.4rem 3.2rem 0.82rem;
    font: inherit;
    font-size: 1rem;
    line-height: 1.45;
    outline: none;
}

.prompt-textarea:focus {
    border-color: rgba(227, 202, 144, 0.58);
    box-shadow: 0 0 0 1px rgba(227, 202, 144, 0.28);
}

.prompt-textarea::placeholder {
    color: rgba(245, 238, 219, 0.68);
}

.send-inline {
    position: absolute;
    right: 0.62rem;
    bottom: 0.62rem;
    z-index: 3;
    min-width: 48px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg) !important;
    padding: 0 !important;
    background: linear-gradient(145deg, #e3ca90, #958768) !important;
    color: #101324 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.send-inline:hover:not(.mud-disabled):not(.mud-button-disabled):not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.send-inline .mud-icon-root {
    font-size: 1.25rem;
    color: #101324 !important;
}

.send-inline.mud-disabled,
.send-inline.mud-button-disabled,
.send-inline:disabled {
    color: rgba(16, 19, 36, 0.78) !important;
    background: linear-gradient(145deg, rgba(227, 202, 144, 0.62), rgba(149, 135, 104, 0.6)) !important;
    opacity: 1 !important;
}

.send-inline.mud-disabled .mud-icon-root,
.send-inline.mud-button-disabled .mud-icon-root,
.send-inline:disabled .mud-icon-root {
    color: rgba(16, 19, 36, 0.78) !important;
}

.company-hero {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.contact-shell {
    padding: clamp(0.9rem, 1.8vw, 1.2rem);
}

.section-divider {
    width: min(940px, calc(100% - 0.8rem));
    height: 1px;
    margin: 1rem auto 1rem;
    background: linear-gradient(
        90deg,
        rgba(227, 202, 144, 0),
        rgba(227, 202, 144, 0.38),
        rgba(227, 202, 144, 0)
    );
}

.company-hero h2 {
    margin: 0.35rem 0 0;
    color: var(--theme-gold, #e3ca90);
    text-align: center;
}

.hero-copy {
    margin: 0.72rem auto 0;
    max-width: 780px;
    color: #d5c7a8;
    line-height: 1.65;
    text-align: center;
}

.hero-metrics {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.metric-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: rgba(16, 20, 37, 0.75);
    padding: 0.78rem;
    text-align: center;
}

.metric-value {
    display: block;
    color: var(--theme-gold, #e3ca90);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.metric-card p {
    margin: 0.22rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.hero-points {
    margin-top: 0.92rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.hero-point {
    display: grid;
    justify-items: center;
    text-align: left;
    gap: 0.5rem;
    padding: 0.95rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: rgba(20, 24, 44, 0.84);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-point:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 202, 144, 0.48);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.28);
}

.point-icon {
    color: var(--theme-gold, #e3ca90);
    font-size: 2rem !important;
    margin-top: 0.05rem;
}

.hero-point h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    color: #f5ebd2;
    text-align: center;
}

.hero-list {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.38rem;
}

.hero-list li {
    color: var(--text-muted);
    line-height: 1.45;
    font-size: 0.88rem;
}

.hero-audit {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
    padding: 0.92rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: rgba(227, 202, 144, 0.08);
}

.hero-audit h3 {
    margin: 0;
    color: var(--theme-gold, #e3ca90);
    font-size: 0.98rem;
}

.hero-audit p {
    margin: 0.2rem 0 0;
    color: var(--text-muted);
    line-height: 1.45;
    font-size: 0.88rem;
}

.audit-chips {
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.42rem;
}

.audit-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(227, 202, 144, 0.36);
    background: rgba(18, 24, 44, 0.72);
    color: #f3e3be;
    font-size: 0.79rem;
    line-height: 1;
    letter-spacing: 0.01em;
}

.founder-section {
    margin-top: 1.2rem;
    padding: 1.15rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line-soft);
    background: linear-gradient(165deg, rgba(20, 25, 46, 0.92), rgba(15, 20, 38, 0.9));
}

.founder-section h2 {
    margin: 0;
    color: var(--theme-gold, #e3ca90);
    text-align: center;
}

.founder-intro {
    margin-top: 0.82rem;
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 1.2rem;
    align-items: center;
}

.founder-media {
    position: relative;
    display: grid;
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(227, 202, 144, 0.38);
    box-shadow:
        0 0 0 1px rgba(16, 19, 36, 0.5),
        0 10px 18px rgba(0, 0, 0, 0.22);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.founder-photo-name {
    position: absolute;
    top: 0.62rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.32rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(227, 202, 144, 0.52);
    background: rgba(10, 14, 30, 0.66);
    color: #f4e9cf;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.founder-media:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(227, 202, 144, 0.88);
    box-shadow:
        0 0 0 1px rgba(227, 202, 144, 0.45),
        0 0 0 4px rgba(227, 202, 144, 0.16),
        0 18px 28px rgba(0, 0, 0, 0.3);
}

.founder-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 2px);
    border: 0;
    display: block;
    transition: transform 220ms ease;
}

.founder-media:hover .founder-photo {
    transform: scale(1.03);
}

.founder-subtitle {
    margin: 0 0 0.56rem;
    color: #f1e5c8;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: left;
}

.founder-text {
    display: grid;
    align-content: center;
    gap: 0.48rem;
    text-align: left;
    max-width: 760px;
}

.founder-text p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.68;
    font-size: 0.98rem;
    text-align: left;
}

.founder-highlight-list {
    margin: 0.1rem 0 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.25rem;
}

.founder-highlight-list li {
    color: #e4d6b7;
    line-height: 1.45;
    font-size: 0.9rem;
}

.founder-cards {
    margin-top: 1.05rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.78rem;
}

.founder-cred {
    margin-top: 0.95rem;
    padding: 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(227, 202, 144, 0.2);
    background: rgba(14, 18, 34, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.founder-cred h3 {
    margin: 0;
    color: #f0e2bf;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-align: center;
}

.founder-tools-row {
    margin-top: 0.7rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.founder-logo-card {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0;
    min-height: 96px;
    padding: 0.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(227, 202, 144, 0.2);
    background: linear-gradient(160deg, rgba(20, 26, 48, 0.92), rgba(14, 19, 36, 0.9));
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.founder-logo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 202, 144, 0.5);
    box-shadow:
        0 16px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.founder-logo-pad {
    display: grid;
    place-items: center;
    width: min(260px, 92%);
    min-height: 62px;
    padding: 0.2rem;
    border-radius: var(--radius-lg);
    background: #f4f6fa;
    border: 1px solid rgba(16, 19, 36, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.founder-logo {
    max-width: min(190px, 100%);
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(1.02) contrast(1.02);
    transition: transform 200ms ease;
}

.founder-logo-card:hover .founder-logo {
    transform: scale(1.04);
}

.founder-logo-card-aqcte {
    margin-top: 0.62rem;
    min-height: 152px;
    width: 100%;
}

.founder-logo-pad-aqcte {
    width: min(520px, 96%);
    min-height: 118px;
    padding: 0.2rem;
}

.founder-logo-aqcte {
    max-height: 112px;
    max-width: min(440px, 100%);
}

.founder-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: rgba(16, 20, 38, 0.8);
    padding: 1rem;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.founder-card:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 202, 144, 0.48);
    box-shadow: 0 14px 22px rgba(0, 0, 0, 0.24);
}

.founder-card h3 {
    margin: 0;
    color: #f5ebd2;
    font-size: 1.02rem;
    text-align: center;
}

.founder-card p {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    line-height: 1.58;
    font-size: 0.89rem;
    text-align: left;
}

.founder-card ul {
    margin: 0.52rem 0 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.34rem;
}

.founder-card li {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.89rem;
    text-align: left;
}

.contact-action {
    margin: 0;
}

.contact-button,
.submit-contact-button {
    border-radius: var(--radius-lg) !important;
    text-transform: none !important;
    font-weight: 700 !important;
    border-color: var(--theme-gold, #e3ca90) !important;
    color: var(--theme-gold, #e3ca90) !important;
}

.contact-button {
    padding: 0.8rem 1.6rem !important;
    font-size: 1.05rem !important;
    background: linear-gradient(165deg, rgba(20, 25, 46, 0.7), rgba(15, 19, 35, 0.72)) !important;
}

.submit-contact-button {
    min-width: 190px;
    padding: 0.7rem 1.35rem !important;
    border: 0 !important;
    color: #101324 !important;
    background: linear-gradient(145deg, #e8d4a3, #cdae72) !important;
}

.submit-contact-button.mud-disabled,
.submit-contact-button.mud-button-disabled,
.submit-contact-button:disabled {
    color: rgba(16, 19, 36, 0.82) !important;
    background: linear-gradient(145deg, rgba(227, 202, 144, 0.68), rgba(149, 135, 104, 0.62)) !important;
    opacity: 1 !important;
}

.contact-collapse {
    margin-top: 0;
    border: 0;
    background: transparent;
    padding: 0;
}

.contact-collapse .contact-form {
    margin-top: 0.8rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: rgba(15, 19, 35, 0.76);
    padding: 0.85rem;
}

.contact-form .mud-input-control-input-container {
    border-radius: var(--radius-lg);
    background: rgba(16, 19, 36, 0.94);
}

.contact-form .mud-input-outlined-border {
    border-color: var(--line-strong) !important;
}

.contact-form .mud-input-input,
.contact-form .mud-input-label,
.contact-form .mud-input-helper-text {
    color: #f5eedb !important;
}

.contact-submit-row {
    margin-top: 0.25rem;
}

.contact-feedback {
    margin: 0;
    color: var(--theme-gold, #e3ca90);
    line-height: 1.45;
    text-align: left;
}

.contact-feedback-block {
    margin-top: 0.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    padding: 0.66rem 0.74rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.55rem;
}

.contact-feedback-block.success {
    border-color: rgba(121, 208, 147, 0.46);
    background: rgba(17, 48, 34, 0.42);
}

.contact-feedback-block.error {
    border-color: rgba(232, 137, 117, 0.42);
    background: rgba(59, 25, 24, 0.4);
}

.contact-feedback-icon {
    margin-top: 0.1rem;
}

.contact-feedback-block.success .contact-feedback-icon {
    color: #8fdca4;
}

.contact-feedback-block.error .contact-feedback-icon {
    color: #ffb39d;
}

.contact-feedback-title {
    margin: 0;
    font-weight: 700;
    font-size: 0.86rem;
    color: #f6ead2;
}

.contact-next-step {
    margin: 0.34rem 0 0;
    color: rgba(245, 238, 219, 0.86);
    font-size: 0.79rem;
    line-height: 1.4;
}

.how-it-works {
    margin-top: 1.2rem;
    padding: 1.05rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line-soft);
    background: linear-gradient(165deg, rgba(19, 24, 44, 0.9), rgba(14, 19, 36, 0.9));
}

.how-it-works .section-heading {
    text-align: center;
    color: var(--theme-gold, #e3ca90);
}

.how-it-works-copy {
    margin: 0.62rem auto 0;
    max-width: 760px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.how-it-works-grid {
    margin-top: 0.86rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.how-step {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: rgba(16, 20, 38, 0.78);
    padding: 0.84rem;
    display: grid;
    justify-items: center;
    text-align: center;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.how-step:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 202, 144, 0.48);
    box-shadow: 0 14px 22px rgba(0, 0, 0, 0.24);
}

.how-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(227, 202, 144, 0.44);
    color: var(--theme-gold, #e3ca90);
    font-weight: 700;
    font-size: 0.8rem;
}

.how-step h3 {
    margin: 0.55rem 0 0;
    color: #f5ebd2;
    font-size: 0.98rem;
    text-align: center;
}

.how-step p {
    margin: 0.38rem 0 0;
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 0.86rem;
    text-align: center;
}

.site-footer {
    border-radius: var(--radius-xl);
    border: 1px solid var(--line-soft);
    background: linear-gradient(165deg, rgba(15, 19, 35, 0.84), rgba(12, 16, 30, 0.84));
    padding: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.footer-block {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(227, 202, 144, 0.14);
    background: rgba(17, 22, 41, 0.7);
    padding: 0.66rem 0.72rem;
    display: grid;
    justify-items: center;
    text-align: center;
}

.footer-title {
    margin: 0;
    color: var(--theme-gold, #e3ca90);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.footer-block p {
    margin: 0.34rem 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: center;
}

.footer-sector-text {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-block a {
    color: #f4e2bd;
    text-decoration: none;
}

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

@keyframes stretch-ai-panel {
    from {
        min-height: 260px;
    }

    to {
        min-height: 800px;
    }
}

@keyframes thinking-pulse {
    0%,
    80%,
    100% {
        transform: scale(0.62);
        opacity: 0.45;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes caret-blink {
    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@keyframes gold-ambient-center {
    0% {
        transform: translate3d(-0.5%, -0.6%, 0) scale(1);
        opacity: 0.62;
    }

    50% {
        transform: translate3d(0.4%, -0.2%, 0) scale(1.015);
        opacity: 0.74;
    }

    100% {
        transform: translate3d(0.5%, 0.6%, 0) scale(1.02);
        opacity: 0.68;
    }
}

@keyframes gold-ripple-wave {
    0% {
        opacity: 0.42;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(12);
    }
}

@keyframes mesh-drift {
    0% {
        transform: translate3d(-1.2%, -1%, 0) scale(1.01);
    }

    100% {
        transform: translate3d(1.4%, 1.1%, 0) scale(1.04);
    }
}


@media (max-width: 980px) {
    .ai-panel.started {
        min-height: min(calc(72dvh + var(--ai-extras-height, 0px)), calc(760px + var(--ai-extras-height, 0px)));
        max-height: min(calc(88dvh + var(--ai-extras-height, 0px)), calc(900px + var(--ai-extras-height, 0px)));
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .founder-intro {
        grid-template-columns: 1fr;
    }

    .founder-media {
        justify-items: center;
    }

    .founder-photo {
        max-width: 340px;
    }

    .founder-cards {
        grid-template-columns: 1fr;
    }

    .founder-tools-row {
        grid-template-columns: 1fr;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .assistant-bottom-extras {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .center-column {
        width: min(1280px, calc(100vw - 0.85rem));
    }

    .ai-panel.started {
        min-height: min(calc(68dvh + var(--ai-extras-height, 0px)), calc(700px + var(--ai-extras-height, 0px)));
        max-height: min(calc(84dvh + var(--ai-extras-height, 0px)), calc(820px + var(--ai-extras-height, 0px)));
        animation: none;
        transition: min-height 220ms ease;
    }

    .chat-service-alert {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        text-align: center;
    }

    .ai-header h2,
    .ai-header p,
    .chat-export-feedback {
        text-align: center;
    }

    .chat-service-alert-icon {
        justify-self: center;
    }

    .chat-service-retry {
        justify-self: center;
    }

    .prompt-row {
        grid-template-columns: 1fr;
    }

    .prompt-suggestions {
        flex-direction: column;
        align-items: center;
    }

    .suggestion-chip {
        flex: none;
        width: 100%;
        max-width: 420px;
        min-height: 42px;
        padding-top: 0.28rem !important;
        padding-bottom: 0.28rem !important;
    }

    .assistant-bottom-extras {
        padding-top: 0.55rem;
        gap: 0.55rem;
    }

    .followup-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.48rem;
        overflow: visible;
        padding-bottom: 0;
    }

    .followup-chip {
        width: 100%;
        min-height: 54px;
        flex: none;
    }

    .lead-capture-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .lead-capture-meta-row {
        grid-template-columns: 1fr;
    }

    .lead-submit-button {
        width: 100%;
        min-width: 0;
    }

    .ai-panel.started .conversation-box {
        min-height: 340px;
    }

    .conversation-item {
        max-width: min(78%, 520px);
    }

    .assistant-lead-cta {
        flex-direction: column;
        align-items: center;
    }

    .submit-contact-button {
        width: 100%;
        min-width: 0;
        height: 44px;
    }

    .send-inline {
        width: 52px;
        min-width: 52px;
        height: 52px;
        right: 0.62rem;
        bottom: 0.62rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .founder-subtitle,
    .founder-text,
    .founder-text p {
        text-align: center;
    }

    .contact-feedback-block {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-feedback-icon {
        justify-self: center;
    }

    .contact-feedback-title,
    .contact-feedback,
    .contact-next-step {
        text-align: center;
    }

}
