/* Rat And Mouse Sound Repeller - Official Website */
:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-accent: #007AFF;
  --color-border: #e5e5e7;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }
body {
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* Navigation */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 15px;
}
.nav-links a:hover { color: var(--color-accent); }
.nav-links a.active { color: var(--color-accent); font-weight: 500; }
@media (max-width: 640px) {
  .nav-inner { flex-wrap: wrap; gap: 12px; }
  .nav-links { flex-wrap: wrap; gap: 12px; }
  .timeline-item { flex-direction: column; gap: 8px; }
  .timeline-year { width: auto; }
}

/* Main content */
.main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* Homepage hero */
.hero {
  text-align: center;
  padding: 48px 0 56px;
}
.hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.hero .tagline {
  font-size: 18px;
  color: var(--color-text-muted);
  margin: 0 0 32px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cta-button:hover { opacity: 0.9; }

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 48px 0;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}
.feature-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Sections */
.section { margin: 48px 0; }
.section h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px;
}
.section p { margin: 12px 0; color: var(--color-text-muted); }
.section ul {
  margin: 12px 0;
  padding-left: 24px;
}
.section li { margin: 6px 0; }

/* Typography */
h1 { font-size: 24px; margin-top: 32px; }
h2 { font-size: 18px; margin-top: 24px; }
h3 { font-size: 16px; margin-top: 20px; }
p { margin: 12px 0; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.updated { color: var(--color-text-muted); font-size: 14px; }

/* Footer */
.footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-muted);
}
.footer a { color: var(--color-accent); }
.footer-links { margin-top: 8px; }
.footer-links a { margin: 0 12px; }

/* Timeline */
.timeline { margin: 32px 0; }
.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.timeline-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.timeline-year {
  flex-shrink: 0;
  width: 72px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-accent);
}
.timeline-content h3 { margin: 0 0 8px; font-size: 17px; }
.timeline-content p { margin: 0; color: var(--color-text-muted); }

/* Table */
.table-wrap { overflow-x: auto; margin: 24px 0; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.info-table th, .info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.info-table th {
  background: #f5f5f7;
  font-weight: 600;
  color: var(--color-text);
}
.info-table td { color: var(--color-text-muted); }

/* Badge */
.badge {
  display: inline-block;
  font-size: 13px;
  color: var(--color-text-muted);
  background: #f0f0f2;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
