@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800&family=Merriweather:wght@400;700&display=swap');

:root {
    --0nk-primary: #9333ea;
    --0nk-secondary: #7e22ce;
    --0nk-accent: #fbbf24;
    --0nk-background: #faf5ff;
    --0nk-text: #581c87;
    --0nk-muted: #d8b4fe;
    --0nk-dark-bg: #1a1a2e;
    --0nk-dark-text: #e0e0e0;
    --0nk-border-color: #e0e0e0;
    --0nk-card-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --0nk-transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.75;
    color: var(--0nk-text);
    background-color: var(--0nk-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--0nk-primary);
    color: #595959;
}

a {
    color: var(--0nk-primary);
    text-decoration: none;
    transition: color 0.25s var(--0nk-transition-timing);
}

a:hover {
    color: var(--0nk-secondary);
}

/* Typography Scale */

h1, .st-h1 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* 40px to 72px */
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--0nk-text);
}

h2, .st-h2 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 3rem); /* 32px to 48px */
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--0nk-text);
}

h3, .st-h3 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem); /* 24px to 30px */
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--0nk-text);
}

h4 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1.375rem; /* 22px */
    line-height: 1.4;
    color: var(--0nk-text);
}

p {
    font-size: 1.125rem; /* 18px */
    line-height: 1.75;
    margin-bottom: 1rem;
}

.st-text-small {
    font-size: 0.9375rem; /* 15px */
    line-height: 1.6;
}

.st-subheading {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem; /* 16px */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--0nk-secondary);
    margin-bottom: 1rem;
}

.st-text-center {
    text-align: center;
}

/* Spacing Utilities (8pt grid) */
.st-py-128 { padding-top: 128px; padding-bottom: 128px; }
.st-py-96 { padding-top: 96px; padding-bottom: 96px; }
.st-py-64 { padding-top: 64px; padding-bottom: 64px; }
.st-py-48 { padding-top: 48px; padding-bottom: 48px; }
.st-pt-96 { padding-top: 96px; }
.st-pb-96 { padding-bottom: 96px; }
.st-mb-32 { margin-bottom: 32px; }
.st-mb-24 { margin-bottom: 24px; }
.st-mb-16 { margin-bottom: 16px; }
.st-mt-32 { margin-top: 32px; }
.st-mx-auto { margin-left: auto; margin-right: auto; }

/* Layout */
.st-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.st-section {
    padding-top: 96px;
    padding-bottom: 96px;
    position: relative;
}

.st-section-alt {
    background-color: var(--0nk-dark-bg);
    color: var(--0nk-dark-text);
    padding-top: 96px;
    padding-bottom: 96px;
}

.st-section-alt h1, .st-section-alt h2, .st-section-alt h3, .st-section-alt h4 {
    color: var(--0nk-dark-text);
}

.st-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.st-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.st-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.st-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.st-flex {
    display: flex;
    gap: 16px;
}

.st-flex-col {
    flex-direction: column;
}

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

.st-justify-center {
    justify-content: center;
}

.st-justify-between {
    justify-content: space-between;
}

/* Header & Navigation */
.st-header {
    background-color: var(--0nk-background);
    padding: 24px 0;
    border-bottom: 1px solid var(--0nk-border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.st-logo {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--0nk-primary);
}

.st-nav-list {
    list-style: none;
    display: flex;
    gap: 32px;
}

.st-nav-link {
    display: block;
    padding: 8px 0;
    font-weight: 500;
    color: var(--0nk-text);
    position: relative;
}

.st-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--0nk-secondary);
    transition: width 0.3s var(--0nk-transition-timing);
}

.st-nav-link:hover::after, .st-nav-link.active::after {
    width: 100%;
}

.st-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--0nk-text);
}

/* Hero Section */
.st-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.9) 0%, rgba(126, 34, 206, 0.9) 100%), var(--0nk-background);
    background-size: cover;
    background-position: center;
    padding: 96px 0;
    color: #595959;
}

.st-hero-content {
    max-width: 900px;
}

.st-hero-content h1, .st-hero-content .st-hero-subtitle {
    color: #595959;
}

.st-hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    margin-top: 24px;
    margin-bottom: 48px;
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.st-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s var(--0nk-transition-timing);
    border: 2px solid transparent;
    gap: 8px;
}

.st-button-primary {
    background-color: var(--0nk-primary);
    color: #595959;
}

.st-button-primary:hover {
    background-color: var(--0nk-secondary);
    transform: translateY(-2px);
    box-shadow: var(--0nk-card-shadow);
}

.st-button-secondary {
    background-color: var(--0nk-accent);
    color: var(--0nk-text);
}

.st-button-secondary:hover {
    background-color: #fcd34d;
    transform: translateY(-2px);
    box-shadow: var(--0nk-card-shadow);
}

.st-button-outline {
    background-color: transparent;
    color: var(--0nk-primary);
    border-color: var(--0nk-primary);
}

.st-button-outline:hover {
    background-color: var(--0nk-primary);
    color: #595959;
    transform: translateY(-2px);
    box-shadow: var(--0nk-card-shadow);
}

.st-link {
    font-weight: 500;
    text-decoration: underline;
    color: var(--0nk-primary);
}

.st-link:hover {
    color: var(--0nk-secondary);
}

/* Cards & Media */
.st-card {
    background-color: #ffffff;
    border: 1px solid var(--0nk-border-color);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--0nk-card-shadow);
    transition: transform 0.25s var(--0nk-transition-timing), box-shadow 0.25s var(--0nk-transition-timing);
    display: flex;
    flex-direction: column;
}

.st-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.1);
}

.st-card-feature {
    text-align: center;
}

.st-card-service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.st-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.st-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--0nk-primary);
}

.st-icon-large .st-icon {
    width: 48px;
    height: 48px;
}

.st-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.st-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.st-check-item .st-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--0nk-primary);
}

/* Editorial Moments */
.st-pullquote {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    margin: 64px auto;
    max-width: 800px;
    position: relative;
    color: var(--0nk-text);
}

.st-pullquote::before {
    content: '“';
    font-family: 'Work Sans', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    color: var(--0nk-muted);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
    z-index: -1;
}

.st-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
    margin-top: 64px;
}

.st-stat-item {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--0nk-card-shadow);
}

.st-stat-number {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--0nk-primary);
    margin-bottom: 8px;
}

.st-stat-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--0nk-text);
    font-weight: 600;
}

/* Testimonials */
.st-testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.st-testimonial-card {
    background-color: #ffffff;
    border: 1px solid var(--0nk-border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--0nk-card-shadow);
    position: relative;
}

.st-testimonial-quote {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--0nk-text);
}

.st-testimonial-quote::before {
    content: '“';
    font-family: 'Work Sans', sans-serif;
    font-size: 4rem;
    color: var(--0nk-muted);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.4;
    z-index: 0;
}

.st-testimonial-cite {
    font-weight: 600;
    color: var(--0nk-primary);
    display: block;
}

.st-testimonial-cite span {
    font-weight: 400;
    color: var(--0nk-text);
    font-size: 0.9375rem;
}

.st-testimonial-stars {
    color: var(--0nk-accent);
    margin-bottom: 12px;
}

.st-testimonial-stars .st-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

/* FAQ */
.st-faq-item {
    background-color: #ffffff;
    border: 1px solid var(--0nk-border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--0nk-card-shadow);
    overflow: hidden;
}

.st-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--0nk-text);
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.25s var(--0nk-transition-timing);
}

.st-faq-q:hover {
    background-color: var(--0nk-background);
}

.st-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s var(--0nk-transition-timing);
}

.st-faq-item.active .st-faq-q::after {
    transform: rotate(45deg);
}

.st-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 0 32px;
    color: var(--0nk-text);
}

.st-faq-item.active .st-faq-a {
    max-height: 500px; /* Sufficiently large to reveal content */
    padding-bottom: 24px;
}

.st-faq-a p {
    padding-top: 16px;
    margin-bottom: 0;
}

/* CTA Section */
.st-cta {
    background: linear-gradient(90deg, rgba(147, 51, 234, 0.95) 0%, rgba(126, 34, 206, 0.95) 100%);
    color: #595959;
    padding: 96px 0;
    text-align: center;
}

.st-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.st-cta-content h2, .st-cta-content p {
    color: #595959;
}

.st-cta-content h2 {
    margin-bottom: 24px;
}

.st-cta-content p {
    font-size: 1.25rem;
    margin-bottom: 48px;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styling */
.st-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--0nk-card-shadow);
}

.st-form-group {
    display: flex;
    flex-direction: column;
}

.st-form-label {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--0nk-text);
    font-size: 0.9375rem;
}

.st-form-input, .st-form-textarea {
    padding: 12px 16px;
    border: 1px solid var(--0nk-border-color);
    border-radius: 8px;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: var(--0nk-text);
    transition: border-color 0.25s var(--0nk-transition-timing), box-shadow 0.25s var(--0nk-transition-timing);
}

.st-form-input:focus, .st-form-textarea:focus {
    outline: none;
    border-color: var(--0nk-primary);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
}

.st-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.st-form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 8px;
    display: none;
}

.st-form-success {
    background-color: #dcfce7;
    color: #117e39;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
    display: none;
}

.st-form-input:invalid:not(:placeholder-shown) {
    border-color: #dc2626;
}

/* Footer */
.st-footer {
    background-color: var(--0nk-dark-bg);
    padding-top: 96px;
    padding-bottom: 32px;
    color: var(--0nk-dark-text);
}

.st-footer h4 {
    color: var(--0nk-dark-text);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.st-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.st-footer-col p, .st-footer-col a {
    color: var(--0nk-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.st-footer-col a:hover {
    color: #595959;
}

.st-footer-list {
    list-style: none;
    padding: 0;
}

.st-footer-list li {
    margin-bottom: 12px;
}

.st-footer-list a {
    font-weight: 400;
}

.st-footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--0nk-muted);
}

.st-social-links a {
    margin-right: 16px;
    color: var(--0nk-muted);
}

.st-social-links a:hover {
    color: #595959;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.st-animate {
    opacity: 0;
    transform: translateY(20px);
}

.st-animate.is-visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .st-grid-2, .st-grid-3, .st-grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .st-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .st-nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--0nk-background);
        border-top: 1px solid var(--0nk-border-color);
        padding: 16px 24px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .st-nav-list.active {
        display: flex;
    }
    .st-nav-item {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
    .st-nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--0nk-border-color);
    }
    .st-mobile-toggle {
        display: block;
    }

    .st-hero {
        padding: 64px 0;
        min-height: auto;
    }
    h1, .st-h1 {
        font-size: clamp(2.25rem, 6vw, 3.5rem);
    }
    h2, .st-h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    p {
        font-size: 1rem;
    }
    .st-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .st-section-alt {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .st-grid, .st-grid-2, .st-grid-3, .st-grid-4, .st-testimonial-grid, .st-footer-grid {
        grid-template-columns: 1fr;
    }
    .st-card, .st-testimonial-card, .st-faq-q, .st-form-group, .st-contact-form {
        padding: 24px;
    }
    .st-pullquote::before {
        font-size: 6rem;
        top: -20px;
    }
    .st-cta {
        padding: 64px 0;
    }
    .st-cta-content h2 {
        font-size: 2rem;
    }
    .st-cta-content p {
        font-size: 1.125rem;
    }
    .st-footer {
        padding-top: 64px;
    }
    .st-footer-grid {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .st-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    h1, .st-h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    h2, .st-h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .st-hero-subtitle {
        font-size: 1rem;
    }
    .st-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .st-nav {
        padding: 16px 0;
    }
    .st-nav-list {
        top: 64px;
    }
    .st-pullquote::before {
        font-size: 5rem;
        top: -10px;
    }
    .st-stat-number {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    .st-testimonial-quote {
        font-size: 1rem;
    }
    .st-faq-q {
        font-size: 1rem;
        padding: 16px 24px;
    }
    .st-faq-a {
        padding: 0 24px;
    }
    .st-form-input, .st-form-textarea {
        padding: 10px 14px;
    }
    .st-contact-form {
        padding: 24px;
    }
}

/* Modern Legal Family Overrides */
h1, h2, h3, h4, .st-h1, .st-h2, .st-h3, .st-subheading {
    font-family: 'Work Sans', sans-serif; /* Keep sans-serif for modern legal */
}

body, p, .st-testimonial-quote, .st-faq-a p {
    font-family: 'Merriweather', serif; /* Serif for body text */
}

.st-hero {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.9) 0%, rgba(126, 34, 206, 0.9) 100%), var(--0nk-background);
}

.st-card {
    border: 1px solid rgba(88, 28, 135, 0.1);
    border-radius: 6px;
    box-shadow: none; /* No shadow for Modern Legal cards */
}

.st-card:hover {
    transform: none; /* No lift effect */
    box-shadow: none;
}

.st-button {
    border-radius: 4px; /* Sharp rectangle */
    text-transform: uppercase;
    font-weight: 700;
}

.st-button-primary {
    background-color: var(--0nk-primary);
    color: #595959;
    border-color: var(--0nk-primary);
}

.st-button-primary:hover {
    background-color: var(--0nk-secondary);
    border-color: var(--0nk-secondary);
    transform: none;
    box-shadow: none;
}

.st-button-outline {
    background-color: transparent;
    color: var(--0nk-primary);
    border-color: var(--0nk-primary);
}

.st-button-outline:hover {
    background-color: var(--0nk-primary);
    color: #595959;
    transform: none;
    box-shadow: none;
}

.st-pullquote::before {
     font-family: 'Merriweather', serif;
     color: var(--0nk-primary);
     opacity: 0.1;
}

.st-stat-item {
    background-color: var(--0nk-background);
    box-shadow: none;
    border: 1px solid rgba(88, 28, 135, 0.1);
}

.st-section-dark-ribbon {
    background-color: var(--0nk-dark-bg);
    color: var(--0nk-dark-text);
    padding-top: 96px;
    padding-bottom: 96px;
}

.st-section-dark-ribbon h2, .st-section-dark-ribbon h3, .st-section-dark-ribbon p, .st-section-dark-ribbon .st-subheading {
    color: var(--0nk-dark-text);
}

.st-testimonial-card {
    border: 1px solid rgba(88, 28, 135, 0.1);
    border-radius: 6px;
    box-shadow: none;
}

.st-testimonial-card::before {
    content: ''; /* Remove quote icon styling */
}


/* === Quality polish === */
.st-card, [class*="st-card"] { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease; }
.st-card:hover, [class*="st-card"]:hover { transform: none; box-shadow: none; border-color: #9333ea; }

button, [class*="btn"], [class*="cta"] { transition: all 0.3s ease; cursor: pointer; }
button:hover, [class*="btn"]:hover, [class*="cta"]:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); filter: brightness(1.05); }

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

/* FAQ collapsed-by-default — hard fallback (any language, any topic) */
.st-faq-a, [class*="faq-a"], [class*="faq-answer"] { display: none !important; max-height: 0; overflow: hidden; padding: 0 22px; transition: none; }
.st-faq-item.active .st-faq-a, [class*="faq-item"].active [class*="faq-a"], [class*="faq-item"].active [class*="faq-answer"] { display: block !important; max-height: none !important; padding: 0 22px 18px; }
.st-faq-q, [class*="faq-q"], [class*="faq-question"] { cursor: pointer; user-select: none; }
.st-faq-q *, [class*="faq-q"] * { pointer-events: none; }

/* === PREMIUM SCAFFOLD (class-contract baseline) === */
/* Layout */
.st-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.st-section { padding: 96px 0; background: #faf5ff; }
.st-section-alt { padding: 96px 0; background: color-mix(in srgb, #9333ea 4%, #faf5ff); }
.st-grid { display: grid; gap: 32px; }
.st-grid-2 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.st-grid-3 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.st-grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.st-text-center { text-align: center; }
/* Header / Nav */
.st-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid color-mix(in srgb, #581c87 8%, transparent); }
.st-header > .st-container, .st-header .st-container { display: flex; align-items: center; gap: 32px; padding-top: 12px; padding-bottom: 12px; min-height: 64px; }
.st-brand, .st-logo { display: inline-flex; align-items: center; gap: 10px; font-family: Work Sans; font-weight: 700; font-size: 1.05rem; line-height: 1; color: #9333ea; letter-spacing: -0.015em; text-decoration: none; flex-shrink: 0; max-width: 220px; margin-right: 24px; }
.st-brand-mark { display: inline-flex; color: #9333ea; flex-shrink: 0; }
.st-brand-mark svg { display: block; width: 24px; height: 24px; }
.st-brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 2px; }
.st-nav-list, .st-nav-links { display: flex; gap: 28px; list-style: none; margin: 0 0 0 auto; padding: 0; align-items: center; }
.st-nav-link { color: #581c87; font-weight: 500; font-size: 0.95rem; padding: 6px 0; position: relative; text-decoration: none; }
.st-nav-link + .st-nav-link { margin-left: 0; }
.st-nav-link:hover { color: #9333ea; }
.st-mobile-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; margin-left: auto; font-size: 1.4rem; line-height: 1; }
/* Hero */
.st-hero { padding: 112px 0 96px; background: radial-gradient(circle at 82% 18%, color-mix(in srgb, #9333ea 12%, transparent), transparent 34%), linear-gradient(180deg, color-mix(in srgb, #9333ea 7%, #faf5ff) 0%, #faf5ff 100%); position: relative; overflow: hidden; }
/* Hero hardening — kill AI-generated giant ghost/background text & accidental absolute-positioned mockups */
.st-hero [class*="ghost"], .st-hero [class*="bg-text"], .st-hero [class*="watermark"], .st-hero [class*="hero-bg"], .st-hero [aria-hidden="true"][class*="text"], .st-hero [data-decorative="true"] { display: none !important; }
.st-hero .st-hero-image, .st-hero .st-dashboard-mockup { position: relative !important; }
.st-hero .st-hero-image { max-width: 100%; }
.st-hero .st-hero-image > * { max-width: 100%; }
.st-hero .st-stats { position: static !important; }
.st-hero > .st-container { max-width: 1200px; }
.st-hero h1, .st-hero .st-h1 { font-family: Work Sans; font-size: clamp(2.75rem, 5.2vw, 4.75rem); line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; color: #581c87; margin: 0; max-width: 720px; width: 100%; text-wrap: balance; word-break: normal; overflow-wrap: break-word; hyphens: none; }
.st-hero p, .st-hero .st-hero-sub, .st-hero .st-hero-subtitle { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.7; color: #d8b4fe; max-width: 48ch; margin: 0; }
.st-hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr); gap: 72px; align-items: center; }
.st-hero-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.st-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.st-hero-image { position: relative; }
.st-hero-image::before { content: ''; position: absolute; inset: 22px -18px -18px 22px; border-radius: 24px; background: color-mix(in srgb, #9333ea 12%, transparent); z-index: 0; }
.st-hero-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 36px 90px -34px rgba(0,0,0,0.42), 0 2px 10px rgba(0,0,0,0.08); }
.st-hero-subtitle { font-size: 1.25rem; line-height: 1.6; color: #d8b4fe; max-width: 60ch; }
.st-h1 { font-family: Work Sans; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; color: #581c87; margin: 0; }
.st-h2 { font-family: Work Sans; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; color: #581c87; margin: 0 0 24px; }
.st-h3 { font-family: Work Sans; font-size: 1.5rem; line-height: 1.3; font-weight: 700; color: #581c87; margin: 0 0 12px; }
.st-subheading { font-size: 1.125rem; line-height: 1.7; color: #d8b4fe; max-width: 720px; margin: 0 auto 64px; }
/* Buttons */
.st-button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); white-space: nowrap; line-height: 1; }
.st-button-primary { background: #9333ea; color: #fff; border-color: #9333ea; }
.st-button-primary:hover { background: #7e22ce; border-color: #7e22ce; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -8px color-mix(in srgb, #9333ea 50%, transparent); }
.st-button-secondary { background: #7e22ce; color: #fff; border-color: #7e22ce; }
.st-button-secondary:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }
.st-button-outline { background: transparent; color: #9333ea; border-color: #9333ea; }
.st-button-outline:hover { background: #9333ea; color: #fff; }
.st-link { color: #9333ea; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.st-link:hover { gap: 10px; }
/* Cards */
.st-card { background: #fff; border: 1px solid color-mix(in srgb, #581c87 6%, transparent); border-radius: 14px; padding: 32px; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 16px; }
.st-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -16px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06); }
.st-card-feature, .st-card-service, .st-card-process { text-align: left; }
/* Icons */
.st-icon-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; background: color-mix(in srgb, #9333ea 10%, transparent); color: #9333ea; }
.st-icon-wrapper svg, .st-icon-wrapper .st-icon { width: 28px; height: 28px; stroke: #9333ea; }
.st-icon { width: 20px; height: 20px; stroke: currentColor; flex-shrink: 0; }
.st-icon-large { width: 48px; height: 48px; stroke: #9333ea; }
/* Check list */
.st-check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.st-check-item { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.st-check-item .st-icon { color: #9333ea; margin-top: 4px; }
/* Editorial */
.st-pullquote { font-family: Work Sans; font-style: italic; font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.4; color: #581c87; max-width: 900px; margin: 64px auto; padding: 0 32px; position: relative; text-align: center; }
.st-pullquote::before { content: '"'; font-size: 6rem; line-height: 0.8; color: #9333ea; opacity: 0.3; position: absolute; left: 0; top: -16px; }
.st-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 48px; padding: 64px 0; }
.st-stat-item { text-align: center; }
.st-stat-number { display: block; font-family: Work Sans; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: #9333ea; line-height: 1; letter-spacing: -0.03em; }
.st-stat-label { display: block; margin-top: 12px; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #d8b4fe; }
/* Testimonials */
.st-testimonial-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.st-testimonial-card { background: #fff; padding: 32px; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); border: 1px solid color-mix(in srgb, #581c87 6%, transparent); }
.st-testimonial-quote { font-style: italic; line-height: 1.7; color: #581c87; margin-bottom: 16px; }
.st-testimonial-cite { font-weight: 600; color: #9333ea; font-size: 0.95rem; }
.st-testimonial-stars { color: #fbbf24; margin-bottom: 12px; }
/* FAQ */
.st-faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.st-faq-item { background: #fff; border: 1px solid color-mix(in srgb, #581c87 8%, transparent); border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s ease; }
.st-faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.st-faq-q { padding: 20px 24px; cursor: pointer; user-select: none; font-weight: 600; color: #581c87; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.st-faq-q::after { content: '+'; font-size: 1.5rem; color: #9333ea; transition: transform 0.3s ease; flex-shrink: 0; }
.st-faq-item.active .st-faq-q::after { transform: rotate(45deg); }
/* CTA */
.st-cta { padding: 96px 0; background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%); color: #fff; text-align: center; }
.st-cta .st-h2, .st-cta h2 { color: #fff; }
.st-cta-content { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.st-cta .st-button-primary { background: #fff; color: #9333ea; border-color: #fff; }
.st-cta .st-button-primary:hover { background: #faf5ff; color: #9333ea; }
/* Form */
.st-form, .st-contact-form { display: flex; flex-direction: column; gap: 20px; width: min(100%, 680px); margin: 32px auto 0; background: #fff; padding: 44px; border-radius: 24px; border: 1px solid color-mix(in srgb, #581c87 7%, transparent); box-shadow: 0 30px 80px -34px rgba(0,0,0,0.32), 0 10px 28px -18px color-mix(in srgb, #9333ea 40%, transparent); text-align: left; color: #581c87; }
.st-form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .st-form-row { grid-template-columns: 1fr; } }
.st-form-group { display: flex; flex-direction: column; gap: 8px; }
.st-form-label, .st-form label { font-weight: 600; font-size: 0.9rem; color: #581c87; letter-spacing: 0.01em; }
.st-form-input, .st-form-textarea, .st-form input:not([type="submit"]), .st-form textarea, .st-form select { padding: 15px 16px; border: 1.5px solid color-mix(in srgb, #581c87 12%, transparent); border-radius: 12px; font-size: 1rem; font-family: inherit; background: color-mix(in srgb, #9333ea 2%, #fff); color: #581c87; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; width: 100%; box-sizing: border-box; }
.st-form-input:hover, .st-form-textarea:hover { border-color: color-mix(in srgb, #9333ea 35%, transparent); }
.st-form-input:focus, .st-form-textarea:focus, .st-form input:focus, .st-form textarea:focus { outline: none; border-color: #9333ea; box-shadow: 0 0 0 4px color-mix(in srgb, #9333ea 18%, transparent); }
.st-form-textarea, .st-form textarea { min-height: 140px; resize: vertical; }
/* Form messages — HIDDEN BY DEFAULT, only shown when JS adds .is-visible or removes [hidden] */
.st-form-error, [class*="form-error"], [class*="form-message-error"] { display: none; color: #dc2626; font-size: 0.875rem; padding: 10px 12px; background: color-mix(in srgb, #dc2626 8%, transparent); border-radius: 8px; }
.st-form-success, [class*="form-success"], [class*="form-message-success"] { display: none; color: #047857; font-weight: 600; padding: 12px 14px; background: color-mix(in srgb, #059669 10%, transparent); border-radius: 8px; }
.st-form-error[hidden], .st-form-success[hidden], [class*="form-error"][hidden], [class*="form-success"][hidden] { display: none !important; }
.st-form-error.is-visible, .st-form-success.is-visible { display: block; }
.st-cta .st-form, .st-cta .st-contact-form { color: #581c87; }
.st-cta .st-form button[type="submit"], .st-cta .st-contact-form button[type="submit"] { background: #9333ea; color: #fff; border-color: #9333ea; }
/* Footer */
.st-footer { background: #581c87; color: color-mix(in srgb, #fff 80%, transparent); padding: 96px 0 32px; }
.st-footer .st-h3, .st-footer h3, .st-footer h4 { color: #fff; font-family: Work Sans; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.st-footer .st-logo { color: #fff; }
.st-footer-grid { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 64px; }
.st-footer-col { display: flex; flex-direction: column; gap: 12px; }
.st-footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.st-footer-link { color: color-mix(in srgb, #fff 70%, transparent); font-size: 0.95rem; }
.st-footer-link:hover { color: #fff; }
.st-footer-bottom { padding-top: 32px; border-top: 1px solid color-mix(in srgb, #fff 12%, transparent); font-size: 0.875rem; color: color-mix(in srgb, #fff 60%, transparent); text-align: center; }
.st-social-links { display: flex; gap: 16px; }
.st-social-links a { color: color-mix(in srgb, #fff 70%, transparent); }
.st-social-links a:hover { color: #fff; }
/* Responsive */
@media (max-width: 900px) {
  .st-hero { padding: 80px 0 64px; }
  .st-hero-content { grid-template-columns: 1fr; gap: 40px; }
  .st-section, .st-section-alt { padding: 64px 0; }
  .st-cta { padding: 64px 0; }
  .st-footer { padding: 64px 0 24px; }
}
@media (max-width: 720px) {
  .st-nav-list { display: none; }
  .st-mobile-toggle { display: inline-flex; }
  .st-nav.active .st-nav-list, .st-header.active .st-nav-list, .st-nav-list.active, .st-nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 24px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .st-card { padding: 24px; }
  .st-form, .st-contact-form { padding: 28px; border-radius: 18px; }
}

/* === STYLE FAMILY: modern_legal === */
.st-h1 { font-family: 'Playfair Display', 'Lora', Georgia, serif; font-weight: 600; letter-spacing: -0.02em; }
.st-h2 { font-family: 'Playfair Display', 'Lora', Georgia, serif; font-weight: 600; }
.st-section-alt { background: #1a2536; color: #e6e7eb; }
.st-section-alt .st-h2, .st-section-alt h2 { color: #fff; }
.st-card { border: 1px solid #d4d4d8; border-radius: 4px; box-shadow: none; }
.st-button-primary { background: #1a2536; color: #fff; border-radius: 4px; padding: 14px 28px; }
.st-button-secondary { background: transparent; color: #1a2536; border: 1px solid #1a2536; border-radius: 4px; }