:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    /* Slate 50 */
    --color-text-primary: #0F172A;
    /* Slate 900 */
    --color-text-secondary: #475569;
    /* Slate 600 */
    --color-text-tertiary: #94A3B8;
    /* Slate 400 */

    --color-accent-primary: #0F766E;
    /* Teal 700 */
    --color-accent-secondary: #0EA5E9;
    /* Sky 500 */
    --color-accent-light: #CCFBF1;
    /* Teal 100 */

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--color-text-primary);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--color-text-primary);
    border: 1px solid var(--color-text-tertiary);
    margin-left: 1rem;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.text-link {
    color: var(--color-accent-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.text-link:hover {
    text-decoration: underline;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.align-center {
    align-items: center;
}

.gap-large {
    gap: 6rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.nav-links a:not(.btn):hover {
    color: var(--color-text-primary);
}

/* Hero */
.hero-section {
    padding: 8rem 0 0;
    /* Reduced bottom padding */
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text .subhead {
    font-size: 1.35rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.social-proof {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    font-weight: 500;
    /* Removed border-left since it's now centered */
    border-left: none;
    padding-left: 0;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-proof::before {
    content: none;
}

.social-proof p {
    display: none;
    /* Hiding original text in p to use pseudo element if needed or just styling p directly. Let's stick to styling p directly */
}

/* Wait, let's revert the p hiding and just style it. */
.social-proof {
    border: none;
    padding: 0;
}

.social-proof p {
    display: block;
}


.hero-visual {
    width: 100%;
    max-width: 1200px;
    /* Or wider if desired */
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-visual img {
    width: 100%;
    height: auto;
    max-height: 500px;
    /* Optional constraint */
    object-fit: cover;
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: var(--shadow-premium);
    display: block;
}

/* Positioning */
.positioning-section {
    padding: 8rem 0;
    background-color: var(--color-bg);
}

.positioning-text .lead {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.positioning-text p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

.distinction-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.distinction-column {
    flex: 1;
}

.divider {
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.distinction-column h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-tertiary);
    margin-bottom: 1.5rem;
}

.distinction-column ul {
    list-style: none;
}

.distinction-column li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--color-text-primary);
}

.check-icon {
    color: var(--color-accent-secondary);
    margin-right: 0.75rem;
    font-weight: bold;
}

.cross-icon {
    color: var(--color-text-tertiary);
    margin-right: 0.75rem;
}

/* Workflow */
.workflow-section {
    padding: 8rem 0;
    background-color: var(--color-bg-alt);
}

.section-header.center {
    text-align: center;
    margin-bottom: 5rem;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 2rem;
}

.workflow-step {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.workflow-step p {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.connector-line {
    flex-grow: 1;
    height: 2px;
    background: #E2E8F0;
    margin-top: 3.5rem;
    /* Optical alignment with step number/title center */
    display: none;
    /* Hidden on mobile, handled via grid/flex on desktop */
}

@media (min-width: 768px) {
    .connector-line {
        display: block;
    }
}

.custody-note {
    text-align: center;
    margin-top: 4rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Audience */
.audience-section {
    padding: 8rem 0;
}

.audience-card {
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-light);
}

.audience-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.audience-card p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.benefit-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefit-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-secondary);
}

.benefit-list li::before {
    content: "•";
    color: var(--color-accent-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Trust */
.trust-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.trust-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.compliance-item h4 {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.compliance-item p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid #E2E8F0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-brand p {
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--color-text-primary);
}

/* Mobile Responsive & Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {

    /* Fonts */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Layout */
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        box-shadow: var(--shadow-premium);
        transition: right 0.3s ease;
        padding: 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .btn {
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        margin-left: 0;
    }

    /* Workflow */
    .workflow-steps {
        flex-direction: column;
        gap: 0;
    }

    .workflow-step {
        margin-bottom: 2rem;
        position: relative;
    }

    .workflow-step::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -2rem;
        width: 2px;
        height: 2rem;
        background: #E2E8F0;
        transform: translateX(-50%);
    }

    .workflow-step:last-child::after {
        display: none;
    }

    .connector-line {
        display: none;
    }

    /* Distinction Card */
    .distinction-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .divider {
        width: 100%;
        height: 1px;
        margin: 1.5rem 0;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}