/* ============================================================
   TechChopz — brand system
   Accent #E8175D / dark accent #C01250 / neutrals #2D2D2D · #58595B · #F5F5F7
   ============================================================ */

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

:root {
    --pink:        #E8175D;
    --pink-dark:   #C01250;              /* AA-compliant fill for white text */
    --pink-deep:   #A00F43;              /* hover state for --pink-dark fills */
    --pink-bright: #FF6B9A;              /* small pink text on dark surfaces */
    --pink-glow:   rgba(232, 23, 93, 0.15);
    --pink-soft:   rgba(232, 23, 93, 0.08);
    --ink:         #2D2D2D;
    --ink-soft:    #4A4A4D;
    --gray:        #58595B;
    --mist:        #F5F5F7;
    --white:       #FFFFFF;
    --night:       #17171B;              /* near-black band */
    --night-2:     #1F1F25;              /* card surface on dark */
    --night-line:  rgba(255, 255, 255, 0.09);
    --line:        rgba(45, 45, 45, 0.10);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* fluid type scale */
    --text-xs:   0.8125rem;
    --text-sm:   0.9rem;
    --text-base: 1rem;
    --text-md:   clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
    --text-h3:   clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
    --text-h2:   clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem);
    --text-h1:   clamp(2.35rem, 1.7rem + 3.2vw, 4rem);

    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 2px rgba(45, 45, 45, 0.06), 0 4px 12px rgba(45, 45, 45, 0.05);
    --shadow-md: 0 2px 6px rgba(45, 45, 45, 0.05), 0 16px 40px rgba(45, 45, 45, 0.10);
    --shadow-pink: 0 8px 28px rgba(232, 23, 93, 0.28);

    --container: 1160px;
    --header-h: 76px;
}

html { scroll-behavior: smooth; }

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

body {
    font-family: var(--font);
    font-size: var(--text-base);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* Focus + skip link */
:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    background: var(--ink);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    min-height: 44px;
    padding: 0.7rem 1.5rem;
    font-size: var(--text-sm);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.25rem; }

.btn-primary { background: var(--pink-dark); color: var(--white); }
.btn-primary:hover { background: var(--pink-deep); transform: translateY(-2px); box-shadow: var(--shadow-pink); }

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(45, 45, 45, 0.22);
}
.btn-secondary:hover { border-color: var(--pink); color: var(--pink-dark); transform: translateY(-2px); }

/* ============ Header / nav ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 24px rgba(45, 45, 45, 0.07);
}

.nav-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2rem);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav-logo img { width: auto; height: 34px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin-left: auto;
}
.nav-links a:not(.btn) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--gray);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--pink-dark); background: var(--pink-soft); }

.nav-links-cta { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(720px 480px at 85% 12%, var(--pink-soft) 0%, transparent 65%),
        radial-gradient(560px 420px at 8% 88%, rgba(88, 89, 91, 0.07) 0%, transparent 65%),
        linear-gradient(165deg, var(--white) 55%, var(--mist) 100%);
    padding-top: var(--header-h);
}

.hero-mesh {
    position: absolute;
    top: -220px;
    right: -160px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pink-glow) 0%, transparent 68%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 45, 45, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 45, 45, 0.028) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 78%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-block: clamp(4rem, 9vh, 7rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--white);
    border: 1px solid rgba(232, 23, 93, 0.25);
    color: var(--pink-dark);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
    font-size: var(--text-h1);
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
    max-width: 20ch;
}
.hero h1 .accent {
    color: var(--pink);
    background: linear-gradient(120deg, var(--pink), var(--pink-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: var(--text-md);
    color: var(--gray);
    max-width: 54ch;
    margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.75rem; }

.hero-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    max-width: 30rem;
}
.hero-stack li {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    box-shadow: var(--shadow-sm);
}

/* Hero visual — agent network */
.hero-visual { display: flex; justify-content: center; }

.agent-net {
    position: relative;
    width: min(420px, 100%);
    aspect-ratio: 1;
}
.agent-net svg { width: 100%; height: 100%; }
.net-lines { color: rgba(88, 89, 91, 0.35); }
.net-nodes circle { fill: var(--pink); opacity: 0.85; }
.net-nodes circle:nth-child(2n) { fill: var(--ink); opacity: 0.55; }
.net-rings { color: rgba(232, 23, 93, 0.5); }
.net-rings circle:first-child { stroke-dasharray: 4 7; animation: spin 40s linear infinite; transform-origin: 210px 210px; }
@keyframes spin { to { transform: rotate(360deg); } }

.agent-net-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 28%;
    box-shadow: var(--shadow-md), 0 0 0 1px var(--line), 0 0 48px var(--pink-glow);
}
.agent-net-core img { width: 62%; height: auto; }

.net-chip {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}
.net-chip-1 { top: 12%; right: 2%; }
.net-chip-2 { bottom: 16%; left: 0; }
.net-chip-3 { top: 46%; right: 0; }

/* ============ Sections ============ */
.section { padding-block: clamp(4.5rem, 9vw, 7rem); }
.section-tint { background: var(--mist); }

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

.section-label {
    display: inline-block;
    color: var(--pink-dark);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.section-header h2 { font-size: var(--text-h2); margin-bottom: 1rem; }

.section-lede { font-size: var(--text-md); color: var(--gray); }

/* ============ Dark band ============ */
.section-dark {
    background:
        radial-gradient(700px 420px at 12% 0%, rgba(232, 23, 93, 0.14) 0%, transparent 60%),
        radial-gradient(600px 420px at 92% 100%, rgba(232, 23, 93, 0.08) 0%, transparent 60%),
        var(--night);
    color: var(--white);
}
.section-dark .section-lede { color: rgba(255, 255, 255, 0.68); }
.section-label-dark { color: var(--pink-bright); }
.section-dark :focus-visible { outline-color: var(--pink-bright); }

.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.ai-card {
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 60%), var(--night-2);
    border: 1px solid var(--night-line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ai-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 23, 93, 0.45);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 40px rgba(232, 23, 93, 0.12);
}

.ai-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(232, 23, 93, 0.14);
    border: 1px solid rgba(232, 23, 93, 0.3);
    color: var(--pink-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}
.ai-card-icon svg { width: 26px; height: 26px; }

.ai-card h3 { font-size: var(--text-h3); font-weight: 700; margin-bottom: 0.7rem; }

.ai-card > p { font-size: var(--text-sm); color: rgba(255, 255, 255, 0.68); margin-bottom: 1.1rem; }

.ai-card ul { list-style: none; }
.ai-card ul li {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.82);
    padding: 0.32rem 0 0.32rem 1.5rem;
    position: relative;
}
.ai-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 12px;
    height: 6px;
    border-left: 2px solid var(--pink-bright);
    border-bottom: 2px solid var(--pink-bright);
    transform: rotate(-45deg) scale(0.8);
}

/* ============ Core services ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 23, 93, 0.28);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--pink-glow);
    color: var(--pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: var(--text-h3); font-weight: 700; margin-bottom: 0.7rem; }
.service-card > p { font-size: var(--text-sm); color: var(--gray); margin-bottom: 1.1rem; }

.service-card ul { list-style: none; }
.service-card ul li {
    font-size: var(--text-sm);
    color: var(--ink-soft);
    padding: 0.32rem 0 0.32rem 1.35rem;
    position: relative;
}
.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink);
}

/* ============ Approach ============ */
.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.step {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.step::after {
    content: '';
    position: absolute;
    top: 2.55rem;
    right: -1.05rem;
    width: 0.6rem;
    height: 0.6rem;
    border-top: 2px solid rgba(88, 89, 91, 0.45);
    border-right: 2px solid rgba(88, 89, 91, 0.45);
    transform: rotate(45deg);
}
.step:last-child::after { display: none; }

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pink-dark);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px rgba(232, 23, 93, 0.3);
}

.step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: var(--text-sm); color: var(--gray); }

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.diff {
    border-top: 3px solid var(--pink);
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 1.5rem 1.5rem 1.6rem;
    box-shadow: var(--shadow-sm);
}
.diff h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.diff p { font-size: var(--text-sm); color: var(--gray); }

/* ============ About ============ */
.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.about-copy h2 { font-size: var(--text-h2); margin-bottom: 1rem; }
.about-copy > p { color: var(--gray); font-size: var(--text-md); }

.founder-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
}

.founder-card h3 { font-size: 1.2rem; font-weight: 700; }
.founder-role {
    color: var(--pink-dark);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0.25rem 0 0.9rem;
}
.founder-card p:not(.founder-role) { font-size: var(--text-sm); color: var(--ink-soft); }

/* ============ Contact ============ */
.section-contact .section-header { margin-bottom: 2.75rem; }

.contact-card {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--night-line);
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 0 64px rgba(232, 23, 93, 0.10);
}

.contact-email {
    display: inline-block;
    font-size: clamp(1.4rem, 1rem + 2.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    text-decoration: none;
    border-bottom: 3px solid var(--pink);
    padding-bottom: 0.2rem;
    margin-bottom: 1.25rem;
    overflow-wrap: anywhere;
    transition: color 0.2s, border-color 0.2s;
}
.contact-email:hover { color: var(--pink-bright); border-color: var(--pink-bright); }

.contact-note { font-weight: 600; color: rgba(255, 255, 255, 0.9); margin-bottom: 0.6rem; }
.contact-hint { font-size: var(--text-sm); color: rgba(255, 255, 255, 0.62); max-width: 44ch; margin-inline: auto; }

/* ============ Footer ============ */
.site-footer {
    background: var(--night);
    border-top: 1px solid var(--night-line);
    padding-block: 2.5rem;
    color: rgba(255, 255, 255, 0.55);
}

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

.footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
.footer-logo img { height: 26px; width: auto; opacity: 0.85; }

.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; }
.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.25rem 0.7rem;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: var(--text-sm);
    border-radius: 999px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--pink-bright); }

.footer-copy { font-size: var(--text-xs); }

/* ============ Inner pages (privacy / 404) ============ */
.page-main {
    padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
    padding-bottom: clamp(4rem, 8vw, 6rem);
    min-height: 70vh;
    /* same tinted band the page heroes open with, for visual continuity */
    background:
        radial-gradient(680px 380px at 85% 0%, var(--pink-soft) 0%, transparent 65%),
        radial-gradient(480px 360px at 5% 0%, rgba(88, 89, 91, 0.06) 0%, transparent 65%);
}
.page-narrow { max-width: 720px; }
.page-main h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); margin-bottom: 1.25rem; }
.page-main h2 { font-size: 1.25rem; margin: 2.25rem 0 0.6rem; }
.page-main p { color: var(--ink-soft); margin-bottom: 1rem; }
.page-main a:not(.btn) { color: var(--pink-dark); font-weight: 600; }
.page-meta { color: var(--gray); font-size: var(--text-sm); margin-bottom: 2rem; }

.error-hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
.error-code {
    font-size: clamp(4.5rem, 3rem + 8vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(120deg, var(--pink), var(--pink-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.error-hero img { width: 88px; margin-bottom: 1.5rem; }
.error-hero p { max-width: 42ch; }
.error-hero .btn { margin-top: 1.25rem; }

/* ============ Scroll reveal ============ */
/* Hidden state only applies when JS is running (main.js adds html.js),
   so content stays visible without JS / for crawlers / in print. */
html.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--reveal-delay, 0s);
}
html.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; }
}

/* ============ Active nav state ============ */
/* aria-current="page" marks the exact page, aria-current="true" the current section */
.nav-links a:not(.btn)[aria-current] {
    color: var(--pink-dark);
    background: var(--pink-soft);
    font-weight: 600;
}

/* ============ Page hero (inner pages) ============ */
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(680px 380px at 85% 0%, var(--pink-soft) 0%, transparent 65%),
        radial-gradient(480px 360px at 5% 100%, rgba(88, 89, 91, 0.06) 0%, transparent 65%),
        linear-gradient(165deg, var(--white) 55%, var(--mist) 100%);
    padding-top: var(--header-h);
}
.page-hero-inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero h1 {
    font-size: clamp(2.1rem, 1.6rem + 2.6vw, 3.4rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.1rem;
    max-width: 26ch;
}
.page-lede {
    font-size: var(--text-md);
    color: var(--gray);
    max-width: 62ch;
}

/* ============ Breadcrumb ============ */
.breadcrumb { margin-bottom: 1.75rem; font-size: var(--text-sm); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--gray); }
.breadcrumb li + li::before {
    content: '/';
    margin: 0 0.6rem;
    color: rgba(88, 89, 91, 0.45);
}
.breadcrumb a { color: var(--pink-dark); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============ Linked cards ============ */
.card-linked { position: relative; display: flex; flex-direction: column; }
.card-title-link { text-decoration: none; color: inherit; }
.card-title-link::after { content: ''; position: absolute; inset: 0; }
.card-title-link:focus-visible { outline: none; }
.card-linked:has(.card-title-link:focus-visible) {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
}
.card-linked:hover .card-title-link { color: var(--pink-dark); }

.card-more {
    margin-top: auto;
    padding-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--pink-dark);
    font-weight: 600;
    font-size: var(--text-sm);
}
.card-more::after { content: '\2192'; transition: transform 0.2s; }
.card-linked:hover .card-more::after { transform: translateX(4px); }

.service-card h2 { font-size: var(--text-h3); font-weight: 700; margin-bottom: 0.7rem; }
.service-card ul { margin-bottom: 0.25rem; }

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

/* ============ CTA band ============ */
.cta-band { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-inner { max-width: 640px; margin-inline: auto; text-align: center; }
.cta-inner h2 { font-size: var(--text-h2); margin-bottom: 0.9rem; }
.cta-inner p { color: rgba(255, 255, 255, 0.68); margin-bottom: 1.75rem; }

/* ============ Section CTA row (light sections) ============ */
.section-cta-row { display: flex; justify-content: center; margin-top: 2.75rem; }

/* ============ Check list / outcomes ============ */
.check-list { list-style: none; max-width: 680px; margin-inline: auto; }
.check-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    color: var(--ink-soft);
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0.15rem;
    top: 1.05em;
    width: 12px;
    height: 6px;
    border-left: 2px solid var(--pink-dark);
    border-bottom: 2px solid var(--pink-dark);
    transform: rotate(-45deg);
}

/* ============ Prose blocks + panels ============ */
.prose-block { max-width: 720px; margin-inline: auto; }
.prose-block h2 { font-size: var(--text-h2); margin-bottom: 1rem; }
.prose-block p { color: var(--ink-soft); margin-bottom: 1rem; }
.prose-block p:last-child { margin-bottom: 0; }

.panel {
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
}
.panel-narrow { max-width: 720px; margin-inline: auto; }
.aside-note { text-align: center; color: var(--gray); max-width: 680px; margin: 2rem auto 0; }
.panel h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.panel p { font-size: var(--text-sm); color: var(--ink-soft); }
.panel p + p { margin-top: 0.75rem; }

/* ============ Responsive ============ */
@media (max-width: 1020px) {
    .services-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step::after { display: none; }
    .diff-grid { grid-template-columns: 1fr; }
    .about-inner { grid-template-columns: 1fr; }
    .net-chip-3 { display: none; }
}

@media (max-width: 880px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; padding-block: 2.5rem 4rem; }
    .hero h1, .hero-sub { margin-inline: auto; }
    .hero-actions, .hero-stack { justify-content: center; }
    .hero-stack { margin-inline: auto; }
    .hero-visual { margin-top: 0.5rem; }
    .agent-net { width: min(260px, 70vw); }

    .ai-grid, .services-grid, .services-grid.cols-3 { grid-template-columns: 1fr; }

    /* mobile nav */
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        background: var(--white);
        padding: 1rem clamp(1.25rem, 4vw, 2rem) 1.5rem;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(45, 45, 45, 0.12);
    }
    .nav-links.open { display: flex; }
    .nav-links a:not(.btn) { border-radius: var(--radius-sm); font-size: 1rem; }
    .nav-links-cta { display: block; margin-top: 0.5rem; }
    .nav-links-cta .btn { width: 100%; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }

    /* open-menu state: solid header, scrim over page, scroll lock */
    body.menu-open { overflow: hidden; }
    body.menu-open .site-header { background: var(--white); }
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 900;
        background: rgba(23, 23, 27, 0.45);
    }

    .footer-links { margin-inline-start: -0.45rem; }
    .footer-links a { padding: 0.25rem 0.45rem; }
}

@media (max-width: 480px) {
    .steps { grid-template-columns: 1fr; }
    .founder-card { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
