/* kenTel — public website. Component styles that sit alongside Tailwind
 * utilities. Kept here rather than as long utility strings in markup where
 * a name reads better than twelve classes. */

/* --- sticky nav --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 32px);
  padding-top: calc(14px + env(safe-area-inset-top));
  background: color-mix(in srgb, var(--void) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-nav.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--void) 96%, transparent);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.site-logo:hover { text-decoration: none; }
.site-logo img { max-height: 30px; max-width: 124px; object-fit: contain; }

.site-nav nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.site-nav nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .18s ease;
}
.site-nav nav a:hover { color: var(--text); text-decoration: none; }

.cta-small {
  background: var(--venom);
  color: #06210B !important;
  padding: 9px 17px;
  border-radius: 8px;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  transition: transform .18s ease, background .18s ease;
}
.cta-small:hover { background: var(--venom-deep); transform: translateY(-1px); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 21px;
  padding: 4px 10px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-burger { display: block; }
  .site-nav { flex-wrap: wrap; }
  .site-nav nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 10px;
  }
  .site-nav nav.open { display: flex; animation: nav-drop .22s ease forwards; }
  .site-nav nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .site-nav nav a:last-child { border-bottom: none; }
  .cta-small { justify-content: center; margin-top: 10px; }
}
@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- plan cards --- */
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform .28s cubic-bezier(.16,1,.3,1),
              border-color .28s ease,
              box-shadow .28s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--venom-deep);
  box-shadow: 0 16px 40px -18px color-mix(in srgb, var(--venom) 45%, transparent);
}
.plan-card.featured {
  border-color: var(--venom);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--venom) 8%, transparent), transparent 55%),
    var(--panel);
}
.plan-flag {
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--venom);
  color: #06210B;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .4px;
  padding: 4px 11px;
  border-radius: 999px;
}
.plan-card .spec {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13.5px;
}
.plan-card .spec:last-child { border-bottom: none; }
.plan-card .spec strong { color: var(--text); }

/* --- steps --- */
.step-n {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--venom);
  color: #06210B;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
  margin-bottom: 14px;
}

/* --- help cards --- */
.help-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: var(--void);
  color: var(--text);
  transition: transform .22s ease, border-color .22s ease;
}
.help-card:hover {
  border-color: var(--venom-deep);
  transform: translateY(-2px);
  text-decoration: none;
}

/* --- connect + trial banners (plans page) --- */
.connect-banner, .trial-banner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: var(--panel);
}
.trial-banner { border-color: var(--venom-deep); }
.connect-banner p, .trial-banner p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 7px;
  line-height: 1.6;
}
.trial-flag {
  background: var(--venom);
  color: #06210B;
  font-weight: 800;
  font-size: 10.5px;
  padding: 4px 9px;
  border-radius: 4px;
  height: fit-content;
  letter-spacing: .4px;
}
@media (max-width: 640px) {
  .connect-banner, .trial-banner { flex-direction: column; gap: 12px; }
}

/* --- nav polish + mobile menu (new markup) --- */
.site-nav.scrolled {
  background: rgba(7, 16, 11, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.nav-burger {
  display: none; background: none; border: none;
  color: var(--text); font-size: 22px; cursor: pointer; padding: 6px 10px;
}
#nav-menu { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
@media (max-width: 760px) {
  .nav-burger { display: block; }
  #nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  #nav-menu.open { max-height: 340px; }
  #nav-menu a { padding: 14px 22px; border-top: 1px solid var(--line); }
  #nav-menu .cta-small { margin: 12px 22px; text-align: center; }
}

.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 22px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--venom-deep); }
.plan-card.featured {
  border-color: var(--venom);
  background: linear-gradient(180deg, color-mix(in srgb, var(--venom) 7%, transparent), transparent 55%), var(--panel);
}
.plan-flag {
  position: absolute; top: -11px; left: 22px;
  background: var(--venom); color: #06210B; font-size: 10.5px; font-weight: 800;
  letter-spacing: .4px; padding: 4px 11px; border-radius: 999px;
}
.plan-card .spec {
  padding: 9px 0; border-bottom: 1px solid var(--line);
  color: var(--text-muted); font-size: 13.5px;
}
.plan-card .spec:last-child { border-bottom: none; }
.plan-card .spec strong { color: var(--text); }

.step-n {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--venom); color: #06210B;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; margin-bottom: 14px;
}
.help-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  background: var(--void); color: var(--text); transition: border-color .2s, transform .2s;
}
.help-card:hover { border-color: var(--venom-deep); transform: translateY(-2px); text-decoration: none; }

/* --- media frames: photo-slot-first with illustration fallback --- */
.media-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--panel-raised), var(--panel));
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
}
.media-frame .media-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  padding: 0;
  /* If an operator's photo URL 404s, the frame's own gradient shows
     through rather than a browser broken-image glyph. */
}
.media-frame .illus { position: relative; z-index: 1; }

/* subtle corner glow on media frames */
.media-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 80% 10%,
    color-mix(in srgb, var(--venom) 14%, transparent), transparent 70%);
  pointer-events: none;
}

.feat-ico {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}

@media (max-width: 640px) {
  .media-frame { aspect-ratio: 3 / 2; }
}

/* --- hero chips (DataSika-style network chips, generic) --- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel);
  font-size: 12.5px; font-weight: 600; color: var(--text-muted);
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }

/* VenomSaver warm-paper accent: a faint warm wash on alternating sections
   so the page reads with more depth than flat panels. Kept subtle. */
.site .glow-top { position: relative; }
