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

:root {
  --bg: #f5f5f5;
  --surface: #fff;
  --text: #1a1a1a;
  --text-2: #6b6b6b;
  --text-3: #999;
  --border: #e5e5e5;

  --accent: #2E7D52;
  --accent-h: #245F3F;

  --z1: #9CB8D3;
  --z2: #8EC09B;
  --z3: #C5B94E;
  --z4: #E0A16B;
  --z5: #D07B7D;

  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-w: 960px;
  --px: clamp(1.5rem, 5vw, 3rem);
  --section-py: clamp(4rem, 10vw, 7rem);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent-h); }

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

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

/* ── Zone gradient ── */
.zone-gradient {
  height: 4px;
  background: linear-gradient(to right, var(--z1), var(--z2), var(--z3), var(--z4), var(--z5));
  border-radius: 2px;
}

/* ── Header ── */
header {
  padding: 1.25rem 0;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo:hover { color: var(--text); }
header nav a {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-left: 1.5rem;
}
header nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 0 var(--section-py);
}
.hero-icon {
  width: clamp(140px, 20vw, 180px);
  height: clamp(140px, 20vw, 180px);
  border-radius: clamp(32px, 4.5vw, 42px);
  box-shadow:
    0 8px 30px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  margin: 0 auto 2.25rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.hero .tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--text-2);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.hero .desc {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero .zone-gradient {
  max-width: 200px;
  margin: 2.5rem auto 0;
}

/* ── App Store Button ── */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1.5rem 0.75rem 1.25rem;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.app-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  color: #fff;
}
.app-store-btn:active {
  transform: translateY(0);
}
.app-store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.app-store-btn .btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}
.app-store-btn .btn-text small {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.app-store-btn .btn-text strong {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── Features ── */
.features {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}
.feature-accent {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.feature h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── Philosophy ── */
.philosophy {
  padding: var(--section-py) 0;
  position: relative;
}
.philosophy::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(to right, var(--z1), var(--z2), var(--z3), var(--z4), var(--z5));
  border-radius: 2px;
  margin-bottom: var(--section-py);
  max-width: 100%;
}
.philosophy blockquote {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.philosophy > .wrap > p {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.75;
}

/* ── CTA ── */
.cta {
  text-align: center;
  padding: var(--section-py) 0;
  position: relative;
}
.cta::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(to right, var(--z1), var(--z2), var(--z3), var(--z4), var(--z5));
  border-radius: 2px;
  margin-bottom: var(--section-py);
}
.cta p {
  font-size: 1.0625rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}

/* ── Footer ── */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-3);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
footer nav a {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-right: 1.5rem;
}
footer nav a:hover { color: var(--text); }
footer nav a:last-child { margin-right: 0; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-icon           { animation: fadeUp 0.6s ease-out both; }
.hero h1             { animation: fadeUp 0.6s ease-out 0.08s both; }
.hero .tagline       { animation: fadeUp 0.6s ease-out 0.16s both; }
.hero .desc          { animation: fadeUp 0.6s ease-out 0.24s both; }
.hero .app-store-btn { animation: fadeUp 0.6s ease-out 0.32s both; }
.hero .zone-gradient { animation: fadeUp 0.6s ease-out 0.40s both; }

@media (prefers-reduced-motion: reduce) {
  .hero-icon, .hero h1, .hero .tagline,
  .hero .desc, .hero .app-store-btn, .hero .zone-gradient {
    animation: none;
  }
}

/* ── Legal pages ── */
.legal {
  padding: clamp(2rem, 5vw, 4rem) 0 var(--section-py);
}
.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.legal .effective {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.legal h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.legal p, .legal ul, .legal ol {
  color: var(--text-2);
  margin-bottom: 1rem;
  max-width: 640px;
  line-height: 1.75;
}
.legal ul, .legal ol {
  padding-left: 1.5rem;
}
.legal li {
  margin-bottom: 0.5rem;
}
.legal strong {
  color: var(--text);
  font-weight: 600;
}
.legal .caps {
  text-transform: uppercase;
  font-size: 0.9375rem;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  header nav a {
    margin-left: 1rem;
  }
}
