/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a2332;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: #1d4ed8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    color: #0b1a33;
    line-height: 1.2;
    margin: 0 0 0.5em;
}

h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem);
    letter-spacing: -0.015em;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 1em;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e9ef;
    position: sticky;
    top: 0;
    z-index: 50;
    height: 140px;
    box-sizing: border-box;
    overflow: hidden;
}

.site-header .container {
    height: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #0b1a33;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    line-height: 1;
}

.logo:hover {
    text-decoration: none;
}

.logo-mark {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 720px) {
    .site-header {
        height: 130px;
    }
    .logo-mark {
        max-width: 120px;
        max-height: 120px;
    }
    .logo {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        height: 100px;
    }
    .logo-mark {
        max-width: 90px;
        max-height: 90px;
    }
    .logo-text {
        display: none;
    }
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    color: #45526b;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
    background: #f1f4f9;
    color: #0b1a33;
    text-decoration: none;
}

.nav-link.active {
    color: #0b1a33;
    font-weight: 600;
}

.nav-cta {
    background: #0b1a33;
    color: #fff;
}

.nav-cta:hover {
    background: #1d4ed8;
    color: #fff;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
    border-bottom: 1px solid #e6e9ef;
    padding: 5rem 0 4.5rem;
}

.hero-product {
    background: linear-gradient(180deg, #eef2fb 0%, #ffffff 100%);
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 760px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 0.85rem;
    padding: 0.3rem 0.75rem;
    background: #e6edfb;
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lede {
    font-size: 1.15rem;
    color: #45526b;
    max-width: 640px;
    margin: 1.25rem auto 1rem;
}

.hero-note {
    font-size: 0.95rem;
    color: #5b6883;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform 0.1s ease, background 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid transparent;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: #0b1a33;
    color: #fff;
    box-shadow: 0 1px 2px rgba(11, 26, 51, 0.15);
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #ffffff;
    color: #0b1a33;
    border-color: #d3dae6;
}

.btn-secondary:hover {
    border-color: #0b1a33;
}

/* ---------- Sections ---------- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: #f5f7fb;
    border-top: 1px solid #e6e9ef;
    border-bottom: 1px solid #e6e9ef;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-top: 0.5rem;
}

.prose {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #2d3a52;
}

/* ---------- Grids ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 700px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Cards & features ---------- */
.card {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 1.6rem;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    border-color: #c8d1e3;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 26, 51, 0.06);
}

.card-highlight {
    background: linear-gradient(160deg, #eef2fb 0%, #ffffff 100%);
    border-color: #c8d4f0;
}

.card-highlight h3 {
    color: #1d4ed8;
}

.card h3 {
    color: #0b1a33;
    margin-bottom: 0.5rem;
}

.card p {
    color: #45526b;
    margin: 0;
    font-size: 0.97rem;
}

.feature h3 {
    color: #0b1a33;
}

.feature p {
    color: #45526b;
    margin: 0;
}

/* ---------- Notice / disclaimer ---------- */
.notice {
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    background: #fff8e6;
    border: 1px solid #f4e2a8;
    border-left: 4px solid #d4a017;
    border-radius: 10px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.notice h3 {
    margin: 0 0 0.4rem;
    color: #6b4d05;
    font-size: 1.05rem;
}

.notice p {
    margin: 0;
    color: #5b4310;
    font-size: 0.97rem;
}

/* ---------- Steps ---------- */
.step {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 1.6rem;
    text-align: left;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0b1a33;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.step h3 {
    margin-bottom: 0.4rem;
}

.step p {
    color: #45526b;
    margin: 0;
}

/* ---------- Team feature (Austin) ---------- */
.team-feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
    .team-feature {
        grid-template-columns: minmax(260px, 340px) 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }
}

.team-feature-media {
    width: 100%;
}

.team-feature-body h3 {
    font-size: 1.65rem;
    margin: 0.5rem 0 0.75rem;
}

.team-role {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: #e6edfb;
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.team-feature-body p,
.team-card-body p {
    color: #45526b;
}

.team-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e6e9ef;
    font-size: 0.95rem;
    color: #45526b;
}

.team-contact strong {
    color: #0b1a33;
}

/* ---------- Team cards (Robert, Maci) ---------- */
.team-grid {
    gap: 2rem;
}

.team-card {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.team-card:hover {
    border-color: #c8d1e3;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 26, 51, 0.06);
}

.team-card-media {
    background: #0b1a33;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.team-card-media .team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.team-card-body h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0 0.6rem;
}

/* ---------- Carousel (used for Austin's photos) ---------- */
.carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.carousel input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 12px;
    background: #0b1a33;
    border: 1px solid #e6e9ef;
    box-shadow: 0 8px 24px rgba(11, 26, 51, 0.08);
}

.carousel-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    margin: 0;
    background: #0b1a33;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Austin carousel slide control */
#austin-slide-1:checked ~ .carousel-viewport .carousel-track { transform: translateX(0%); }
#austin-slide-2:checked ~ .carousel-viewport .carousel-track { transform: translateX(-100%); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.carousel-dots label {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #c8d1e3;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.carousel-dots label:hover {
    background: #9aa7c1;
    transform: scale(1.1);
}

#austin-slide-1:checked ~ .carousel-dots label[for="austin-slide-1"],
#austin-slide-2:checked ~ .carousel-dots label[for="austin-slide-2"] {
    background: #0b1a33;
    transform: scale(1.15);
}

/* ---------- CTA ---------- */
.section-cta {
    background: #0b1a33;
    color: #e6edfb;
    text-align: center;
    padding: 4.5rem 0;
}

.section-cta h2 {
    color: #ffffff;
}

.section-cta p {
    color: #c4cee3;
}

.cta-inner {
    max-width: 640px;
}

.cta-details {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-details p {
    margin: 0.35rem 0;
    color: #e6edfb;
}

.cta-details strong {
    color: #ffffff;
}

.cta-details a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cta-details a:hover {
    color: #c4cee3;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #f5f7fb;
    border-top: 1px solid #e6e9ef;
    padding: 1.75rem 0;
    font-size: 0.9rem;
    color: #5b6883;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.footer-inner p {
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 1.25rem;
}

.footer-nav a {
    color: #5b6883;
}

.footer-nav a:hover {
    color: #0b1a33;
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
    .site-nav {
        gap: 0.15rem;
    }
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.88rem;
    }
    .hero {
        padding: 3.5rem 0 3rem;
    }
    .section {
        padding: 3.5rem 0;
    }
}
