:root {
  --ink: #08070C;
  --text: #F6F2FA;
  --muted: #AEA6BC;
  --thread: #FF2E4D;
  --violet: #8A5CFF;
  --pink: #FF5FCB;
  --glass: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.10);
  --display: "Anton", "Dela Gothic One", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html[lang="ja"] { --display: "Dela Gothic One", "Anton", sans-serif; }

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.aura {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 15% 10%, rgba(138, 92, 255, 0.35), transparent 70%),
    radial-gradient(50% 40% at 85% 20%, rgba(255, 95, 203, 0.22), transparent 70%),
    radial-gradient(70% 50% at 50% 100%, rgba(255, 46, 77, 0.18), transparent 70%),
    var(--ink);
}
.aura::after {
  content: ""; position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top {
  max-width: 1080px; margin: 0 auto; padding: 8px 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand img { width: 178px; height: auto; margin-left: -18px; }
.nav { display: flex; gap: 8px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); white-space: nowrap;
}
.nav a:hover { border-color: rgba(255, 255, 255, 0.3); }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px 48px; }
section { padding: 40px 0; }

.eyebrow {
  margin: 0 0 12px; letter-spacing: 0.22em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--pink);
}
h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(44px, 9vw, 96px); line-height: 0.98;
  letter-spacing: 0.005em; margin: 0 0 20px; max-width: 12ch; text-wrap: balance;
}
h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--thread); }
.lead { font-size: clamp(18px, 2.3vw, 22px); color: var(--muted); max-width: 40ch; margin: 0 0 28px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.store {
  display: flex; flex-direction: column; min-width: 170px; text-decoration: none;
  padding: 12px 18px; border-radius: 16px; background: var(--text); color: var(--ink);
}
.store .k { font-weight: 700; font-size: 17px; }
.store .s { font-size: 12px; font-weight: 600; opacity: 0.6; }
.store.soon { background: var(--glass); color: var(--text); border: 1px solid var(--line); cursor: default; }
.note { font-size: 14px; color: var(--muted); margin: 0; }

.demo { display: flex; justify-content: center; }
.phone {
  width: min(100%, 420px); border-radius: 28px; padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.chat-head b { display: block; font-size: 16px; }
.chat-head small { color: var(--muted); font-size: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: conic-gradient(from 200deg, var(--violet), var(--pink), var(--thread), var(--violet));
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--thread);
}
.msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; margin: 8px 0; font-size: 15px; line-height: 1.5; }
.msg.them { background: rgba(255, 255, 255, 0.08); border-top-left-radius: 6px; }
.msg.me { background: var(--thread); color: #fff; margin-left: auto; border-top-right-radius: 6px; }
.msg i { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 16px; }
.msg.me i { color: rgba(255, 255, 255, 0.8); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 48px); line-height: 1.05; margin: 0 0 20px; letter-spacing: 0.005em; text-wrap: balance; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.grid article { padding: 20px 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.grid h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }

.langs p { color: var(--muted); font-size: 18px; line-height: 1.9; margin: 0; }
.cta p { color: var(--muted); max-width: 52ch; margin: 0; }

.foot { max-width: 1080px; margin: 0 auto; padding: 24px 16px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 10px; }
.foot nav a { text-decoration: none; color: var(--text); font-weight: 600; }
.foot p { margin: 0; }

.err { text-align: center; padding: 80px 16px; }
.err h1 { margin: 0 auto 12px; max-width: none; }
.err p { color: var(--muted); }

@media (min-width: 900px) {
  main { display: grid; grid-template-columns: 1.15fr 0.85fr; column-gap: 40px; align-items: center; }
  .hero { grid-column: 1; }
  .demo { grid-column: 2; }
  .features, .langs, .cta { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: rise 0.9s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
