/* Rules shared by every marketing page (the header and footer partials).
   Page-specific styling stays in each page's inline <style>, hero.css, and
   sections.css. */

/* Text brand in place of the pictech logo images. The hero is light, so the
   brand and menu read dark from the top (no white-on-white). */
.sticky_logo .brand-text { font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: #17171C; }
.navbar_fixed .sticky_logo .brand-text { color: #17171C; }
.brand-text .accent { color: #1665D8; }
.footer_area_two .brand-text { color: #fff; }

/* Footer column labels are <p> (not headings) so the page outline stays
   clean; keep the heading line-height they had as <h3>. */
.f_widget p.f_title { line-height: 1.2; }

/* The template's footer reserves 260px on top for a CTA card that overlapped it;
   no page has that card, so the space rendered as an empty dark band. */
.footer_area_two { padding-top: 90px; }
@media (max-width: 991px) { .footer_area_two { padding-top: 70px; } }

/* The template's buttons roll their label to a duplicate copy on hover (two
   stacked spans). With the same text it read as a glitch, and the 24px offset on
   a 28px line left both copies half visible. Show one static label instead and
   give the solid buttons a plain hover state. */
.btn_text span:first-child { display: none; }
.btn_text span:last-child,
.saas_btn:hover .btn_text span:last-child,
.nav_right .login_btn:hover .btn_text span:last-child,
.nav_right .signup_btn:hover .btn_text span:last-child { transform: none; }
.saas_btn:hover { background: #1D48D8; transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(43, 91, 253, .55); }

.footer_area_two .footer_bottom p.site_disclaimer {
    max-width: 760px; margin: 0 auto 12px;
    font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .45);
}

/* ---------- Long-form text pages (legal drafts, Keamanan & Privasi) ---------- */
.policy_wrap { max-width: 860px; margin: 0 auto; padding: 150px 20px 90px; }
.policy_wrap h1 { font-size: 38px; margin-bottom: 10px; }
.policy_wrap .updated { color: #6B7280; font-size: 14px; margin-bottom: 42px; }
.policy_wrap h2 { font-size: 24px; margin: 42px 0 14px; }
.policy_wrap p, .policy_wrap li { color: #374151; font-size: 16px; line-height: 1.75; }
.policy_wrap ul { padding-left: 22px; }
.policy_wrap li { margin-bottom: 8px; }
.policy_wrap .callout { background: #F0F6FF; border: 1px solid #D5E5FB; border-radius: 12px; padding: 18px 22px; margin: 26px 0; }
.policy_wrap .callout p { margin: 0; }

/* ---------- Feature pages and Panduan (the shared subpage shell) ---------- */
/* Visible breadcrumb; the matching BreadcrumbList JSON-LD sits in each page head. */
.crumbs { font-size: 14px; color: #6B7280; margin-bottom: 26px; }
.crumbs a { color: #1665D8; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 8px; color: #B8C0CC; }

/* 140px top clears the fixed navbar (the same clearance as .policy_wrap). */
.page_hero { padding: 140px 0 70px; background: linear-gradient(180deg, #F4F8FE 0%, #fff 100%); }
.page_hero .eyebrow {
    display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px;
    background: #E8F0FE; color: #1665D8; font-size: 13px; font-weight: 700; letter-spacing: .3px;
}
.page_hero h1 { font-size: 42px; line-height: 1.2; margin-bottom: 18px; }
.page_hero .lead { font-size: 18px; line-height: 1.7; color: #4B5563; margin-bottom: 28px; }
.page_hero .cta_row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.page_hero .cta_row .text_link { font-weight: 600; color: #1665D8; }
.page_hero .cta_row .text_link i { margin-left: 6px; }
.page_hero .hero_note { margin: 18px 0 0; font-size: 14px; color: #6B7280; }
.page_hero .bframe { margin-top: 10px; }
@media (max-width: 991px) {
    .page_hero { padding: 120px 0 50px; }
    .page_hero h1 { font-size: 32px; }
    .page_hero .bframe { margin-top: 40px; }
}

.page_section { padding: 70px 0; }
.page_section.alt { background: #F7F9FC; }
.page_section .narrow { max-width: 860px; margin: 0 auto; }
.page_section h2 { font-size: 30px; margin-bottom: 16px; }
.page_section .sub { font-size: 17px; color: #5B6472; line-height: 1.7; margin-bottom: 34px; }
.page_section p, .page_section li { color: #374151; font-size: 16px; line-height: 1.75; }
.page_section .callout { background: #F0F6FF; border: 1px solid #D5E5FB; border-radius: 12px; padding: 18px 22px; margin: 26px 0; }
.page_section .callout p { margin: 0; }

/* Numbered steps: one flow per page, numbers drawn from the list order. */
.page_steps { list-style: none; padding: 0; margin: 0; counter-reset: pstep; }
.page_steps > li { position: relative; padding: 0 0 30px 64px; counter-increment: pstep; }
.page_steps > li::before {
    content: counter(pstep); position: absolute; left: 0; top: 0;
    width: 42px; height: 42px; border-radius: 50%; background: #1665D8; color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.page_steps > li:not(:last-child)::after {
    content: ""; position: absolute; left: 20px; top: 50px; bottom: 8px; width: 2px; background: #D5E5FB;
}
.page_steps h3 { font-size: 20px; margin: 8px 0 8px; }
.page_steps p { margin: 0; }

/* Plain checklist with brand ticks. */
.check_list { list-style: none; padding: 0; margin: 0; }
.check_list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check_list li i { position: absolute; left: 0; top: 5px; color: #22A55D; font-size: 18px; }

/* Screenshot figures inside content sections. */
.page_figure { margin: 34px 0 10px; }
.page_figure figcaption { margin-top: 12px; font-size: 14px; color: #6B7280; text-align: center; }

/* FAQ on a subpage reuses the home .faq_inner accordion look. */
.page_section .faq_inner .accordion-body { color: #4B5563; }

/* Related pages grid (internal links). */
.related_links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related_links a {
    display: block; padding: 22px 22px; border: 1px solid #E6EBF2; border-radius: 14px; background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.related_links a:hover { border-color: #B9D2F7; box-shadow: 0 14px 30px -20px rgba(15, 23, 42, .35); }
.related_links .rl_title { display: block; font-weight: 700; color: #17171C; margin-bottom: 6px; }
.related_links .rl_desc { display: block; font-size: 14px; color: #5B6472; line-height: 1.6; }
@media (max-width: 991px) { .related_links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .related_links { grid-template-columns: 1fr; } }

/* Closing call to action. */
.cta_band { padding: 70px 0; background: radial-gradient(120% 150% at 50% 0%, #17253f 0%, #0F172A 62%); text-align: center; }
.cta_band h2 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.cta_band p { color: #B7C3D9; font-size: 17px; max-width: 640px; margin: 0 auto 28px; }
.page_section .more_link { margin-top: 16px; font-weight: 600; }
.page_section .more_link a { color: #1665D8; }

/* ---------- Free surat generator form (assets/js/surat-generator.js) ---------- */
.gen_form .gen_group {
    background: #fff; border: 1px solid #E6EBF2; border-radius: 14px;
    padding: 20px 22px 24px; margin-bottom: 18px;
}
/* Bootstrap floats legends; keep it a plain block heading inside the card. */
.gen_form legend { float: none; width: auto; font-size: 17px; font-weight: 700; color: #17171C; margin-bottom: 12px; }
.gen_form .form-label { font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.gen_form .form-label .opt { font-weight: 400; color: #6B7280; }
.gen_form .form-control, .gen_form .form-select { font-size: 15px; padding: 10px 12px; border-color: #D5DCE6; border-radius: 8px; }
.gen_form .form-control[readonly] { background: #F3F5F9; }
.gen_form .form-text { font-size: 13px; color: #6B7280; }
.gen_form .form-check { margin-bottom: 6px; }
.gen_form .form-check-label { font-size: 15px; color: #374151; }
.gen_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.gen_submit {
    border: 0; border-radius: 10px; background: #1665D8; color: #fff; font-weight: 600; font-size: 17px;
    padding: 14px 28px; box-shadow: 0 4px 12px -2px rgba(43, 91, 253, .5); transition: background .2s;
}
.gen_submit:hover { background: #0F4CA8; }
.gen_submit:disabled { background: #7FA6E3; cursor: wait; }
.gen_privacy { margin: 0; font-size: 14px; color: #6B7280; }
.gen_privacy i { margin-right: 6px; color: #22A55D; }
.gen_status { margin: 14px 0 0; font-size: 15px; }
.gen_status:empty { display: none; }
.gen_status.is_ok { color: #15803D; }
.gen_status.is_error { color: #B42318; }
.gen_upsell {
    margin-top: 18px; padding: 18px 22px; border-radius: 12px; background: #F0F6FF; border: 1px solid #D5E5FB;
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
}
.gen_upsell[hidden] { display: none; }
.gen_upsell p { margin: 0; flex: 1 1 320px; }
.gen_upsell_btn { font-weight: 700; color: #fff; background: #1665D8; padding: 10px 18px; border-radius: 8px; white-space: nowrap; }
.gen_upsell_btn:hover { background: #0F4CA8; color: #fff; }

/* ---------- Contact form (partials/contact-form.html, assets/js/contact-form.js) ---------- */
/* Reuses the .gen_form look above. The honeypot sits off screen, not display:none,
   because some bots skip fields that are display:none. */
/* The footer "Kontak" link jumps here; keep the heading clear of the fixed navbar. */
#kontak { scroll-margin-top: 90px; }
.contact_form .hp_field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact_form .gen_submit:disabled { cursor: default; }
.contact_alt { margin: 14px 0 0; font-size: 15px; color: #6B7280; }
.contact_alt a { color: #1665D8; }
.contact_done { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 14px; padding: 20px 22px; color: #15803D; font-size: 16px; }

/* ---------- Panduan (article pages inside .policy_wrap) ---------- */
.policy_wrap ol { padding-left: 22px; }
.policy_wrap h3 { font-size: 19px; margin: 28px 0 10px; }
.policy_wrap .updated a { color: #1665D8; }
.policy_wrap .article_lead { font-size: 18px; color: #4B5563; }
.policy_wrap .page_figure { margin: 26px 0 10px; }
.article_cta {
    margin: 42px 0 10px; padding: 22px 24px; border-radius: 14px; background: #F0F6FF; border: 1px solid #D5E5FB;
}
.article_cta p { margin: 0 0 14px; }
.article_cta_links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.article_cta_links .text_link { font-weight: 600; color: #1665D8; }
.panduan_list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.panduan_card {
    display: block; padding: 22px; border: 1px solid #E6EBF2; border-radius: 14px; background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.panduan_card:hover { border-color: #B9D2F7; box-shadow: 0 14px 30px -20px rgba(15, 23, 42, .35); }
.panduan_card .rl_title { display: block; font-weight: 700; color: #17171C; margin-bottom: 6px; }
.panduan_card .rl_desc { display: block; font-size: 14px; color: #5B6472; line-height: 1.6; }
@media (max-width: 767px) { .panduan_list { grid-template-columns: 1fr; } }

/* ---------- Home: free surat generator band (#surat-gratis) ---------- */
.free_tools { padding: 90px 0; background: #F7F9FC; }
.free_tools_head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.free_tools_head .eyebrow {
    display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px;
    background: #E7F7EE; color: #15803D; font-size: 13px; font-weight: 700; letter-spacing: .3px;
}
.free_tools_head h2 { font-size: 34px; margin-bottom: 12px; }
.free_tools_head p { font-size: 17px; color: #5B6472; line-height: 1.7; margin: 0; }
.free_tools_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.free_tool_card {
    display: flex; flex-direction: column; padding: 28px 26px; border-radius: 16px; background: #fff;
    border: 1px solid #E6EBF2; box-shadow: 0 10px 24px -18px rgba(15, 23, 42, .25);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.free_tool_card:hover { transform: translateY(-3px); border-color: #B9D2F7; box-shadow: 0 20px 40px -22px rgba(22, 101, 216, .45); }
.free_tool_card .ft_icon {
    width: 52px; height: 52px; border-radius: 12px; background: #E8F0FE; color: #1665D8;
    display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.free_tool_card h3 { font-size: 20px; color: #17171C; margin-bottom: 8px; }
.free_tool_card p { font-size: 15px; color: #5B6472; line-height: 1.65; margin-bottom: 18px; flex-grow: 1; }
.free_tool_card .ft_go { font-weight: 700; color: #1665D8; }
.free_tool_card .ft_go i { margin-left: 8px; transition: transform .2s; }
.free_tool_card:hover .ft_go i { transform: translateX(3px); }
@media (max-width: 991px) { .free_tools_grid { grid-template-columns: 1fr; } .free_tools_head h2 { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .free_tool_card, .free_tool_card .ft_go i { transition: none; } .free_tool_card:hover { transform: none; } }

/* ---------- Surat pages: generator switcher + sample-data bar ---------- */
.gen_switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.gen_switch a {
    padding: 8px 16px; border-radius: 999px; border: 1px solid #D5DCE6; background: #fff;
    font-size: 15px; font-weight: 600; color: #374151;
}
.gen_switch a:hover { border-color: #1665D8; color: #1665D8; }
.gen_switch a[aria-current="page"] { background: #1665D8; border-color: #1665D8; color: #fff; }
.gen_sample {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px;
    padding: 14px 18px; border-radius: 12px; background: #FFF8E6; border: 1px solid #F6DFA3;
}
.gen_sample[hidden] { display: none; }
.gen_sample p { margin: 0; flex: 1 1 260px; font-size: 15px; color: #5B4A1A; }
.gen_sample button {
    border-radius: 8px; font-weight: 600; font-size: 15px; padding: 8px 16px; border: 1px solid transparent;
}
.gen_sample .gen_sample_btn { background: #F59E0B; color: #fff; }
.gen_sample .gen_sample_btn:hover { background: #D97706; }
.gen_sample .gen_clear_btn { background: #fff; border-color: #E5C878; color: #5B4A1A; }
.gen_sample .gen_clear_btn:hover { border-color: #D97706; }

/* ---------- Subpage content components (instead of long checklists) ---------- */
/* Card grid: an icon or a numbered badge, a short title, one line of text. */
.info_cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 6px; }
.info_cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.info_cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info_card {
    background: #fff; border: 1px solid #E6EBF2; border-radius: 14px; padding: 20px 18px;
    box-shadow: 0 10px 24px -20px rgba(15, 23, 42, .3);
}
.info_card .ic {
    width: 40px; height: 40px; border-radius: 10px; background: #E8F0FE; color: #1665D8;
    display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px;
}
.page_section .info_card h3 { font-size: 16px; margin: 0 0 6px; color: #17171C; }
.page_section .info_card p { font-size: 14px; line-height: 1.6; color: #5B6472; margin: 0; }
@media (max-width: 991px) { .info_cards, .info_cards.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .info_cards, .info_cards.cols-2, .info_cards.cols-4 { grid-template-columns: 1fr; } }

/* Prerequisites, as a compact box at the end of a "cara kerja" flow. */
.prep_box { margin-top: 30px; padding: 20px 22px; border-radius: 14px; background: #fff; border: 1px solid #E6EBF2; }
.page_section .prep_box h3 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #6B7280; margin: 0 0 14px; }
.prep_items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 22px; }
.page_section .prep_items li { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; line-height: 1.5; color: #374151; }
.prep_items li i { color: #1665D8; font-size: 17px; width: 20px; text-align: center; margin-top: 2px; flex-shrink: 0; }

/* Inline prompt with a secondary button (e.g. the live Laporan Triwulan demo). */
.demo_cta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px;
    padding: 18px 22px; border-radius: 14px; background: #F0F6FF; border: 1px solid #D5E5FB;
    font-size: 15px; color: #374151;
}
.demo_cta > div { flex: 1 1 320px; line-height: 1.6; }
.outline_btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px;
    border: 1px solid #1665D8; color: #1665D8; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s;
}
.outline_btn:hover { background: #1665D8; color: #fff; }

.cta_band .cta_secondary { display: inline-block; margin-top: 18px; color: #B7C3D9; font-weight: 600; }
.cta_band .cta_secondary:hover { color: #fff; }
.cta_band .cta_secondary i { margin-left: 8px; font-size: 13px; }

/* Ordered outline of a document's parts (surat anatomy): one panel, one part per
   row, the number in a marker beside the text like a real numbered list. */
.doc_outline {
    list-style: none; margin: 8px 0 6px; padding: 10px 28px;
    background: #fff; border: 1px solid #E6EBF2; border-radius: 14px;
}
.page_section .doc_outline li {
    display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 16px 0;
    border-bottom: 1px solid #EEF2F7;
}
.page_section .doc_outline li:last-child { border-bottom: 0; }
.doc_outline .n {
    flex-shrink: 0; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 16px;
    background: #1665D8; color: #fff; font-size: 13px; font-weight: 700; line-height: 32px; text-align: center;
}
.page_section .doc_outline h3 { font-size: 16px; margin: 5px 0 4px; color: #17171C; }
.page_section .doc_outline p { font-size: 14px; line-height: 1.6; color: #5B6472; margin: 0; }
@media (max-width: 767px) { .doc_outline { padding: 6px 20px; } }

/* Kop logo upload (SPT, Lupa Absen): preview thumbnail + file input + remove. */
.logo_field { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.logo_field .form-control { flex: 1 1 240px; }
.logo_preview { width: 56px; height: 56px; object-fit: contain; border: 1px solid #E6EBF2; border-radius: 8px; background: #fff; padding: 4px; }
.logo_preview[hidden] { display: none; }
.logo_clear { border: 1px solid #D5DCE6; background: #fff; color: #374151; border-radius: 8px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.logo_clear:hover { border-color: #B42318; color: #B42318; }
.logo_clear[hidden] { display: none; }

/* Status-coloured card icons (the Kalender legend on /kalender-progres-harian). */
.info_card .ic.green { background: #E7F7EE; color: #15803D; }
.info_card .ic.amber { background: #FEF3C7; color: #B45309; }
.info_card .ic.red { background: #FDE8E8; color: #B42318; }
.info_card .ic.purple { background: #F3E8FF; color: #9333EA; }

/* Linked card grid on subpages (reuses .free_tool_card): two columns variant. */
.free_tools_grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 767px) { .free_tools_grid.cols-2 { grid-template-columns: 1fr; } }
