/* -----------------------------------------------
   Base
------------------------------------------------ */

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

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #6B6B6B;
  --accent: #5C3D2E;
  --accent-hover: #7A5240;
  --border: #E8E3DC;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* -----------------------------------------------
   Navigation
------------------------------------------------ */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-brand:hover {
  color: var(--accent);
  text-decoration: none;
}

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* -----------------------------------------------
   Hero
------------------------------------------------ */

.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 680px;
  margin: 0 auto;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  margin: 0 auto 32px;
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.hero-icon-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  background: var(--accent);
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.btn-appstore {
  display: inline-block;
  background: var(--text);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.15s;
}

.btn-appstore:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.btn-coming-soon {
  display: inline-block;
  background: var(--border);
  color: var(--text-secondary);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: default;
}

/* -----------------------------------------------
   Features
------------------------------------------------ */

.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
}

.features-inner {
  max-width: 900px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  color: var(--text);
}

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

.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.site-footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--text-secondary);
}

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

/* -----------------------------------------------
   Inner pages (Privacy, Support)
------------------------------------------------ */

.page-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  color: var(--text);
}

.page-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}

.page-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.page-content ul,
.page-content ol {
  color: var(--text-secondary);
  padding-left: 20px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.page-content a {
  color: var(--accent);
}

.page-content strong {
  color: var(--text);
}

.support-action {
  display: inline-block;
  margin-top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.support-action:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

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

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
