/* ============================================================================
   KlensClock SaaS — product landing page (/products/klensclock)
   Self-contained, system-font, ZERO external origins so the page can run under
   a strict zero-'unsafe-inline' CSP (see _security_headers_strict.conf).
   Brand: navy #0F2340 + gold #C9A24A (matches the locked KlensClock app brand).
   No @import, no web fonts, no JS. Co-designed with Infra-1 (Security) 2026-06.
   ============================================================================ */

:root {
  --navy: #0f2340;
  --navy-700: #16315a;
  --gold: #c9a24a;
  --gold-dark: #ab8636;
  --ink: #0f2340;
  --sub: #5e6b7e;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-tint: #f6f7f9;
  --bg-navy: #0f2340;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 35, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 35, 64, 0.14);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto; /* keep aspect ratio — width/height attrs set intrinsic size, CSS scales both */
  display: block;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
}

.kc-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.kc-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
}

.kc-h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--navy);
}

.kc-lead {
  font-size: 1.08rem;
  color: var(--sub);
  max-width: 46ch;
  margin: 0 0 1.5rem;
}

.kc-gold {
  color: var(--gold-dark);
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.kc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(6px);
}
.kc-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}
.kc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.kc-brand img {
  width: 34px;
  height: 34px;
}
.kc-brand .kc-gold {
  color: var(--gold-dark);
}
.kc-nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.kc-nav__links a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}
.kc-nav__links a:hover {
  color: var(--gold-dark);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.kc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.kc-btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.kc-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 74, 0.35);
}
.kc-btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.kc-btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}
.kc-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.kc-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
.kc-btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.kc-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-tint) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.kc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 4.5rem;
}
.kc-hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 1.1rem;
  color: var(--navy);
}
.kc-hero__sub {
  font-size: 1.18rem;
  color: var(--sub);
  max-width: 42ch;
  margin: 0 0 1.8rem;
}
.kc-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.kc-hero__note {
  margin-top: 1.3rem;
  font-size: 0.85rem;
  color: var(--sub);
}
.kc-hero__shot {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--white);
}

/* ── Section frame ───────────────────────────────────────────────────────── */
.kc-section {
  padding: 4.5rem 0;
}
.kc-section--tint {
  background: var(--bg-tint);
}
.kc-section--navy {
  background: var(--bg-navy);
  color: var(--white);
}
.kc-section__head {
  max-width: 40ch;
  margin-bottom: 2.5rem;
}
.kc-section--center .kc-section__head {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.kc-section--center .kc-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ── Problem cards ───────────────────────────────────────────────────────── */
.kc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.kc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.kc-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy);
}
.kc-card p {
  margin: 0;
  color: var(--sub);
  font-size: 0.95rem;
}
.kc-banner {
  margin-top: 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 700;
}

/* ── Check rows ──────────────────────────────────────────────────────────── */
.kc-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kc-checks--single {
  grid-template-columns: 1fr;
  max-width: 30rem;
}
.kc-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1rem;
}
.kc-check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  margin-top: 2px;
}
.kc-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 7px;
  height: 12px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.kc-checks b {
  color: var(--navy);
}
.kc-checks span {
  color: var(--sub);
}
.kc-section--navy .kc-checks b {
  color: var(--white);
}
.kc-section--navy .kc-checks span {
  color: #aec6c4;
}

/* ── Split (text + screenshot) ───────────────────────────────────────────── */
.kc-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.kc-split--rev {
  grid-template-columns: 1.1fr 1fr;
}
.kc-shot {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
.kc-shot + .kc-shot {
  margin-top: 1.25rem;
}
.kc-caption {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold-dark);
  text-align: center;
}
.kc-trust {
  display: inline-block;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ── Plans ───────────────────────────────────────────────────────────────── */
.kc-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.kc-plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.kc-plan--pop {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.kc-plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.kc-plan__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.kc-plan--pop .kc-plan__name {
  color: var(--white);
}
.kc-plan__price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold-dark);
  margin: 0.5rem 0 0.1rem;
}
.kc-plan--pop .kc-plan__price {
  color: var(--white);
}
.kc-plan__meta {
  font-size: 0.82rem;
  color: var(--sub);
}
.kc-plan--pop .kc-plan__meta {
  color: #aec6c4;
}
.kc-plan__desc {
  font-style: italic;
  margin: 0.9rem 0 1.1rem;
  color: var(--navy);
  font-size: 0.95rem;
}
.kc-plan--pop .kc-plan__desc {
  color: var(--white);
}
.kc-plan__feats {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--sub);
}
.kc-plan--pop .kc-plan__feats {
  color: #d7e6e4;
}
.kc-plan__feats li {
  padding-left: 1.4rem;
  position: relative;
}
.kc-plan__feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 800;
}
.kc-plan--pop .kc-plan__feats li::before {
  color: var(--gold);
}
.kc-plan .kc-btn {
  margin-top: auto;
}
.kc-plans__note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--sub);
  font-size: 0.95rem;
}

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.kc-cta {
  text-align: center;
}
.kc-cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 0.8rem;
}
.kc-cta p {
  color: #c4d0e0;
  max-width: 44ch;
  margin: 0 auto 1.8rem;
  font-size: 1.05rem;
}
.kc-cta__row {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.kc-footer {
  background: #0a1830;
  color: #9fb0c6;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}
.kc-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.kc-footer a {
  color: #c8d4e4;
}
.kc-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--white);
  font-size: 1.05rem;
}
.kc-footer__brand img {
  width: 28px;
  height: 28px;
}
.kc-footer__brand .kc-gold {
  color: var(--gold);
}

/* ── Active nav + multi-page bits ────────────────────────────────────────── */
.kc-nav__links a.is-active {
  color: var(--gold-dark);
}

/* Compact page header band for the standalone sub-pages */
.kc-pagehead {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-tint) 100%);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2.75rem;
}
.kc-pagehead__crumb {
  font-size: 0.85rem;
  color: var(--sub);
  margin-bottom: 0.75rem;
}
.kc-pagehead__crumb a {
  color: var(--sub);
}
.kc-pagehead__crumb a:hover {
  color: var(--gold-dark);
}
.kc-pagehead h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.8rem;
  color: var(--navy);
}
.kc-pagehead p {
  font-size: 1.1rem;
  color: var(--sub);
  max-width: 52ch;
  margin: 0;
}

/* "Learn more" inline link with arrow */
.kc-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.kc-more::after {
  content: "→";
  transition: transform 0.12s ease;
}
.kc-more:hover {
  color: var(--gold-dark);
}
.kc-more:hover::after {
  transform: translateX(3px);
}

/* Home teaser: two linked cards routing to the detail pages */
.kc-teasers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.kc-teaser {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.kc-teaser:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.kc-teaser h3 {
  margin: 0.4rem 0 0.5rem;
  font-size: 1.25rem;
  color: var(--navy);
}
.kc-teaser p {
  margin: 0 0 1rem;
  color: var(--sub);
  font-size: 0.95rem;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .kc-teasers {
    grid-template-columns: 1fr;
  }
  .kc-hero__grid,
  .kc-split,
  .kc-split--rev {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .kc-hero__shot--media {
    order: -1;
  }
  .kc-cards,
  .kc-plans {
    grid-template-columns: 1fr;
  }
  .kc-checks {
    grid-template-columns: 1fr;
  }
  .kc-nav__links a:not(.kc-btn) {
    display: none;
  }
}
