/* Homepage (Sep 2026 B2B / Enterprise redesign). Uses the "Ink and sky" tokens defined in styles.css. */

.hj { color: var(--hj-ink); background: var(--hj-paper); }
.hj h1, .hj h2, .hj h3 { color: inherit; letter-spacing: -0.01em; }
.hj section { padding: 88px 0; }
.hj .hj-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.hj .hj-kicker {
    display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--hj-blue); margin-bottom: 12px;
}
.hj .hj-section-head { max-width: 720px; margin: 0 0 40px; }
.hj .hj-section-head.center { margin: 0 auto 40px; text-align: center; }
.hj .hj-section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 0 0 12px; }
.hj .hj-section-head p { font-size: 1.1rem; line-height: 1.6; color: var(--hj-slate); margin: 0; }

/* Buttons */
.hj .hj-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
    text-decoration: none; border: 2px solid transparent; transition: background .15s, border-color .15s, color .15s;
    min-height: 48px;
}
.hj .hj-btn-primary { background: var(--hj-blue); color: #fff !important; }
.hj .hj-btn-primary:hover { background: var(--hj-blue-pressed); }
.hj .hj-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.45); }
.hj .hj-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hj .hj-btn-outline { background: #fff; color: var(--hj-ink) !important; border-color: var(--hj-line); }
.hj .hj-btn-outline:hover { border-color: var(--hj-blue); color: var(--hj-blue) !important; }
.hj a:focus-visible, .hj button:focus-visible, .hj summary:focus-visible { outline: 3px solid var(--hj-sky-on-dark); outline-offset: 2px; }

/* Hero */
.hj .hj-hero { background: var(--hj-ink); color: #fff; padding: 156px 0 88px; }
.hj .hj-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hj .hj-hero .hj-kicker { color: var(--hj-sky-on-dark); }
.hj .hj-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; margin: 0 0 20px; color: #fff; }
.hj .hj-hero h1 em { font-style: normal; color: var(--hj-sky-on-dark); }
.hj .hj-hero-sub { font-size: 1.2rem; line-height: 1.6; color: #D5DEE8; margin: 0 0 28px; max-width: 560px; }
.hj .hj-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hj .hj-hero-fine { font-size: 0.92rem; color: #A9B6C4; margin: 0; }
.hj .hj-hero-fine a { color: var(--hj-sky-on-dark); }
.hj .hj-hero-fine span { white-space: nowrap; }

.hj .hj-reply-stack { display: grid; gap: 12px; }
.hj .hj-reply {
    background: #fff; color: var(--hj-ink); border-radius: 14px; padding: 16px 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.hj .hj-reply-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.hj .hj-reply-who { font-weight: 700; font-size: 0.95rem; }
.hj .hj-pill {
    display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px;
    background: var(--hj-sky); color: var(--hj-deep); white-space: nowrap;
}
.hj .hj-pill.dark { background: var(--hj-ink); color: #fff; }
.hj .hj-reply p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: #28323D; }
.hj .hj-reply-meta { margin-top: 8px !important; font-size: 0.8rem !important; color: var(--hj-slate) !important; }
.hj .hj-reply.is-junior { background: var(--hj-sky); }
.hj .hj-reply-caption { font-size: 0.82rem; color: #A9B6C4; margin: 4px 2px 0; }

/* Proof numbers */
.hj .hj-proof { background: var(--hj-sky-soft); padding: 48px 0; border-bottom: 1px solid var(--hj-line); }
.hj .hj-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hj .hj-stat strong { display: block; font-size: 2.2rem; line-height: 1; color: var(--hj-ink); margin-bottom: 6px; }
.hj .hj-stat span { font-size: 0.95rem; color: var(--hj-slate); line-height: 1.4; }
.hj .hj-proof-note { margin: 22px 0 0; font-size: 0.85rem; color: var(--hj-slate); }

/* How it works */
.hj .hj-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.hj .hj-step { border: 1px solid var(--hj-line); border-radius: 14px; padding: 22px; background: #fff; }
.hj .hj-step::before {
    counter-increment: step; content: counter(step);
    display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--hj-ink); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.hj .hj-step h3 { font-size: 1.1rem; margin: 0 0 8px; }
.hj .hj-step p { margin: 0; color: var(--hj-slate); line-height: 1.55; font-size: 0.97rem; }

/* Features */
.hj .hj-features { background: #F7FAFC; }
.hj .hj-feature {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin-bottom: 72px;
}
.hj .hj-feature:last-child { margin-bottom: 0; }
.hj .hj-feature.flip .hj-feature-copy { order: 2; }
.hj .hj-feature h3 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 12px; }
.hj .hj-feature p { color: var(--hj-slate); line-height: 1.65; margin: 0 0 14px; font-size: 1.05rem; }
.hj .hj-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hj .hj-checks li { position: relative; padding-left: 28px; line-height: 1.5; }
.hj .hj-checks li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--hj-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23255DB8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hj .hj-shot {
    margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--hj-line); background: #fff;
    box-shadow: 0 20px 50px rgba(11,15,20,.10); max-height: 520px;
}
.hj .hj-shot img { display: block; width: 100%; height: auto; }
.hj .hj-shot-cap { font-size: 0.82rem; color: var(--hj-slate); margin-top: 10px; }
.hj .hj-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.hj .hj-mini { background: #fff; border: 1px solid var(--hj-line); border-radius: 14px; padding: 22px; }
.hj .hj-mini h4 { margin: 0 0 8px; font-size: 1.05rem; }
.hj .hj-mini p { margin: 0; color: var(--hj-slate); line-height: 1.55; font-size: 0.97rem; }

/* Testimonial + video */
.hj .hj-quote-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: stretch; }
.hj .hj-quote { background: var(--hj-ink); color: #fff; border-radius: 16px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; }
.hj .hj-quote blockquote { margin: 0 0 24px; font-size: 1.35rem; line-height: 1.5; }
.hj .hj-quote cite { font-style: normal; color: #C5D0DB; font-size: 0.95rem; line-height: 1.5; }
.hj .hj-quote cite strong { color: #fff; display: block; }
.hj .hj-quote a { color: var(--hj-sky-on-dark); }
.hj .hj-video {
    display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--hj-line);
    text-decoration: none; color: var(--hj-ink); background: #fff;
}
.hj .hj-video-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--hj-ink) center/cover no-repeat; }
.hj .hj-video-thumb::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
    background: rgba(255,255,255,.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%230B0F14'/%3E%3C/svg%3E") center/28px no-repeat;
}
.hj .hj-video-body { padding: 20px; }
.hj .hj-video-body strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.hj .hj-video-body span { color: var(--hj-slate); font-size: 0.95rem; }

/* Safety */
.hj .hj-safety { background: var(--hj-sky-soft); }
.hj .hj-safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hj .hj-safety-note {
    margin-top: 28px; padding: 18px 20px; background: #fff; border: 1px solid var(--hj-line); border-left: 4px solid var(--hj-blue);
    border-radius: 0; line-height: 1.6; color: var(--hj-ink);
}

/* Pricing */
.hj .hj-pricing-company {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; background: var(--hj-sky);
    border-radius: 18px; padding: 36px; margin-bottom: 40px; align-items: center;
}
.hj .hj-pricing-company h3 { font-size: 1.8rem; margin: 0 0 8px; color: var(--hj-deep); }
.hj .hj-pricing-company > div > p { color: var(--hj-deep); line-height: 1.6; margin: 0 0 18px; }
.hj .hj-price { font-size: 2.6rem; font-weight: 700; color: var(--hj-ink); line-height: 1; }
.hj .hj-price small { font-size: 1rem; font-weight: 500; color: var(--hj-slate); }
.hj .hj-price-box { background: #fff; border-radius: 14px; padding: 26px; }
.hj .hj-price-box .hj-btn { width: 100%; margin: 18px 0 10px; }
.hj .hj-price-fine { font-size: 0.85rem; color: var(--hj-slate); margin: 0; line-height: 1.5; }
.hj .hj-subhead { font-size: 1.15rem; margin: 0 0 16px; }
.hj .hj-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hj .hj-plan { position: relative; border: 1px solid var(--hj-line); border-radius: 14px; padding: 26px; background: #fff; display: flex; flex-direction: column; }
.hj .hj-plan.popular { border: 2px solid var(--hj-blue); }
.hj .hj-plan .hj-pill { position: absolute; top: -12px; left: 22px; background: var(--hj-blue); color: #fff; }
.hj .hj-plan h4 { font-size: 1.2rem; margin: 0 0 6px; }
.hj .hj-plan .hj-price { font-size: 2rem; margin: 6px 0 4px; }
.hj .hj-plan .hj-checks { margin: 16px 0 22px; flex: 1; }
.hj .hj-plan .hj-btn { width: 100%; }
.hj .hj-pricing-foot { margin-top: 22px; color: var(--hj-slate); font-size: 0.95rem; line-height: 1.6; }

/* Use cases */
.hj .hj-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hj .hj-case {
    display: block; border: 1px solid var(--hj-line); border-radius: 14px; padding: 22px; text-decoration: none;
    color: var(--hj-ink); background: #fff; transition: border-color .15s, transform .15s;
}
.hj .hj-case:hover { border-color: var(--hj-blue); transform: translateY(-2px); }
.hj .hj-case strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.hj .hj-case span { color: var(--hj-slate); font-size: 0.95rem; line-height: 1.5; }
.hj .hj-case em { display: block; margin-top: 12px; font-style: normal; color: var(--hj-blue); font-weight: 700; font-size: 0.92rem; }
.hj .hj-also { margin-top: 20px; color: var(--hj-slate); }
.hj .hj-also a { color: var(--hj-blue); font-weight: 600; }

/* FAQ */
.hj .hj-faq { max-width: 820px; margin: 0 auto; }
.hj .hj-faq details { border-bottom: 1px solid var(--hj-line); padding: 18px 0; }
.hj .hj-faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.hj .hj-faq summary::-webkit-details-marker { display: none; }
.hj .hj-faq summary::after { content: "+"; color: var(--hj-blue); font-size: 1.4rem; line-height: 1; }
.hj .hj-faq details[open] summary::after { content: "\2212"; }
.hj .hj-faq details p { margin: 12px 0 0; color: var(--hj-slate); line-height: 1.65; }
.hj .hj-faq details a { color: var(--hj-blue); }

/* Final CTA */
.hj .hj-final { background: var(--hj-ink); color: #fff; text-align: center; }
.hj .hj-final h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 14px; color: #fff; }
.hj .hj-final p { color: #C5D0DB; font-size: 1.1rem; margin: 0 auto 28px; max-width: 620px; line-height: 1.6; }
.hj .hj-final .hj-hero-ctas { justify-content: center; }

/* Responsive */
@media (max-width: 980px) {
    .hj section { padding: 64px 0; }
    .hj .hj-hero { padding: 132px 0 64px; }
    .hj .hj-hero-grid, .hj .hj-feature, .hj .hj-quote-grid, .hj .hj-pricing-company { grid-template-columns: 1fr; gap: 32px; }
    .hj .hj-feature.flip .hj-feature-copy { order: 0; }
    .hj .hj-steps, .hj .hj-safety-grid, .hj .hj-cases, .hj .hj-proof-grid { grid-template-columns: repeat(2, 1fr); }
    .hj .hj-plans, .hj .hj-mini-grid { grid-template-columns: 1fr; }
    .hj .hj-shot { max-height: 420px; }
}
@media (max-width: 560px) {
    .hj .hj-steps, .hj .hj-safety-grid, .hj .hj-cases { grid-template-columns: 1fr; }
    .hj .hj-hero-ctas .hj-btn { width: 100%; }
    .hj .hj-pricing-company { padding: 22px; }
    .hj .hj-quote { padding: 26px; }
    .hj .hj-quote blockquote { font-size: 1.15rem; }
    .hj .hj-stat strong { font-size: 1.8rem; }
}
.hj .hj-pricing-foot a, .hj .hj-safety-note a, .hj .hj-proof-note a { color: var(--hj-blue); font-weight: 600; }
