/* 的録 LP — Design Tokens (DesignTokens.swift と同期) */
:root {
  --tk-primary: #1B4D7A;
  --tk-primary-light: #E8EEF5;
  --tk-accent: #C24832;
  --tk-accent-light: #F5E4E0;
  --tk-bg: #F7F6F4;
  --tk-section-bg: #FFFFFF;
  --tk-text-primary: #1A1A1C;
  --tk-text-secondary: #6B6B6E;
  --tk-separator: #C7C7CC;
  --tk-hit: #1F6A35;
  --tk-miss: #A52828;
  --radius-card: 12px;
  --radius-lg: 14px;
  --max-width: 960px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tk-primary: #6B9FD4;
    --tk-primary-light: #1E2838;
    --tk-accent: #D4694F;
    --tk-accent-light: #2E1F1C;
    --tk-bg: #181A1E;
    --tk-section-bg: #242628;
    --tk-text-primary: #E8E8EC;
    --tk-text-secondary: #9A9AA0;
    --tk-separator: #474749;
    --tk-hit: #52B86A;
    --tk-miss: #E07070;
  }
  .cta--primary { background: #2A6AAF; }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  background: var(--tk-bg);
  color: var(--tk-text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--tk-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--tk-text-secondary);
  margin-bottom: 32px;
}

.cta {
  display: inline-block;
  background: var(--tk-accent);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.cta:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.cta--primary { background: var(--tk-primary); }

/* Feature Cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.feature-card {
  background: var(--tk-section-bg);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.feature-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--tk-text-secondary);
}

/* Section */
section {
  padding: 48px 0;
}

section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

/* Screenshots */
.screenshots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 0;
  scroll-snap-type: x mandatory;
}

.screenshots img {
  height: 480px;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  scroll-snap-align: center;
  flex-shrink: 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--tk-text-secondary);
  font-size: 0.85rem;
  border-top: 1px solid var(--tk-separator);
}

footer nav {
  margin-bottom: 16px;
}

footer nav a {
  margin: 0 12px;
  color: var(--tk-text-secondary);
}

/* Page (Privacy, Support) */
.page {
  padding: 48px 0;
}

.page h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page .meta {
  color: var(--tk-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 12px;
  text-align: left;
}

.page p, .page ul {
  color: var(--tk-text-secondary);
  margin-bottom: 16px;
}

.page ul {
  padding-left: 20px;
}
