/* ============================================
   Rhody Appathon — shared stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@500;600;700;800&family=Funnel+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #111111;
  --bg-panel: #0d0d0d;
  --bg-panel-2: rgb(36, 36, 36);
  --border: #3b3b3b;
  --text: #e1e5ed;
  --text-dim: #e1e5ed;
  --text-faint: #e1e5ed;;
  --pill-bg: #e1e5ed;
  --pill-text: #0a0a0a;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --max-width: 1180px;
  --font-display: 'Stack Sans Text', 'Segoe UI', sans-serif;
  --font-body: 'Funnel Sans', 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand .tm {
  font-size: 10px;
  vertical-align: super;
  font-weight: 600;
  color: var(--text-dim);
}

.brand svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.92;
  transition: opacity 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-pill:hover {
  opacity: 0.88;
}

.btn-pill svg {
  width: 14px;
  height: 14px;
}

/* ---------- Generic page hero ---------- */

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 0 40px;
  flex-wrap: wrap;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 80px;
  line-height: 1.03;
  margin: 0;
  letter-spacing: -0.5px;
}

.hero-note {
  background: var(--pill-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  max-width: 320px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
  flex-shrink: 0;
}

/* Centered hero variant (home page) */

.hero-center {
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: 64px 0 40px;
}

.hero-center h1 {
  font-size: 68px;
}

.eyebrow-pill {
  display: inline-block;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 22px;
}

.hero-center .btn-pill {
  margin-top: 26px;
}

/* ---------- Section labels ---------- */

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  text-transform: none;
}

section {
  margin-bottom: 34px;
}

/* ---------- Panels / cards ---------- */

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
}

.link-row {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: background 0.15s ease;
}

.link-row:hover {
  background: var(--bg-panel-2);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 24px;
}

.site-footer .page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-brand svg {
  width: 14px;
  height: 14px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .hero {
    flex-direction: column;
  }
  .hero h1,
  .hero-center h1 {
    font-size: 44px;
  }
  .hero-note {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .main-nav {
    gap: 14px;
  }
  .hero h1,
  .hero-center h1 {
    font-size: 36px;
  }
}
