/* Focus Lock サイト共通スタイル。
   iOS アプリの mono デザイン (白 + 黒 + 1.5pt stroke カード) と統一感を出す。 */

:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: rgba(0, 0, 0, 0.55);
  --line: rgba(0, 0, 0, 0.15);
  --card-fill: #ffffff;
  --card-stroke: #000000;
  --accent-fill: rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header.site-header {
  border-bottom: 1.5px solid var(--card-stroke);
  margin-bottom: 32px;
  padding-bottom: 16px;
}

header.site-header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
}

header.site-header .logo img {
  width: 40px;
  height: 40px;
}

header.site-header .logo-text {
  font-size: 18px;
  font-weight: 900;
}

header.site-header nav {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
}

header.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}

header.site-header nav a:hover,
header.site-header nav a.active {
  color: var(--fg);
}

h1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 8px;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 32px;
}

h2 {
  font-size: 20px;
  font-weight: 900;
  margin: 32px 0 10px;
  padding-top: 16px;
  border-top: 1.5px solid var(--card-stroke);
}

h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 20px 0 6px;
}

p {
  margin: 8px 0;
}

ul, ol {
  padding-left: 24px;
  margin: 8px 0;
}

li {
  margin: 4px 0;
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

code {
  background: var(--accent-fill);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: "SF Mono", Menlo, monospace;
}

.card {
  background: var(--card-fill);
  border: 1.5px solid var(--card-stroke);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 16px 0;
}

.card h3 {
  margin-top: 0;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

footer.site-footer {
  margin-top: 64px;
  padding-top: 16px;
  border-top: 1.5px solid var(--card-stroke);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

footer.site-footer a {
  color: var(--muted);
  margin-right: 12px;
}

/* Hero on index */
.hero {
  text-align: center;
  padding: 32px 0 24px;
}

.hero .brain {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  display: block;
}

.hero h1 {
  font-size: 36px;
}

.hero p.tagline {
  font-size: 18px;
  color: var(--muted);
  margin: 8px 0 24px;
}

.cta-button {
  display: inline-block;
  background: var(--fg);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
}

/* Section grid on index */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-grid .card {
  margin: 0;
}

/* Updated date */
.updated-date {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 24px;
}
