.home-landing {
    --pk-primary: #2563eb;
    --pk-primary-hover: #1d4ed8;
    --pk-text: #172033;
    --pk-muted: #667085;
    --pk-border: #e4e7ec;
    --pk-background: #f7f8fc;
    --pk-surface: #fff;
    --pk-shadow-card: 0 4px 14px rgba(16, 24, 40, 0.04);
    color: var(--pk-text);
}

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

.home-landing [hidden] { display: none !important; }
.home-landing a { color: inherit; }
.home-landing a:focus-visible,
.home-landing button:focus-visible,
.home-landing input:focus-visible,
.home-landing summary:focus-visible { outline: 3px solid var(--pk-primary); outline-offset: 3px; }
.home-container { width: min(100% - 48px, 1220px); margin-inline: auto; }
.home-section { padding-block: clamp(64px, 7vw, 96px); }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.home-section-heading h2,
.home-workflow h2,
.home-faq h2 { margin: 0 0 10px; color: var(--pk-text); font-size: clamp(29px, 3vw, 38px); font-weight: 760; line-height: 1.15; }
.home-section-heading p,
.home-workflow p { max-width: 720px; margin: 0; color: var(--pk-muted); font-size: 16px; line-height: 1.65; }
.home-section-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; flex: 0 0 auto; color: var(--pk-primary) !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.home-section-link:hover { color: var(--pk-primary-hover) !important; text-decoration: underline; }

.home-hero { position: relative; z-index: 2; background: radial-gradient(circle at 83% 38%, rgba(37, 99, 235, .085), transparent 36%), linear-gradient(180deg, #fff 0%, #fafbff 100%); }
.home-hero-grid { min-height: 500px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); padding-block: clamp(52px, 4.6vw, 68px); }
.home-hero-copy { position: relative; z-index: 2; min-width: 0; }
.home-hero h1 { max-width: 670px; margin: 0; font-size: clamp(42px, 4vw, 54px); font-weight: 780; letter-spacing: -.045em; line-height: 1.08; }
.home-hero-lead { max-width: 640px; margin: 24px 0 28px; color: var(--pk-muted); font-size: 18px; line-height: 1.65; }
.home-finder { position: relative; z-index: 5; width: min(100%, 680px); }
.home-finder-field { min-height: 60px; display: flex; align-items: center; gap: 12px; padding-inline: 19px 12px; border: 1px solid #d9e0ec; border-radius: 14px; background: white; box-shadow: 0 12px 32px rgba(22, 44, 84, .08); }
.home-finder-field > .bi { color: var(--pk-primary); font-size: 21px; }
.home-finder-field input { width: 100%; min-width: 0; height: 56px; border: 0; outline: 0; background: transparent; color: var(--pk-text); font-size: 16px; }
.home-finder-field input:focus-visible { outline: 0; }
.home-finder-field:focus-within { border-color: #4f7ff7; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12), 0 12px 32px rgba(22, 44, 84, .08); }
.home-finder-field input::placeholder { color: #8792a5; opacity: 1; }
.home-finder-field input::-webkit-search-cancel-button { display: none; }
.home-finder-clear { width: 44px; height: 44px; flex: 0 0 auto; border: 0; border-radius: 9px; background: #f1f4f9; color: #52647d; }
.home-finder-results { position: absolute; inset-inline: 0; top: calc(100% + 8px); max-height: 440px; overflow-y: auto; padding: 6px; border: 1px solid var(--pk-border); border-radius: 14px; background: #fff; box-shadow: 0 20px 44px rgba(16, 24, 40, .16); }
.home-finder-results:not([hidden]) { animation: home-results-enter 140ms ease-out; }
@keyframes home-results-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.home-finder-results a { display: flex; min-height: 70px; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 9px; text-decoration: none; }
.home-finder-results a:hover,
.home-finder-results a.is-active { background: #f7f9fc; }
.home-finder-results a > .bi:last-child { font-size: 16px; transition: transform 150ms ease; }
.home-finder-results a:hover > .bi:last-child,
.home-finder-results a.is-active > .bi:last-child { transform: translate(2px, -2px); }
.home-finder-suggestions-heading { margin: 0; padding: 9px 12px 5px; color: #7a8699; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.home-finder-result-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: #eff6ff; color: var(--pk-primary); }
.home-finder-result-text { min-width: 0; flex: 1; }
.home-finder-result-text strong,
.home-finder-result-text small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-finder-result-text strong { font-size: 15px; font-weight: 600; }
.home-finder-result-text small { color: var(--pk-muted); font-size: 13px; }
.home-finder-result-category { color: #7a8699; font-size: 12px; font-weight: 500; white-space: nowrap; }
.home-finder-empty { margin: 0; padding: 18px; color: var(--pk-muted); font-size: 14px; }
.home-hero-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 24px; margin: 17px 0 0; padding: 0; color: #4b5b73; list-style: none; }
.home-hero-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.home-hero-trust i { width: 15px; color: var(--pk-primary); font-size: 15px; text-align: center; }
.home-hero-copy .planned-preview-note { margin-top: 18px; }

.home-product-visual { position: relative; min-height: 390px; display: grid; place-items: center; transform: scale(.94); transform-origin: center; }
.home-product-orbit { position: absolute; border: 1px solid rgba(84, 118, 225, .15); border-radius: 50%; }
.home-product-orbit-one { width: 390px; height: 390px; }
.home-product-orbit-two { width: 300px; height: 300px; background: radial-gradient(circle, rgba(99, 120, 238, .09), transparent 72%); }
.home-preview-window { position: relative; z-index: 1; width: min(100%, 480px); height: 288px; overflow: hidden; border: 1px solid #d2def2; border-radius: 17px; background: #fff; box-shadow: 0 28px 60px rgba(21, 52, 113, .17); transform: rotate(-3deg); }
.home-preview-topbar { height: 42px; display: flex; align-items: center; gap: 5px; padding-inline: 16px; border-bottom: 1px solid #e9edf5; background: #fbfcff; }
.home-preview-topbar span,
.home-workflow-top span { width: 7px; height: 7px; border-radius: 50%; background: #d5ddec; }
.home-preview-topbar span:first-child,
.home-workflow-top span:first-child { background: #f08d8d; }
.home-preview-topbar i { margin-inline-start: auto; color: #697ca7; }
.home-preview-files { display: flex; justify-content: center; gap: 12px; padding: 34px 22px 24px; }
.home-preview-file { width: 95px; height: 136px; position: relative; display: flex; flex-direction: column; align-items: center; padding: 16px 12px; border: 1px solid #d9e2f1; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(31, 57, 106, .08); }
.home-preview-file i { color: #f04452; font-size: 29px; }
.home-preview-file:nth-child(3) i { color: #267fc4; }
.home-preview-file span { position: absolute; bottom: -10px; width: 24px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: #eef3ff; color: #3c5da8; font-size: 9px; font-weight: 800; }
.home-preview-file b { width: 100%; height: 5px; margin-top: 10px; border-radius: 3px; background: #e8edf6; }
.home-preview-file b:last-child { width: 68%; margin-inline-end: auto; }
.home-preview-footer { height: 46px; display: flex; align-items: center; gap: 7px; padding-inline: 24px; border-top: 1px solid #eef1f7; }
.home-preview-footer > span { width: 45px; height: 6px; border-radius: 3px; background: #e3e9f3; }
.home-preview-footer > span:nth-child(2) { width: 30px; }
.home-preview-footer strong { width: 54px; height: 22px; display: grid; place-items: center; margin-inline-start: auto; border-radius: 6px; background: var(--pk-primary); color: #fff; }
.home-preview-badge { position: absolute; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #e8ecf6; border-radius: 15px; background: #fff; color: var(--pk-primary); font-size: 23px; box-shadow: 0 12px 25px rgba(23, 50, 105, .13); }
.home-preview-badge-left { inset-inline-start: -8px; top: 52px; }
.home-preview-badge-right { inset-inline-end: -8px; bottom: 40px; color: #f04452; }

.home-quick { padding-top: clamp(72px, 6vw, 80px); }

.home-quick-grid,
.home-library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-tool-card { position: relative; display: flex; min-width: 0; border: 1px solid var(--pk-border); border-radius: 14px; background: var(--pk-surface); box-shadow: var(--pk-shadow-card); text-decoration: none; transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease; }
a.home-tool-card:hover,
a.home-tool-card:focus-visible { transform: translateY(-2px); border-color: #cad3e1; box-shadow: 0 8px 24px rgba(16, 24, 40, .08); color: var(--pk-text); text-decoration: none; }
.home-featured-card { min-height: 148px; flex-direction: column; padding: 18px 20px; }
.home-tool-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; font-size: 21px; }
.home-featured-card strong { margin-top: 15px; font-size: 16px; line-height: 1.3; }
.home-featured-card small { display: -webkit-box; overflow: hidden; max-width: 95%; margin-top: 4px; color: var(--pk-muted); font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-tool-arrow { position: absolute; inset-block-start: 20px; inset-inline-end: 20px; color: #9aa8bc; font-size: 15px; }
.home-featured-card .home-tool-arrow { opacity: .5; transition: opacity 150ms ease; }
.home-featured-card:hover .home-tool-arrow,
.home-featured-card:focus-visible .home-tool-arrow { opacity: .9; }
.home-library { background: var(--pk-background); scroll-margin-top: 76px; }
.home-tools-anchor { display: block; position: relative; top: -76px; height: 0; }
.home-category-filters { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 24px; padding: 2px 2px 9px; white-space: nowrap; scrollbar-width: thin; }
.home-category-filters button { min-height: 44px; flex: 0 0 auto; padding: 7px 15px; border: 1px solid #dce3ed; border-radius: 999px; background: #fff; color: #435269; font-size: 13px; font-weight: 700; transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease; }
.home-category-filters button.is-active { border-color: #172033; background: #172033; color: #fff; }
.home-category-filters button:not(.is-active):hover { border-color: #9eafc8; }
.home-library-card { min-height: 113px; align-items: flex-start; gap: 12px; padding: 16px; }
.home-library-card .home-tool-icon { width: 39px; height: 39px; border-radius: 9px; font-size: 19px; }
.home-tool-text { min-width: 0; padding-inline-end: 12px; }
.home-tool-text strong { display: block; margin-bottom: 4px; font-size: 14px; line-height: 1.3; }
.home-tool-text small { display: -webkit-box; overflow: hidden; color: var(--pk-muted); font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-library-card .home-tool-arrow { inset-block-start: 17px; inset-inline-end: 14px; font-size: 13px; }
.home-planned-card { border-style: dashed; opacity: .68; }
.home-planned-card .planned-card-label { position: absolute; inset-inline-end: 12px; bottom: 8px; padding: 0; font-size: 10px; }

.home-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-why-grid article { padding: 28px; border: 1px solid var(--pk-border); border-radius: 18px; background: #fff; }
.home-why-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #eff6ff; color: var(--pk-primary); font-size: 21px; }
.home-why-grid article:nth-child(2) > span { background: #fff7ed; color: #f97316; }
.home-why-grid article:nth-child(3) > span { background: #f0fdf4; color: #16a34a; }
.home-why-grid h3 { margin: 19px 0 8px; font-size: 18px; font-weight: 720; }
.home-why-grid p { margin: 0; color: var(--pk-muted); font-size: 14px; line-height: 1.65; }

.home-workflow { background: #f4f7ff; }
.home-workflow-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(40px, 6vw, 90px); }
.home-workflow-preview { min-height: 320px; overflow: hidden; border: 1px solid #dbe4f5; border-radius: 18px; background: #fff; box-shadow: 0 24px 55px rgba(36, 68, 130, .09); }
.home-workflow-top { height: 45px; display: flex; align-items: center; gap: 6px; padding-inline: 18px; border-bottom: 1px solid #e9edf5; }
.home-workflow-thumbs { display: flex; justify-content: center; gap: 14px; padding: 48px 20px 38px; }
.home-workflow-thumbs > span { width: 90px; height: 126px; position: relative; display: grid; place-items: center; border: 1px solid #dfe6f2; border-radius: 8px; background: linear-gradient(#fff 72%, #f4f7ff); color: #ef6471; box-shadow: 0 5px 12px rgba(34, 63, 114, .07); }
.home-workflow-thumbs i { font-size: 35px; }
.home-workflow-thumbs b { position: absolute; bottom: -12px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e9f0ff; color: #315ab5; font-size: 11px; }
.home-workflow-thumbs > span:nth-child(3) { color: #2b8ccf; }
.home-workflow-thumbs .home-workflow-add { border-style: dashed; color: #8da6cf; box-shadow: none; }
.home-workflow-progress { width: 60%; height: 9px; margin: 0 auto 36px; border-radius: 10px; background: #edf2fa; }
.home-workflow-progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: #6895ed; }
.home-workflow-steps { display: grid; gap: 15px; margin: 26px 0 27px; padding: 0; list-style: none; }
.home-workflow-steps li { display: flex; align-items: center; gap: 13px; font-size: 15px; font-weight: 650; }
.home-workflow-steps span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #dfe9ff; color: #2a5bbb; font-size: 12px; font-weight: 800; }

.home-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-guide-grid a { display: flex; min-height: 235px; flex-direction: column; padding: 22px; border: 1px solid var(--pk-border); border-radius: 16px; background: #fff; text-decoration: none; transition: border-color 170ms ease, box-shadow 170ms ease; }
.home-guide-grid a:hover { border-color: #afc3e6; box-shadow: 0 8px 24px rgba(16, 24, 40, .07); color: var(--pk-text); }
.home-guide-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 10px; background: #eff6ff; color: var(--pk-primary); }
.home-guide-category { margin-bottom: 6px; color: #5572a5; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.home-guide-grid strong { display: -webkit-box; overflow: hidden; font-size: 16px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-guide-grid small { display: -webkit-box; overflow: hidden; margin-top: 9px; color: var(--pk-muted); font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-guide-open { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 15px; color: var(--pk-primary); font-size: 12px; font-weight: 750; }
.home-faq { padding-block: 72px 80px; background: #f8fafc; }
.home-faq-inner { max-width: 900px; }
.home-faq h2 { margin-bottom: 28px; text-align: center; }
.home-faq-list { overflow: hidden; border: 1px solid #e6eaf0; border-radius: 16px; background: #fff; }
.home-faq details { border-bottom: 1px solid #e9edf3; }
.home-faq details:last-child { border-bottom: 0; }
.home-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 15px; font-weight: 700; list-style: none; }
.home-faq summary { min-height: 62px; padding: 20px 24px; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { width: 8px; height: 8px; flex: 0 0 auto; border-inline-end: 2px solid #677791; border-bottom: 2px solid #677791; content: ""; transform: rotate(45deg); transition: transform 150ms ease; }
.home-faq details[open] summary::after { transform: rotate(225deg); }
.home-faq details p { margin: -4px 24px 20px; color: var(--pk-muted); font-size: 14px; line-height: 1.65; }

@media (max-width: 1023.98px) {
    .home-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 25px; }
    .home-hero h1 { font-size: clamp(38px, 4.3vw, 46px); }
    .home-product-visual { min-height: 320px; }
    .home-preview-window { height: 265px; }
    .home-quick-grid,
    .home-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .home-container { width: min(100% - 40px, 1220px); }
    .home-hero-grid { min-height: 0; grid-template-columns: 1fr; padding-block: 64px 48px; }
    .home-hero h1 { max-width: 650px; font-size: clamp(34px, 6vw, 42px); }
    .home-hero-lead { margin-block: 18px 24px; font-size: 16px; }
    .home-product-visual { min-height: 280px; margin-top: 6px; }
    .home-product-visual { transform: none; }
    .home-preview-window { max-width: 420px; height: 260px; }
    .home-product-orbit-one { width: 310px; height: 310px; }
    .home-product-orbit-two { width: 240px; height: 240px; }
    .home-hero-trust li { max-width: 100%; white-space: normal; }
    .home-quick-grid,
    .home-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-why-grid { grid-template-columns: 1fr; gap: 12px; }
    .home-why-grid article { padding: 22px; }
    .home-workflow-grid { grid-template-columns: 1fr; }
    .home-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .home-container { width: min(100% - 32px, 1220px); }
    .home-section { padding-block: 64px; }
    .home-section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
    .home-section-heading h2,
    .home-workflow h2,
    .home-faq h2 { font-size: 29px; }
    .home-finder-field { min-height: 56px; }
    .home-finder-field input { height: 54px; font-size: 14px; }
    .home-finder-result-category { display: none; }
    .home-product-visual { min-height: 235px; }
    .home-preview-window { max-width: 330px; height: 220px; }
    .home-preview-files { gap: 8px; padding-top: 20px; }
    .home-preview-file { width: 72px; height: 112px; }
    .home-preview-badge { width: 41px; height: 41px; font-size: 17px; }
    .home-quick-grid,
    .home-library-grid { gap: 10px; }
    .home-featured-card { min-height: 145px; padding: 14px; }
    .home-featured-card strong { font-size: 14px; }
    .home-featured-card small { font-size: 12px; }
    .home-tool-icon { width: 39px; height: 39px; font-size: 18px; }
    .home-library-card { min-height: 122px; flex-direction: column; gap: 8px; padding: 13px; }
    .home-tool-text { padding-inline-end: 0; }
    .home-tool-text strong { font-size: 13px; }
    .home-tool-text small { font-size: 12px; }
    .home-library-card .home-tool-arrow { inset-block-start: 14px; }
    .home-workflow-preview { min-height: 275px; }
    .home-workflow-thumbs { gap: 7px; padding-inline: 12px; }
    .home-workflow-thumbs > span { width: 61px; height: 94px; }
    .home-workflow-thumbs i { font-size: 26px; }
    .home-guide-grid { grid-template-columns: 1fr; }
    .home-guide-grid a { min-height: 210px; }
    .home-faq { padding-block: 64px; }
    .home-faq summary { padding-inline: 18px; }
    .home-faq details p { margin-inline: 18px; }
}

@media (max-width: 359.98px) {
    .home-quick-grid,
    .home-library-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .home-tool-card,
    .home-guide-grid a { transition: none; }
    .home-finder-results:not([hidden]) { animation: none; }
    .home-category-filters button,
    .home-featured-card .home-tool-arrow { transition: none; }
    .home-finder-results a > .bi:last-child,
    .home-faq summary::after { transition: none; }
    a.home-tool-card:hover,
    a.home-tool-card:focus-visible { transform: none; }
}

[dir="rtl"] .home-product-visual,
[dir="rtl"] .home-workflow-preview { direction: ltr; }
[dir="rtl"] .home-tool-arrow,
[dir="rtl"] .home-guide-open i { transform: scaleX(-1); }
