:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-accent: #2563eb;
  --color-border: #e5e7eb;
  --max-width: 1120px;
  --space-lg: 96px;
  --space-md: 48px;
  --space-sm: 24px;
}

html {
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

section { padding: var(--space-lg) 0; }

h1, h2, h3 { line-height: 1.4; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

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

.logo { font-weight: 700; font-size: 1.1rem; color: var(--color-text); text-decoration: none; }

.site-nav { display: flex; gap: 32px; }
.site-nav a { color: var(--color-text); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--color-accent); }

.nav-toggle { display: none; }

.hero-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
}

.hero-copy { flex: 1; }
.hero-media { flex: 1; }

.hero-copy h1 { font-size: 2.5rem; margin-bottom: 24px; }
.hero-lead { color: var(--color-muted); font-size: 1.1rem; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 16px; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-text); border: 1px solid var(--color-border); }

.section-title { font-size: 2rem; text-align: center; margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--color-muted); margin-bottom: var(--space-md); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--color-muted); }

.products { background: #fafafa; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}
.product-card img { width: 100%; height: auto; }
.product-card h3, .product-card p { padding: 0 20px; }
.product-card h3 { margin-top: 16px; margin-bottom: 8px; }
.product-card p { color: var(--color-muted); padding-bottom: 20px; }

.download { text-align: center; }
.store-badges { display: flex; justify-content: center; gap: 16px; }

.contact-inner {
  display: flex;
  gap: var(--space-md);
}
.company-info, .contact-form { flex: 1; }

.contact-form label { display: block; margin-bottom: 6px; font-size: 0.9rem; margin-top: 16px; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form button { margin-top: 24px; border: none; cursor: pointer; }

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--color-muted); text-decoration: none; }

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-text);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  .site-nav.is-open { display: flex; }

  .hero-inner { flex-direction: column; }
  .hero-copy h1 { font-size: 2rem; }

  .feature-grid, .product-grid { grid-template-columns: 1fr; }

  .contact-inner { flex-direction: column; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }

  section { padding: var(--space-md) 0; }
}
