/* assets/css/main.css */

:root {
  --bg: #0b1020;
  --bg-elevated: #151b30;
  --text: #f5f7ff;
  --muted: #a3adcc;
  --accent: #4fd1c5;
  --accent-soft: rgba(79, 209, 197, 0.12);
  --border-soft: rgba(255, 255, 255, 0.06);
  --max-width: 960px;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #202b50 0, #050814 55%, #020309);
  color: var(--text);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* Header & nav */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-image: url("../images/3in3_logo_large_initial_v3_512px.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 25px rgba(79, 209, 197, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}

.brand-tagline {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
}

.nav a.active {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(79, 209, 197, 0.5);
}

/* Hero */

.hero {
  margin-top: 12px;
  padding: 24px 20px 24px;
  background: radial-gradient(circle at top left, #1a2545 0, #0a1022 55%);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 14, 30, 0.9);
  border: 1px solid rgba(99, 179, 237, 0.5);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #63b3ed;
  box-shadow: 0 0 12px rgba(99, 179, 237, 0.9);
}

.hero-title {
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.1;
  margin: 0 0 12px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #4fd1c5, #63b3ed);
  color: #020309;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(15, 205, 190, 0.45);
}

.btn-primary:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn-secondary {
  border-color: var(--border-soft);
  background: rgba(3, 7, 18, 0.7);
  color: var(--muted);
}

.btn-secondary:hover {
  background: rgba(10, 14, 30, 0.9);
  color: var(--text);
  text-decoration: none;
}

/* Sections */

.page-main {
  margin-top: 26px;
}

.section {
  margin-bottom: 28px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
}

.section-kicker {
  font-size: 13px;
  color: var(--muted);
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.card {
  padding: 14px 14px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

.card-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-body {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--muted);
}

.chip:hover {
  border-color: rgba(79, 209, 197, 0.6);
  color: var(--text);
  text-decoration: none;
}

/* Text content */

.text-block {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.text-block p {
  margin: 0 0 12px;
}

.text-block strong {
  color: var(--text);
}

.list {
  margin: 0 0 12px 18px;
  padding: 0;
}

.list li {
  margin-bottom: 6px;
}

/* Contact */

.contact-details {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding: 18px 20px 22px;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

/* Responsive */

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
