/* CLEC.live — dormant static site. Hand-editable by design. */
:root {
  --violet: #7c3aed;
  --blue: #2563eb;
  --ink: #1a1a2e;
  --muted: #64748b;
  --border: #e2e8f0;
  --amber-bg: #fef3c7;
  --amber-ink: #92400e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #f8fafc; /* app: bg-slate-50 */
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* header — replica of Layout.tsx guest view */
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.site-header .inner {
  max-width: 1400px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .logo img { height: 32px; width: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 16px; }
.locale {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.locale:hover { background: #f1f5f9; text-decoration: none; }
.locale svg.i-globe { width: 16px; height: 16px; }
@media (max-width: 639px) { .locale .flag { display: none; } }
@media (max-width: 767px) { .locale .label { display: none; } }
.btn-login {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border-radius: 6px; background: hsl(222.2 47.4% 11.2%); color: #fff;
  font-size: 14px; font-weight: 500;
}
.btn-login:hover { background: hsl(222.2 47.4% 20%); text-decoration: none; }

/* hero (the letter) */
.hero {
  background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 40%, #2563eb 100%);
  color: #fff; padding: 112px 24px; text-align: center; /* app: lg:py-28 */
  position: relative;
}
.hero::before { /* app: subtle dot grid overlay, opacity 4% */
  content: ""; position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 32px 32px;
}
.hero > * { position: relative; }
.hero .logo-card {
  display: inline-block; background: #fff; border-radius: 14px;
  padding: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); margin-bottom: 48px; /* app: mb-12 */
}
.hero .logo-card img { max-width: 260px; height: auto; display: block; }
.hero .eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 32px; }
.hero .letter { max-width: 576px; margin: 0 auto; text-align: left; } /* app: max-w-xl */
.hero .letter p { color: rgba(255,255,255,0.82); font-size: 18px; margin-bottom: 20px; } /* app: sm:text-lg, space-y-5 */
.hero .letter p.close { color: #fff; font-weight: 600; }

/* what we built — faithful to the app: lucide icons, 56px circles, connector line */
.built { background: #fff; padding: 64px 24px; }
.built .steps, .built h2 { max-width: 900px; margin-left: auto; margin-right: auto; }
.built h2 { margin-bottom: 48px; }
.built h2 { text-align: center; font-size: 28px; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 16.67%; right: 16.67%;
  height: 1px; background: rgba(59,130,246,0.2);
}
.step { text-align: center; padding: 0 24px; position: relative; }
.step .dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px;
  background: #eff6ff; border: 2px solid rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.step .dot svg { width: 24px; height: 24px; color: #3b82f6; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
}

/* content pages */
.page { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.page h1 { font-size: 34px; margin-bottom: 6px; letter-spacing: -0.01em; }
.page .subtitle { color: var(--muted); margin-bottom: 34px; }
.page h2 { font-size: 22px; margin: 36px 0 12px; }
.page h3 { font-size: 17px; margin: 22px 0 8px; }
.page p, .page li { color: #334155; margin-bottom: 12px; }
.page ul, .page ol { padding-left: 24px; margin-bottom: 16px; }
.notice {
  display: flex; gap: 14px; background: var(--amber-bg); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 36px;
}
.notice .icon svg { width: 20px; height: 20px; color: #d97706; display: block; margin-top: 2px; }
.notice h3 { color: var(--amber-ink); margin: 0 0 6px; }
.notice p { color: var(--amber-ink); margin: 0; font-size: 15px; }
.card {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 20px 22px; margin-bottom: 18px;
}
.card h3 { margin-top: 0; }
.center { text-align: center; }

/* sleeping login / 404 */
.sleep { max-width: 560px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.sleep .moon svg { width: 44px; height: 44px; color: var(--muted); }
.sleep .moon { margin-bottom: 18px; }
.sleep h1 { font-size: 30px; margin-bottom: 16px; }
.sleep p { color: var(--muted); margin-bottom: 14px; }

/* footer — replica of Layout.tsx footer */
.site-footer { background: #fff; border-top: 1px solid var(--border); }
.site-footer .inner { max-width: 1400px; margin: 0 auto; padding: 32px; }
.foot-row { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 768px) { .foot-row { flex-direction: row; } }
.foot-brand { font-size: 18px; font-weight: 700; }
.foot-links { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--ink); text-decoration: none; }
.foot-copy { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }

/* lucide inline icons */
.hicon { display: inline-flex; align-items: center; gap: 10px; }
.hicon svg { flex: none; }
.i-24 svg, svg.i-24 { width: 24px; height: 24px; }
.i-20 svg, svg.i-20 { width: 20px; height: 20px; }
.i-16 svg, svg.i-16 { width: 16px; height: 16px; }
.i-48 svg, svg.i-48 { width: 48px; height: 48px; }
.ic-primary { color: hsl(222.2 47.4% 11.2%); }
.ic-amber { color: #d97706; }
.a-icon { display: inline-flex; align-items: center; gap: 8px; }
.a-icon svg { flex: none; }
.center-icon { display: flex; justify-content: center; margin-bottom: 16px; }
