:root {
  --color-bg: #faf8f5;
  --color-bg-alt: #f5f2ed;
  --color-text: #4a4540;
  --color-text-muted: #8a8580;
  --color-accent: #c9b8a8;
  --color-accent-light: #e8e0d8;
  --color-border: #e5e0da;
  --color-card: rgb(255 255 255 / 70%);
  --font-main: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-soft: 0 4px 20px rgb(0 0 0 / 4%);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background: rgb(250 248 245 / 90%);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 1rem max(1.5rem, calc((100vw - 1000px) / 2 + 1.5rem));
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  gap: 2rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

nav a {
  transition: color 0.2s;
}

nav a:hover {
  color: var(--color-text);
}

.hero {
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  background:
    linear-gradient(180deg, rgb(245 242 237 / 78%) 0%, rgb(250 248 245 / 90%) 68%, var(--color-bg) 100%),
    url("assets/hero-app.png") center / cover no-repeat;
}

.hero-copy {
  width: min(560px, 100%);
  text-align: center;
}

.eyebrow,
.section-title,
.updated {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.25rem;
  font-size: clamp(2.8rem, 9vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.08em;
}

.hero-subtitle {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.lead {
  margin-inline: auto;
  max-width: 470px;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.button.primary {
  background: var(--color-accent-light);
  color: var(--color-text);
  border-color: var(--color-accent);
}

.button.secondary {
  color: var(--color-text-muted);
  background: var(--color-card);
}

.section {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-inner {
  width: 100%;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.intro p,
.legal p,
.muted p,
.contact p,
.developer p {
  color: var(--color-text-muted);
}

.stats {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.stats div,
.notice,
.feature-card,
.developer-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.stats div {
  padding: 1.15rem 1.25rem;
}

.stats dt {
  font-weight: 700;
}

.stats dd {
  margin: 0.2rem 0 0;
  color: var(--color-text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  min-height: 210px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
}

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

.developer {
  padding-top: 2rem;
}

.developer-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
}

.developer-card img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 3px solid var(--color-accent-light);
  border-radius: 50%;
}

.text-link {
  color: var(--color-accent);
  font-weight: 500;
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--color-text);
}

.text-link.light {
  display: inline-block;
  margin-left: 1rem;
  color: rgb(255 255 255 / 76%);
}

.muted {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.muted .section-inner {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.notice {
  padding: 1.5rem;
}

.notice strong {
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.legal {
  border-top: 1px solid var(--color-border);
}

.legal .section-inner {
  max-width: 860px;
}

.legal h3 {
  margin-top: 1.8rem;
}

.contact {
  width: 100%;
  max-width: none;
  background: var(--color-text);
  color: var(--color-bg);
}

.contact .section-inner {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.contact p {
  color: rgb(250 248 245 / 74%);
}

.contact .button.primary {
  background: var(--color-bg);
  border-color: var(--color-bg);
}

.site-footer {
  padding: 1.5rem max(1.5rem, calc((100vw - 1000px) / 2 + 1.5rem));
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  nav {
    width: 100%;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .hero {
    min-height: 84svh;
    align-items: flex-end;
    padding-top: 4rem;
  }

  .hero-copy {
    padding: 1.5rem;
  }

  .two-column,
  .feature-grid,
  .developer-card {
    grid-template-columns: 1fr;
  }

  .developer-card {
    text-align: center;
  }

  .developer-card img {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .text-link.light {
    display: block;
    margin: 1rem 0 0;
  }
}
