/* ---------------------------------------------
   minoly — shared stylesheet
   Dark, blue-to-black theme. Typography-only branding.
--------------------------------------------- */

:root {
  --bg: #05070c;
  --bg-elevated: #0b1120;
  --bg-card: #0d1526;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);

  --text-primary: #eef2ff;
  --text-secondary: #9aa5b8;
  --text-muted: #626d80;

  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --accent-dim: #1d4ed8;

  --gradient-hero: radial-gradient(circle at 20% 15%, rgba(59, 130, 246, 0.16), transparent 55%),
                   radial-gradient(circle at 85% 0%, rgba(37, 99, 235, 0.1), transparent 45%),
                   linear-gradient(180deg, #05070c 0%, #05070c 100%);
  --gradient-accent-text: linear-gradient(90deg, #eef2ff 0%, #93c5fd 60%, #3b82f6 100%);

  --radius: 14px;
  --max-width: 1120px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .brand {
  font-family: "Sora", "Inter", sans-serif;
}

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

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

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

/* ---------- Navbar ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.brand span {
  color: var(--accent-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.12);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero / main content ---------- */

main {
  flex: 1;
}

.hero {
  background: var(--gradient-hero);
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 18px;
  background: var(--gradient-accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0;
}

.hero .note {
  margin-top: 28px;
  display: inline-block;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.page-section {
  padding: 64px 0;
}

/* ---------- Content sections ---------- */

.content-section {
  border-top: 1px solid var(--border);
}

.content-section .container {
  max-width: 760px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  max-width: 760px;
  margin: 0;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.content-section p {
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  margin: 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- Feature cards ---------- */

.feature-grid {
  padding: 64px 0 96px;
}

.feature-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 70%);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.feature-card p {
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Legal content (numbered sections, table, contact card) ---------- */

.content-section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-bright);
}

.content-section h3 {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 10px;
}

.content-section h3:first-of-type {
  margin-top: 4px;
}

.feature-list.feature-list--single {
  grid-template-columns: 1fr;
  gap: 10px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 14px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-table td {
  color: var(--text-secondary);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
}

.contact-brand {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.contact-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 70%);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  transition: background 0.2s var(--ease);
}

.contact-row + .contact-row {
  border-top: 1px solid var(--border);
}

.contact-row:hover {
  background: rgba(59, 130, 246, 0.05);
}

.contact-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-bright);
}

.contact-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s var(--ease);
}

.contact-row:hover .contact-value {
  color: var(--accent-bright);
}

/* ---------- Fade-in-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

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

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 7, 12, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }

  .nav-links.is-open {
    max-height: 320px;
  }

  .nav-links a {
    padding: 12px 8px;
    border-radius: 6px;
  }

  .hero {
    padding: 96px 0 56px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-grid-inner {
    grid-template-columns: 1fr;
  }

  .contact-row {
    padding: 16px 18px;
  }

  .section-num {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }
}
