﻿:root {
    /* Color Palette - Tailwind-inspired Professional Teal & Slate */
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    /* slate-50 */
    --text: #0f172a;
    /* slate-900 */
    --muted: #475569;
    /* slate-600 */
    --border: #e2e8f0;
    /* slate-200 */

    /* Primary Color: Teal-600 */
    --primary: #0d9488;
    --primary-700: #0f766e;
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-glow: rgba(13, 148, 136, 0.15);

    /* Shadows & Radii */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --r-xl: 1rem;
    /* 16px */
    --r-lg: 0.75rem;
    /* 12px */
    --r-md: 0.5rem;
    /* 8px */

    --max: 1280px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

a {
    transition: color 0.15s ease;
    text-decoration: none;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

/* Removed padding change to prevent jitter, just shadow/bg enough */

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.brand {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    text-decoration: none;
}

.brand__mark {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.brand:hover .brand__mark {
    transform: rotate(-5deg) scale(1.05);
}

.brand__text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.25 !important;
    flex: 1 1 auto !important;
}

.brand__name {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: var(--text);
}

.brand__sub {
    font-weight: 500;
    font-size: 0.70rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__link {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--r-md);
    transition: all 0.2s ease;
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link--active {
    color: var(--primary);
    position: relative;
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--primary);
    border-radius: 99px;
}

.header__actions {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 1024px) {
    .nav {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 6px -1px var(--primary-glow);
}

.btn--primary:hover {
    background: var(--primary-700);
    box-shadow: 0 10px 15px -3px var(--primary-glow);
}

.btn--secondary {
    background: #fff;
    border-color: var(--border);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
    background: var(--surface-2);
    border-color: #cbd5e1;
    /* slate-300 */
}

/* Typography */
.h1 {
    font-size: 3rem;
    /* Reduced from 3.5rem */
    font-weight: 800;
    line-height: 1.2;
    /* Increased from 1.1 */
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    color: #0f172a;
}

.h2 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.0125em;
    margin: 0 0 1rem;
    color: #1e293b;
}

.h3 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 0.5rem;
}

.lead {
    font-size: 1.0625rem;
    /* Reduced from 1.125rem */
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.kicker {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.small {
    font-size: 0.875rem;
    color: var(--muted);
}

@media (max-width: 768px) {
    .h1 {
        font-size: 2.5rem;
    }
}

/* Sections & Layout */
.main {
    padding: 4rem 0;
}

.section {
    padding: 3.5rem 0;
}

.hr {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border);
    border: 0;
    margin: 2rem 0;
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.card--pad {
    padding: 2rem;
}

.card--pad-sm {
    padding: 1.25rem;
}

/* Hero Section */
.hero {
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: linear-gradient(to bottom right, #ffffff, #f0fdfa);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 0;
}

.hero__inner {
    padding: 3.5rem;
    position: relative;
    z-index: 1;
    grid-template-columns: 1.2fr 0.8fr;
}

@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__inner {
        padding: 2rem;
    }
}

/* Value Grid */
.hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.valuegrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.value {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.value:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary-100);
}

.value__top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value__ic {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-50);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.value p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
}

/* List Items */
.list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    /* Increased for better breathing room */
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.item {
    display: flex;
    gap: 1.25rem;
    /* Increased gap between icon and content */
    align-items: flex-start;
}

.item__ic {
    width: 1.75rem;
    height: 1.75rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.125rem;
    /* Aligned with the center of the first line of text */
}

.item__t {
    font-weight: 700;
    margin: 0 0 0.375rem;
    /* Normalised margin */
    color: var(--text);
    line-height: 1.4;
}

.item__d {
    margin: 0;
    /* Ensure no extra margins */
    font-size: 0.875rem;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--primary-100);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: #0f172a;
    /* slate-900 */
    color: #f8fafc;
    padding: 4rem 0 3rem;
    margin-top: 4rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer__brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.footer__meta {
    color: #94a3b8;
    /* slate-400 */
    max-width: 300px;
    font-size: 0.875rem;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__title {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer__link {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.footer__link:hover {
    color: var(--primary);
}

@media (max-width: 640px) {
    .footer__right {
        flex-direction: column;
        gap: 1rem;
    }

    .valuegrid {
        grid-template-columns: 1fr;
    }
}

/* Specialty UI Polish */
.hero .h1 {
    background: linear-gradient(to bottom right, #0f172a, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card--accent {
    border-top: 4px solid var(--primary);
}