
/* CHADESH / CONDUIT — Light Theme System (v1)
   - Professional, light, subtle 80s accents
   - CHADESH: Zekton wordmark moments only
   - CONDUIT: Inter-only product tone
*/

:root{
  /* brand accents */
  --chadesh:#63c9da;
  --conduit:#07eef4;
  --pink:#ff4fd8;
  --purple:#7a1fff;

  /* neutrals */
  --bg:#f7f8fc;
  --surface:#ffffff;
  --ink:#0e1325;
  --muted:#5b647a;
  --border:rgba(14,19,37,0.10);

  /* subtle depth */
  --shadow: 0 18px 60px rgba(14,19,37,0.10);
  --shadow-sm: 0 10px 26px rgba(14,19,37,0.10);
  --radius:18px;

  /* layout */
  --container: 1100px;
  --gutter: 20px;

  /* typography */
  --font-body: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-brand: Zekton, var(--font-body);

  /* page accent gradient */
  --accent-a: var(--chadesh);
  --accent-b: var(--purple);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background: radial-gradient(1200px 700px at 15% 0%, rgba(255,79,216,0.12), transparent 60%),
              radial-gradient(1000px 700px at 85% 10%, rgba(7,238,244,0.14), transparent 55%),
              linear-gradient(180deg, var(--bg), #f1f4ff 60%, #eef3ff 100%);
}

/* thin subtle grid (80s, but restrained) */
.bg-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(14,19,37,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,19,37,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(closest-side at 50% 30%, black 35%, transparent 75%);
  pointer-events:none;
  opacity:0.9;
}

.container{max-width:var(--container); margin:0 auto; padding:0 var(--gutter)}
.muted{color:var(--muted)}
a{color:inherit}
a:hover{opacity:0.92}

/* Header */
.site-header{
  position:sticky; top:0; z-index:30;
  background: rgba(247,248,252,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14,19,37,0.06);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
  gap: 16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  min-width: 220px;
}
.brand img{display:block}
.logo-header{height:24px; width:auto}
.wordmark{
  font-family:var(--font-brand);
  letter-spacing:0.06em;
  font-size: 14px;
  color: var(--ink);
}
.site-nav{display:flex; align-items:center; gap:18px}
.site-nav a{
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  color: var(--muted);
}
.site-nav a:hover{color:var(--ink)}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
}
.hero-inner{
  position:relative;
  padding: 72px 0 46px;
  text-align:center;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing:-0.02em;
}
.hero .tagline{
  margin:0 auto 14px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight:800;
}
.hero .tagline .accent{background: linear-gradient(90deg, var(--pink), var(--purple)); -webkit-background-clip:text; background-clip:text; color:transparent}
.hero p{
  margin: 0 auto 22px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
}
.hero-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  border:1px solid transparent;
  box-shadow: none;
  transition: transform .06s ease, box-shadow .12s ease;
}
.btn:active{transform: translateY(1px)}
.btn.primary{
  color: #081022;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 14px 34px rgba(99,201,218,0.20);
}
.btn.ghost{
  background: rgba(255,255,255,0.70);
  border-color: rgba(14,19,37,0.10);
  color: var(--ink);
}

/* Sections */
.section{margin: 22px 0}
.section-title{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.cards-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.card{
  background: var(--surface);
  border: 1px solid rgba(14,19,37,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}
.card h3{
  margin: 0 0 8px;
  font-size: 16px;
}
.card p{margin:0; color:var(--muted); line-height:1.55}

/* Featured (CONDUIT) */
.featured{
  padding: 22px;
  position:relative;
}
.featured::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(7,238,244,0.50), rgba(255,79,216,0.25), rgba(122,31,255,0.22));
  opacity:0.40;
  filter: blur(18px);
  z-index:-1;
}
.featured-head{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap:wrap;
  justify-content:space-between;
}
.featured-brand{
  display:flex; align-items:center; gap: 12px;
}
.logo-featured{height:34px; width:auto}
.featured-brand .name{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.featured-brand .byline{
  color: var(--muted);
  font-weight: 700;
  margin-left: 6px;
}
.featured .copy{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 900px;
}
.featured-actions{
  margin-top: 14px;
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}

/* App section */
.app{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items:center;
  padding: 22px;
}
.app-media{
  display:flex;
  gap: 14px;
  align-items:center;
}
.app-icon{
  width: 88px;
  height: 88px;
  border-radius: 22px;
  border: 1px solid rgba(14,19,37,0.10);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.app-shot{
  width: 210px;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(14,19,37,0.10);
  box-shadow: var(--shadow-sm);
}
.app h2{margin:0 0 8px}
.features{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* Footer */
.site-footer{
  margin-top: 34px;
  padding: 18px 0 30px;
  color: var(--muted);
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
  border-top: 1px solid rgba(14,19,37,0.08);
  padding-top: 16px;
}

/* Responsive */
@media (max-width: 960px){
  .cards-3{grid-template-columns:1fr}
  .app{grid-template-columns: 1fr}
  .brand{min-width:auto}
}

/* Home icon link (used on CONDUIT header) */
.home-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(14,19,37,0.10);
  background: rgba(255,255,255,0.70);
  text-decoration:none;
  color: var(--ink);
}
.home-link:hover{background:#fff}
.home-link svg{width:18px; height:18px; display:block}

/* Larger CONDUIT logo on homepage */
.logo-featured{height:46px; width:auto}

/* Hero logo */
.logo-hero{width:min(720px, 88vw); height:auto; display:block; margin: 0 auto 14px}
@media (max-width: 720px){
  .logo-hero{width:min(520px, 92vw)}
}
