/* Xora Tech Labs — static marketing site
   No external dependencies (no web fonts / CDNs) so the site loads instantly
   and works on any static host (Cloudflare Pages, GitHub Pages, etc.). */

:root {
  --teal-900: #134e4a;
  --teal-700: #0f766e;
  --teal-500: #14b8a6;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg: #f8fafc;
  --white: #ffffff;
  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--slate-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 760px; }

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 252, .85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-900);
}
.brand:hover { text-decoration: none; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { color: var(--slate-700); font-weight: 500; font-size: .95rem; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(20, 184, 166, .18), transparent 60%),
    linear-gradient(180deg, var(--white), var(--bg));
  border-bottom: 1px solid var(--slate-200);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-700);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0 0 20px;
  max-width: 16ch;
}
.lede {
  font-size: 1.2rem;
  color: var(--slate-700);
  max-width: 60ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .04s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-900); }
.btn-ghost { background: transparent; color: var(--teal-700); border: 1px solid var(--slate-200); }
.btn-ghost:hover { background: var(--slate-100); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 16px; }
.section-intro { font-size: 1.1rem; color: var(--slate-700); max-width: 65ch; margin: 0 0 40px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 1.15rem; color: var(--teal-900); }
.card p { margin: 0; color: var(--slate-700); }

.contact-email { font-size: 1.4rem; font-weight: 600; margin: 8px 0 4px; }
.muted { color: var(--slate-500); }

/* Footer */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-200);
  padding: 32px 0;
}
.site-footer a { color: #99f6e4; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.footer-inner p { margin: 0; font-size: .9rem; }
.footer-nav { display: flex; gap: 20px; font-size: .9rem; }

/* Team / founder */
.founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 8px;
}
.founder-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.founder-photo-wrap { position: relative; }
.founder-role {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-700);
  margin: 0 0 4px;
}
.founder-name { font-size: 1.6rem; margin: 0 0 16px; }
.founder-bio p { color: var(--slate-700); }
.founder-bio p:first-of-type { margin-top: 0; }

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.exp-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.exp-item h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--teal-900); }
.exp-item p { margin: 0; color: var(--slate-700); font-size: .96rem; }

@media (max-width: 640px) {
  .founder { grid-template-columns: 1fr; gap: 24px; }
  .founder-photo { max-width: 260px; }
}

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 8px; }
.legal .updated { color: var(--slate-500); margin: 0 0 32px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--slate-700); }
.legal ul { padding-left: 22px; }
.legal a { word-break: break-word; }
.legal .toc {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0 8px;
}
.legal .toc ul { margin: 8px 0 0; }

@media (max-width: 640px) {
  .site-nav { gap: 16px; font-size: .9rem; }
  .site-nav a:nth-child(2) { display: none; }
  .hero { padding: 64px 0 48px; }
}
