/* Layout: establish a bounded marketing canvas and readable global typography without constraining future authenticated pages. */
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--kk-surface-soft); color: var(--kk-ink); font-family: var(--tblr-font-sans-serif); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.kk-container { width: min(100% - (2 * var(--kk-page-gutter)), var(--kk-page-width)); margin-inline: auto; }
.kk-section { padding-block: var(--kk-section-space); background: var(--kk-surface-soft); }
.kk-section--white { background: var(--kk-surface); border-block: 1px solid var(--kk-border); }
.kk-section-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .65fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; padding-bottom: 2.5rem; border-bottom: 1px solid var(--kk-aubergine); }
.kk-section-heading h2, .kk-meta-section h2, .kk-final-cta h2 { margin: .75rem 0 0; max-width: 16ch; color: var(--kk-aubergine); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 4.6vw, 4.25rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.kk-section-heading > p { max-width: 34rem; margin: 0; color: var(--kk-text); font-size: 1.05rem; line-height: 1.75; }
.kk-eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin: 0; color: var(--kk-primary); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.kk-eyebrow::before { width: 1.8rem; height: 2px; background: currentColor; content: ""; }
.kk-eyebrow--gold { color: var(--kk-gold); }

/* Header: keep the public navigation focused, sticky, and usable with either pointer, keyboard, or native mobile details behaviour. */
.kk-public-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(222, 216, 207, .9); background: rgba(250, 247, 242, .92); backdrop-filter: blur(14px); }
.kk-public-header__inner { display: flex; min-height: 4.75rem; align-items: center; gap: 2rem; }
.kk-public-nav { display: flex; align-items: center; gap: 2rem; margin-inline: auto; }
.kk-public-nav a { color: var(--kk-text); font-size: .88rem; font-weight: 700; text-decoration: none; }
.kk-public-nav a:hover { color: var(--kk-primary); }
.kk-public-actions { display: flex; align-items: center; gap: .5rem; }
.kk-mobile-menu { display: none; position: relative; margin-inline-start: auto; }
.kk-mobile-menu summary { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid var(--kk-border); border-radius: var(--kk-radius-sm); background: var(--kk-surface); color: var(--kk-aubergine); cursor: pointer; list-style: none; }
.kk-mobile-menu summary::-webkit-details-marker { display: none; }
.kk-mobile-menu nav { position: absolute; top: calc(100% + .65rem); right: 0; display: grid; width: min(18rem, calc(100vw - 2rem)); padding: .6rem; border: 1px solid var(--kk-border); border-radius: var(--kk-radius-md); background: var(--kk-surface); box-shadow: var(--kk-shadow-lg); }
.kk-mobile-menu nav a { min-height: 2.8rem; padding: .75rem .8rem; border-radius: .45rem; color: var(--kk-text); font-weight: 700; text-decoration: none; }
.kk-mobile-menu nav a:hover { background: var(--kk-primary-soft); color: var(--kk-primary-dark); }
.kk-mobile-menu nav .kk-mobile-menu__primary { background: var(--kk-primary); color: white; }

/* Hero: combine editorial brand typography with a contained, responsive product preview built from safe HTML and CSS. */
.kk-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--kk-border); background: radial-gradient(circle at 8% 12%, rgba(239,106,91,.12), transparent 25rem), var(--kk-surface-soft); }
.kk-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(32rem, 1.1fr); min-height: 43rem; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 8vw, 7.5rem); }
.kk-hero__content h1 { max-width: 13ch; margin: 1.35rem 0 0; color: var(--kk-aubergine); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 5.3vw, 5.35rem); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.kk-hero__lead { max-width: 39rem; margin: 1.75rem 0 0; color: var(--kk-text); font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.75; }
.kk-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.kk-trust-inline { display: flex; align-items: center; gap: .8rem; margin-top: 2rem; color: var(--kk-muted); font-size: .8rem; font-weight: 650; }
.kk-avatar-stack { display: flex; padding-left: .35rem; }
.kk-avatar-stack i { width: 1.6rem; height: 1.6rem; margin-left: -.35rem; border: 2px solid var(--kk-surface-soft); border-radius: 50%; background: var(--kk-coral); }
.kk-avatar-stack i:nth-child(2) { background: var(--kk-connected); }
.kk-avatar-stack i:nth-child(3) { background: var(--kk-gold); }
.kk-product-preview { position: relative; min-width: 0; }
.kk-preview-window { overflow: hidden; border: 1px solid var(--kk-aubergine); border-radius: var(--kk-radius-lg); background: var(--kk-surface); box-shadow: 12px 12px 0 rgba(36,20,47,.96), var(--kk-shadow-lg); }
.kk-preview-toolbar { display: flex; height: 3.25rem; align-items: center; gap: .4rem; padding-inline: 1rem; border-bottom: 1px solid var(--kk-border); background: #f8f5fa; }
.kk-preview-toolbar > span { width: .65rem; height: .65rem; border-radius: 50%; background: var(--kk-coral); }
.kk-preview-toolbar > span:nth-child(2) { background: var(--kk-gold); }.kk-preview-toolbar > span:nth-child(3) { background: var(--kk-connected); }
.kk-preview-toolbar strong { margin-left: .55rem; color: var(--kk-aubergine); font-size: .8rem; }.kk-preview-toolbar em { margin-left: auto; color: var(--kk-connected); font-size: .68rem; font-style: normal; font-weight: 700; }
.kk-preview-body { display: grid; grid-template-columns: 3.5rem minmax(13rem, .72fr) minmax(17rem, 1.2fr); min-height: 31rem; }
.kk-preview-sidebar { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; padding-top: 1.35rem; background: var(--kk-aubergine); }
.kk-preview-sidebar b { width: 1.25rem; height: 1.25rem; border: 2px solid rgba(255,255,255,.55); border-radius: .3rem; }.kk-preview-sidebar b:first-child { background: var(--kk-coral); border-color: var(--kk-coral); }
.kk-preview-list { border-right: 1px solid var(--kk-border); background: #fcfbf9; }
.kk-preview-search { height: 2.25rem; margin: 1rem; border-radius: 2rem; background: #eee9e4; }
.kk-preview-list article { display: grid; grid-template-columns: 2.4rem minmax(0,1fr) auto; gap: .65rem; align-items: start; padding: .95rem .85rem; border-top: 1px solid #ebe7e2; }
.kk-preview-list article.active { border-left: 3px solid var(--kk-primary); background: var(--kk-primary-soft); }
.kk-preview-list article strong { display: block; overflow: hidden; color: var(--kk-ink); font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }.kk-preview-list article p { overflow: hidden; margin: .2rem 0 0; color: var(--kk-muted); font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }.kk-preview-list article time { color: var(--kk-muted); font-size: .55rem; }
.kk-preview-avatar { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 50%; background: #dbe4ff; color: var(--kk-primary-dark); font-size: .62rem; font-weight: 800; }.kk-preview-avatar--gold { background: #faedc9; color: #7a5611; }.kk-preview-avatar--teal { background: #d8f1eb; color: #17685c; }
.kk-preview-chat { display: flex; min-width: 0; flex-direction: column; background: linear-gradient(rgba(250,247,242,.92), rgba(250,247,242,.92)), radial-gradient(#d8d1c8 1px, transparent 1px); background-size: auto, 15px 15px; }
.kk-chat-header { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid var(--kk-border); background: var(--kk-surface); }.kk-chat-header strong,.kk-chat-header span { display: block; }.kk-chat-header strong { font-size: .8rem; }.kk-chat-header div > span { margin-top: .2rem; color: var(--kk-muted); font-size: .62rem; }
.kk-chat-header .kk-connected { display: flex; align-items: center; gap: .3rem; padding: .35rem .5rem; border-radius: 2rem; background: var(--kk-connected-soft); color: var(--kk-connected); font-size: .56rem; font-weight: 800; white-space: nowrap; }.kk-connected i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--kk-connected); }
.kk-chat-thread { display: flex; flex: 1; flex-direction: column; gap: .9rem; justify-content: center; padding: 1.2rem; }.kk-chat-thread p { max-width: 82%; margin: 0; padding: .8rem; border-radius: .75rem; box-shadow: var(--kk-shadow-sm); font-size: .68rem; line-height: 1.55; }.kk-chat-thread p time { display: block; margin-top: .35rem; color: var(--kk-muted); font-size: .52rem; text-align: right; }.kk-chat-thread .received { align-self: flex-start; border-bottom-left-radius: .15rem; background: white; }.kk-chat-thread .sent { align-self: flex-end; border-bottom-right-radius: .15rem; background: #daf3e8; }
.kk-chat-compose { display: flex; align-items: center; gap: .6rem; margin: .85rem; padding: .5rem .55rem .5rem .8rem; border: 1px solid var(--kk-border); border-radius: .65rem; background: white; color: var(--kk-muted); font-size: .62rem; }.kk-chat-compose span { flex: 1; }.kk-chat-compose button { border: 0; border-radius: .4rem; padding: .42rem .65rem; background: var(--kk-primary); color: white; font-size: .6rem; font-weight: 800; }
.kk-preview-note { position: absolute; right: -1rem; bottom: -2rem; display: flex; max-width: 18rem; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1px solid var(--kk-aubergine); border-radius: var(--kk-radius-md); background: var(--kk-surface); box-shadow: 5px 5px 0 var(--kk-coral); }.kk-preview-note > span { display: grid; width: 2.25rem; height: 2.25rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--kk-connected-soft); color: var(--kk-connected); }.kk-preview-note strong { font-size: .75rem; }.kk-preview-note p { margin: .1rem 0 0; color: var(--kk-muted); font-size: .62rem; }

/* Feature cards: use controlled accents and restrained elevation so the section feels branded rather than like an untouched admin template. */
.kk-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.kk-feature-grid > :last-child { grid-column: 2 / 3; }

/* Layout: supporting marketing sections establish an honest product journey, platform-readiness statement, trust principles, and final action. */
.kk-promise { padding-block: 1.15rem; background: var(--kk-aubergine); color: white; }.kk-promise .kk-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1.5rem; font-size: .82rem; font-weight: 700; text-align: center; }.kk-promise i { color: var(--kk-coral); font-size: .65rem; font-style: normal; }
.kk-journey { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 2.5rem 0 0; padding: 0; border: 1px solid var(--kk-border); list-style: none; }.kk-journey li { min-height: 18rem; padding: 1.6rem; border-right: 1px solid var(--kk-border); }.kk-journey li:last-child { border-right: 0; }.kk-journey li > span { color: var(--kk-coral); font-family: ui-monospace, monospace; font-size: .72rem; font-weight: 800; }.kk-journey li div { margin-top: 5rem; }.kk-journey h3 { margin: 0; color: var(--kk-aubergine); font-size: 1.05rem; }.kk-journey p { margin: .7rem 0 0; color: var(--kk-text); font-size: .84rem; line-height: 1.65; }
.kk-meta-section { overflow: hidden; padding-block: var(--kk-section-space); background: var(--kk-aubergine); color: white; }.kk-meta-section__grid { display: grid; grid-template-columns: minmax(22rem,.8fr) minmax(0,1fr); align-items: center; gap: clamp(3rem,8vw,8rem); }.kk-meta-section h2 { color: white; }.kk-meta-section__grid > div:last-child > p:not(.kk-eyebrow) { max-width: 39rem; margin: 1.6rem 0 0; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.8; }.kk-meta-visual { position: relative; display: grid; min-height: 29rem; place-items: center; }.kk-meta-phone { position: relative; z-index: 2; display: flex; width: min(20rem,82%); min-height: 25rem; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; border: 1px solid rgba(255,255,255,.34); border-radius: 2.4rem; background: #fff; color: var(--kk-aubergine); box-shadow: 12px 12px 0 var(--kk-connected); text-align: center; }.kk-meta-phone__top { position: absolute; top: .8rem; width: 4.5rem; height: .4rem; border-radius: 1rem; background: #dfdce1; }.kk-meta-phone .icon { width: 3.5rem; height: 3.5rem; color: var(--kk-connected); }.kk-meta-phone strong { margin-top: 1.3rem; font-size: 1.1rem; }.kk-meta-phone p { margin: .8rem 0 0; color: var(--kk-text); font-size: .86rem; line-height: 1.65; }.kk-meta-orbit { position: absolute; width: 26rem; height: 26rem; border: 1px dashed rgba(231,182,74,.65); border-radius: 50%; }.kk-honesty-note { display: flex; max-width: 39rem; align-items: flex-start; gap: .8rem; margin-top: 1.5rem; padding: 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: var(--kk-radius-md); background: rgba(255,255,255,.06); color: rgba(255,255,255,.78); font-size: .78rem; line-height: 1.55; }.kk-honesty-note .icon { flex: 0 0 auto; color: var(--kk-gold); }
.kk-trust-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 2rem; }.kk-trust-grid article { min-height: 15rem; padding: 1.5rem; border: 1px solid var(--kk-border); border-right: 0; background: var(--kk-surface); }.kk-trust-grid article:last-child { border-right: 1px solid var(--kk-border); }.kk-trust-grid span { color: var(--kk-coral); font-family: ui-monospace,monospace; font-size: .7rem; font-weight: 800; }.kk-trust-grid h3 { margin: 3.5rem 0 0; color: var(--kk-aubergine); font-size: 1rem; }.kk-trust-grid p { margin: .65rem 0 0; color: var(--kk-text); font-size: .82rem; line-height: 1.6; }
.kk-final-cta { padding: clamp(3.5rem,7vw,6rem) var(--kk-page-gutter); background: var(--kk-surface-soft); }.kk-final-cta__card { display: grid; grid-template-columns: 1.2fr .65fr; align-items: end; gap: 3rem; padding: clamp(2rem,5vw,4rem); border-radius: var(--kk-radius-xl); background: var(--kk-aubergine); color: white; box-shadow: 10px 10px 0 var(--kk-gold); }.kk-final-cta h2 { color: white; }.kk-final-cta p:not(.kk-eyebrow) { max-width: 43rem; margin: 1.25rem 0 0; color: rgba(255,255,255,.7); line-height: 1.7; }.kk-final-cta__card > div:last-child { display: grid; gap: 1rem; justify-items: start; }.kk-final-cta__card > div:last-child > a:last-child { color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 700; text-underline-offset: .25rem; }
.kk-legal-page { min-height: 58vh; padding-block: var(--kk-section-space); }.kk-legal-page .kk-container { max-width: 48rem; }.kk-legal-page h1 { margin: 1rem 0 2rem; color: var(--kk-aubergine); font-family: Georgia,serif; font-size: clamp(2.6rem,5vw,4.5rem); font-weight: 500; }.kk-legal-page > .kk-container > p:not(.kk-eyebrow) { margin-block: 1.5rem; color: var(--kk-text); line-height: 1.75; }

/* Footer: provide durable routes and readable support expectations on a strong brand surface. */
.kk-footer { padding-top: 4rem; background: var(--kk-aubergine); color: white; }.kk-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3,minmax(0,1fr)); gap: 2rem; padding-bottom: 3rem; }.kk-footer h2 { margin: .2rem 0 1rem; color: var(--kk-gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }.kk-footer__grid > div:not(:first-child) { display: flex; flex-direction: column; gap: .6rem; }.kk-footer a { color: rgba(255,255,255,.78); font-size: .82rem; text-decoration: none; }.kk-footer a:hover { color: white; text-decoration: underline; text-underline-offset: .2rem; }.kk-footer p { margin: .7rem 0 0; color: rgba(255,255,255,.56); font-size: .75rem; line-height: 1.6; }.kk-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: .72rem; }

/* Responsive rules: progressively collapse previews and card grids while preserving tap targets and avoiding horizontal overflow. */
@media (max-width: 1100px) { .kk-hero__grid { grid-template-columns: 1fr; }.kk-hero__content { max-width: 48rem; }.kk-product-preview { width: min(100%,48rem); margin-inline: auto; }.kk-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.kk-feature-grid > :last-child { grid-column: auto; }.kk-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.kk-trust-grid article:nth-child(2) { border-right: 1px solid var(--kk-border); }.kk-footer__grid { grid-template-columns: 1.4fr repeat(2,1fr); }.kk-footer__grid > div:last-child { grid-column: 2; } }
@media (max-width: 900px) { .kk-public-nav,.kk-public-actions { display: none; }.kk-mobile-menu { display: block; }.kk-section-heading { grid-template-columns: 1fr; gap: 1.25rem; }.kk-journey { grid-template-columns: repeat(2,1fr); }.kk-journey li:nth-child(2) { border-right: 0; }.kk-journey li { border-bottom: 1px solid var(--kk-border); }.kk-journey li:nth-last-child(-n+2) { border-bottom: 0; }.kk-meta-section__grid { grid-template-columns: 1fr; }.kk-meta-visual { min-height: 24rem; }.kk-final-cta__card { grid-template-columns: 1fr; align-items: start; }.kk-footer__grid { grid-template-columns: repeat(2,1fr); }.kk-footer__grid > div:last-child { grid-column: auto; } }
@media (max-width: 680px) { .kk-hero__grid { min-height: 0; padding-top: 3.5rem; }.kk-hero__content h1 { font-size: clamp(2.75rem,14vw,4rem); }.kk-hero__actions { flex-direction: column; }.kk-hero__actions .btn { width: 100%; }.kk-preview-body { grid-template-columns: 3rem 1fr; min-height: 27rem; }.kk-preview-list { display: none; }.kk-preview-note { right: .5rem; bottom: -1.7rem; }.kk-feature-grid { grid-template-columns: 1fr; }.kk-journey { grid-template-columns: 1fr; }.kk-journey li,.kk-journey li:nth-child(2),.kk-journey li:nth-last-child(-n+2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--kk-border); }.kk-journey li:last-child { border-bottom: 0; }.kk-journey li div { margin-top: 2.5rem; }.kk-trust-grid { grid-template-columns: 1fr; }.kk-trust-grid article,.kk-trust-grid article:nth-child(2) { min-height: 0; border-right: 1px solid var(--kk-border); border-bottom: 0; }.kk-trust-grid article:last-child { border-bottom: 1px solid var(--kk-border); }.kk-trust-grid h3 { margin-top: 2rem; }.kk-meta-orbit { width: 22rem; height: 22rem; }.kk-footer__grid { grid-template-columns: 1fr; }.kk-footer__bottom { flex-direction: column; }.kk-promise .kk-container { flex-direction: column; }.kk-promise i { display: none; } }
@media (max-width: 420px) { .kk-preview-toolbar em,.kk-chat-header .kk-connected { display: none; }.kk-preview-window { box-shadow: 7px 7px 0 var(--kk-aubergine); }.kk-preview-note { max-width: calc(100% - 1rem); }.kk-final-cta { padding-inline: .75rem; }.kk-final-cta__card { box-shadow: 6px 6px 0 var(--kk-gold); } }

/* Accessibility: preserve visible keyboard focus and comfortable interactive targets across custom marketing controls. */
:focus-visible { outline: 3px solid rgba(49,87,213,.38); outline-offset: 3px; }
.kk-public-nav a,.kk-footer a { min-height: 2.5rem; display: inline-flex; align-items: center; }
::selection { background: #f7c7c0; color: var(--kk-aubergine); }

/* Reduced motion: remove non-essential transitions and smooth scrolling for users who request a calmer interface. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; } }
