:root {
  --kf-paper: #eef4ef;
  --kf-ink: #0c1a13;
  --kf-panel: #ffffff;
  --kf-muted: rgba(12, 40, 28, 0.66);
  --kf-border: rgba(12, 40, 28, 0.1);
  --kf-forest-950: #04100b;
  --kf-forest-900: #0b1f16;
  --kf-forest-800: #164530;
  --kf-harvest: #c99612;
  --kf-harvest-soft: #e6c45a;
  --kf-leaf: #2a684c;
  --kf-leaf-soft: #dceee4;
  --kf-cream: #f5faf6;
  --kf-shadow: 0 22px 52px -28px rgba(4, 16, 11, 0.45);
  --kf-shadow-sm: 0 10px 28px -16px rgba(4, 16, 11, 0.3);
  --kf-input-bg: #ffffff;
  --kf-input-border: rgba(12, 40, 28, 0.16);
  --kf-header-h: 3.35rem;
  --kf-radius: 0.9rem;
  --kf-radius-lg: 1.2rem;
  --kf-radius-xl: 1.45rem;
  --kf-touch: 2.75rem;
  --kf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --kf-focus: 0 0 0 3px color-mix(in srgb, var(--kf-harvest) 45%, transparent);
}

html.kf-dark {
  --kf-paper: #06110c;
  --kf-ink: #eef6f0;
  --kf-panel: #12281e;
  --kf-muted: rgba(232, 245, 236, 0.72);
  --kf-border: rgba(232, 245, 236, 0.14);
  --kf-input-bg: #0a1a13;
  --kf-input-border: rgba(232, 245, 236, 0.22);
  --kf-shadow: 0 20px 48px -24px rgba(0, 0, 0, 0.7);
  --kf-shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

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

.kf-skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: var(--kf-harvest);
  color: #08150f;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
}

.kf-skip-link:focus {
  top: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  background: var(--kf-paper);
  color: var(--kf-ink);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 90% 55% at 0% -5%, rgba(201, 150, 18, 0.13), transparent 52%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(42, 104, 76, 0.18), transparent 48%),
    radial-gradient(ellipse 55% 45% at 70% 100%, rgba(22, 69, 48, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 16rem);
}

html.kf-dark body {
  background-image:
    radial-gradient(ellipse 70% 45% at 10% -5%, rgba(212, 160, 23, 0.1), transparent 50%),
    radial-gradient(ellipse 55% 40% at 95% 5%, rgba(47, 107, 79, 0.18), transparent 48%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.kf-page {
  width: min(1120px, calc(100% - 2 * clamp(0.875rem, 4vw, 1.75rem)));
  margin-inline: auto;
}

@media (max-width: 480px) {
  .kf-section {
    padding: 2.25rem 0;
  }

  .kf-h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .kf-header-inner {
    gap: 0.5rem;
  }

  .kf-panel {
    border-radius: 1rem;
  }
}

.kf-section {
  padding: 3.5rem 0;
}

.kf-display {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.kf-h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.kf-h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.kf-h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  margin: 0;
}

.kf-label {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kf-muted);
}

.kf-muted {
  color: var(--kf-muted);
}

.kf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--kf-radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--kf-ease), background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.kf-btn:hover {
  transform: translateY(-1px);
}

.kf-btn:active {
  transform: scale(0.98);
}

.kf-btn:focus-visible,
.kf-app-nav-item:focus-visible,
.kf-input:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: var(--kf-focus);
}

.kf-btn-primary {
  background: var(--kf-forest-800);
  color: var(--kf-cream);
  box-shadow: var(--kf-shadow-sm);
}

.kf-btn-primary:hover {
  background: var(--kf-forest-900);
}

html.kf-dark .kf-btn-primary {
  background: var(--kf-harvest);
  color: var(--kf-forest-950);
}

.kf-btn-gold {
  background: linear-gradient(165deg, var(--kf-harvest-soft), var(--kf-harvest));
  color: var(--kf-forest-950);
  box-shadow: 0 10px 28px -14px rgba(212, 160, 23, 0.65);
}

.kf-btn-gold:hover {
  filter: brightness(1.04);
}

.kf-btn-ghost {
  background: color-mix(in srgb, var(--kf-panel) 78%, transparent);
  border-color: var(--kf-border);
  color: var(--kf-ink);
}

.kf-btn-ghost:hover {
  border-color: color-mix(in srgb, var(--kf-harvest) 45%, var(--kf-border));
  background: color-mix(in srgb, var(--kf-harvest) 8%, var(--kf-panel));
}

html.kf-dark .kf-btn-ghost {
  background: rgba(242, 248, 243, 0.05);
  border-color: rgba(232, 245, 236, 0.22);
  color: var(--kf-ink);
}

.kf-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--kf-radius);
  border: 1px solid var(--kf-border);
  background: color-mix(in srgb, var(--kf-panel) 88%, transparent);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--kf-ink);
}

html.kf-dark .kf-chip {
  background: rgba(212, 160, 23, 0.14);
  border-color: rgba(212, 160, 23, 0.32);
  color: var(--kf-harvest-soft);
}

.kf-panel {
  background: color-mix(in srgb, var(--kf-panel) 94%, transparent);
  color: var(--kf-ink);
  border: 1px solid var(--kf-border);
  border-radius: var(--kf-radius-xl);
  box-shadow: var(--kf-shadow-sm);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.kf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--kf-paper) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.kf-header.is-scrolled {
  border-bottom-color: var(--kf-border);
  box-shadow: var(--kf-shadow-sm);
  background: color-mix(in srgb, var(--kf-paper) 92%, transparent);
}

.kf-header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
}

.kf-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 0 1 auto;
}

.kf-brand img {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 999px;
  object-fit: contain;
}

html.kf-dark .kf-logo-light {
  display: none;
}

html:not(.kf-dark) .kf-logo-dark {
  display: none;
}

.kf-brand-name {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kf-brand-name span {
  color: var(--kf-harvest);
}

@media (max-width: 720px) {
  .kf-header .kf-brand-name {
    display: none;
  }
}

.kf-nav {
  margin-left: auto;
  display: none;
}

.kf-nav-list {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 550;
}

.kf-nav-list a {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border-radius: var(--kf-radius);
}

.kf-nav-list a:hover,
.kf-nav-list a.is-active {
  color: var(--kf-leaf);
  background: color-mix(in srgb, var(--kf-harvest) 14%, transparent);
}

.kf-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.25rem;
  flex: 0 0 auto;
}

.kf-header-actions .kf-btn {
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.kf-cart-btn {
  position: relative;
}

.kf-cart-count {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--kf-harvest);
  color: var(--kf-forest-950);
  font-size: 0.62rem;
  font-weight: 700;
}

.kf-icon-btn {
  width: 2.4rem;
  min-width: 2.4rem;
  padding: 0;
}

.kf-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kf-menu-panel {
  display: none;
  border-top: 1px solid var(--kf-border);
  padding: 1rem 0 1.5rem;
}

.kf-menu-panel.is-open {
  display: block;
}

.kf-menu-panel-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.kf-menu-panel a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.75rem;
}

.kf-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
}

.kf-mobile-nav li {
  margin: 0;
  border-bottom: 1px solid var(--kf-border);
}

.kf-mobile-nav a {
  padding: 0.9rem 0.15rem;
}

@media (min-width: 960px) {
  .kf-nav {
    display: block;
  }
}

@media (min-width: 1100px) {
  .kf-header-actions .kf-btn {
    min-height: 2.55rem;
  }
}

@media (max-width: 520px) {
  .kf-header-actions .kf-get-app [data-kf-get-app-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .kf-header-actions .kf-get-app {
    min-width: 2.4rem;
    padding-inline: 0.55rem;
    position: relative;
  }

  .kf-header-actions .kf-get-app::before {
    content: "App";
    font-size: 0.72rem;
    font-weight: 700;
  }
}

.kf-hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--kf-forest-950);
  color: var(--kf-cream);
}

@media (max-width: 767px) {
  .kf-hero {
    min-height: max(28rem, 88svh);
  }
}

.kf-hero-media {
  position: absolute;
  inset: 0;
}

.kf-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
  animation: kf-hero-drift 22s var(--kf-ease) infinite alternate;
}

@keyframes kf-hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kf-hero-media img {
    animation: none;
    transform: none;
  }
}

.kf-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #06110c 12%, rgba(6, 17, 12, 0.78) 48%, rgba(6, 17, 12, 0.28)),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(212, 160, 23, 0.18), transparent 60%);
}

@media (min-width: 768px) {
  .kf-hero {
    align-items: center;
  }
  .kf-hero-scrim {
    background:
      linear-gradient(105deg, #06110c 10%, rgba(6, 17, 12, 0.82) 42%, rgba(6, 17, 12, 0.2) 72%, transparent 88%),
      radial-gradient(ellipse 40% 50% at 15% 70%, rgba(212, 160, 23, 0.16), transparent 65%);
  }
}

.kf-hero-content {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 4.5rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  animation: kf-rise 0.9s var(--kf-ease) both;
}

@keyframes kf-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kf-hero .kf-brand-mark {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 999px;
  box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.55);
}

.kf-hero .kf-display {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.kf-hero-tag {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kf-harvest-soft);
}

.kf-hero-lead {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  opacity: 0.9;
}

.kf-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 26rem;
}

@media (min-width: 640px) {
  .kf-hero-actions {
    flex-direction: row;
  }
  .kf-hero-actions .kf-btn {
    flex: 1;
  }
}

.kf-ecosystem {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.75rem;
}

.kf-ecosystem span {
  background: color-mix(in srgb, var(--kf-forest-900) 92%, var(--kf-harvest));
  color: var(--kf-cream);
  border-radius: var(--kf-radius);
  padding: 0.6rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.kf-grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .kf-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.kf-band {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(212, 160, 23, 0.12), transparent 50%),
    linear-gradient(160deg, var(--kf-forest-950), #0a1c14 55%, var(--kf-forest-900));
  color: var(--kf-cream);
  padding: 4rem 0;
  overflow: hidden;
}

.kf-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
  pointer-events: none;
}

.kf-band-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--kf-radius-xl);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s var(--kf-ease), transform 0.25s var(--kf-ease), background 0.25s ease;
}

.kf-band-card:hover {
  border-color: rgba(212, 160, 23, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.kf-products {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .kf-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .kf-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kf-product-card {
  overflow: hidden;
  border-radius: 1.4rem;
  background: var(--kf-panel);
  box-shadow: var(--kf-shadow);
  transition: transform 0.2s ease;
}

.kf-product-card:hover {
  transform: translateY(-4px);
}

.kf-product-card .thumb {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 150, 18, 0.12), transparent 45%),
    linear-gradient(165deg, var(--kf-leaf-soft), #e8f2ec);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

html.kf-dark .kf-product-card .thumb {
  background: var(--kf-forest-950);
}

.kf-product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kf-product-card .body {
  padding: 1rem 1.1rem 1.25rem;
}

.kf-product-card .price {
  font-weight: 700;
  margin-top: 0.5rem;
  color: var(--kf-ink);
}

html.kf-dark .kf-product-card .price {
  color: var(--kf-harvest-soft);
}

.kf-split {
  display: grid;
  overflow: hidden;
  border-radius: var(--kf-radius-xl);
  background: var(--kf-forest-900);
  color: var(--kf-cream);
  box-shadow: var(--kf-shadow);
}

@media (min-width: 768px) {
  .kf-split {
    grid-template-columns: 1.1fr 1fr;
    min-height: 22rem;
  }
}

.kf-split-media {
  min-height: 16rem;
  background: #0c1b14 center / cover no-repeat;
}

.kf-split-copy {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .kf-split-copy {
    padding: 2.75rem;
  }
}

.kf-footer {
  margin-top: 3rem;
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(212, 160, 23, 0.08), transparent 50%),
    var(--kf-forest-950);
  color: var(--kf-cream);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kf-footer-grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .kf-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .kf-footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.kf-footer a:hover {
  color: var(--kf-harvest);
}

.kf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.55;
}

body {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

.kf-wa {
  position: fixed;
  right: 1rem;
  left: auto;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--kf-shadow);
}

.kf-wa-icon {
  font-size: 1.05rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .kf-wa {
    width: 3.15rem;
    height: 3.15rem;
    padding: 0;
    justify-content: center;
  }
  .kf-wa-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

.kf-content {
  max-width: 48rem;
}

.kf-content p {
  line-height: 1.7;
  color: var(--kf-muted);
}

.kf-form {
  display: grid;
  gap: 0.75rem;
}

.kf-form input,
.kf-form textarea,
.kf-form select,
.kf-input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--kf-input-border);
  background: var(--kf-input-bg);
  color: var(--kf-ink);
  padding: 0.85rem 1rem;
  font: inherit;
  caret-color: var(--kf-harvest);
}

.kf-form input::placeholder,
.kf-form textarea::placeholder,
.kf-input::placeholder {
  color: var(--kf-muted);
  opacity: 0.85;
}

.kf-form select,
select.kf-input {
  color-scheme: inherit;
}

.kf-form select option,
select.kf-input option {
  background: var(--kf-panel);
  color: var(--kf-ink);
}

.kf-form textarea {
  min-height: 8rem;
  resize: vertical;
}

/* Dark-mode contrast helpers */
html.kf-dark .kf-product-card {
  background: var(--kf-panel);
  border-color: var(--kf-border);
  color: var(--kf-ink);
}

html.kf-dark .kf-product-card h3,
html.kf-dark .kf-product-card h3 a,
html.kf-dark .kf-product-card .kf-h3,
html.kf-dark .kf-product-card .kf-h3 a {
  color: var(--kf-ink);
}

html.kf-dark .kf-label {
  color: var(--kf-harvest-soft);
}

html.kf-dark .kf-muted a {
  color: var(--kf-harvest-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

html.kf-dark .kf-cart-total-row,
html.kf-dark .kf-app-row,
html.kf-dark .kf-control-card {
  color: var(--kf-ink);
}

html.kf-dark .kf-notice-ok {
  background: rgba(46, 125, 50, 0.22);
  color: #b9f6ca;
  border: 1px solid rgba(129, 199, 132, 0.35);
}

html.kf-dark .kf-notice-error {
  background: rgba(183, 28, 28, 0.25);
  color: #ffcdd2;
  border: 1px solid rgba(239, 154, 154, 0.35);
}

html.kf-dark .kf-ecosystem span {
  background: rgba(242, 248, 243, 0.06);
  border-color: var(--kf-border);
  color: var(--kf-ink);
}

html.kf-dark figure.kf-panel [style*="background:#f4ead6"],
html.kf-dark figure.kf-panel [style*="background: #f4ead6"] {
  background: var(--kf-forest-950) !important;
}

.kf-books-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .kf-books-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.kf-book-cover {
  aspect-ratio: 4 / 5;
  background: #f4ead6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

html.kf-dark .kf-book-cover {
  background: var(--kf-forest-950);
}

.kf-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* PWA Get App + install sheet */
.kf-get-app {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.kf-get-app.is-installed {
  opacity: 0.72;
  cursor: default;
}

@media (max-width: 480px) {
  .kf-header-actions .kf-cart-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .kf-header-actions .kf-btn-primary {
    padding-inline: 0.65rem;
  }
}

.kf-install-sheet {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.kf-install-sheet[hidden] {
  display: none !important;
}

html.kf-install-open {
  overflow: hidden;
}

.kf-install-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 21, 15, 0.62);
  backdrop-filter: blur(2px);
}

.kf-install-card {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  margin: 0 auto;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 1.25rem 1.25rem 1rem 1rem;
  background: var(--kf-panel);
  color: var(--kf-ink);
  border: 1px solid var(--kf-border);
  box-shadow: var(--kf-shadow);
  animation: kf-install-up 0.28s ease-out;
}

@media (min-width: 640px) {
  .kf-install-sheet {
    align-items: center;
  }
  .kf-install-card {
    border-radius: 1.25rem;
  }
}

@keyframes kf-install-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kf-install-x {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--kf-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.kf-install-x:hover {
  color: var(--kf-ink);
}

.kf-install-icon {
  display: block;
  margin: 0 auto 0.85rem;
  border-radius: 1rem;
  background: var(--kf-cream);
}

html.kf-dark .kf-install-icon {
  background: var(--kf-forest-950);
}

.kf-install-card .kf-h3 {
  text-align: center;
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
}

.kf-install-copy {
  text-align: center;
  margin: 0.65rem 0 0;
  line-height: 1.55;
  font-size: 0.95rem;
}

.kf-install-steps {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--kf-ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.kf-install-steps:empty {
  display: none;
}

.kf-install-steps li + li {
  margin-top: 0.45rem;
}

/* Standalone PWA only — never hide website chrome in the mobile browser */
html.kf-standalone .kf-site-header,
html.kf-standalone .kf-site-footer,
html.kf-standalone .kf-site-wa,
html.kf-standalone .kf-get-app,
html.kf-standalone [data-kf-get-app],
html.kf-standalone [data-kf-install-banner],
html.kf-standalone [data-kf-install-sheet],
body.kf-standalone .kf-site-header,
body.kf-standalone .kf-site-footer,
body.kf-standalone .kf-site-wa,
body.kf-standalone .kf-get-app,
body.kf-standalone [data-kf-get-app],
body.kf-standalone [data-kf-install-banner] {
  display: none !important;
}

html.kf-standalone .kf-app-topbar,
body.kf-standalone .kf-app-topbar {
  display: block !important;
}

html.kf-standalone .kf-app-topbar[hidden],
body.kf-standalone .kf-app-topbar[hidden] {
  display: block !important;
}

.kf-app-topbar {
  display: none !important;
}

html.kf-standalone .kf-app-nav:not([hidden]),
body.kf-standalone .kf-app-nav:not([hidden]),
body.kf-logged-in-app-page .kf-app-nav:not([hidden]) {
  display: grid;
}

.kf-app-nav[hidden] {
  display: none !important;
}

html:not(.kf-standalone) body:not(.kf-logged-in-app-page) .kf-app-nav {
  display: none !important;
}

body.kf-marketing-page .kf-app-nav {
  display: none !important;
}

.kf-open-app-strip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--kf-forest, #1a3a2a) 92%, #000);
  color: var(--kf-cream, #fbf7ef);
  border-top: 1px solid color-mix(in srgb, var(--kf-harvest, #c9a227) 45%, transparent);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

.kf-open-app-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 36rem;
}

body.kf-marketing-page:has(.kf-open-app-strip) {
  padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}

html.kf-standalone .kf-open-app-strip {
  display: none !important;
}

/* Not installed → hide Open app strip; JS flips header CTA to Get App */
html:not(.kf-installed) .kf-open-app-strip {
  display: none !important;
}

html.kf-standalone body,
html.kf-standalone,
body.kf-standalone,
body.kf-logged-in-app-page {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

html.kf-installed [data-kf-install-banner] {
  display: none !important;
}

body.kf-logged-in-app-page:not(.kf-standalone) .kf-site-wa {
  bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

.kf-footer-credit a {
  color: var(--kf-harvest-soft, #e0c15a);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.kf-footer-credit a:hover,
.kf-footer-credit a:focus {
  color: #fff;
}

.kf-login-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-top: 1.25rem;
}

.kf-login-tab {
  text-align: center;
  padding: 0.65rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--kf-border);
  font-size: 0.8rem;
  font-weight: 600;
}

.kf-login-tab.is-active {
  background: var(--kf-harvest);
  color: var(--kf-forest-950);
  border-color: var(--kf-harvest);
}

.kf-edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .kf-edu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kf-edu-btn {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 6.5rem;
  justify-content: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.kf-edu-btn:active {
  transform: scale(0.98);
}

html.kf-dark .kf-edu-btn:hover {
  border-color: var(--kf-harvest);
}

/* === Responsive + UI refresh (1.7) === */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  overflow-x: clip;
}

body.kf-menu-open {
  overflow: hidden;
}

main#content {
  min-height: calc(100svh - var(--kf-header-h) - 2rem);
}

.kf-lead {
  margin-top: 0.75rem;
  max-width: 42rem;
  line-height: 1.65;
  color: var(--kf-muted);
}

.kf-btn:focus-visible,
.kf-app-nav-item:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--kf-harvest);
  outline-offset: 2px;
}

.kf-header.is-scrolled {
  box-shadow: 0 8px 24px -18px rgba(8, 21, 15, 0.45);
}

html.kf-dark .kf-header.is-scrolled {
  box-shadow: 0 8px 28px -16px rgba(0, 0, 0, 0.55);
}

.kf-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
  border: 0;
  background: rgba(8, 21, 15, 0.45);
  backdrop-filter: blur(3px);
}

.kf-menu-backdrop[hidden] {
  display: none !important;
}

.kf-menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 51;
  max-height: min(78svh, 32rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--kf-paper);
  box-shadow: var(--kf-shadow);
}

.kf-site-header {
  position: sticky;
  z-index: 52;
}

@media (min-width: 960px) {
  .kf-menu-toggle {
    display: none !important;
  }

  .kf-menu-panel,
  .kf-menu-backdrop {
    display: none !important;
  }
}

@media (max-width: 959px) {
  .kf-nav.kf-nav-compact {
    display: none;
  }

  .kf-header-inner {
    padding-block: 0.55rem;
  }

  .kf-header-actions {
    margin-left: auto;
  }
}

@media (max-width: 380px) {
  .kf-header-actions .kf-btn-ghost.kf-icon-btn:not(.kf-menu-toggle) {
    display: none;
  }

  .kf-header-actions .kf-cart-btn {
    display: inline-flex !important;
  }
}

.kf-hero-content {
  padding: clamp(5rem, 14vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
}

.kf-hero-actions .kf-btn {
  width: 100%;
}

@media (min-width: 480px) {
  .kf-hero-actions .kf-btn {
    width: auto;
  }
}

.kf-band-card {
  min-height: 100%;
}

.kf-footer-bottom {
  padding: 1rem clamp(0.75rem, 3vw, 1.25rem);
  line-height: 1.55;
}

.kf-footer-links {
  display: grid;
  gap: 0.15rem;
}

.kf-footer-links a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}

@media (max-width: 767px) {
  .kf-footer-grid {
    padding: 2.25rem 0;
    gap: 1.75rem;
  }

  .kf-split-copy {
    padding: 1.75rem 1.25rem;
  }

  .kf-split-media {
    min-height: 12rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .kf-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .kf-grid-3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
}

@media (min-width: 1280px) {
  .kf-page {
    width: min(1180px, calc(100% - 3rem));
  }
}

@media (pointer: coarse) {
  .kf-btn,
  .kf-nav-list a,
  .kf-mobile-nav a,
  .kf-band-card {
    min-height: var(--kf-touch);
  }

  .kf-product-card:hover {
    transform: none;
  }

  .kf-band-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Look & feel — showcase strip, reveal, product polish */
.kf-showcase {
  display: grid;
  gap: 0;
  margin: 0.5rem 0 0;
  border-radius: var(--kf-radius-xl);
  overflow: hidden;
  border: 1px solid var(--kf-border);
  background: var(--kf-panel);
  box-shadow: var(--kf-shadow-sm);
}

@media (min-width: 768px) {
  .kf-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kf-showcase-item {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--kf-border);
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s var(--kf-ease);
}

.kf-showcase-item:last-child {
  border-right: 0;
}

@media (max-width: 767px) {
  .kf-showcase-item {
    border-right: 0;
    border-bottom: 1px solid var(--kf-border);
  }
  .kf-showcase-item:last-child {
    border-bottom: 0;
  }
}

.kf-showcase-item:hover {
  background: color-mix(in srgb, var(--kf-harvest) 6%, var(--kf-panel));
}

.kf-showcase-media {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--kf-leaf) 12%, #e8efe9), #f4f7f2);
  display: grid;
  place-items: center;
  padding: 0.85rem;
}

html.kf-dark .kf-showcase-media {
  background: linear-gradient(160deg, #0f241a, #163226);
}

.kf-showcase-media img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(6, 17, 12, 0.18));
  transition: transform 0.35s var(--kf-ease);
}

.kf-showcase-item:hover .kf-showcase-media img {
  transform: scale(1.04);
}

.kf-showcase-copy {
  padding: 1.1rem 1.2rem 1.25rem;
}

.kf-showcase-copy .kf-h3 {
  font-size: 1.15rem;
}

.kf-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.kf-link-arrow {
  font-weight: 600;
  color: var(--kf-harvest);
  transition: gap 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kf-link-arrow:hover {
  color: var(--kf-forest-800);
}

html.kf-dark .kf-link-arrow:hover {
  color: var(--kf-harvest-soft);
}

.kf-reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--kf-ease), transform 0.7s var(--kf-ease);
}

.kf-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.kf-product-card {
  transition: transform 0.25s var(--kf-ease), box-shadow 0.25s var(--kf-ease);
}

.kf-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kf-shadow);
}

.kf-app-topbar-search {
  flex: 1 1 8rem;
  min-width: 0;
  max-width: 14rem;
  position: relative;
}

.kf-app-topbar-search input {
  width: 100%;
  min-height: 2.35rem;
  border-radius: var(--kf-radius);
  border: 1px solid var(--kf-border);
  background: var(--kf-input-bg);
  color: var(--kf-ink);
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .kf-app-topbar .kf-header-actions {
    flex-wrap: wrap;
  }

  .kf-app-topbar-search {
    flex: 1 1 100%;
    max-width: none;
    order: 10;
  }
}

/* === UI polish 1.9.2 === */

.kf-lede {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  line-height: 1.65;
  color: var(--kf-muted);
  font-size: 1.02rem;
}

.kf-lead {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  line-height: 1.6;
  color: var(--kf-muted);
}

.kf-lede-tight {
  margin-top: 0.5rem;
  max-width: 36rem;
  font-size: 0.95rem;
}

.kf-hero .kf-display {
  margin-top: 1rem;
}

.kf-hero .kf-display span {
  color: var(--kf-harvest-soft);
}

.kf-hero-lead {
  margin: 0.85rem 0 0;
  max-width: 26rem;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  line-height: 1.5;
  opacity: 0.92;
  font-weight: 450;
}

.kf-btn-hero-ghost {
  border-color: rgba(255, 255, 255, 0.38) !important;
  color: #fff !important;
  background: rgba(8, 21, 15, 0.38) !important;
  backdrop-filter: blur(8px);
}

.kf-btn-hero-ghost:hover {
  background: rgba(8, 21, 15, 0.55) !important;
  border-color: rgba(230, 196, 90, 0.55) !important;
}

.kf-hero-content > * {
  animation: kf-rise 0.85s var(--kf-ease) both;
}

.kf-hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.kf-hero-content > *:nth-child(2) { animation-delay: 0.14s; }
.kf-hero-content > *:nth-child(3) { animation-delay: 0.24s; }
.kf-hero-content > *:nth-child(4) { animation-delay: 0.34s; }

.kf-ecosystem span {
  animation: kf-rise 0.7s var(--kf-ease) both;
  animation-delay: calc(0.05s * var(--kf-i, 0));
}

.kf-showcase-text {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--kf-muted);
}

.kf-split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: none;
  flex-direction: row;
}

.kf-panel {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kf-panel:hover {
  border-color: color-mix(in srgb, var(--kf-leaf) 22%, var(--kf-border));
}

.kf-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--kf-harvest) 55%, var(--kf-input-border));
  box-shadow: var(--kf-focus);
}

.kf-chip {
  background: color-mix(in srgb, var(--kf-leaf-soft) 70%, var(--kf-panel));
  border-color: color-mix(in srgb, var(--kf-leaf) 18%, var(--kf-border));
}

main .kf-display.kf-h1 {
  letter-spacing: -0.025em;
}

main > .kf-page,
.kf-app-shell,
.kf-section-body {
  animation: kf-page-in 0.45s var(--kf-ease) both;
}

@keyframes kf-page-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kf-hero-content > *,
  .kf-ecosystem span,
  main > .kf-page,
  .kf-app-shell,
  .kf-section-body {
    animation: none !important;
  }
}

.kf-wa {
  box-shadow: 0 12px 32px -10px rgba(37, 211, 102, 0.55);
  transition: transform 0.2s var(--kf-ease), box-shadow 0.2s ease;
}

.kf-wa:hover {
  transform: translateY(-2px) scale(1.03);
}

.kf-footer .kf-brand img {
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
}

.kf-band-card h3 {
  font-size: 1.35rem;
}

.kf-band-card::after {
  content: "→";
  display: inline-block;
  margin-top: 1rem;
  color: var(--kf-harvest-soft);
  opacity: 0.7;
  transition: transform 0.2s var(--kf-ease), opacity 0.2s ease;
}

.kf-band-card:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

