:root {
  --primary: #007aff;
  --primary-dark: #0055b3;
  --primary-light: #e5f1ff;
  --feeding: #ff9500;
  --sleep: #5c6bc0;
  --growth: #009688;
  --medication: #d81b60;
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --text: #1c1c1e;
  --text-secondary: #666666;
  --border: #e5e5e5;
  --radius: 16px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

a {
  color: var(--primary);
}

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

/* Header */

header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.35);
}

.btn-ghost {
  color: var(--primary);
  padding: 12px 16px;
}

/* Hero */

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features */

.features {
  padding: 56px 0;
  background: var(--bg-secondary);
}

.features h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

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

/* Share section */

.share {
  padding: 64px 0;
  text-align: center;
}

.share h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.share p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* CTA */

.cta {
  padding: 64px 0 80px;
  text-align: center;
  background: var(--primary-light);
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Footer */

footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* Legal pages */

.legal {
  padding: 56px 0 80px;
  max-width: 720px;
}

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

.legal .draft-notice {
  background: #fff4e5;
  border: 1px solid #ffcc80;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 32px;
}
