:root {
    /* Palette — dark, confident, healthcare-adjacent but not clinical */
    --ink: #0a0e1a;
    --ink-2: #111726;
    --ink-3: #1a2138;
    --surface: #ffffff;
    --surface-2: #f8f9fb;
    --surface-3: #eef1f6;
    --border: #e2e6ee;
    --text: #1a1f2e;
    --text-2: #5a6478;
    --text-3: #8892a6;
    --accent: #e85d2f;
    --accent-hover: #d44d20;
    --accent-light: #fef0eb;
    --success: #1a8870;
    --error: #c93a3a;
    --shadow-sm: 0 1px 2px rgba(10, 14, 26, 0.04);
    --shadow-md: 0 4px 12px rgba(10, 14, 26, 0.06);
    --shadow-lg: 0 12px 32px rgba(10, 14, 26, 0.08);
    --radius: 10px;
    --radius-lg: 16px;
    --maxw: 1120px;
    --font-head: 'Sora', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    background: var(--ink);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-2);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-cta {
    text-decoration: none;
    background: var(--ink);
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--ink-3);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: var(--surface);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 800px 400px at 80% 20%, rgba(232, 93, 47, 0.04), transparent),
        radial-gradient(ellipse 600px 300px at 20% 80%, rgba(10, 14, 26, 0.02), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 760px;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 19px;
    color: var(--text-2);
    max-width: 620px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 93, 47, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--surface-2);
    border-color: var(--text-3);
}

.btn-full {
    width: 100%;
}

/* ===== Trust ===== */
.trust {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.trust-number {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.trust-label {
    font-size: 14px;
    color: var(--text-2);
    margin-top: 8px;
}

/* ===== Section heads ===== */
.section-head {
    max-width: 680px;
    margin-bottom: 56px;
}

.eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-lede {
    font-size: 18px;
    color: var(--text-2);
    line-height: 1.6;
}

/* ===== Expertise ===== */
.expertise {
    padding: 100px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.expertise-card {
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.expertise-card:hover {
    border-color: var(--text-3);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.expertise-card h3 {
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.expertise-card p {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Work ===== */
.work {
    padding: 100px 0;
    background: var(--ink);
    color: white;
}

.work .eyebrow {
    color: var(--accent);
}

.work .section-title {
    color: white;
}

.work .section-lede {
    color: rgba(255, 255, 255, 0.6);
}

.work-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.work-item {
    display: flex;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.work-item:last-child {
    border-bottom: none;
}

.work-num {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
    width: 40px;
}

.work-body {
    flex: 1;
}

.work-body h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.work-tag {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}

.work-body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.7;
}

/* ===== Approach ===== */
.approach {
    padding: 100px 0;
    background: var(--surface-2);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.approach-item {
    position: relative;
}

.approach-num {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.approach-item h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.3;
}

.approach-item p {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text p {
    color: var(--text-2);
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-links {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.about-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

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

.about-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credential-box {
    padding: 24px;
    background: var(--surface-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.credential-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
    margin-bottom: 4px;
}

.credential-value {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
}

.credential-note {
    font-size: 13px;
    color: var(--text-2);
    margin-top: 4px;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--ink);
    color: white;
}

.contact .eyebrow {
    color: var(--accent);
}

.contact .section-title {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-lede {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    margin-bottom: 32px;
}

.contact-meta a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.contact-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin-top: 8px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238892a6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-field select option {
    background: var(--ink);
    color: white;
}

.form-error {
    display: block;
    font-size: 13px;
    color: var(--error);
    margin-top: 4px;
}

.hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
}

.form-success {
    color: #4ade80;
    font-size: 15px;
    margin-top: 16px;
    text-align: center;
}

.form-error-msg {
    color: var(--error);
    font-size: 15px;
    margin-top: 16px;
    text-align: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer-logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    color: white;
}

.footer-tag {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.footer-right a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Tech grid ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-group {
    padding: 24px;
    background: var(--surface-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.tech-group h3 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
}

.tech-group ul {
    list-style: none;
    padding: 0;
}

.tech-group li {
    font-size: 14px;
    color: var(--text-2);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.tech-group li:last-child {
    border-bottom: none;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.faq-item summary {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 0 20px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .work-item {
        gap: 16px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .expertise, .work, .approach, .about, .contact {
        padding: 64px 0;
    }
}

@media (max-width: 600px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .contact-form {
        padding: 20px;
    }
}

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