/* ============================================
   ySoftware — Global Stylesheet
   ============================================ */

/* ── Reset & Base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --white: #FFFFFF;

  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', 'Courier New', monospace;
  --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--slate-800);
  line-height: 1.7;
}

/* ── Layout helpers ──────────────────────────── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header / Nav ──────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Logo */
.logo { text-decoration: none; display: flex; align-items: center; }
.logo-img { display: block; }

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--slate-600, #475569);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--blue-600); }

/* ── Hero ──────────────────────────────────── */
.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a2744 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-mark {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  color: var(--blue-500);
  opacity: 0.18;
  line-height: 1;
  position: absolute;
  left: -0.1em;
  top: -0.3em;
  pointer-events: none;
  user-select: none;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.hero-title .accent { color: var(--blue-400); }

.hero-sub {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: var(--slate-400);
  max-width: 42ch;
}

/* ── Sections ──────────────────────────────── */
.section { padding: 5rem 0; }
.section--alt { background: var(--slate-100); }

.section-inner { max-width: 640px; }

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--blue-500);
  border-radius: 2px;
  margin-top: 0.4rem;
}

.section-body {
  color: var(--slate-500);
  font-size: 1rem;
}
.section-body a { color: var(--blue-600); }

/* ── Footer ──────────────────────────────── */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 2.5rem 0;
}

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


.footer-links a {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 0.8rem; color: var(--slate-700); }

/* ── Privacy Policy page ──────────────────── */
.policy-header {
  background: var(--slate-900);
  color: var(--white);
  padding: 3rem 0 2rem;
}
.policy-header .logo { margin-bottom: 2rem; }
.policy-header h1 { font-size: 2rem; font-weight: 700; }
.policy-header .policy-meta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-400);
}

.policy-body {
  padding: 3rem 0 5rem;
}
.policy-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 2.5rem 0 0.75rem;
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li {
  color: var(--slate-600, #475569);
  font-size: 0.97rem;
  margin-bottom: 0.6rem;
}
.policy-body ul {
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}
.policy-body a { color: var(--blue-600); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
