/* === Reset & Base === */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  color: #2C2C2C;
  background: #FAFAF5;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* === Navigation === */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #E5E5E0;
}

nav .nav-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f0f23;
  font-weight: 700;
  font-size: 1.1rem;
}

nav .nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

nav .nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

nav .nav-links a {
  text-decoration: none;
  color: #2C2C2C;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav .nav-links a:hover {
  color: #e94560;
}

/* Mobile nav toggle */
nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

nav .nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #2C2C2C;
  margin: 5px 0;
  transition: transform 0.2s;
}

/* === Sections === */

section {
  padding: 80px 24px;
}

section:nth-child(odd) {
  background: #FAFAF5;
}

section:nth-child(even) {
  background: #F4EBDB;
}

.section-inner {
  max-width: 720px;
  margin: 0 auto;
}

h2 {
  color: #0f0f23;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
}

h3 {
  color: #0f0f23;
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
}

a {
  color: #e94560;
  transition: color 0.2s;
}

a:hover {
  color: #d13a54;
}

/* === Hero === */

.hero {
  text-align: center;
  padding: 100px 24px 80px;
  background: #FAFAF5;
}

.hero img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.hero h1 {
  color: #0f0f23;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: 1.2rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === How It Works steps === */

.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.steps li {
  position: relative;
  padding: 16px 0 16px 48px;
}

.steps li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(233, 69, 96, 0.08);
  color: #e94560;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li strong {
  color: #0f0f23;
}

/* === AI & Ethics callout === */

.callout {
  background: rgba(233, 69, 96, 0.08);
  border-left: 3px solid #e94560;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.callout p {
  margin-bottom: 8px;
}

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

/* === Privacy list === */

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.privacy-list li {
  padding: 10px 0 10px 28px;
  position: relative;
}

.privacy-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #e94560;
  font-weight: 700;
}

/* === Footer === */

footer {
  background: #0f0f23;
  color: #aaa;
  text-align: center;
  padding: 40px 24px;
  font-size: 0.85rem;
}

footer a {
  color: #e94560;
}

footer a:hover {
  color: #d13a54;
}

footer .back-to-top {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

/* === Responsive === */

@media (max-width: 640px) {
  nav .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 245, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid #E5E5E0;
  }

  nav .nav-links.open {
    display: flex;
  }

  nav .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.05rem;
  }

  section {
    padding: 56px 20px;
  }

  h2 {
    font-size: 1.5rem;
  }
}
