/* ===== Landing Page Styles ===== */ /* Hero */ .kf-hero { padding: 4rem 0 2rem; text-align: center; background: linear-gradient(135deg, var(--md-primary-fg-color--light) 0%, var(--md-primary-fg-color) 100%); color: var(--md-primary-bg-color); } .kf-hero__logo { margin-bottom: 1rem; } .kf-hero__title { font-size: 3rem; font-weight: 700; margin: 0 0 0.5rem; } .kf-hero__subtitle { font-size: 1.5rem; font-weight: 400; opacity: 0.95; margin: 0 0 1rem; } .kf-hero__tagline { font-size: 1.1rem; max-width: 700px; margin: 0 auto 2rem; opacity: 0.9; line-height: 1.6; } .kf-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; } .kf-hero__actions .md-button { color: var(--md-primary-bg-color); border-color: var(--md-primary-bg-color); font-size: 0.95rem; font-weight: 600; padding: 0.8em 1.4em; } .kf-hero__actions .md-button--primary { background-color: var(--md-primary-bg-color); color: var(--md-primary-fg-color); border-color: var(--md-primary-bg-color); } .kf-hero__actions .md-button--primary:hover { background-color: rgba(255, 255, 255, 0.9); } /* Stats bar */ .kf-stats { padding: 2rem 0; background: var(--md-default-bg-color); border-bottom: 1px solid var(--md-default-fg-color--lightest); } .kf-stats__inner { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; } .kf-stats__item { text-align: center; } .kf-stats__number { display: block; font-size: 2rem; font-weight: 700; color: var(--md-primary-fg-color); } .kf-stats__label { font-size: 0.85rem; color: var(--md-default-fg-color--light); text-transform: uppercase; letter-spacing: 0.05em; } /* Section titles */ .kf-section__title { text-align: center; font-size: 2rem; margin-bottom: 0.5rem; } .kf-section__desc { text-align: center; max-width: 700px; margin: 0 auto 2rem; color: var(--md-default-fg-color--light); font-size: 1rem; line-height: 1.6; } /* Features grid */ .kf-features { padding: 4rem 0; } .kf-features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; } .kf-feature { padding: 1.5rem; border-radius: 0.5rem; border: 1px solid var(--md-default-fg-color--lightest); transition: box-shadow 0.2s; } .kf-feature:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); } .kf-feature h3 { margin-top: 0; font-size: 1.3rem; color: var(--md-primary-fg-color); } .kf-feature p { color: var(--md-default-fg-color--light); font-size: 0.85rem; line-height: 1.6; margin-bottom: 0; } /* Benchmark */ .kf-benchmark { padding: 4rem 0; background: var(--md-code-bg-color); } .kf-benchmark__chart { display: block; max-width: 800px; margin: 0 auto; border-radius: 0.5rem; } .kf-benchmark__link { margin-top: 1rem; text-align: center; } .kf-benchmark__link a { display: inline-block; font-size: 0.95rem; font-weight: 600; } /* Scan targets */ .kf-targets { padding: 4rem 0; } .kf-targets__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2rem; } .kf-target { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; min-width: 80px; } .kf-target span { font-size: 0.8rem; color: var(--md-default-fg-color--light); text-align: center; } /* Install section */ .kf-install { padding: 4rem 0; background: var(--md-code-bg-color); } .kf-install__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .kf-install__tab { padding: 1rem 1.5rem; border-radius: 0.5rem; background: var(--md-default-bg-color); border: 1px solid var(--md-default-fg-color--lightest); } .kf-install__tab h4 { margin: 0 0 0.5rem; color: var(--md-primary-fg-color); } .kf-install__tab .highlight { margin: 0; } .kf-install__tab pre { margin: 0; padding: 0.5rem; font-size: 0.85rem; overflow-x: auto; } .kf-install__cta { text-align: center; margin-top: 2rem; } .kf-install__cta .md-button { font-size: 0.95rem; font-weight: 600; padding: 0.8em 1.4em; } /* ===== Rules Table ===== */ .rules-search { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--md-default-fg-color--lightest); border-radius: 0.5rem; font-size: 1rem; background: var(--md-default-bg-color); color: var(--md-default-fg-color); margin-bottom: 1rem; box-sizing: border-box; } .rules-search:focus { outline: 2px solid var(--md-primary-fg-color); border-color: var(--md-primary-fg-color); } .rules-count { color: var(--md-default-fg-color--light); font-size: 0.9rem; margin-bottom: 1rem; } .md-typeset table.rules-table, table.rules-table { display: table; width: 100%; table-layout: auto; border-collapse: separate; border-spacing: 0; margin: 1rem 0 2rem; font-size: 0.72rem; line-height: 1.35; border: 1px solid var(--md-default-fg-color--lightest); border-radius: 0.5rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); } .md-typeset table.rules-table thead, table.rules-table thead { background: var(--md-primary-fg-color); } .md-typeset table.rules-table thead th, table.rules-table thead th { color: #fff; font-weight: 600; text-align: left; padding: 0.55rem 0.7rem; border: none; font-size: 0.7rem; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; position: sticky; top: 0; z-index: 1; } .md-typeset table.rules-table thead th.is-sortable, table.rules-table thead th.is-sortable { cursor: pointer; user-select: none; padding-right: 1.75rem; position: sticky; } .md-typeset table.rules-table thead th.is-sortable::after, table.rules-table thead th.is-sortable::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 0.5rem; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid rgba(255, 255, 255, 0.35); border-bottom: 5px solid rgba(255, 255, 255, 0.35); opacity: 0.6; } .md-typeset table.rules-table thead th.is-sortable:hover, table.rules-table thead th.is-sortable:hover { background: rgba(255, 255, 255, 0.08); } .md-typeset table.rules-table thead th.is-sorted-asc::after, table.rules-table thead th.is-sorted-asc::after { border-top: 0; border-bottom: 5px solid #fff; opacity: 1; } .md-typeset table.rules-table thead th.is-sorted-desc::after, table.rules-table thead th.is-sorted-desc::after { border-bottom: 0; border-top: 5px solid #fff; opacity: 1; } .md-typeset table.rules-table tbody td, table.rules-table tbody td { padding: 0.4rem 0.7rem; border: none; border-bottom: 1px solid var(--md-default-fg-color--lightest); vertical-align: middle; background: var(--md-default-bg-color); word-break: break-word; } .md-typeset table.rules-table tbody tr:nth-child(even) td, table.rules-table tbody tr:nth-child(even) td { background: var(--md-code-bg-color); } .md-typeset table.rules-table tbody tr:hover td, table.rules-table tbody tr:hover td { background: var(--md-accent-fg-color--transparent); } .md-typeset table.rules-table tbody tr:last-child td, table.rules-table tbody tr:last-child td { border-bottom: none; } .md-typeset table.rules-table td code, table.rules-table td code { background: var(--md-code-bg-color); color: var(--md-code-fg-color); padding: 0.1rem 0.35rem; border-radius: 0.25rem; font-size: 0.68rem; white-space: nowrap; } .md-typeset table.rules-table tbody tr:nth-child(even) td code, table.rules-table tbody tr:nth-child(even) td code { background: var(--md-default-bg-color); } /* First column (Provider) — emphasized */ .md-typeset table.rules-table tbody td:first-child, table.rules-table tbody td:first-child { font-weight: 600; color: var(--md-primary-fg-color); } /* Confidence badges */ .md-typeset table.rules-table td:nth-child(4), table.rules-table td:nth-child(4) { font-weight: 500; } /* Validates / Revokes columns — center */ .md-typeset table.rules-table td:nth-child(5), .md-typeset table.rules-table td:nth-child(6), .md-typeset table.rules-table th:nth-child(5), .md-typeset table.rules-table th:nth-child(6), table.rules-table td:nth-child(5), table.rules-table td:nth-child(6), table.rules-table th:nth-child(5), table.rules-table th:nth-child(6) { text-align: center; white-space: nowrap; } /* Responsive wrapper */ @media screen and (max-width: 960px) { .md-typeset table.rules-table, table.rules-table { display: block; overflow-x: auto; white-space: nowrap; } } /* Responsive */ @media screen and (max-width: 768px) { .kf-hero__title { font-size: 2rem; } .kf-hero__subtitle { font-size: 1.2rem; } .kf-stats__inner { gap: 1.5rem; } .kf-stats__number { font-size: 1.5rem; } .kf-features__grid { grid-template-columns: 1fr; } .kf-install__tabs { grid-template-columns: 1fr; } }