/* The HireSys site prototype: the kit's landing primitives (Header, Hero, Section, Steps, Pricing, FAQ, CTABanner,
   Footer) drawn in plain CSS on tokens.css. Stage rhythm: py 80/120, Container lg 1180, background alternating. */

body::before {
    content: '';
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px);
    z-index: 101;
    background: var(--gray-0);
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: var(--gutter-l);
    padding-right: var(--gutter-r);
}

/* Header: sticky, one line, the card shows its hairline only once the page scrolls. */
.header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 100;
    padding-block: 12px;
    pointer-events: none;
}

.header-card {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 12px;
    background: var(--gray-0);
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.is-scrolled .header-card {
    border-color: var(--gray-2);
}

.wordmark {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.04em;
    color: var(--gray-9);
    text-decoration: none;
    line-height: 1;
}

.nav {
    display: none;
    gap: 32px;
}

.nav a {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-9);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--gray-9);
    cursor: pointer;
}

@media (min-width: 1200px) {
    .nav {
        display: flex;
    }
}

@media (max-width: 560px) {
    .hide-phone {
        display: none;
    }
}

/* Stage */
.stage {
    padding-block: 80px;
    background: var(--gray-0);
}

.stage.gray {
    background: var(--gray-1);
}

@media (min-width: 900px) {
    .stage {
        padding-block: 120px;
    }
}

.announce {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    max-width: 800px;
}

.announce.center {
    align-items: center;
    text-align: center;
    margin-inline: auto;
}

.announce h2 {
    font-size: var(--fz-section-title);
}

.lead {
    font-size: 20px;
    line-height: 1.7;
    color: var(--gray-6);
    max-width: 620px;
}

.center .lead {
    margin-inline: auto;
}

/* Hero */
.hero {
    padding-block: 80px;
}

.hero-grid {
    display: grid;
    gap: 60px;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.note {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-5);
    line-height: 1.7;
    max-width: 620px;
}

.hero-art {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.hero-art img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 600px) {
    .hero {
        padding-block: 100px;
    }
}

@media (min-width: 900px) {
    .hero {
        padding-block: 140px;
    }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
    }
}

/* "Por onde começar": the person's own sentence first, the answer under it. */
.paths {
    display: grid;
    gap: 1px;
    background: var(--gray-2);
    border: var(--line);
}

.path {
    background: var(--surface);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.path-quote {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-9);
    line-height: 1.3;
}

.path p {
    font-size: 16px;
    line-height: 1.7;
}

.text-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-9);
    text-decoration: none;
    padding-top: 8px;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (min-width: 900px) {
    .paths {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* The pain: three columns, title 800, body gray.6. */
.grid-3 {
    display: grid;
    gap: 40px;
}

.grid-3 h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.grid-3 p {
    line-height: 1.7;
}

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

/* One search, step by step: the scene, the big number, the title, the text; zig-zag from md. */
.steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: grid;
    gap: 24px;
    align-items: center;
}

.step-art {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
}

.step-art img {
    display: block;
    width: 100%;
    height: auto;
}

.step-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.step-n {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--gray-9);
    line-height: 1;
}

.step h3 {
    font-size: clamp(22px, 2vw + 12px, 28px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
}

.step p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 520px;
}

.step-arrow {
    display: flex;
    justify-content: center;
    color: var(--gray-4);
}

@media (min-width: 900px) {
    .step {
        grid-template-columns: 5fr 6fr;
        gap: 64px;
    }
    .step.reverse .step-art {
        order: 2;
    }
}

/* What it does and what it does not: two lists side by side, the same check and x glyphs. */
.ruler {
    display: grid;
    gap: 1px;
    background: var(--gray-2);
    border: var(--line);
}

.ruler-col {
    background: var(--surface);
    padding: 32px;
    min-width: 0;
}

.ruler-col ul {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ruler-col li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    line-height: 1.55;
}

.ruler-col li .icon {
    margin-top: 3px;
    color: var(--gray-9);
}

.ruler-col.not li .icon {
    color: var(--gray-5);
}

@media (min-width: 900px) {
    .ruler {
        grid-template-columns: 1fr 1fr;
    }
}

/* Pricing */
.plans {
    display: grid;
    gap: 1px;
    background: var(--gray-2);
    border: var(--line);
}

.plan {
    background: var(--surface);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.plan.featured {
    outline: 2px solid var(--gray-9);
    outline-offset: -2px;
}

.plan-name {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--gray-9);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--gray-9);
}

.plan-price strong {
    font-size: var(--fz-big-metric-sm);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.plan-price span {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-5);
}

.plan-note {
    font-size: 13px;
    color: var(--gray-5);
    line-height: 1.5;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    font-size: 15px;
    line-height: 1.55;
}

.plan li .icon {
    margin-top: 3px;
    color: var(--gray-9);
}

.plan .btn {
    margin-top: auto;
}

@media (min-width: 900px) {
    .plans {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ: native details, one hairline between questions. */
.faq {
    max-width: 780px;
    border-top: var(--line);
}

.faq details {
    border-bottom: var(--line);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-9);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .icon {
    transition: transform 0.15s ease;
    color: var(--gray-5);
}

.faq details[open] summary .icon {
    transform: rotate(180deg);
}

.faq details p {
    padding-bottom: 24px;
    line-height: 1.7;
    max-width: 680px;
}

/* Closing banner: the live line sites show only the 1px hairline around it. */
.closing {
    border: var(--line);
    background: var(--surface);
    padding: 64px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.closing h2 {
    font-size: var(--fz-section-title);
    max-width: 800px;
}

/* Footer */
.footer {
    border-top: var(--line);
    padding-block: 48px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-6);
    text-decoration: none;
}

.footer small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--gray-5);
}

/* Legal pages: one reading column, the body role at 17px, headings at the step below the section title. */
.legal {
    padding-block: 64px 96px;
}

.legal .announce {
    margin-bottom: 40px;
}

.legal-body {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 17px;
    line-height: 1.7;
}

.legal-body h2 {
    font-size: 24px;
    letter-spacing: -0.02em;
    margin-top: 24px;
}

.legal-body ul {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-body a {
    color: var(--gray-9);
    font-weight: 700;
}
