/*
Theme Name: Harly ATS
Description: Harly ATS marketing website.
Version: 3.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --ink: #0d1022;
    --ink-soft: #292b3c;
    --purple: #7727dc;
    --purple-dark: #5616b6;
    --lilac: #eadcff;
    --pink: #ff7596;
    --cream: #fbf8f4;
    --white: #fff;
    --line: #dedae3;
    --page: min(90vw, 1460px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; line-height: .96; }
p { line-height: 1.45; }
.page-width { width: var(--page); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); }
.header-inner { width: var(--page); height: 52px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 24px; font-weight: 700; letter-spacing: -.05em; }
.brand img { width: 29px; height: 29px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 42px; font-weight: 600; }
.primary-nav a, .text-link { position: relative; }
.primary-nav a::after, .text-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--purple); transition: right .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .text-link:hover::after, .text-link:focus-visible::after { right: 0; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 28px; font-weight: 600; }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 9px 19px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13,16,34,.16); }
.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #08c7ef; outline-offset: 4px; }
.button-small { min-height: 38px; padding: 9px 18px; }
.button-purple { color: var(--white); background: linear-gradient(135deg, #842ee5, #6819d0); }
.button-light { background: var(--white); color: var(--ink); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }

.hero { position: relative; min-height: 310px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: url('hero-team-v2.jpg') center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,8,18,.92) 0%, rgba(9,8,18,.76) 32%, rgba(9,8,18,.2) 68%, rgba(9,8,18,.08) 100%); }
.hero-content { position: relative; padding: 40px 0; }
.hero h1 { max-width: 520px; margin-bottom: 15px; font-size: clamp(58px, 6.3vw, 86px); line-height: .84; }
.hero p { max-width: 380px; margin-bottom: 18px; font-size: 17px; }

.workspace-section { background: var(--cream); padding-top: 20px; overflow: hidden; }
.section-heading { text-align: center; }
.section-heading h2 { margin-bottom: 8px; font-size: clamp(38px, 4vw, 54px); }
.section-heading p { margin-bottom: 14px; font-size: 14px; }
.stage-tabs { max-width: 650px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.stage-tab { min-height: 40px; border: 1px solid #ddd7e0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.stage-tab:hover, .stage-tab.is-active { background: linear-gradient(135deg, #8a38e9, #6720d2); border-color: transparent; color: var(--white); }

.workspace-visual { position: relative; min-height: 430px; background: #ece5da; overflow: hidden; transition: background .25s ease; }
.workspace-visual[data-stage="engage"] { background: #e4d9f5; }
.workspace-visual[data-stage="review"] { background: #e8e4dd; }
.workspace-visual[data-stage="hire"] { background: #daeadd; }
.workspace-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,11,24,.35), transparent 25%, transparent 80%, rgba(18,11,24,.15)), url('workspace-background.jpg') center / cover no-repeat; filter: saturate(.8); }
.device-stage { position: relative; min-height: 430px; display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 3vw, 40px); padding-top: 25px; }
.laptop { width: min(66vw, 760px); position: relative; }
.laptop-screen { aspect-ratio: 16 / 9; display: grid; grid-template-columns: 138px 1fr; overflow: hidden; border: 12px solid #19181c; border-radius: 22px 22px 10px 10px; background: var(--white); box-shadow: 0 32px 60px rgba(0,0,0,.38); }
.laptop-base { width: 110%; height: 16px; margin-left: -5%; border-radius: 3px 3px 16px 16px; background: linear-gradient(#d9d9db, #77777c); box-shadow: 0 10px 16px rgba(0,0,0,.25); }
.app-sidebar { padding: 26px 14px; background: #151324; color: #c9c5d5; display: flex; flex-direction: column; gap: 16px; font-size: 12px; }
.app-brand { display: flex; gap: 7px; align-items: center; color: var(--white); margin-bottom: 16px; font-size: 16px; }
.app-brand img { width: 21px; height: 21px; object-fit: contain; }
.app-sidebar span { padding: 8px 10px; border-radius: 7px; }
.app-sidebar span.active { background: #6d29d9; color: var(--white); }
.app-main { min-width: 0; padding: 28px 26px; background: #f8f6fb; }
.app-topline { display: flex; align-items: center; gap: 12px; }
.app-topline small { color: #777282; }
.app-topline h3 { margin: 4px 0 0; font-size: clamp(19px, 2vw, 30px); letter-spacing: -.035em; }
.status { padding: 5px 10px; border-radius: 999px; background: #cef2da; color: #146a33; font-size: 11px; font-weight: 700; }
.app-tabs { display: flex; gap: 24px; margin: 24px 0 20px; border-bottom: 1px solid #d9d5df; font-size: 12px; }
.app-tabs span, .app-tabs strong { padding-bottom: 12px; white-space: nowrap; }
.app-tabs strong { border-bottom: 3px solid var(--purple); }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pipeline-column { min-width: 0; }
.pipeline-title { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px; background: #eee6f8; border-radius: 9px; font-size: 10px; }
.pipeline-title span { background: var(--white); border-radius: 50%; min-width: 19px; height: 19px; display: grid; place-items: center; }
.candidate-card { display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 7px; align-items: center; margin-top: 8px; padding: 9px 7px; border: 1px solid #e7e1ec; border-radius: 8px; background: var(--white); box-shadow: 0 3px 9px rgba(52,43,67,.06); }
.candidate-card > span:last-child { min-width: 0; }
.candidate-card strong, .candidate-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.candidate-card strong { font-size: 9px; }
.candidate-card small { margin-top: 2px; color: #7d7885; font-size: 8px; }
.avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--white); font-size: 10px; font-weight: 700; background: #7553b5; }
.avatar-1 { background: #e2647d; } .avatar-2 { background: #278291; } .avatar-3 { background: #b07037; } .avatar-4 { background: #474e91; }
.phone { width: 180px; padding: 7px; margin-bottom: -7px; border-radius: 31px; background: #17171b; box-shadow: 0 24px 48px rgba(0,0,0,.4); }
.phone-screen { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 25px; color: var(--white); background: linear-gradient(0deg, rgba(4,5,8,.91), rgba(4,5,8,.02) 65%), url('phone-careers.jpg') center / cover; }
.phone-nav { display: flex; justify-content: space-between; padding: 25px 19px; font-size: 13px; }
.phone-copy { padding: 22px 20px; }
.phone-copy h3 { margin: 6px 0 10px; font-size: 24px; }
.phone-copy p { font-size: 13px; }
.phone-copy a { display: inline-flex; padding: 10px 14px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 700; }

.journey-section { display: grid; grid-template-columns: 1.18fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; padding-block: 24px; }
.journey-image { min-height: 225px; border-radius: 16px; background: url('northline-team-v2.jpg') center / cover; }
.journey-copy small, .resource-card small { display: block; margin-bottom: 10px; color: var(--purple); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.journey-copy h2 { max-width: 530px; margin-bottom: 12px; font-size: clamp(34px, 3.5vw, 48px); }
.journey-copy p { max-width: 560px; margin-bottom: 15px; font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 24px; }
.feature-card { min-height: 160px; position: relative; display: flex; justify-content: space-between; overflow: hidden; padding: 20px; border-radius: 16px; }
.feature-careers { background: #ffd9d2; }
.feature-pipeline { background: #ded1fa; }
.feature-talent { background: #fee5ce; }
.feature-card-copy { max-width: 59%; position: relative; z-index: 2; }
.feature-card h3 { margin: 10px 0 8px; font-size: clamp(24px, 2.2vw, 32px); }
.feature-card p { margin-bottom: 0; font-size: 12px; }
.feature-icon { width: 25px; height: 21px; display: block; border: 2px solid var(--ink); border-radius: 4px; }
.career-preview { width: 37%; height: 86%; position: absolute; right: 7%; bottom: -10%; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; border: 8px solid #171820; border-radius: 18px; transform: rotate(-5deg); color: var(--white); background: linear-gradient(0deg, rgba(8,8,13,.8), transparent), url('phone-careers.jpg') center / cover; font-size: 11px; }
.career-preview strong { font-size: 15px; }
.mini-pipeline { width: 38%; position: absolute; right: 6%; top: 20%; display: flex; flex-direction: column; gap: 8px; transform: rotate(-3deg); }
.mini-pipeline span { padding: 8px 11px; border-radius: 7px; background: rgba(255,255,255,.85); box-shadow: 0 7px 18px rgba(84,51,128,.15); font-weight: 700; font-size: 10px; }
.talent-cluster { width: 41%; position: absolute; right: 3%; top: 30%; display: grid; grid-template-columns: repeat(2, 1fr); }
.talent-cluster i { width: 43px; height: 43px; display: grid; place-items: center; margin: -4px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: #5c40a7; font-size: 11px; font-style: normal; font-weight: 700; box-shadow: 0 8px 16px rgba(29,27,36,.18); }
.talent-cluster i:nth-child(2) { background: #e3627e; } .talent-cluster i:nth-child(3) { background: #248b93; } .talent-cluster i:nth-child(4) { background: var(--white); color: var(--ink); }

.real-teams-banner { min-height: 100px; display: flex; align-items: flex-end; padding: 18px 0; color: var(--white); background: linear-gradient(90deg, rgba(8,8,14,.9), rgba(8,8,14,.1)), url('real-teams-v2.jpg') center / cover; }
.real-teams-banner h2 { margin-bottom: 0; font-size: clamp(28px, 3vw, 38px); }

.data-section { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(30px, 6vw, 90px); padding-block: 24px; }
.data-section > h2 { margin-bottom: 0; font-size: clamp(32px, 3.4vw, 44px); }
.data-accordions details { border-bottom: 1px solid var(--line); }
.data-accordions summary { min-height: 56px; display: grid; grid-template-columns: 27px 145px 1fr; gap: 13px; align-items: center; cursor: pointer; list-style: none; }
.data-accordions summary::-webkit-details-marker { display: none; }
.data-accordions summary strong { font-size: 15px; }
.data-accordions summary > span:last-child { color: #535361; font-size: 12px; line-height: 1.3; }
.data-accordions details > p { padding: 0 0 16px 185px; color: #535361; font-size: 12px; }
.data-icon { width: 21px; height: 21px; position: relative; display: block; border: 2px solid var(--ink); border-radius: 5px; }
.lock-icon::before { content: ''; width: 11px; height: 8px; position: absolute; top: -9px; left: 5px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; }
.record-icon { border-radius: 50%; box-shadow: inset 0 -7px 0 #fff, inset 0 -9px 0 var(--ink); }

.resources-section { padding: 26px 0 30px; background: var(--cream); }
.resources-grid { display: grid; grid-template-columns: .8fr repeat(3, 1fr); gap: 22px; align-items: start; }
.resources-heading h2 { margin-bottom: 10px; font-size: clamp(34px, 3.6vw, 46px); }
.resources-heading p { max-width: 240px; font-size: 14px; }
.resource-card { display: block; }
.resource-image { aspect-ratio: 2.1; margin-bottom: 10px; overflow: hidden; border-radius: 10px; background-size: cover; background-position: center; transition: transform .25s ease; }
.resource-card:hover .resource-image { transform: translateY(-5px); }
.resource-careers { background-image: url('resource-careers.jpg'); }
.resource-process { background-image: url('resource-process.jpg'); }
.resource-toolkit { background-image: url('resource-toolkit.jpg'); }
.resource-card small { margin-bottom: 6px; font-size: 13px; }
.resource-card h3 { margin-bottom: 6px; font-size: 16px; line-height: 1.02; }
.resource-card p { margin-bottom: 0; color: #585765; font-size: 11px; }

.demo-section { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(110deg, #7b18de, #6a1ddd 55%, #5720c5); }
.demo-inner { min-height: 108px; position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.demo-inner h2 { margin-bottom: 7px; font-size: clamp(34px, 4vw, 50px); }
.demo-inner p { margin-bottom: 0; font-size: 13px; }
.demo-ribbon span { position: absolute; width: 350px; height: 110px; right: -80px; bottom: 18px; border-radius: 100px; transform: rotate(-46deg); background: linear-gradient(90deg, #8f34ef, #ff7596, #ffab69); }
.demo-ribbon span:last-child { right: 100px; bottom: -58px; transform: rotate(40deg); background: linear-gradient(90deg, #5324d2, #e854d2, #ff8c80); }

.site-footer { padding: 26px 0 30px; background: #0a0c1d; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 60px; }
.brand-light { color: var(--white); }
.footer-brand p { max-width: 190px; margin: 12px 0 0; color: #aeadbd; font-size: 12px; }
.footer-grid h3 { margin: 2px 0 10px; font-size: 13px; letter-spacing: 0; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.footer-grid a:not(.brand) { color: #c7c7d2; }
.footer-grid a:hover { color: var(--white); }

@media (max-width: 1100px) {
    :root { --page: min(92vw, 960px); }
    .laptop-screen { grid-template-columns: 105px 1fr; }
    .app-sidebar { padding: 18px 9px; gap: 10px; }
    .app-main { padding: 20px 16px; }
    .candidate-card:nth-child(n+3) { display: none; }
    .phone { width: 200px; }
    .phone-screen { min-height: 360px; }
    .feature-card { min-height: 290px; padding: 26px; }
    .data-accordions summary { grid-template-columns: 34px 145px 1fr; }
    .resources-grid { grid-template-columns: repeat(3, 1fr); }
    .resources-heading { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
}

@media (max-width: 820px) {
    :root { --page: min(89vw, 680px); }
    .header-inner { height: 70px; grid-template-columns: 1fr auto auto; gap: 18px; }
    .brand { font-size: 27px; }
    .brand img { width: 32px; height: 32px; }
    .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; padding: 0; border: 0; border-radius: 50%; background: #f1eef4; cursor: pointer; }
    .menu-toggle span:not(.sr-only) { width: 19px; height: 2px; background: var(--ink); transition: transform .2s; }
    .menu-open .menu-toggle span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
    .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .primary-nav { display: none; position: fixed; inset: 70px 0 0; padding: 50px 6%; flex-direction: column; align-items: flex-start; gap: 28px; background: var(--white); font-size: 36px; }
    .menu-open .primary-nav { display: flex; }
    .header-actions .text-link { display: none; }
    .header-actions .button { min-height: 42px; padding: 10px 16px; }

    .hero { min-height: 620px; align-items: flex-end; background-position: 57% center; }
    .hero-shade { background: linear-gradient(0deg, rgba(9,8,18,.94), rgba(9,8,18,.36) 70%, rgba(9,8,18,.08)); }
    .hero-content { padding: 80px 0 64px; }
    .hero h1 { font-size: clamp(68px, 19vw, 108px); }
    .hero p { max-width: 360px; }

    .workspace-section { padding-top: 56px; }
    .section-heading { text-align: left; }
    .section-heading h2 { font-size: 52px; }
    .stage-tabs { grid-template-columns: repeat(4, max-content); overflow-x: auto; justify-content: flex-start; padding-bottom: 5px; }
    .stage-tab { min-width: 112px; padding: 0 18px; }
    .workspace-visual { min-height: 500px; }
    .device-stage { min-height: 500px; justify-content: flex-start; padding-top: 48px; }
    .laptop { width: 94%; margin-left: -8%; align-self: center; }
    .laptop-screen { grid-template-columns: 85px 1fr; border-width: 8px; }
    .app-sidebar span:nth-of-type(n+5) { display: none; }
    .app-brand strong { display: none; }
    .app-tabs span { display: none; }
    .pipeline { grid-template-columns: repeat(4, 105px); }
    .app-main { overflow: hidden; }
    .phone { width: 176px; position: absolute; right: 0; bottom: 4px; z-index: 2; }
    .phone-screen { min-height: 325px; }
    .phone-copy h3 { font-size: 25px; }

    .journey-section { grid-template-columns: 1fr; gap: 36px; padding-block: 58px 68px; }
    .journey-image { min-height: 420px; }
    .journey-copy h2 { font-size: 54px; }
    .feature-grid { grid-template-columns: 1fr; padding-bottom: 62px; }
    .feature-card { min-height: 300px; }
    .feature-card-copy { max-width: 62%; }
    .real-teams-banner { min-height: 420px; background-position: 60% center; }
    .data-section { grid-template-columns: 1fr; gap: 25px; padding-block: 60px; }
    .data-accordions summary { grid-template-columns: 34px 1fr; padding: 22px 0; }
    .data-accordions summary > span:last-child { grid-column: 2; }
    .data-accordions details > p { padding: 0 0 24px 52px; }
    .resources-grid { grid-template-columns: 1fr; }
    .resources-heading { grid-column: auto; display: block; }
    .resources-heading h2 { font-size: 54px; }
    .resources-heading p { max-width: 370px; }
    .resource-card { display: grid; grid-template-columns: 42% 1fr; grid-template-rows: auto auto 1fr; column-gap: 18px; }
    .resource-image { grid-row: 1 / 4; margin-bottom: 0; aspect-ratio: 1.2; }
    .resource-card small { margin: 4px 0; }
    .resource-card h3 { font-size: 21px; }
    .demo-inner { min-height: 300px; align-items: flex-start; justify-content: center; flex-direction: column; }
    .demo-ribbon { opacity: .65; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    :root { --page: 90vw; }
    .brand { font-size: 24px; gap: 7px; }
    .header-actions .button { font-size: 14px; }
    .hero { min-height: 570px; }
    .hero h1 { font-size: 64px; }
    .hero p { font-size: 18px; }
    .section-heading h2, .journey-copy h2, .data-section > h2, .resources-heading h2 { font-size: 45px; }
    .workspace-visual, .device-stage { min-height: 450px; }
    .stage-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
    .stage-tab { min-width: 0; width: 100%; }
    .laptop { width: 110%; margin-left: -12%; }
    .laptop-screen { grid-template-columns: 72px 1fr; }
    .app-sidebar { font-size: 9px; }
    .phone { width: 160px; right: -7px; }
    .phone-screen { min-height: 300px; }
    .journey-image { min-height: 330px; }
    .feature-card { min-height: 330px; padding: 24px; }
    .feature-card-copy { max-width: 100%; padding-right: 0; }
    .career-preview { width: 44%; height: 55%; top: auto; right: 7%; bottom: -5%; }
    .mini-pipeline { width: 50%; top: auto; right: 7%; bottom: 30px; }
    .talent-cluster { width: 44%; top: auto; right: 3%; bottom: 55px; }
    .real-teams-banner h2 { font-size: 43px; }
    .resource-card { grid-template-columns: 38% 1fr; }
    .resource-card p { display: none; }
    .demo-inner h2 { font-size: 52px; }
    .footer-grid { gap: 42px 24px; }
}

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