/* corunian.com — organization site */
:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --panel: rgba(13, 20, 34, 0.78);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(56, 189, 248, 0.38);
  --text: #e8eef8;
  --muted: #94a3b8;
  --dim: #64748b;
  --accent: #38bdf8;
  --accent-2: #a78bfa;
  --radius: 16px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--mono);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px circle at 8% 2%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(820px circle at 92% 34%, rgba(167, 139, 250, 0.09), transparent 60%),
    radial-gradient(600px circle at 40% 100%, rgba(56, 189, 248, 0.05), transparent 60%);
}
.wrap { width: min(1140px, calc(100% - 44px)); margin: 0 auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #7dd3fc; }

/* top announcement */
.topbar {
  background: linear-gradient(90deg, rgba(56,189,248,.14), rgba(167,139,250,.16), rgba(56,189,248,.14));
  border-bottom: 1px solid var(--border-strong);
  text-align: center;
  padding: 10px 16px;
  font-size: .82rem;
  letter-spacing: .04em;
}
.topbar a { color: #dbeafe; display: inline-flex; align-items: center; gap: 9px; }
.topbar a:hover { color: #fff; }
.topbar-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 12px #4ade80;
}
.topbar-arrow { color: var(--accent); font-size: 1rem; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 11, 20, .84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 22px rgba(56,189,248,.22);
}
.brand-text { font-weight: 800; letter-spacing: .08em; font-size: 1rem; line-height: 1.1; }
.brand-text em { font-style: normal; color: var(--accent); font-weight: 500; }
.brand-text small { display: block; font-size: .55rem; letter-spacing: .16em; color: var(--dim); font-weight: 500; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .84rem; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  color: #e0f2fe; border: 1px solid var(--border-strong);
  padding: 8px 14px; border-radius: 10px;
  background: rgba(56,189,248,.08);
}
.nav .nav-cta:hover { background: rgba(56,189,248,.18); color: #fff; }

/* hero */
.hero { padding: 92px 0 72px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .72rem; letter-spacing: .22em; color: var(--accent);
  border: 1px solid var(--border-strong); border-radius: 100px;
  padding: 6px 14px; margin-bottom: 26px;
}
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  line-height: 1.06; letter-spacing: -.045em; font-weight: 800;
  margin-bottom: 24px;
}
.grad {
  background: linear-gradient(100deg, #38bdf8 10%, #a78bfa 60%, #f472b6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 670px; color: var(--muted); font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 56px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 11px; font-size: .86rem; font-weight: 700;
  border: 1px solid var(--border); color: var(--text); background: rgba(255,255,255,.03);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); color: #fff; border-color: var(--border-strong); background: rgba(255,255,255,.07); }
.btn-primary {
  background: linear-gradient(100deg, #38bdf8, #818cf8);
  color: #06101f; border-color: transparent;
  box-shadow: 0 10px 28px rgba(56,189,248,.22);
}
.btn-primary:hover { color: #06101f; background: linear-gradient(100deg, #7dd3fc, #a5b4fc); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
}
.fact b { display: block; font-size: 1.6rem; letter-spacing: -.03em; color: #fff; line-height: 1.2; }
.fact span { font-size: .74rem; color: var(--muted); }

/* sections */
.section { padding: 66px 0; border-top: 1px solid var(--border); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.section-head span { font-size: .68rem; color: var(--dim); letter-spacing: .18em; white-space: nowrap; }
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; max-width: 680px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong, .about-copy b { color: var(--text); }
.about-panel {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.about-panel h3 { font-size: .85rem; letter-spacing: .14em; color: var(--accent); margin-bottom: 18px; text-transform: uppercase; }
.about-panel ul { list-style: none; display: grid; gap: 14px; }
.about-panel li { display: flex; gap: 12px; color: var(--muted); font-size: .87rem; align-items: baseline; }
.about-panel li span { color: var(--accent-2); font-size: .72rem; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.person {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  transition: transform .18s ease, border-color .18s ease;
}
.person:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.avatar {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  color: #07101c; margin-bottom: 20px;
}
.av-a { background: linear-gradient(135deg, #38bdf8, #60a5fa); }
.av-b { background: linear-gradient(135deg, #a78bfa, #c084fc); }
.av-c { background: linear-gradient(135deg, #4ade80, #34d399); }
.av-d { background: linear-gradient(135deg, #fbbf24, #fb923c); }
.av-e { background: linear-gradient(135deg, #f472b6, #fb7185); }
.person h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.role { color: var(--accent); font-size: .74rem; margin: 3px 0 12px; letter-spacing: .03em; }
.bio { color: var(--muted); font-size: .79rem; line-height: 1.6; }

/* build */
.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.build-card {
  display: block; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: transform .18s ease, border-color .18s ease;
}
.build-card:hover { transform: translateY(-3px); border-color: var(--border-strong); color: var(--text); }
.build-tag { font-size: .64rem; letter-spacing: .2em; color: var(--accent-2); }
.build-card h3 { font-size: 1.25rem; margin: 10px 0 8px; }
.build-card p { color: var(--muted); font-size: .86rem; max-width: 440px; }
.build-go { display: inline-block; margin-top: 18px; font-size: .76rem; color: var(--accent); }

/* footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 30px; background: rgba(11,18,32,.55); }
.footer-top { display: flex; justify-content: space-between; gap: 30px; padding: 42px 0 34px; }
.footer-top p { color: var(--muted); font-size: .78rem; margin-top: 12px; }
.brand.small { font-size: .95rem; letter-spacing: .1em; }
.brand.small .brand-mark { width: 32px; height: 32px; font-size: 1rem; border-radius: 9px; }
.footer-top nav { display: flex; gap: 22px; align-items: flex-start; font-size: .8rem; }
.footer-top nav a { color: var(--muted); }
.footer-top nav a:hover { color: var(--text); }
.statement {
  border-top: 1px solid var(--border-strong);
  background: linear-gradient(90deg, rgba(56,189,248,.10), rgba(167,139,250,.12), rgba(56,189,248,.10));
  color: #e6f1fb;
  text-align: center;
  padding: 22px 20px;
  font-size: clamp(.68rem, 1.7vw, .9rem);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, 1140px); }
  .nav { gap: 14px; font-size: .78rem; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 64px 0 52px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .build-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; gap: 6px; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
}
