:root {
    /* Typography */
    --font-heading: "Saira", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Colors */
    --color-bg: #050816;
    --color-surface: #0b1020;
    --color-surface-alt: #0f172a;
    --color-navy: #0b1530;
    --color-blue: #2b6cb0;
    --color-blue-soft: #3b82f6;
    --color-mint: #34d3c6;
    --color-text: #f9fafb;
    --color-text-muted: #9ca3af;
    --color-border-subtle: rgba(148, 163, 184, 0.3);

    /* Layout */
    --max-width: 1040px;
    --radius-sm: 0.4rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;

    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
    --shadow-subtle: 0 1px 4px rgba(15, 23, 42, 0.3);

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: radial-gradient(circle at top left, #0f172a 0%, #020617 55%, #000000 100%);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    padding-left: 1.25rem;
}

p {
    margin: 0 0 var(--space-sm);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    margin: 0 0 var(--space-sm);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2rem, 3.1vw + 1.4rem, 2.9rem);
}

h2 {
    font-size: clamp(1.6rem, 2.4vw + 1.1rem, 2.1rem);
}

h3 {
    font-size: 1.1rem;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.7));
    border-bottom: 1px solid rgba(15, 23, 42, 0.85);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem var(--space-md);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 0.75rem;
    background: radial-gradient(circle at 30% 20%, var(--color-mint), var(--color-blue));
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.5);
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 0.98rem;
}

.brand-tagline {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
}

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

.nav-link {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--color-mint), var(--color-blue-soft));
    transition: width 0.18s ease-out;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at 0% 0%, rgba(148, 163, 184, 0.18), rgba(15, 23, 42, 0.2));
    box-shadow: var(--shadow-subtle);
}

.nav-toggle {
    display: none;
    background: transparent;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.nav-toggle-line {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text);
    display: block;
}

.nav-toggle-line + .nav-toggle-line {
    margin-top: 4px;
}

/* Hero */

.hero {
    padding: var(--space-xl) 0 var(--space-xl);
}

.hero-inner {
    display: grid;
    gap: var(--space-lg);
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-mint);
    margin-bottom: var(--space-xs);
}

.hero-subhead {
    margin-top: var(--space-sm);
    color: var(--color-text-muted);
    max-width: 34rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: var(--space-md) 0 var(--space-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background 0.1s ease-out,
        border-color 0.1s ease-out;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-mint), var(--color-blue-soft));
    color: #020617;
    box-shadow: 0 12px 28px rgba(34, 197, 235, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 38px rgba(34, 197, 235, 0.5);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.55);
    color: var(--color-text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(30, 64, 175, 0.7);
    border-color: rgba(191, 219, 254, 0.9);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: var(--color-text-muted);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: rgba(191, 219, 254, 0.9);
    color: var(--color-text);
}

.hero-highlights {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.4rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.hero-highlights li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 0.5rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, var(--color-mint), var(--color-blue-soft));
}

.hero-aside {
    max-width: 360px;
}

.hero-card {
    background: radial-gradient(circle at 0% 0%, rgba(52, 211, 198, 0.18), rgba(15, 23, 42, 0.96));
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    border: 1px solid rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow-soft);
    font-size: 0.92rem;
}

.hero-card ul {
    margin-top: var(--space-sm);
    padding-left: 1.15rem;
    color: var(--color-text-muted);
}

.hero-kicker {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text);
    margin: var(--space-md) 0 var(--space-sm);
}

/* Product demo mock ("screenshot") */

.demo-card {
    background: rgba(11, 17, 32, 0.98);
    border: 1px solid rgba(37, 99, 235, 0.55);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    font-size: 0.92rem;
}

.demo-q {
    font-family: var(--font-heading);
    color: var(--color-mint);
    margin-bottom: var(--space-xs);
}

.demo-q::before {
    content: "Q · ";
    color: var(--color-text-muted);
}

.demo-a {
    color: var(--color-text);
}

.demo-sources {
    list-style: none;
    padding: 0.6rem 0 0;
    margin: 0.6rem 0 0;
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.demo-sources::before {
    content: "Sources";
    display: block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

/* Before / After transformation */

.ba-grid {
    display: grid;
    gap: var(--space-md);
}

.ba-before {
    border-color: rgba(148, 163, 184, 0.35);
}

.ba-before ul,
.ba-after ul {
    color: var(--color-text-muted);
    margin: 0;
}

.ba-after {
    border-color: rgba(52, 211, 198, 0.6);
    background: radial-gradient(circle at 0% 0%, rgba(52, 211, 198, 0.14), rgba(15, 23, 42, 0.97));
}

.ba-after ul {
    color: var(--color-text);
}

@media (min-width: 721px) {
    .ba-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.proof-vignette {
    margin-top: var(--space-md);
    color: var(--color-text-muted);
    max-width: 44rem;
    font-size: 0.95rem;
}

/* Sections */

.section {
    padding: var(--space-xl) 0;
}

.section-alt {
    background: radial-gradient(circle at top right, rgba(30, 64, 175, 0.35), rgba(15, 23, 42, 0.98));
}

.section-header {
    max-width: 640px;
    margin-bottom: var(--space-lg);
}

.section-header p {
    color: var(--color-text-muted);
}

/* Card grids */

.card-grid {
    display: grid;
    gap: var(--space-md);
}

.card {
    background: rgba(15, 23, 42, 0.94);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-subtle);
    padding: var(--space-md);
    box-shadow: var(--shadow-subtle);
    font-size: 0.95rem;
}

.card p {
    color: var(--color-text-muted);
}

.card ul {
    margin-top: var(--space-sm);
    color: var(--color-text-muted);
}

.case-grid {
    display: grid;
    gap: var(--space-md);
}

.case-card {
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.97));
    border-radius: var(--radius-md);
    border: 1px solid rgba(37, 99, 235, 0.55);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
}

.case-card p {
    color: var(--color-text-muted);
}

.case-card ul {
    margin-top: var(--space-sm);
    color: var(--color-text-muted);
}

.case-footnote {
    margin-top: var(--space-sm);
    font-size: 0.84rem;
    color: var(--color-text-muted);
    opacity: 0.9;
}

/* Process steps */

.process-steps {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.process-steps li {
    background: rgba(15, 23, 42, 0.96);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-subtle);
}

.process-steps h3 {
    margin-bottom: 0.25rem;
}

.process-steps p {
    color: var(--color-text-muted);
}

/* Contact / final CTA */

.contact-section {
    background: radial-gradient(circle at 20% 0%, rgba(52, 211, 198, 0.22), rgba(15, 23, 42, 0.98));
}

.contact-inner {
    display: grid;
    gap: var(--space-md);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: var(--space-md) 0 var(--space-sm);
}

.contact-note {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    max-width: 34rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(30, 64, 175, 0.75);
    background: rgba(2, 6, 23, 0.98);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem var(--space-md) 1.1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Quiet doorway to the Yeriko AI resume chat: a floating round YV badge,
   pinned bottom-LEFT so the "Ask my AI" launcher (bottom-right) never
   covers it. */

.yv-link {
    position: fixed;
    left: 0;
    bottom: 16px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 30px;
    padding-right: 2px;
    /* Flush against the screen edge: rounded on the right side only */
    border-radius: 0 999px 999px 0;
    background: radial-gradient(circle at 20% 20%, #38bdf8, #1d4ed8);
    color: #f9fafb;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.55;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.6), 0 6px 16px rgba(0, 0, 0, 0.45);
    transition: opacity 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.yv-link:hover,
.yv-link:focus-visible {
    opacity: 1;
    transform: scale(1.15);
    transform-origin: left center;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

/* Utilities */

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-mint);
    outline-offset: 2px;
}

/* Responsive layout */

@media (max-width: 720px) {
    .site-nav {
        position: absolute;
        inset-inline: 0;
        top: 56px;
        padding: 0.85rem var(--space-md) 0.9rem;
        background: rgba(15, 23, 42, 0.98);
        border-bottom: 1px solid rgba(15, 23, 42, 0.9);
        display: none;
        flex-direction: column;
        gap: 0.65rem;
    }

    .site-nav.open {
        display: flex;
    }

    .nav-cta {
        align-self: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        padding-top: var(--space-lg);
    }

    .hero-inner {
        gap: var(--space-lg);
    }
}

@media (min-width: 721px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
        align-items: center;
    }

    .section {
        padding: calc(var(--space-xl) + 0.5rem) 0;
    }

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

    .case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding-top: calc(var(--space-xl) + 0.8rem);
    }
}
