:root {
  --bg: #f7f3ea;
  --bg-soft: #efe9db;
  --ink: #33302a;
  --muted: #7a7264;
  --card: #fffdf7;
  --line: #e7dfd0;
  --accent: #8b7cf6;
  --accent-2: #47a8e8;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Soft studio backdrop: two eraser-tone glows */
.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 124, 246, 0.14), transparent 60%),
    radial-gradient(800px 460px at -5% 105%, rgba(71, 168, 232, 0.12), transparent 60%),
    var(--bg);
}

.site-shell { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.by-ajigu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.by-ajigu img { width: 20px; height: 20px; border-radius: 50%; }
.by-ajigu:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.1rem; text-decoration: none; letter-spacing: -0.01em;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px;
  align-items: center; padding-top: 80px; padding-bottom: 80px;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 600; color: var(--accent-2); margin: 0 0 12px;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 20px; }
.gradient-word {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { font-size: 1.15rem; color: var(--muted); max-width: 48ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 600; border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
.button:hover { border-color: var(--accent); }
.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; border: none;
}
.button.primary:hover { opacity: .92; }
.button svg { flex: none; }

.microcopy { margin: 18px 0 0; font-size: .85rem; color: var(--muted); }

.hero-art { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.app-shot {
  width: min(300px, 70vw); border-radius: 24%;
  box-shadow: 0 24px 80px rgba(139, 124, 246, 0.28), 0 8px 24px rgba(51, 48, 42, 0.18);
}
.float-note { font-size: .85rem; color: var(--accent); font-weight: 600; }

/* Sections */
.section { padding: 64px 0; }
.section.site-shell { padding: 64px 24px; }
.section-heading { max-width: 56ch; margin-bottom: 36px; }
.section-kicker {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 600; color: var(--accent); margin: 0 0 8px;
}
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; margin: 0 0 12px; line-height: 1.2; }
.section-heading p { color: var(--muted); margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature-icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* How it works */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step {
  counter-increment: step;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; color: var(--accent-2); margin-bottom: 10px;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 22px;
}
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list summary::-webkit-details-marker { color: var(--accent); }
.faq-list p { margin: 12px 0 0; color: var(--muted); }

/* CTA */
.cta { text-align: center; padding-top: 48px; padding-bottom: 96px; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 24px; letter-spacing: -.01em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; }
  .hero-art { order: -1; }
  .nav-links { display: none; }
  .by-ajigu { margin-right: 0; font-size: 0; gap: 0; }
}

/* Motion */
:root { --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
}

.hero > * { animation: rise 0.6s var(--ease-out-strong) both; }
.hero > .hero-art { animation-delay: 0.12s; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out-strong), transform 0.6s var(--ease-out-strong);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes float {
  to { transform: translateY(-10px); }
}
.app-shot { animation: float 6s ease-in-out infinite alternate; }

@media (hover: hover) and (pointer: fine) {
  .feature-card {
    transition: transform 0.25s var(--ease-out-strong), box-shadow 0.25s var(--ease-out-strong), border-color 0.25s;
  }
  .feature-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
    box-shadow: 0 12px 32px rgba(139, 124, 246, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero > *, .app-shot { animation: none; }
  .reveal { transition: opacity 0.2s ease; transform: none; }
  .feature-card:hover { transform: none; }
}
